Home
last modified time | relevance | path

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

/linux-2.4.37.9/arch/ppc/platforms/
Dapus_setup.c524 unsigned char ipl_emu, mask; in apus_get_irq() local
527 APUS_READ(APUS_IPL_EMU, ipl_emu); in apus_get_irq()
528 level = (ipl_emu >> 3) & IPLEMU_IPLMASK; in apus_get_irq()
535 last_ipl[level] = ipl_emu; in apus_get_irq()
543 printk("<%d:%d>", level, ~ipl_emu & IPLEMU_IPLMASK); in apus_get_irq()
550 unsigned char ipl_emu; in apus_end_irq() local
556 ipl_emu = last_ipl[level] & IPLEMU_IPLMASK; in apus_end_irq()
557 APUS_WRITE(APUS_IPL_EMU, IPLEMU_SETRESET|IPLEMU_DISABLEINT|ipl_emu); in apus_end_irq()
559 ipl_emu ^= 7; in apus_end_irq()
560 APUS_WRITE(APUS_IPL_EMU, IPLEMU_DISABLEINT|ipl_emu); in apus_end_irq()