Lines Matching refs:pics_state
75 if (s != &s->pics_state->pics[0]) in pic_clear_isr()
83 pic_unlock(s->pics_state); in pic_clear_isr()
84 kvm_notify_acked_irq(s->pics_state->kvm, SELECT_PIC(irq), irq); in pic_clear_isr()
85 pic_lock(s->pics_state); in pic_clear_isr()
149 if (s->special_fully_nested_mode && s == &s->pics_state->pics[0]) in pic_get_irq()
292 kvm_for_each_vcpu(i, vcpu, s->pics_state->kvm) in kvm_pic_reset()
344 pic_update_irq(s->pics_state); in pic_ioport_write()
350 pic_update_irq(s->pics_state); in pic_ioport_write()
354 pic_update_irq(s->pics_state); in pic_ioport_write()
360 pic_update_irq(s->pics_state); in pic_ioport_write()
370 off = (s == &s->pics_state->pics[0]) ? 0 : 8; in pic_ioport_write()
375 s->pics_state->kvm, in pic_ioport_write()
379 pic_update_irq(s->pics_state); in pic_ioport_write()
407 s->pics_state->pics[0].isr &= ~(1 << 2); in pic_poll_read()
408 s->pics_state->pics[0].irr &= ~(1 << 2); in pic_poll_read()
413 pic_update_irq(s->pics_state); in pic_poll_read()
419 pic_update_irq(s->pics_state); in pic_poll_read()
602 s->pics[0].pics_state = s; in kvm_pic_init()
603 s->pics[1].pics_state = s; in kvm_pic_init()