Lines Matching +full:pc +full:- +full:ack
1 // SPDX-License-Identifier: GPL-2.0
29 * present in the majority of PC/AT boxes.
49 * Not all IRQs can be routed through the IO-APIC, eg. on certain (older)
50 * boards the timer interrupt is not really connected to any IO-APIC pin,
53 * Any '1' bit in this mask means the IRQ is routed through the IO-APIC.
75 mask_8259A_irq(data->irq); in disable_8259A_irq()
94 unmask_8259A_irq(data->irq); in enable_8259A_irq()
154 unsigned int irq = data->irq; in mask_and_ack_8259A()
161 * to overdo spurious IRQ handling - it's usually a sign in mask_and_ack_8259A()
166 * usually resulting from the 8259A-1|2 PICs) occur in mask_and_ack_8259A()
180 inb(PIC_SLAVE_IMR); /* DUMMY - (do we need this?) */ in mask_and_ack_8259A()
184 /* 'Specific EOI' to master-IRQ2 */ in mask_and_ack_8259A()
187 inb(PIC_MASTER_IMR); /* DUMMY - (do we need this?) */ in mask_and_ack_8259A()
196 * this is the slow path - should happen rarely. in mask_and_ack_8259A()
201 * 8259A - not spurious, go handle it. in mask_and_ack_8259A()
209 * lets ACK and report it. [once per IRQ] in mask_and_ack_8259A()
227 .name = "XT-PIC",
267 outb(0xff, PIC_MASTER_IMR); /* mask all of 8259A-1 */ in i8259A_shutdown()
268 outb(0xff, PIC_SLAVE_IMR); /* mask all of 8259A-2 */ in i8259A_shutdown()
283 outb(0xff, PIC_MASTER_IMR); /* mask all of 8259A-1 */ in mask_8259A()
284 outb(0xff, PIC_SLAVE_IMR); /* mask all of 8259A-2 */ in mask_8259A()
316 * there and let legacy_pic->init() initialize it for nothing. in probe_8259A()
332 outb(0xff, PIC_SLAVE_IMR); /* mask all of 8259A-2 */ in probe_8259A()
352 outb(0xff, PIC_MASTER_IMR); /* mask all of 8259A-1 */ in init_8259A()
355 * outb_pic - this has to work on a wide range of PC hardware. in init_8259A()
357 outb_pic(0x11, PIC_MASTER_CMD); /* ICW1: select 8259A-1 init */ in init_8259A()
359 /* ICW2: 8259A-1 IR0-7 mapped to ISA_IRQ_VECTOR(0) */ in init_8259A()
362 /* 8259A-1 (the master) has a slave on IR2 */ in init_8259A()
370 outb_pic(0x11, PIC_SLAVE_CMD); /* ICW1: select 8259A-2 init */ in init_8259A()
372 /* ICW2: 8259A-2 IR0-7 mapped to ISA_IRQ_VECTOR(8) */ in init_8259A()
374 /* 8259A-2 is a slave on master's IR2 */ in init_8259A()
398 * is to make x86 binary compatible among pc compatible and non-pc compatible