Lines Matching refs:irq
67 void mask_irq(int irq) in mask_irq() argument
71 if (irq >= SYS_NUM_IRQS) in mask_irq()
74 if (irq > 7) in mask_irq()
79 outb(inb(imr_port) | (1 << (irq & 7)), imr_port); in mask_irq()
82 void unmask_irq(int irq) in unmask_irq() argument
86 if (irq >= SYS_NUM_IRQS) in unmask_irq()
89 if (irq > 7) in unmask_irq()
94 outb(inb(imr_port) & ~(1 << (irq & 7)), imr_port); in unmask_irq()
97 void specific_eoi(int irq) in specific_eoi() argument
99 if (irq >= SYS_NUM_IRQS) in specific_eoi()
102 if (irq > 7) { in specific_eoi()
108 outb(OCW2_SEOI | (irq & 7), SLAVE_PIC + OCW2); in specific_eoi()
109 irq = SEOI_IR2; in specific_eoi()
112 outb(OCW2_SEOI | irq, MASTER_PIC + OCW2); in specific_eoi()