Lines Matching refs:kvm_pic
42 static void pic_lock(struct kvm_pic *s) in pic_lock()
48 static void pic_unlock(struct kvm_pic *s) in pic_unlock()
168 static void pic_update_irq(struct kvm_pic *s) in pic_update_irq()
184 void kvm_pic_update_irq(struct kvm_pic *s) in kvm_pic_update_irq()
193 struct kvm_pic *s = opaque; in kvm_pic_set_irq()
231 struct kvm_pic *s = pic_irqchip(kvm); in kvm_pic_read_irq()
474 static int picdev_write(struct kvm_pic *s, in picdev_write()
502 static int picdev_read(struct kvm_pic *s, in picdev_read()
534 return picdev_write(container_of(dev, struct kvm_pic, dev_master), in picdev_master_write()
541 return picdev_read(container_of(dev, struct kvm_pic, dev_master), in picdev_master_read()
548 return picdev_write(container_of(dev, struct kvm_pic, dev_slave), in picdev_slave_write()
555 return picdev_read(container_of(dev, struct kvm_pic, dev_slave), in picdev_slave_read()
562 return picdev_write(container_of(dev, struct kvm_pic, dev_eclr), in picdev_eclr_write()
569 return picdev_read(container_of(dev, struct kvm_pic, dev_eclr), in picdev_eclr_read()
578 struct kvm_pic *s = pic_irqchip(kvm); in pic_irq_request()
600 struct kvm_pic *kvm_create_pic(struct kvm *kvm) in kvm_create_pic()
602 struct kvm_pic *s; in kvm_create_pic()
605 s = kzalloc(sizeof(struct kvm_pic), GFP_KERNEL); in kvm_create_pic()
655 struct kvm_pic *vpic = kvm->arch.vpic; in kvm_destroy_pic()