Name

airq_iv_alloc — allocate irq bits from an interrupt vector

Synopsis

unsigned long airq_iv_alloc (struct airq_iv * iv,
 unsigned long num);
 

Arguments

struct airq_iv * iv

pointer to an interrupt vector structure

unsigned long num

number of consecutive irq bits to allocate

Description

Returns the bit number of the first irq in the allocated block of irqs, or -1UL if no bit is available or the AIRQ_IV_ALLOC flag has not been specified