Home
last modified time | relevance | path

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

/Linux-v4.19/arch/x86/kvm/
Dlapic.c80 struct kvm_lapic *apic = vcpu->arch.apic; in kvm_apic_pending_eoi() local
104 static inline int apic_enabled(struct kvm_lapic *apic) in apic_enabled()
116 static inline u8 kvm_xapic_id(struct kvm_lapic *apic) in kvm_xapic_id()
121 static inline u32 kvm_x2apic_id(struct kvm_lapic *apic) in kvm_x2apic_id()
187 struct kvm_lapic *apic = vcpu->arch.apic; in recalculate_apic_map() local
241 static inline void apic_set_spiv(struct kvm_lapic *apic, u32 val) in apic_set_spiv()
257 static inline void kvm_apic_set_xapic_id(struct kvm_lapic *apic, u8 id) in kvm_apic_set_xapic_id()
263 static inline void kvm_apic_set_ldr(struct kvm_lapic *apic, u32 id) in kvm_apic_set_ldr()
274 static inline void kvm_apic_set_x2apic_id(struct kvm_lapic *apic, u32 id) in kvm_apic_set_x2apic_id()
285 static inline int apic_lvt_enabled(struct kvm_lapic *apic, int lvt_type) in apic_lvt_enabled()
[all …]
Dlapic.h135 static inline void kvm_lapic_set_irr(int vec, struct kvm_lapic *apic) in kvm_lapic_set_irr()
145 static inline u32 kvm_lapic_get_reg(struct kvm_lapic *apic, int reg_off) in kvm_lapic_get_reg()
150 static inline void kvm_lapic_set_reg(struct kvm_lapic *apic, int reg_off, u32 val) in kvm_lapic_set_reg()
166 static inline int kvm_apic_hw_enabled(struct kvm_lapic *apic) in kvm_apic_hw_enabled()
175 static inline bool kvm_apic_sw_enabled(struct kvm_lapic *apic) in kvm_apic_sw_enabled()
192 static inline int apic_x2apic_mode(struct kvm_lapic *apic) in apic_x2apic_mode()
Dioapic.c435 struct kvm_lapic *apic = vcpu->arch.apic; in __kvm_ioapic_update_eoi() local
Dcpuid.c76 struct kvm_lapic *apic = vcpu->arch.apic; in kvm_update_cpuid() local
Dsvm.c4453 struct kvm_lapic *apic = svm->vcpu.arch.apic; in avic_incomplete_ipi_interception() local
4477 struct kvm_lapic *apic = svm->vcpu.arch.apic; in avic_incomplete_ipi_interception() local
4523 int apic = ffs(dlid & 0x0f) - 1; in avic_get_logical_id_entry() local
4633 struct kvm_lapic *apic = svm->vcpu.arch.apic; in avic_unaccel_trap_write() local
/Linux-v4.19/arch/x86/include/asm/
Dapic.h284 struct apic { struct
308 u32 (*calc_dest_apicid)(unsigned int cpu); argument
317 int (*apic_id_valid)(u32 apicid); argument
318 int (*apic_id_registered)(void); argument
320 bool (*check_apicid_used)(physid_mask_t *map, int apicid); argument
321 void (*init_apic_ldr)(void); argument
322 void (*ioapic_phys_id_map)(physid_mask_t *phys_map, physid_mask_t *retmap); argument
323 void (*setup_apic_routing)(void); argument
324 int (*cpu_present_to_apicid)(int mps_cpu); argument
325 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.h516 struct kvm_lapic *apic; /* kernel irqchip context */ member
/Linux-v4.19/arch/x86/kernel/apic/
Dio_apic.c87 int apic, pin; member
279 static inline void io_apic_eoi(unsigned int apic, unsigned int vector) in io_apic_eoi()
285 unsigned int native_io_apic_read(unsigned int apic, unsigned int reg) in native_io_apic_read()
292 static void io_apic_write(unsigned int apic, unsigned int reg, in io_apic_write()
306 static struct IO_APIC_route_entry __ioapic_read_entry(int apic, int pin) in __ioapic_read_entry()
316 static struct IO_APIC_route_entry ioapic_read_entry(int apic, int pin) in ioapic_read_entry()
334 static void __ioapic_write_entry(int apic, int pin, struct IO_APIC_route_entry e) in __ioapic_write_entry()
343 static void ioapic_write_entry(int apic, int pin, struct IO_APIC_route_entry e) in ioapic_write_entry()
357 static void ioapic_mask_entry(int apic, int pin) in ioapic_mask_entry()
374 int node, int apic, int pin) in __add_pin_to_irq_node()
[all …]
/Linux-v4.19/arch/x86/xen/
Dapic.c14 static unsigned int xen_io_apic_read(unsigned apic, unsigned reg) in xen_io_apic_read()
/Linux-v4.19/drivers/acpi/
Dprocessor_core.c53 struct acpi_madt_local_x2apic *apic = in map_x2apic_id() local
/Linux-v4.19/drivers/iommu/
Dintel_irq_remapping.c214 static struct intel_iommu *map_ioapic_to_ir(int apic) in map_ioapic_to_ir()
295 static int set_ioapic_sid(struct irte *irte, int apic) in set_ioapic_sid()
/Linux-v4.19/arch/x86/kernel/cpu/mcheck/
Dmce_amd.c308 static int lvt_off_valid(struct threshold_block *b, int apic, u32 lo, u32 hi) in lvt_off_valid()
/Linux-v4.19/arch/x86/events/
Dperf_event.h544 int apic; member