• Home
  • Raw
  • Download

Lines Matching refs:pics

60     PicState pics[2];  member
129 if (s->special_fully_nested_mode && s == &s->pics_state->pics[0]) in pic_get_irq()
148 irq2 = pic_get_irq(&s->pics[1]); in pic_update_irq()
151 pic_set_irq1(&s->pics[0], 2, 1); in pic_update_irq()
152 pic_set_irq1(&s->pics[0], 2, 0); in pic_update_irq()
155 irq = pic_get_irq(&s->pics[0]); in pic_update_irq()
162 i, s->pics[i].imr, s->pics[i].irr, in pic_update_irq()
163 s->pics[i].priority_add); in pic_update_irq()
205 pic_set_irq1(&s->pics[irq >> 3], irq & 7, level); in i8259_set_irq()
230 irq = pic_get_irq(&s->pics[0]); in pic_read_irq()
232 pic_intack(&s->pics[0], irq); in pic_read_irq()
234 irq2 = pic_get_irq(&s->pics[1]); in pic_read_irq()
236 pic_intack(&s->pics[1], irq2); in pic_read_irq()
241 intno = s->pics[1].irq_base + irq2; in pic_read_irq()
244 intno = s->pics[0].irq_base + irq; in pic_read_irq()
249 intno = s->pics[0].irq_base + irq; in pic_read_irq()
385 s->pics_state->pics[0].isr &= ~(1 << 2); in pic_poll_read()
386 s->pics_state->pics[0].irr &= ~(1 << 2); in pic_poll_read()
433 ret = pic_poll_read(&s->pics[0], 0x00); in pic_intack_read()
435 ret = pic_poll_read(&s->pics[1], 0x80) + 8; in pic_intack_read()
437 s->pics[0].read_reg_select = 1; in pic_intack_read()
524 s = &isa_pic->pics[i]; in pic_info()
555 pic_init1(0x20, 0x4d0, &s->pics[0]); in i8259_init()
556 pic_init1(0xa0, 0x4d1, &s->pics[1]); in i8259_init()
557 s->pics[0].elcr_mask = 0xf8; in i8259_init()
558 s->pics[1].elcr_mask = 0xde; in i8259_init()
560 s->pics[0].pics_state = s; in i8259_init()
561 s->pics[1].pics_state = s; in i8259_init()