Home
last modified time | relevance | path

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

/Linux-v5.4/arch/x86/kvm/
Dlapic.c83 struct kvm_lapic *apic = vcpu->arch.apic; in kvm_apic_pending_eoi() local
102 static inline int apic_enabled(struct kvm_lapic *apic) in apic_enabled()
114 static inline u32 kvm_x2apic_id(struct kvm_lapic *apic) in kvm_x2apic_id()
193 struct kvm_lapic *apic = vcpu->arch.apic; in recalculate_apic_map() local
250 static inline void apic_set_spiv(struct kvm_lapic *apic, u32 val) in apic_set_spiv()
267 static inline void kvm_apic_set_xapic_id(struct kvm_lapic *apic, u8 id) in kvm_apic_set_xapic_id()
273 static inline void kvm_apic_set_ldr(struct kvm_lapic *apic, u32 id) in kvm_apic_set_ldr()
284 static inline void kvm_apic_set_x2apic_id(struct kvm_lapic *apic, u32 id) in kvm_apic_set_x2apic_id()
295 static inline int apic_lvt_enabled(struct kvm_lapic *apic, int lvt_type) in apic_lvt_enabled()
300 static inline int apic_lvt_vector(struct kvm_lapic *apic, int lvt_type) in apic_lvt_vector()
[all …]
Dlapic.h142 static inline void kvm_lapic_set_irr(int vec, struct kvm_lapic *apic) in kvm_lapic_set_irr()
152 static inline u32 kvm_lapic_get_reg(struct kvm_lapic *apic, int reg_off) in kvm_lapic_get_reg()
157 static inline void kvm_lapic_set_reg(struct kvm_lapic *apic, int reg_off, u32 val) in kvm_lapic_set_reg()
173 static inline int kvm_apic_hw_enabled(struct kvm_lapic *apic) in kvm_apic_hw_enabled()
182 static inline bool kvm_apic_sw_enabled(struct kvm_lapic *apic) in kvm_apic_sw_enabled()
199 static inline int apic_x2apic_mode(struct kvm_lapic *apic) in apic_x2apic_mode()
245 static inline u8 kvm_xapic_id(struct kvm_lapic *apic) in kvm_xapic_id()
Dioapic.c423 struct kvm_lapic *apic = vcpu->arch.apic; in __kvm_ioapic_update_eoi() local
Dcpuid.c70 struct kvm_lapic *apic = vcpu->arch.apic; in kvm_update_cpuid() local
Dsvm.c4481 struct kvm_lapic *apic = svm->vcpu.arch.apic; in avic_incomplete_ipi_interception() local
4505 struct kvm_lapic *apic = svm->vcpu.arch.apic; in avic_incomplete_ipi_interception() local
4553 int apic = ffs(dlid & 0x0f) - 1; in avic_get_logical_id_entry() local
4659 struct kvm_lapic *apic = svm->vcpu.arch.apic; in avic_unaccel_trap_write() local
/Linux-v5.4/arch/x86/include/asm/
Dapic.h288 struct apic { struct
312 u32 (*calc_dest_apicid)(unsigned int cpu); argument
321 int (*apic_id_valid)(u32 apicid); argument
322 int (*apic_id_registered)(void); argument
324 bool (*check_apicid_used)(physid_mask_t *map, int apicid); argument
325 void (*init_apic_ldr)(void); argument
326 void (*ioapic_phys_id_map)(physid_mask_t *phys_map, physid_mask_t *retmap); argument
327 void (*setup_apic_routing)(void); argument
328 int (*cpu_present_to_apicid)(int mps_cpu); argument
329 void (*apicid_to_cpu_present)(int phys_apicid, physid_mask_t *retmap); argument
[all …]
Dio_apic.h188 static inline unsigned int io_apic_read(unsigned int apic, unsigned int reg) in io_apic_read()
Dkvm_host.h557 struct kvm_lapic *apic; /* kernel irqchip context */ member
/Linux-v5.4/arch/x86/kernel/apic/
Dio_apic.c88 int apic, pin; member
280 static inline void io_apic_eoi(unsigned int apic, unsigned int vector) in io_apic_eoi()
286 unsigned int native_io_apic_read(unsigned int apic, unsigned int reg) in native_io_apic_read()
293 static void io_apic_write(unsigned int apic, unsigned int reg, in io_apic_write()
307 static struct IO_APIC_route_entry __ioapic_read_entry(int apic, int pin) in __ioapic_read_entry()
317 static struct IO_APIC_route_entry ioapic_read_entry(int apic, int pin) in ioapic_read_entry()
335 static void __ioapic_write_entry(int apic, int pin, struct IO_APIC_route_entry e) in __ioapic_write_entry()
344 static void ioapic_write_entry(int apic, int pin, struct IO_APIC_route_entry e) in ioapic_write_entry()
358 static void ioapic_mask_entry(int apic, int pin) in ioapic_mask_entry()
375 int node, int apic, int pin) in __add_pin_to_irq_node()
[all …]
/Linux-v5.4/arch/x86/xen/
Dapic.c14 static unsigned int xen_io_apic_read(unsigned apic, unsigned reg) in xen_io_apic_read()
/Linux-v5.4/drivers/acpi/
Dprocessor_core.c54 struct acpi_madt_local_x2apic *apic = in map_x2apic_id() local
/Linux-v5.4/drivers/iommu/
Dintel_irq_remapping.c216 static struct intel_iommu *map_ioapic_to_ir(int apic) in map_ioapic_to_ir()
309 static int set_ioapic_sid(struct irte *irte, int apic) in set_ioapic_sid()
/Linux-v5.4/arch/x86/kernel/cpu/mce/
Damd.c347 static int lvt_off_valid(struct threshold_block *b, int apic, u32 lo, u32 hi) in lvt_off_valid()
/Linux-v5.4/arch/x86/events/
Dperf_event.h596 int apic; member
/Linux-v5.4/arch/x86/kvm/vmx/
Dnested.c3458 struct kvm_lapic *apic = vcpu->arch.apic; in vmx_check_nested_events() local