Lines Matching refs:kvm_pic
44 static void pic_lock(struct kvm_pic *s) in pic_lock()
50 static void pic_unlock(struct kvm_pic *s) in pic_unlock()
165 static void pic_update_irq(struct kvm_pic *s) in pic_update_irq()
181 void kvm_pic_update_irq(struct kvm_pic *s) in kvm_pic_update_irq()
188 int kvm_pic_set_irq(struct kvm_pic *s, int irq, int irq_source_id, int level) in kvm_pic_set_irq()
206 void kvm_pic_clear_all(struct kvm_pic *s, int irq_source_id) in kvm_pic_clear_all()
239 struct kvm_pic *s = kvm->arch.vpic; in kvm_pic_read_irq()
456 static int picdev_write(struct kvm_pic *s, in picdev_write()
490 static int picdev_read(struct kvm_pic *s, in picdev_read()
524 return picdev_write(container_of(dev, struct kvm_pic, dev_master), in picdev_master_write()
531 return picdev_read(container_of(dev, struct kvm_pic, dev_master), in picdev_master_read()
538 return picdev_write(container_of(dev, struct kvm_pic, dev_slave), in picdev_slave_write()
545 return picdev_read(container_of(dev, struct kvm_pic, dev_slave), in picdev_slave_read()
552 return picdev_write(container_of(dev, struct kvm_pic, dev_elcr), in picdev_elcr_write()
559 return picdev_read(container_of(dev, struct kvm_pic, dev_elcr), in picdev_elcr_read()
568 struct kvm_pic *s = kvm->arch.vpic; in pic_irq_request()
592 struct kvm_pic *s; in kvm_pic_init()
595 s = kzalloc(sizeof(struct kvm_pic), GFP_KERNEL_ACCOUNT); in kvm_pic_init()
647 struct kvm_pic *vpic = kvm->arch.vpic; in kvm_pic_destroy()