Lines Matching refs:irq
70 unsigned int mask, irq = d->irq - I8259A_IRQ_BASE; in disable_8259A_irq() local
73 mask = 1 << irq; in disable_8259A_irq()
76 if (irq & 8) in disable_8259A_irq()
85 unsigned int mask, irq = d->irq - I8259A_IRQ_BASE; in enable_8259A_irq() local
88 mask = ~(1 << irq); in enable_8259A_irq()
91 if (irq & 8) in enable_8259A_irq()
98 void make_8259A_irq(unsigned int irq) in make_8259A_irq() argument
100 disable_irq_nosync(irq); in make_8259A_irq()
101 irq_set_chip_and_handler(irq, &i8259A_chip, handle_level_irq); in make_8259A_irq()
102 enable_irq(irq); in make_8259A_irq()
111 static inline int i8259A_irq_real(unsigned int irq) in i8259A_irq_real() argument
114 int irqmask = 1 << irq; in i8259A_irq_real()
116 if (irq < 8) { in i8259A_irq_real()
136 unsigned int irqmask, irq = d->irq - I8259A_IRQ_BASE; in mask_and_ack_8259A() local
139 irqmask = 1 << irq; in mask_and_ack_8259A()
161 if (irq & 8) { in mask_and_ack_8259A()
164 outb(0x60+(irq&7), PIC_SLAVE_CMD);/* 'Specific EOI' to slave */ in mask_and_ack_8259A()
169 outb(0x60+irq, PIC_MASTER_CMD); /* 'Specific EOI to master */ in mask_and_ack_8259A()
178 if (i8259A_irq_real(irq)) in mask_and_ack_8259A()
192 printk(KERN_DEBUG "spurious 8259A interrupt: IRQ%d.\n", irq); in mask_and_ack_8259A()
347 unsigned int irq; in i8259_irq_dispatch() local
352 irq = irq_linear_revmap(domain, hwirq); in i8259_irq_dispatch()
353 generic_handle_irq(irq); in i8259_irq_dispatch()