Lines Matching refs:atpics
116 { { &atpics[(irq) / 8].at_pic }, IDTVEC(atpic_intr ## irq ), \
151 static struct atpic atpics[] = { variable
181 KASSERT(isrc->is_pic == &atpics[MASTER].at_pic, in _atpic_eoi_master()
184 outb(atpics[MASTER].at_ioaddr, OCW2_EOI); in _atpic_eoi_master()
196 KASSERT(isrc->is_pic == &atpics[SLAVE].at_pic, in _atpic_eoi_slave()
199 outb(atpics[SLAVE].at_ioaddr, OCW2_EOI); in _atpic_eoi_slave()
201 outb(atpics[MASTER].at_ioaddr, OCW2_EOI); in _atpic_eoi_slave()
228 if (ap != &atpics[MASTER]) in atpic_register_sources()
274 if (isrc->is_pic == &atpics[MASTER].at_pic) in atpic_disable_source()
336 i8259_init(ap, ap == &atpics[SLAVE]); in atpic_resume()
337 if (ap == &atpics[SLAVE] && elcr_found) in atpic_resume()
457 i8259_init(&atpics[MASTER], 0); in atpic_startup()
458 i8259_init(&atpics[SLAVE], 1); in atpic_startup()
511 if (intr_register_pic(&atpics[0].at_pic) != 0 || in atpic_init()
512 intr_register_pic(&atpics[1].at_pic) != 0) in atpic_init()