Lines Matching full:pics
59 /* XXX: better separation between the two pics */
60 PicState pics[2];
129 if (s->special_fully_nested_mode && s == &s->pics_state->pics[0])
148 irq2 = pic_get_irq(&s->pics[1]);
151 pic_set_irq1(&s->pics[0], 2, 1);
152 pic_set_irq1(&s->pics[0], 2, 0);
155 irq = pic_get_irq(&s->pics[0]);
162 i, s->pics[i].imr, s->pics[i].irr,
163 s->pics[i].priority_add);
205 pic_set_irq1(&s->pics[irq >> 3], irq & 7, level);
230 irq = pic_get_irq(&s->pics[0]);
232 pic_intack(&s->pics[0], irq);
234 irq2 = pic_get_irq(&s->pics[1]);
236 pic_intack(&s->pics[1], irq2);
241 intno = s->pics[1].irq_base + irq2;
244 intno = s->pics[0].irq_base + irq;
249 intno = s->pics[0].irq_base + irq;
385 s->pics_state->pics[0].isr &= ~(1 << 2);
386 s->pics_state->pics[0].irr &= ~(1 << 2);
433 ret = pic_poll_read(&s->pics[0], 0x00);
435 ret = pic_poll_read(&s->pics[1], 0x80) + 8;
437 s->pics[0].read_reg_select = 1;
524 s = &isa_pic->pics[i];
555 pic_init1(0x20, 0x4d0, &s->pics[0]);
556 pic_init1(0xa0, 0x4d1, &s->pics[1]);
557 s->pics[0].elcr_mask = 0xf8;
558 s->pics[1].elcr_mask = 0xde;
560 s->pics[0].pics_state = s;
561 s->pics[1].pics_state = s;