Lines Matching defs:airq
2 * drivers/s390/cio/airq.c
17 #include <asm/airq.h>
40 static int register_airq(struct airq_t *airq, u8 isc)
45 if (!cmpxchg(&airqs[isc][i], NULL, airq))
63 struct airq_t *airq;
69 airq = kmalloc(sizeof(struct airq_t), GFP_KERNEL);
70 if (!airq) {
74 airq->handler = handler;
75 airq->drv_data = drv_data;
77 ret = register_airq(airq, isc);
82 kfree(airq);
96 struct airq_t *airq;
104 airq = xchg(&airqs[isc][i], NULL);
106 * Allow interrupts to complete. This will ensure that the airq handle
110 kfree(airq);
121 struct airq_t *airq;
135 airq = airqs[isc][i];
138 if (likely(airq))
139 airq->handler(&indicators[isc].byte[i],
140 airq->drv_data);