Home
last modified time | relevance | path

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

/Linux-v5.4/arch/x86/kernel/
Di8259.c68 outb(cached_master_mask, PIC_MASTER_IMR); in mask_8259A_irq()
87 outb(cached_master_mask, PIC_MASTER_IMR); in unmask_8259A_irq()
185 inb(PIC_MASTER_IMR); /* DUMMY - (do we need this?) */ in mask_and_ack_8259A()
186 outb(cached_master_mask, PIC_MASTER_IMR); in mask_and_ack_8259A()
267 outb(0xff, PIC_MASTER_IMR); /* mask all of 8259A-1 */ in i8259A_shutdown()
283 outb(0xff, PIC_MASTER_IMR); /* mask all of 8259A-1 */ in mask_8259A()
295 outb(cached_master_mask, PIC_MASTER_IMR); /* restore master IRQ mask */ in unmask_8259A()
316 outb(probe_val, PIC_MASTER_IMR); in probe_8259A()
317 new_val = inb(PIC_MASTER_IMR); in probe_8259A()
335 outb(0xff, PIC_MASTER_IMR); /* mask all of 8259A-1 */ in init_8259A()
[all …]
/Linux-v5.4/drivers/irqchip/
Dirq-i8259.c79 outb(cached_master_mask, PIC_MASTER_IMR); in disable_8259A_irq()
94 outb(cached_master_mask, PIC_MASTER_IMR); in enable_8259A_irq()
167 inb(PIC_MASTER_IMR); /* DUMMY - (do we need this?) */ in mask_and_ack_8259A()
168 outb(cached_master_mask, PIC_MASTER_IMR); in mask_and_ack_8259A()
218 outb(0xff, PIC_MASTER_IMR); /* mask all of 8259A-1 */ in i8259A_shutdown()
236 outb(0xff, PIC_MASTER_IMR); /* mask all of 8259A-1 */ in init_8259A()
243 …outb_p(I8259A_IRQ_BASE + 0, PIC_MASTER_IMR); /* ICW2: 8259A-1 IR0 mapped to I8259A_IRQ_BASE + 0x00… in init_8259A()
244 outb_p(1U << PIC_CASCADE_IR, PIC_MASTER_IMR); /* 8259A-1 (the master) has a slave on IR2 */ in init_8259A()
246 outb_p(MASTER_ICW4_DEFAULT | PIC_ICW4_AEOI, PIC_MASTER_IMR); in init_8259A()
248 outb_p(MASTER_ICW4_DEFAULT, PIC_MASTER_IMR); in init_8259A()
[all …]
/Linux-v5.4/arch/mips/loongson64/common/
Dpm.c29 cached_master_mask = inb(PIC_MASTER_IMR); in arch_suspend_disable_irqs()
33 outb(0xff, PIC_MASTER_IMR); in arch_suspend_disable_irqs()
34 inb(PIC_MASTER_IMR); in arch_suspend_disable_irqs()
49 outb(cached_master_mask, PIC_MASTER_IMR); in arch_suspend_enable_irqs()
/Linux-v5.4/arch/mips/loongson64/lemote-2f/
Dpm.c60 outb((0xff & ~(1 << I8042_KBD_IRQ)), PIC_MASTER_IMR); in setup_wakeup_events()
61 irq_mask = inb(PIC_MASTER_IMR); in setup_wakeup_events()
67 outb(irq_mask & ~(1 << PIC_CASCADE_IR), PIC_MASTER_IMR); in setup_wakeup_events()
68 inb(PIC_MASTER_IMR); in setup_wakeup_events()
Dirq.c39 ~inb(PIC_MASTER_IMR) & ~(1 << PIC_CASCADE_IR); in mach_i8259_irq()
/Linux-v5.4/arch/mips/include/asm/
Di8259.h21 #define PIC_MASTER_IMR 0x21 macro
/Linux-v5.4/arch/x86/include/asm/
Di8259.h16 #define PIC_MASTER_IMR 0x21 macro