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()
263 struct kvm_vcpu *vcpu0 = s->pics_state->kvm->bsp_vcpu; in kvm_pic_reset()
335 pic_update_irq(s->pics_state); in pic_ioport_write()
341 pic_update_irq(s->pics_state); in pic_ioport_write()
345 pic_update_irq(s->pics_state); in pic_ioport_write()
351 pic_update_irq(s->pics_state); in pic_ioport_write()
361 off = (s == &s->pics_state->pics[0]) ? 0 : 8; in pic_ioport_write()
366 s->pics_state->kvm, in pic_ioport_write()
370 pic_update_irq(s->pics_state); in pic_ioport_write()
398 s->pics_state->pics[0].isr &= ~(1 << 2); in pic_poll_read()
399 s->pics_state->pics[0].irr &= ~(1 << 2); in pic_poll_read()
404 pic_update_irq(s->pics_state); in pic_poll_read()
407 pic_update_irq(s->pics_state); in pic_poll_read()
557 s->pics[0].pics_state = s; in kvm_create_pic()
558 s->pics[1].pics_state = s; in kvm_create_pic()