Lines Matching refs:kvm_lapic
46 struct kvm_lapic { struct
88 int kvm_lapic_reg_write(struct kvm_lapic *apic, u32 reg, u32 val); argument
89 int kvm_lapic_reg_read(struct kvm_lapic *apic, u32 offset, int len,
91 bool kvm_apic_match_dest(struct kvm_vcpu *vcpu, struct kvm_lapic *source,
100 int kvm_apic_local_deliver(struct kvm_lapic *apic, int lvt_type);
103 bool kvm_irq_delivery_to_apic_fast(struct kvm *kvm, struct kvm_lapic *src,
105 void kvm_apic_send_ipi(struct kvm_lapic *apic, u32 icr_low, u32 icr_high);
146 static inline void kvm_lapic_set_irr(int vec, struct kvm_lapic *apic) in kvm_lapic_set_irr()
156 static inline u32 kvm_lapic_get_reg(struct kvm_lapic *apic, int reg_off) in kvm_lapic_get_reg()
166 static inline void kvm_lapic_set_reg(struct kvm_lapic *apic, int reg_off, u32 val) in kvm_lapic_set_reg()
182 static inline int kvm_apic_hw_enabled(struct kvm_lapic *apic) in kvm_apic_hw_enabled()
191 static inline bool kvm_apic_sw_enabled(struct kvm_lapic *apic) in kvm_apic_sw_enabled()
208 static inline int apic_x2apic_mode(struct kvm_lapic *apic) in apic_x2apic_mode()
257 static inline u8 kvm_xapic_id(struct kvm_lapic *apic) in kvm_xapic_id()