Home
last modified time | relevance | path

Searched refs:APIC_IRR (Results 1 – 10 of 10) sorted by relevance

/linux-6.6.21/tools/testing/selftests/kvm/x86_64/
Dxapic_state_test.c26 uint64_t val = (u64)xapic_read_reg(APIC_IRR) | in xapic_guest_code()
27 (u64)xapic_read_reg(APIC_IRR + 0x10) << 32; in xapic_guest_code()
42 uint64_t val = x2apic_read_reg(APIC_IRR) | in x2apic_guest_code()
43 x2apic_read_reg(APIC_IRR + 0x10) << 32; in x2apic_guest_code()
63 *((u32 *)&xapic.regs[APIC_IRR]) = val; in ____test_icr()
64 *((u32 *)&xapic.regs[APIC_IRR + 0x10]) = val >> 32; in ____test_icr()
/linux-6.6.21/tools/testing/selftests/kvm/include/x86_64/
Dapic.h36 #define APIC_IRR 0x200 macro
/linux-6.6.21/arch/x86/kvm/
Dlapic.c114 apic_test_vector(vector, apic->regs + APIC_IRR); in kvm_apic_pending_eoi()
661 u32 *p_irr = (u32 *)(regs + APIC_IRR + i * 0x10); in __kvm_apic_update_irr()
700 return find_highest_vector(apic->regs + APIC_IRR); in apic_search_irr()
724 kvm_lapic_clear_vector(vec, apic->regs + APIC_IRR); in apic_clear_irr()
729 kvm_lapic_clear_vector(vec, apic->regs + APIC_IRR); in apic_clear_irr()
1617 APIC_REGS_MASK(APIC_IRR, APIC_ISR_NR) | in kvm_lapic_readable_reg_mask()
1785 bitmap = apic->regs + APIC_IRR; in lapic_timer_int_injected()
2717 kvm_lapic_set_reg(apic, APIC_IRR + 0x10 * i, 0); in kvm_lapic_reset()
Dlapic.h166 kvm_lapic_set_vector(vec, apic->regs + APIC_IRR); in kvm_lapic_set_irr()
/linux-6.6.21/arch/x86/include/asm/
Dapicdef.h60 #define APIC_IRR 0x200 macro
Dapic.h491 u32 irr = apic_read(APIC_IRR + (vector / 32 * 0x10)); in lapic_vector_set_in_irr()
/linux-6.6.21/arch/x86/kernel/
Dirq.c369 irr = apic_read(APIC_IRR + (vector / 32 * 0x10)); in fixup_irqs()
/linux-6.6.21/arch/x86/kernel/apic/
Dvector.c982 irr = check_irr ? apic_read(APIC_IRR + (vector / 32 * 0x10)) : 0; in __vector_cleanup()
1256 print_APIC_field(APIC_IRR); in print_local_APIC()
Dapic.c1466 irr->regs[i] = apic_read(APIC_IRR + i * 0x10); in apic_check_and_ack()
/linux-6.6.21/arch/x86/kvm/svm/
Dsvm.c122 { .index = X2APIC_MSR(APIC_IRR), .always = false },