/linux-6.6.21/arch/x86/kvm/ |
D | lapic.c | 76 static inline void kvm_lapic_set_reg(struct kvm_lapic *apic, int reg_off, u32 val) in kvm_lapic_set_reg() 87 static __always_inline u64 kvm_lapic_get_reg64(struct kvm_lapic *apic, int reg) in kvm_lapic_get_reg64() 98 static __always_inline void kvm_lapic_set_reg64(struct kvm_lapic *apic, in kvm_lapic_set_reg64() 111 struct kvm_lapic *apic = vcpu->arch.apic; in kvm_apic_pending_eoi() local 130 static inline int apic_enabled(struct kvm_lapic *apic) in apic_enabled() 142 static inline u32 kvm_x2apic_id(struct kvm_lapic *apic) in kvm_x2apic_id() 221 struct kvm_lapic *apic = vcpu->arch.apic; in kvm_recalculate_phys_map() local 296 struct kvm_lapic *apic = vcpu->arch.apic; in kvm_recalculate_logical_map() local 485 static inline void apic_set_spiv(struct kvm_lapic *apic, u32 val) in apic_set_spiv() 506 static inline void kvm_apic_set_xapic_id(struct kvm_lapic *apic, u8 id) in kvm_apic_set_xapic_id() [all …]
|
D | lapic.h | 164 static inline void kvm_lapic_set_irr(int vec, struct kvm_lapic *apic) in kvm_lapic_set_irr() 179 static inline u32 kvm_lapic_get_reg(struct kvm_lapic *apic, int reg_off) in kvm_lapic_get_reg() 195 static inline bool kvm_apic_hw_enabled(struct kvm_lapic *apic) in kvm_apic_hw_enabled() 204 static inline bool kvm_apic_sw_enabled(struct kvm_lapic *apic) in kvm_apic_sw_enabled() 221 static inline int apic_x2apic_mode(struct kvm_lapic *apic) in apic_x2apic_mode() 276 static inline u8 kvm_xapic_id(struct kvm_lapic *apic) in kvm_xapic_id()
|
D | ioapic.c | 536 struct kvm_lapic *apic = vcpu->arch.apic; in kvm_ioapic_update_eoi_one() local
|
D | cpuid.c | 326 struct kvm_lapic *apic = vcpu->arch.apic; in kvm_vcpu_after_set_cpuid() local
|
D | x86.c | 10328 struct kvm_lapic *apic = vcpu->arch.apic; in __kvm_vcpu_update_apicv() local
|
/linux-6.6.21/arch/x86/include/asm/ |
D | apic.h | 257 struct apic { struct 275 enum apic_delivery_modes delivery_mode; argument 279 x2apic_set_max_apicid : 1; argument 281 u32 (*calc_dest_apicid)(unsigned int cpu); argument 288 u32 max_apic_id; argument 293 bool (*apic_id_registered)(void); argument 295 bool (*check_apicid_used)(physid_mask_t *map, int apicid); argument 296 void (*init_apic_ldr)(void); argument 297 void (*ioapic_phys_id_map)(physid_mask_t *phys_map, physid_mask_t *retmap); argument 298 int (*cpu_present_to_apicid)(int mps_cpu); argument [all …]
|
D | io_apic.h | 166 static inline unsigned int io_apic_read(unsigned int apic, unsigned int reg) in io_apic_read()
|
D | kvm_host.h | 737 struct kvm_lapic *apic; /* kernel irqchip context */ member
|
/linux-6.6.21/arch/x86/kernel/apic/ |
D | io_apic.c | 90 int apic, pin; member 269 static inline void io_apic_eoi(unsigned int apic, unsigned int vector) in io_apic_eoi() 275 unsigned int native_io_apic_read(unsigned int apic, unsigned int reg) in native_io_apic_read() 282 static void io_apic_write(unsigned int apic, unsigned int reg, in io_apic_write() 291 static struct IO_APIC_route_entry __ioapic_read_entry(int apic, int pin) in __ioapic_read_entry() 301 static struct IO_APIC_route_entry ioapic_read_entry(int apic, int pin) in ioapic_read_entry() 319 static void __ioapic_write_entry(int apic, int pin, struct IO_APIC_route_entry e) in __ioapic_write_entry() 325 static void ioapic_write_entry(int apic, int pin, struct IO_APIC_route_entry e) in ioapic_write_entry() 339 static void ioapic_mask_entry(int apic, int pin) in ioapic_mask_entry() 356 int node, int apic, int pin) in __add_pin_to_irq_node() [all …]
|
/linux-6.6.21/arch/x86/xen/ |
D | apic.c | 16 static unsigned int xen_io_apic_read(unsigned apic, unsigned reg) in xen_io_apic_read()
|
/linux-6.6.21/drivers/acpi/ |
D | processor_core.c | 51 struct acpi_madt_local_x2apic *apic = in map_x2apic_id() local
|
/linux-6.6.21/drivers/iommu/intel/ |
D | irq_remapping.c | 212 static struct intel_iommu *map_ioapic_to_iommu(int apic) in map_ioapic_to_iommu() 302 static int set_ioapic_sid(struct irte *irte, int apic) in set_ioapic_sid()
|
/linux-6.6.21/arch/x86/kvm/svm/ |
D | nested.c | 1421 struct kvm_lapic *apic = vcpu->arch.apic; in svm_check_nested_events() local
|
D | avic.c | 497 struct kvm_lapic *apic = vcpu->arch.apic; in avic_incomplete_ipi_interception() local
|
D | svm.c | 3678 static void svm_deliver_interrupt(struct kvm_lapic *apic, int delivery_mode, in svm_deliver_interrupt()
|
/linux-6.6.21/arch/x86/kernel/cpu/mce/ |
D | amd.c | 392 static int lvt_off_valid(struct threshold_block *b, int apic, u32 lo, u32 hi) in lvt_off_valid()
|
/linux-6.6.21/arch/x86/kvm/vmx/ |
D | nested.c | 4056 struct kvm_lapic *apic = vcpu->arch.apic; in vmx_check_nested_events() local
|
D | vmx.c | 4279 static void vmx_deliver_interrupt(struct kvm_lapic *apic, int delivery_mode, in vmx_deliver_interrupt()
|
/linux-6.6.21/arch/x86/events/ |
D | perf_event.h | 773 int apic; member
|