Home
last modified time | relevance | path

Searched defs:apic (Results 1 – 19 of 19) sorted by relevance

/linux-6.12.1/arch/x86/kvm/
Dlapic.c87 static inline void kvm_lapic_set_reg(struct kvm_lapic *apic, int reg_off, u32 val) in kvm_lapic_set_reg()
98 static __always_inline u64 kvm_lapic_get_reg64(struct kvm_lapic *apic, int reg) in kvm_lapic_get_reg64()
109 static __always_inline void kvm_lapic_set_reg64(struct kvm_lapic *apic, in kvm_lapic_set_reg64()
122 struct kvm_lapic *apic = vcpu->arch.apic; in kvm_apic_pending_eoi() local
144 static inline int apic_enabled(struct kvm_lapic *apic) in apic_enabled()
156 static inline u32 kvm_x2apic_id(struct kvm_lapic *apic) in kvm_x2apic_id()
235 struct kvm_lapic *apic = vcpu->arch.apic; in kvm_recalculate_phys_map() local
310 struct kvm_lapic *apic = vcpu->arch.apic; in kvm_recalculate_logical_map() local
497 static inline void apic_set_spiv(struct kvm_lapic *apic, u32 val) in apic_set_spiv()
520 static inline void kvm_apic_set_xapic_id(struct kvm_lapic *apic, u8 id) in kvm_apic_set_xapic_id()
[all …]
Dlapic.h162 static inline void kvm_lapic_set_irr(int vec, struct kvm_lapic *apic) in kvm_lapic_set_irr()
177 static inline u32 kvm_lapic_get_reg(struct kvm_lapic *apic, int reg_off) in kvm_lapic_get_reg()
193 static inline bool kvm_apic_hw_enabled(struct kvm_lapic *apic) in kvm_apic_hw_enabled()
202 static inline bool kvm_apic_sw_enabled(struct kvm_lapic *apic) in kvm_apic_sw_enabled()
219 static inline int apic_x2apic_mode(struct kvm_lapic *apic) in apic_x2apic_mode()
274 static inline u8 kvm_xapic_id(struct kvm_lapic *apic) in kvm_xapic_id()
Dioapic.c536 struct kvm_lapic *apic = vcpu->arch.apic; in kvm_ioapic_update_eoi_one() local
Dcpuid.c352 struct kvm_lapic *apic = vcpu->arch.apic; in kvm_vcpu_after_set_cpuid() local
Dx86.c10534 struct kvm_lapic *apic = vcpu->arch.apic; in __kvm_vcpu_update_apicv() local
/linux-6.12.1/arch/x86/include/asm/
Dapic.h274 struct apic { struct
294 x2apic_set_max_apicid : 1, argument
297 u32 (*calc_dest_apicid)(unsigned int cpu); argument
304 u32 max_apic_id; argument
310 void (*init_apic_ldr)(void); argument
311 u32 (*cpu_present_to_apicid)(int mps_cpu); argument
313 u32 (*get_apic_id)(u32 id); argument
316 int (*wakeup_secondary_cpu)(u32 apicid, unsigned long start_eip); argument
318 int (*wakeup_secondary_cpu_64)(u32 apicid, unsigned long start_eip); argument
323 struct apic_override { argument
Dio_apic.h165 static inline unsigned int io_apic_read(unsigned int apic, unsigned int reg) in io_apic_read()
Dkvm_host.h763 struct kvm_lapic *apic; /* kernel irqchip context */ member
/linux-6.12.1/arch/x86/kernel/apic/
Dio_apic.c90 int apic, pin; member
264 static inline void io_apic_eoi(unsigned int apic, unsigned int vector) in io_apic_eoi()
271 unsigned int native_io_apic_read(unsigned int apic, unsigned int reg) in native_io_apic_read()
279 static void io_apic_write(unsigned int apic, unsigned int reg, in io_apic_write()
288 static struct IO_APIC_route_entry __ioapic_read_entry(int apic, int pin) in __ioapic_read_entry()
298 static struct IO_APIC_route_entry ioapic_read_entry(int apic, int pin) in ioapic_read_entry()
310 static void __ioapic_write_entry(int apic, int pin, struct IO_APIC_route_entry e) in __ioapic_write_entry()
316 static void ioapic_write_entry(int apic, int pin, struct IO_APIC_route_entry e) in ioapic_write_entry()
327 static void ioapic_mask_entry(int apic, int pin) in ioapic_mask_entry()
341 static bool add_pin_to_irq_node(struct mp_chip_data *data, int node, int apic, int pin) in add_pin_to_irq_node()
[all …]
/linux-6.12.1/arch/x86/xen/
Dapic.c14 static unsigned int xen_io_apic_read(unsigned apic, unsigned reg) in xen_io_apic_read()
/linux-6.12.1/drivers/acpi/
Dprocessor_core.c51 struct acpi_madt_local_x2apic *apic = in map_x2apic_id() local
/linux-6.12.1/drivers/iommu/intel/
Dirq_remapping.c215 static struct intel_iommu *map_ioapic_to_iommu(int apic) in map_ioapic_to_iommu()
305 static int set_ioapic_sid(struct irte *irte, int apic) in set_ioapic_sid()
/linux-6.12.1/arch/x86/kvm/svm/
Dnested.c1427 struct kvm_lapic *apic = vcpu->arch.apic; in svm_check_nested_events() local
Davic.c497 struct kvm_lapic *apic = vcpu->arch.apic; in avic_incomplete_ipi_interception() local
Dsvm.c3720 static void svm_deliver_interrupt(struct kvm_lapic *apic, int delivery_mode, in svm_deliver_interrupt()
/linux-6.12.1/arch/x86/kernel/cpu/mce/
Damd.c384 static int lvt_off_valid(struct threshold_block *b, int apic, u32 lo, u32 hi) in lvt_off_valid()
/linux-6.12.1/arch/x86/kvm/vmx/
Dnested.c4203 struct kvm_lapic *apic = vcpu->arch.apic; in vmx_check_nested_events() local
Dvmx.c4291 void vmx_deliver_interrupt(struct kvm_lapic *apic, int delivery_mode, in vmx_deliver_interrupt()
/linux-6.12.1/arch/x86/events/
Dperf_event.h811 int apic; member