Lines Matching refs:outb_p
270 * outb_p - this has to work on a wide range of PC hardware.
272 outb_p(0x11, PIC_MASTER_CMD); /* ICW1: select 8259A-1 init */
273 outb_p(I8259A_IRQ_BASE + 0, PIC_MASTER_IMR); /* ICW2: 8259A-1 IR0 mapped to I8259A_IRQ_BASE + 0x00 */
274 outb_p(1U << PIC_CASCADE_IR, PIC_MASTER_IMR); /* 8259A-1 (the master) has a slave on IR2 */
276 outb_p(MASTER_ICW4_DEFAULT | PIC_ICW4_AEOI, PIC_MASTER_IMR);
278 outb_p(MASTER_ICW4_DEFAULT, PIC_MASTER_IMR);
280 outb_p(0x11, PIC_SLAVE_CMD); /* ICW1: select 8259A-2 init */
281 outb_p(I8259A_IRQ_BASE + 8, PIC_SLAVE_IMR); /* ICW2: 8259A-2 IR0 mapped to I8259A_IRQ_BASE + 0x08 */
282 outb_p(PIC_CASCADE_IR, PIC_SLAVE_IMR); /* 8259A-2 is a slave on master's IR2 */
283 outb_p(SLAVE_ICW4_DEFAULT, PIC_SLAVE_IMR); /* (slave's support for AEOI in flat mode is to be investigated) */