Home
last modified time | relevance | path

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

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

Completed in 2 milliseconds