Lines Matching refs:kvm_ioapic
50 static int ioapic_service(struct kvm_ioapic *vioapic, int irq,
54 struct kvm_ioapic *ioapic,
58 static unsigned long ioapic_read_indirect(struct kvm_ioapic *ioapic) in ioapic_read_indirect()
95 static void rtc_irq_eoi_tracking_reset(struct kvm_ioapic *ioapic) in rtc_irq_eoi_tracking_reset()
101 static void kvm_rtc_eoi_tracking_restore_all(struct kvm_ioapic *ioapic);
103 static void rtc_status_pending_eoi_check_valid(struct kvm_ioapic *ioapic) in rtc_status_pending_eoi_check_valid()
112 struct kvm_ioapic *ioapic = vcpu->kvm->arch.vioapic; in __rtc_irq_eoi_tracking_restore_one()
141 struct kvm_ioapic *ioapic = vcpu->kvm->arch.vioapic; in kvm_rtc_eoi_tracking_restore_one()
148 static void kvm_rtc_eoi_tracking_restore_all(struct kvm_ioapic *ioapic) in kvm_rtc_eoi_tracking_restore_all()
161 static void rtc_irq_eoi(struct kvm_ioapic *ioapic, struct kvm_vcpu *vcpu, in rtc_irq_eoi()
176 static bool rtc_irq_check_coalesced(struct kvm_ioapic *ioapic) in rtc_irq_check_coalesced()
184 static void ioapic_lazy_update_eoi(struct kvm_ioapic *ioapic, int irq) in ioapic_lazy_update_eoi()
206 static int ioapic_set_irq(struct kvm_ioapic *ioapic, unsigned int irq, in ioapic_set_irq()
266 static void kvm_ioapic_inject_all(struct kvm_ioapic *ioapic, unsigned long irr) in kvm_ioapic_inject_all()
280 struct kvm_ioapic *ioapic = vcpu->kvm->arch.vioapic; in kvm_ioapic_scan_entry()
316 static void ioapic_write_indirect(struct kvm_ioapic *ioapic, u32 val) in ioapic_write_indirect()
442 static int ioapic_service(struct kvm_ioapic *ioapic, int irq, bool line_status) in ioapic_service()
485 int kvm_ioapic_set_irq(struct kvm_ioapic *ioapic, int irq, int irq_source_id, in kvm_ioapic_set_irq()
502 void kvm_ioapic_clear_all(struct kvm_ioapic *ioapic, int irq_source_id) in kvm_ioapic_clear_all()
515 struct kvm_ioapic *ioapic = container_of(work, struct kvm_ioapic, in kvm_ioapic_eoi_inject_work()
532 struct kvm_ioapic *ioapic, in kvm_ioapic_update_eoi_one()
582 struct kvm_ioapic *ioapic = vcpu->kvm->arch.vioapic; in kvm_ioapic_update_eoi()
596 static inline struct kvm_ioapic *to_ioapic(struct kvm_io_device *dev) in to_ioapic()
598 return container_of(dev, struct kvm_ioapic, dev); in to_ioapic()
601 static inline int ioapic_in_range(struct kvm_ioapic *ioapic, gpa_t addr) in ioapic_in_range()
610 struct kvm_ioapic *ioapic = to_ioapic(this); in ioapic_mmio_read()
652 struct kvm_ioapic *ioapic = to_ioapic(this); in ioapic_mmio_write()
693 static void kvm_ioapic_reset(struct kvm_ioapic *ioapic) in kvm_ioapic_reset()
716 struct kvm_ioapic *ioapic; in kvm_ioapic_init()
719 ioapic = kzalloc(sizeof(struct kvm_ioapic), GFP_KERNEL_ACCOUNT); in kvm_ioapic_init()
742 struct kvm_ioapic *ioapic = kvm->arch.vioapic; in kvm_ioapic_destroy()
757 struct kvm_ioapic *ioapic = kvm->arch.vioapic; in kvm_get_ioapic()
767 struct kvm_ioapic *ioapic = kvm->arch.vioapic; in kvm_set_ioapic()