Searched refs:airq (Results 1 - 9 of 9) sorted by relevance

/linux-4.4.14/drivers/s390/cio/
H A Dairq.c19 #include <asm/airq.h>
31 * @airq: pointer to adapter interrupt descriptor
35 int register_adapter_interrupt(struct airq_struct *airq) register_adapter_interrupt() argument
39 if (!airq->handler || airq->isc > MAX_ISC) register_adapter_interrupt()
41 if (!airq->lsi_ptr) { register_adapter_interrupt()
42 airq->lsi_ptr = kzalloc(1, GFP_KERNEL); register_adapter_interrupt()
43 if (!airq->lsi_ptr) register_adapter_interrupt()
45 airq->flags |= AIRQ_PTR_ALLOCATED; register_adapter_interrupt()
47 if (!airq->lsi_mask) register_adapter_interrupt()
48 airq->lsi_mask = 0xff; register_adapter_interrupt()
49 snprintf(dbf_txt, sizeof(dbf_txt), "rairq:%p", airq); register_adapter_interrupt()
51 isc_register(airq->isc); register_adapter_interrupt()
53 hlist_add_head_rcu(&airq->list, &airq_lists[airq->isc]); register_adapter_interrupt()
61 * @airq: pointer to adapter interrupt descriptor
63 void unregister_adapter_interrupt(struct airq_struct *airq) unregister_adapter_interrupt() argument
67 if (hlist_unhashed(&airq->list)) unregister_adapter_interrupt()
69 snprintf(dbf_txt, sizeof(dbf_txt), "urairq:%p", airq); unregister_adapter_interrupt()
72 hlist_del_rcu(&airq->list); unregister_adapter_interrupt()
75 isc_unregister(airq->isc); unregister_adapter_interrupt()
76 if (airq->flags & AIRQ_PTR_ALLOCATED) { unregister_adapter_interrupt()
77 kfree(airq->lsi_ptr); unregister_adapter_interrupt()
78 airq->lsi_ptr = NULL; unregister_adapter_interrupt()
79 airq->flags &= ~AIRQ_PTR_ALLOCATED; unregister_adapter_interrupt()
87 struct airq_struct *airq; do_airq_interrupt() local
94 hlist_for_each_entry_rcu(airq, head, list) do_airq_interrupt()
95 if ((*airq->lsi_ptr & airq->lsi_mask) != 0) do_airq_interrupt()
96 airq->handler(airq); do_airq_interrupt()
H A DMakefile5 obj-y += airq.o blacklist.o chsc.o cio.o css.o chp.o idset.o isc.o \
H A Dqdio_thinint.c13 #include <asm/airq.h>
40 static void tiqdio_thinint_handler(struct airq_struct *airq);
184 static void tiqdio_thinint_handler(struct airq_struct *airq) tiqdio_thinint_handler() argument
H A Dcio.c30 #include <asm/airq.h>
/linux-4.4.14/drivers/net/arcnet/
H A Dcom90xx.c58 static int com90xx_found(int ioaddr, int airq, u_long shmem, void __iomem *);
98 int count, status, ioaddr, numprint, airq, openparen = 0; com90xx_probe() local
349 airq = probe_irq_off(airqmask); com90xx_probe()
351 if (airq <= 0) { com90xx_probe()
352 arc_cont(D_INIT_REASONS, "(airq=%d)\n", airq); com90xx_probe()
361 airq = irq; com90xx_probe()
364 arc_cont(D_INIT, "(%d,", airq); com90xx_probe()
396 if (com90xx_found(*port, airq, ptr, base) == 0) com90xx_probe()
460 static int __init com90xx_found(int ioaddr, int airq, u_long shmem, com90xx_found() argument
511 if (request_irq(airq, arcnet_interrupt, 0, "arcnet (90xx)", dev)) { com90xx_found()
512 arc_printk(D_NORMAL, dev, "Can't get IRQ %d!\n", airq); com90xx_found()
515 dev->irq = airq; com90xx_found()
/linux-4.4.14/arch/s390/include/asm/
H A Dairq.h25 int register_adapter_interrupt(struct airq_struct *airq);
26 void unregister_adapter_interrupt(struct airq_struct *airq);
/linux-4.4.14/drivers/s390/virtio/
H A Dvirtio_ccw.c38 #include <asm/airq.h>
133 struct airq_struct airq; member in struct:airq_info
185 static void virtio_airq_handler(struct airq_struct *airq) virtio_airq_handler() argument
187 struct airq_info *info = container_of(airq, struct airq_info, airq); virtio_airq_handler()
225 info->airq.handler = virtio_airq_handler; new_airq_info()
226 info->airq.lsi_ptr = &info->summary_indicator; new_airq_info()
227 info->airq.lsi_mask = 0xff; new_airq_info()
228 info->airq.isc = VIRTIO_AIRQ_ISC; new_airq_info()
229 rc = register_adapter_interrupt(&info->airq); new_airq_info()
243 unregister_adapter_interrupt(&info->airq); destroy_airq_info()
/linux-4.4.14/arch/s390/pci/
H A Dpci.c33 #include <asm/airq.h>
64 static void zpci_irq_handler(struct airq_struct *airq);
347 static void zpci_irq_handler(struct airq_struct *airq) zpci_irq_handler() argument
/linux-4.4.14/drivers/s390/crypto/
H A Dap_bus.c42 #include <asm/airq.h>
113 static void ap_interrupt_handler(struct airq_struct *airq);
873 * @airq: pointer to adapter interrupt descriptor
875 static void ap_interrupt_handler(struct airq_struct *airq) ap_interrupt_handler() argument

Completed in 121 milliseconds