Lines Matching full:vector
119 * airq_iv_create - create an interrupt vector
120 * @bits: number of bits in the interrupt vector
124 * Returns a pointer to an interrupt vector structure
144 iv->vector = dma_pool_zalloc(airq_iv_cache, GFP_KERNEL, in airq_iv_create()
146 if (!iv->vector) in airq_iv_create()
149 iv->vector = vec; in airq_iv_create()
151 iv->vector = cio_dma_zalloc(size); in airq_iv_create()
152 if (!iv->vector) in airq_iv_create()
187 if (iv->flags & AIRQ_IV_CACHELINE && iv->vector) in airq_iv_create()
188 dma_pool_free(airq_iv_cache, iv->vector, iv->vector_dma); in airq_iv_create()
190 cio_dma_free(iv->vector, size); in airq_iv_create()
198 * airq_iv_release - release an interrupt vector
199 * @iv: pointer to interrupt vector structure
207 dma_pool_free(airq_iv_cache, iv->vector, iv->vector_dma); in airq_iv_release()
209 cio_dma_free(iv->vector, iv_size(iv->bits)); in airq_iv_release()
216 * airq_iv_alloc - allocate irq bits from an interrupt vector
217 * @iv: pointer to an interrupt vector structure
254 * airq_iv_free - free irq bits of an interrupt vector
255 * @iv: pointer to interrupt vector structure
268 clear_bit_inv(bit + i, iv->vector); in airq_iv_free()
282 * airq_iv_scan - scan interrupt vector for non-zero bits
283 * @iv: pointer to interrupt vector structure
296 bit = find_next_bit_inv(iv->vector, end, start); in airq_iv_scan()
299 clear_bit_inv(bit, iv->vector); in airq_iv_scan()