Lines Matching refs:outb_p
295 * outb_p - this has to work on a wide range of PC hardware.
297 outb_p(0x11, PIC_MASTER_CMD); /* ICW1: select 8259A-1 init */
298 outb_p(0x20 + 0, PIC_MASTER_IMR); /* ICW2: 8259A-1 IR0-7 mapped to 0x20-0x27 */
299 outb_p(1U << PIC_CASCADE_IR, PIC_MASTER_IMR); /* 8259A-1 (the master) has a slave on IR2 */
301 outb_p(MASTER_ICW4_DEFAULT | PIC_ICW4_AEOI, PIC_MASTER_IMR);
303 outb_p(MASTER_ICW4_DEFAULT, PIC_MASTER_IMR);
305 outb_p(0x11, PIC_SLAVE_CMD); /* ICW1: select 8259A-2 init */
306 outb_p(0x20 + 8, PIC_SLAVE_IMR); /* ICW2: 8259A-2 IR0-7 mapped to 0x28-0x2f */
307 outb_p(PIC_CASCADE_IR, PIC_SLAVE_IMR); /* 8259A-2 is a slave on master's IR2 */
308 outb_p(SLAVE_ICW4_DEFAULT, PIC_SLAVE_IMR); /* (slave's support for AEOI in flat mode is to be investigated) */