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