Lines Matching refs:slot_irq
117 static irqreturn_t tpci200_slot_irq(struct slot_irq *slot_irq) in tpci200_slot_irq() argument
121 if (!slot_irq) in tpci200_slot_irq()
123 ret = slot_irq->handler(slot_irq->arg); in tpci200_slot_irq()
131 struct slot_irq *slot_irq; in tpci200_interrupt() local
148 slot_irq = rcu_dereference(tpci200->slots[i].irq); in tpci200_interrupt()
149 ret = tpci200_slot_irq(slot_irq); in tpci200_interrupt()
164 struct slot_irq *slot_irq; in tpci200_free_irq() local
180 slot_irq = tpci200->slots[dev->slot].irq; in tpci200_free_irq()
184 kfree(slot_irq); in tpci200_free_irq()
193 struct slot_irq *slot_irq; in tpci200_request_irq() local
212 slot_irq = kzalloc(sizeof(struct slot_irq), GFP_KERNEL); in tpci200_request_irq()
213 if (slot_irq == NULL) { in tpci200_request_irq()
227 slot_irq->handler = handler; in tpci200_request_irq()
228 slot_irq->arg = arg; in tpci200_request_irq()
229 slot_irq->holder = dev; in tpci200_request_irq()
231 rcu_assign_pointer(tpci200->slots[dev->slot].irq, slot_irq); in tpci200_request_irq()