Lines Matching full:irq
5 #include <linux/irq.h>
13 #include <asm/irq.h>
34 * 6 goldfish-pic for CPU IRQ #1 to IRQ #6
35 * CPU IRQ #1 -> PIC #1
36 * IRQ #1 to IRQ #31 -> unused
37 * IRQ #32 -> goldfish-tty
38 * CPU IRQ #2 -> PIC #2
39 * IRQ #1 to IRQ #32 -> virtio-mmio from 1 to 32
40 * CPU IRQ #3 -> PIC #3
41 * IRQ #1 to IRQ #32 -> virtio-mmio from 33 to 64
42 * CPU IRQ #4 -> PIC #4
43 * IRQ #1 to IRQ #32 -> virtio-mmio from 65 to 96
44 * CPU IRQ #5 -> PIC #5
45 * IRQ #1 to IRQ #32 -> virtio-mmio from 97 to 128
46 * CPU IRQ #6 -> PIC #6
47 * IRQ #1 -> goldfish-timer
48 * IRQ #2 -> goldfish-rtc
49 * IRQ #3 to IRQ #32 -> unused
50 * CPU IRQ #7 -> NMI
69 #define GF_PIC(irq) ((irq - IRQ_USER) / 32) argument
70 #define GF_IRQ(irq) ((irq - IRQ_USER) % 32) argument
74 gfpic_write(BIT(GF_IRQ(data->irq)), GF_PIC(data->irq), in virt_irq_enable()
80 gfpic_write(BIT(GF_IRQ(data->irq)), GF_PIC(data->irq), in virt_irq_disable()
90 static irqreturn_t virt_nmi_handler(int irq, void *dev_id) in virt_nmi_handler() argument
117 unsigned int pic = desc->irq_data.irq - 1; in goldfish_pic_irq()
147 irq_set_chained_handler(virt_bi_data.pic.irq + i, in virt_init_IRQ()