Lines Matching refs:xapic
53 struct kvm_lapic_state xapic; in ____test_icr() local
62 vcpu_ioctl(vcpu, KVM_GET_LAPIC, &xapic); in ____test_icr()
63 *((u32 *)&xapic.regs[APIC_IRR]) = val; in ____test_icr()
64 *((u32 *)&xapic.regs[APIC_IRR + 0x10]) = val >> 32; in ____test_icr()
65 vcpu_ioctl(vcpu, KVM_SET_LAPIC, &xapic); in ____test_icr()
71 vcpu_ioctl(vcpu, KVM_GET_LAPIC, &xapic); in ____test_icr()
72 icr = (u64)(*((u32 *)&xapic.regs[APIC_ICR])) | in ____test_icr()
73 (u64)(*((u32 *)&xapic.regs[APIC_ICR2])) << 32; in ____test_icr()
138 struct kvm_lapic_state xapic; in __test_apic_id() local
142 vcpu_ioctl(vcpu, KVM_GET_LAPIC, &xapic); in __test_apic_id()
145 apic_id = *((u32 *)&xapic.regs[APIC_ID]); in __test_apic_id()