Home
last modified time | relevance | path

Searched refs:int_bits (Results 1 – 1 of 1) sorted by relevance

/external/u-boot/arch/x86/lib/
Di8259.c116 u16 int_bits = inb(ELCR1) | (((u16)inb(ELCR2)) << 8); in configure_irq_trigger() local
118 debug("%s: current interrupts are 0x%x\n", __func__, int_bits); in configure_irq_trigger()
120 int_bits |= (1 << int_num); in configure_irq_trigger()
122 int_bits &= ~(1 << int_num); in configure_irq_trigger()
125 debug("%s: try to set interrupts 0x%x\n", __func__, int_bits); in configure_irq_trigger()
126 outb((u8)(int_bits & 0xff), ELCR1); in configure_irq_trigger()
127 outb((u8)(int_bits >> 8), ELCR2); in configure_irq_trigger()