Searched refs:IMR_BIT (Results 1 – 1 of 1) sorted by relevance
50 #define IMR_BIT(x) ( 1 << ( (x) % IRQ_PIC_CUTOFF ) ) macro51 #define irq_enabled(x) ( ( inb ( IMR_REG(x) ) & IMR_BIT(x) ) == 0 )52 #define enable_irq(x) outb ( inb( IMR_REG(x) ) & ~IMR_BIT(x), IMR_REG(x) )53 #define disable_irq(x) outb ( inb( IMR_REG(x) ) | IMR_BIT(x), IMR_REG(x) )