Searched refs:PIC_MASTER_IMR (Results 1 – 7 of 7) sorted by relevance
/arch/x86/kernel/ |
D | i8259.c | 66 outb(cached_master_mask, PIC_MASTER_IMR); in mask_8259A_irq() 85 outb(cached_master_mask, PIC_MASTER_IMR); in unmask_8259A_irq() 183 inb(PIC_MASTER_IMR); /* DUMMY - (do we need this?) */ in mask_and_ack_8259A() 184 outb(cached_master_mask, PIC_MASTER_IMR); in mask_and_ack_8259A() 265 outb(0xff, PIC_MASTER_IMR); /* mask all of 8259A-1 */ in i8259A_shutdown() 281 outb(0xff, PIC_MASTER_IMR); /* mask all of 8259A-1 */ in mask_8259A() 293 outb(cached_master_mask, PIC_MASTER_IMR); /* restore master IRQ mask */ in unmask_8259A() 307 outb(0xff, PIC_MASTER_IMR); /* mask all of 8259A-1 */ in init_8259A() 317 outb_pic(IRQ0_VECTOR, PIC_MASTER_IMR); in init_8259A() 320 outb_pic(1U << PIC_CASCADE_IR, PIC_MASTER_IMR); in init_8259A() [all …]
|
/arch/mips/kernel/ |
D | i8259.c | 73 outb(cached_master_mask, PIC_MASTER_IMR); in disable_8259A_irq() 88 outb(cached_master_mask, PIC_MASTER_IMR); in enable_8259A_irq() 179 inb(PIC_MASTER_IMR); /* DUMMY - (do we need this?) */ in mask_and_ack_8259A() 180 outb(cached_master_mask, PIC_MASTER_IMR); in mask_and_ack_8259A() 231 outb(0xff, PIC_MASTER_IMR); /* mask all of 8259A-1 */ in i8259A_shutdown() 257 outb(0xff, PIC_MASTER_IMR); /* mask all of 8259A-1 */ in init_8259A() 264 …outb_p(I8259A_IRQ_BASE + 0, PIC_MASTER_IMR); /* ICW2: 8259A-1 IR0 mapped to I8259A_IRQ_BASE + 0x00… in init_8259A() 265 outb_p(1U << PIC_CASCADE_IR, PIC_MASTER_IMR); /* 8259A-1 (the master) has a slave on IR2 */ in init_8259A() 267 outb_p(MASTER_ICW4_DEFAULT | PIC_ICW4_AEOI, PIC_MASTER_IMR); in init_8259A() 269 outb_p(MASTER_ICW4_DEFAULT, PIC_MASTER_IMR); in init_8259A() [all …]
|
/arch/mips/loongson/common/ |
D | pm.c | 33 cached_master_mask = inb(PIC_MASTER_IMR); in arch_suspend_disable_irqs() 37 outb(0xff, PIC_MASTER_IMR); in arch_suspend_disable_irqs() 38 inb(PIC_MASTER_IMR); in arch_suspend_disable_irqs() 53 outb(cached_master_mask, PIC_MASTER_IMR); in arch_suspend_enable_irqs()
|
/arch/mips/loongson/lemote-2f/ |
D | pm.c | 64 outb((0xff & ~(1 << I8042_KBD_IRQ)), PIC_MASTER_IMR); in setup_wakeup_events() 65 irq_mask = inb(PIC_MASTER_IMR); in setup_wakeup_events() 71 outb(irq_mask & ~(1 << PIC_CASCADE_IR), PIC_MASTER_IMR); in setup_wakeup_events() 72 inb(PIC_MASTER_IMR); in setup_wakeup_events()
|
D | irq.c | 42 ~inb(PIC_MASTER_IMR) & ~(1 << PIC_CASCADE_IR); in mach_i8259_irq()
|
/arch/mips/include/asm/ |
D | i8259.h | 25 #define PIC_MASTER_IMR 0x21 macro
|
/arch/x86/include/asm/ |
D | i8259.h | 14 #define PIC_MASTER_IMR 0x21 macro
|