/linux-master/arch/x86/include/asm/ |
H A D | genapic.h | 1 #include <asm/apic.h>
|
H A D | apic.h | 34 * This can be turned up by using apic=verbose for more 35 * information and apic=debug for _lots_ of information. 36 * apic_verbosity is defined in apic.c 72 * With 82489DX we can't rely on apic feature bit 74 * such an apic chip so we assume that SMP configuration 270 struct apic { struct 341 extern struct apic *apic; 346 * of different apic driver files in the Makefile. 348 * For the files having two apic driver [all...] |
H A D | io_apic.h | 162 extern unsigned int native_io_apic_read(unsigned int apic, unsigned int reg); 165 static inline unsigned int io_apic_read(unsigned int apic, unsigned int reg) argument 167 return x86_apic_ops.io_apic_read(apic, reg);
|
/linux-master/arch/x86/kvm/ |
H A D | lapic.c | 69 static int kvm_lapic_msr_read(struct kvm_lapic *apic, u32 reg, u64 *data); 70 static int kvm_lapic_msr_write(struct kvm_lapic *apic, u32 reg, u64 data); 77 static inline void kvm_lapic_set_reg(struct kvm_lapic *apic, int reg_off, u32 val) argument 79 __kvm_lapic_set_reg(apic->regs, reg_off, val); 88 static __always_inline u64 kvm_lapic_get_reg64(struct kvm_lapic *apic, int reg) argument 90 return __kvm_lapic_get_reg64(apic->regs, reg); 99 static __always_inline void kvm_lapic_set_reg64(struct kvm_lapic *apic, argument 102 __kvm_lapic_set_reg64(apic->regs, reg, val); 112 struct kvm_lapic *apic = vcpu->arch.apic; local 134 apic_enabled(struct kvm_lapic *apic) argument 146 kvm_x2apic_id(struct kvm_lapic *apic) argument 225 struct kvm_lapic *apic = vcpu->arch.apic; local 300 struct kvm_lapic *apic = vcpu->arch.apic; local 489 apic_set_spiv(struct kvm_lapic *apic, u32 val) argument 512 kvm_apic_set_xapic_id(struct kvm_lapic *apic, u8 id) argument 518 kvm_apic_set_ldr(struct kvm_lapic *apic, u32 id) argument 524 kvm_apic_set_dfr(struct kvm_lapic *apic, u32 val) argument 530 kvm_apic_set_x2apic_id(struct kvm_lapic *apic, u32 id) argument 541 apic_lvt_enabled(struct kvm_lapic *apic, int lvt_type) argument 546 apic_lvtt_oneshot(struct kvm_lapic *apic) argument 551 apic_lvtt_period(struct kvm_lapic *apic) argument 556 apic_lvtt_tscdeadline(struct kvm_lapic *apic) argument 566 kvm_lapic_lvt_supported(struct kvm_lapic *apic, int lvt_index) argument 578 struct kvm_lapic *apic = vcpu->arch.apic; local 602 struct kvm_lapic *apic = vcpu->arch.apic; local 695 struct kvm_lapic *apic = vcpu->arch.apic; local 704 apic_search_irr(struct kvm_lapic *apic) argument 709 apic_find_highest_irr(struct kvm_lapic *apic) argument 726 apic_clear_irr(int vec, struct kvm_lapic *apic) argument 747 apic_set_isr(int vec, struct kvm_lapic *apic) argument 771 apic_find_highest_isr(struct kvm_lapic *apic) argument 790 apic_clear_isr(int vec, struct kvm_lapic *apic) argument 829 struct kvm_lapic *apic = vcpu->arch.apic; local 935 apic_has_interrupt_for_ppr(struct kvm_lapic *apic, u32 ppr) argument 947 __apic_update_ppr(struct kvm_lapic *apic, u32 *new_ppr) argument 969 apic_update_ppr(struct kvm_lapic *apic) argument 984 apic_set_tpr(struct kvm_lapic *apic, u32 tpr) argument 990 kvm_apic_broadcast(struct kvm_lapic *apic, u32 mda) argument 996 kvm_apic_match_physical_addr(struct kvm_lapic *apic, u32 mda) argument 1016 kvm_apic_match_logical_addr(struct kvm_lapic *apic, u32 mda) argument 1294 __apic_accept_irq(struct kvm_lapic *apic, int delivery_mode, int vector, int level, int trig_mode, struct dest_map *dest_map) argument 1440 kvm_ioapic_handles_vector(struct kvm_lapic *apic, int vector) argument 1445 kvm_ioapic_send_eoi(struct kvm_lapic *apic, int vector) argument 1468 apic_set_eoi(struct kvm_lapic *apic) argument 1498 struct kvm_lapic *apic = vcpu->arch.apic; local 1507 kvm_apic_send_ipi(struct kvm_lapic *apic, u32 icr_low, u32 icr_high) argument 1532 apic_get_tmcct(struct kvm_lapic *apic) argument 1553 __report_tpr_access(struct kvm_lapic *apic, bool write) argument 1563 report_tpr_access(struct kvm_lapic *apic, bool write) argument 1569 __apic_read(struct kvm_lapic *apic, unsigned int offset) argument 1610 kvm_lapic_readable_reg_mask(struct kvm_lapic *apic) argument 1648 kvm_lapic_reg_read(struct kvm_lapic *apic, u32 offset, int len, void *data) argument 1685 apic_mmio_in_range(struct kvm_lapic *apic, gpa_t addr) argument 1694 struct kvm_lapic *apic = to_lapic(this); local 1714 update_divide_count(struct kvm_lapic *apic) argument 1724 limit_periodic_timer_frequency(struct kvm_lapic *apic) argument 1747 cancel_apic_timer(struct kvm_lapic *apic) argument 1757 apic_update_lvtt(struct kvm_lapic *apic) argument 1782 struct kvm_lapic *apic = vcpu->arch.apic; local 1821 struct kvm_lapic *apic = vcpu->arch.apic; local 1849 struct kvm_lapic *apic = vcpu->arch.apic; local 1882 kvm_apic_inject_pending_timer_irqs(struct kvm_lapic *apic) argument 1895 apic_timer_expired(struct kvm_lapic *apic, bool from_timer_fn) argument 1933 start_sw_tscdeadline(struct kvm_lapic *apic) argument 1966 tmict_to_ns(struct kvm_lapic *apic, u32 tmict) argument 1971 update_target_expiration(struct kvm_lapic *apic, uint32_t old_divisor) argument 1995 set_target_expiration(struct kvm_lapic *apic, u32 count_reg) argument 2045 advance_periodic_target_expiration(struct kvm_lapic *apic) argument 2066 start_sw_period(struct kvm_lapic *apic) argument 2094 cancel_hv_timer(struct kvm_lapic *apic) argument 2102 start_hv_timer(struct kvm_lapic *apic) argument 2144 start_sw_timer(struct kvm_lapic *apic) argument 2161 restart_apic_timer(struct kvm_lapic *apic) argument 2176 struct kvm_lapic *apic = vcpu->arch.apic; local 2202 struct kvm_lapic *apic = vcpu->arch.apic; local 2213 struct kvm_lapic *apic = vcpu->arch.apic; local 2219 __start_apic_timer(struct kvm_lapic *apic, u32 count_reg) argument 2230 start_apic_timer(struct kvm_lapic *apic) argument 2235 apic_manage_nmi_watchdog(struct kvm_lapic *apic, u32 lvt0_val) argument 2258 kvm_lapic_reg_write(struct kvm_lapic *apic, u32 reg, u32 val) argument 2412 struct kvm_lapic *apic = to_lapic(this); local 2451 struct kvm_lapic *apic = vcpu->arch.apic; local 2473 struct kvm_lapic *apic = vcpu->arch.apic; local 2501 struct kvm_lapic *apic = vcpu->arch.apic; local 2511 struct kvm_lapic *apic = vcpu->arch.apic; local 2538 struct kvm_lapic *apic = vcpu->arch.apic; local 2585 struct kvm_lapic *apic = vcpu->arch.apic; local 2676 struct kvm_lapic *apic = vcpu->arch.apic; local 2752 lapic_is_periodic(struct kvm_lapic *apic) argument 2759 struct kvm_lapic *apic = vcpu->arch.apic; local 2767 kvm_apic_local_deliver(struct kvm_lapic *apic, int lvt_type) argument 2789 struct kvm_lapic *apic = vcpu->arch.apic; local 2803 struct kvm_lapic *apic = container_of(ktimer, struct kvm_lapic, lapic_timer); local 2817 struct kvm_lapic *apic; local 2889 struct kvm_lapic *apic = vcpu->arch.apic; local 2914 struct kvm_lapic *apic = vcpu->arch.apic; local 2925 struct kvm_lapic *apic = vcpu->arch.apic; local 3014 struct kvm_lapic *apic = vcpu->arch.apic; local 3077 apic_sync_pv_eoi_from_guest(struct kvm_vcpu *vcpu, struct kvm_lapic *apic) argument 3123 apic_sync_pv_eoi_to_guest(struct kvm_vcpu *vcpu, struct kvm_lapic *apic) argument 3147 struct kvm_lapic *apic = vcpu->arch.apic; local 3183 kvm_x2apic_icr_write(struct kvm_lapic *apic, u64 data) argument 3193 kvm_lapic_msr_read(struct kvm_lapic *apic, u32 reg, u64 *data) argument 3210 kvm_lapic_msr_write(struct kvm_lapic *apic, u32 reg, u64 data) argument 3229 struct kvm_lapic *apic = vcpu->arch.apic; local 3240 struct kvm_lapic *apic = vcpu->arch.apic; local 3293 struct kvm_lapic *apic = vcpu->arch.apic; local [all...] |
H A D | lapic.h | 113 int kvm_apic_local_deliver(struct kvm_lapic *apic, int lvt_type); 120 void kvm_apic_send_ipi(struct kvm_lapic *apic, u32 icr_low, u32 icr_high); 139 int kvm_x2apic_icr_write(struct kvm_lapic *apic, u64 data); 149 u64 kvm_lapic_readable_reg_mask(struct kvm_lapic *apic); 164 static inline void kvm_lapic_set_irr(int vec, struct kvm_lapic *apic) argument 166 kvm_lapic_set_vector(vec, apic->regs + APIC_IRR); 171 apic->irr_pending = true; 179 static inline u32 kvm_lapic_get_reg(struct kvm_lapic *apic, int reg_off) argument 181 return __kvm_lapic_get_reg(apic->regs, reg_off); 189 return vcpu->arch.apic; 195 kvm_apic_hw_enabled(struct kvm_lapic *apic) argument 204 kvm_apic_sw_enabled(struct kvm_lapic *apic) argument 221 apic_x2apic_mode(struct kvm_lapic *apic) argument 276 kvm_xapic_id(struct kvm_lapic *apic) argument [all...] |
/linux-master/arch/x86/kernel/apic/ |
H A D | init.c | 4 #include <asm/apic.h> 15 DEFINE_STATIC_CALL_NULL(apic_call_##__cb, *apic->__cb) 41 apic->__cb = __x86_apic_override.__cb 62 static_call_update(apic_call_##__cb, *apic->__cb) 86 apic->native_eoi = apic->eoi; 91 void __init apic_install_driver(struct apic *driver) 93 if (apic == driver) 96 apic = driver; 98 if (IS_ENABLED(CONFIG_X86_X2APIC) && apic [all...] |
H A D | probe_64.c | 12 #include <asm/apic.h> 19 struct apic **drv; 33 struct apic **drv;
|
H A D | probe_32.c | 16 #include <asm/apic.h> 37 static struct apic apic_default __ro_after_init = { 72 struct apic *apic __ro_after_init = &apic_default; 73 EXPORT_SYMBOL_GPL(apic); variable 78 struct apic **drv; 94 early_param("apic", parse_apic); 128 struct apic **drv;
|
H A D | apic_flat_64.c | 16 #include <asm/apic.h> 20 static struct apic apic_physflat; 21 static struct apic apic_flat; 23 struct apic *apic __ro_after_init = &apic_flat; 24 EXPORT_SYMBOL_GPL(apic); variable 69 static struct apic apic_flat __ro_after_init = { 123 printk(KERN_DEBUG "IBM Summit detected, will use apic physical"); 133 return apic == &apic_physflat || num_possible_cpus() > 8 || jailhouse_paravirt(); 136 static struct apic apic_physfla [all...] |
H A D | bigsmp_32.c | 11 #include <asm/apic.h> 35 printk(KERN_NOTICE "%s detected: force use of apic=bigsmp\n", d->ident); 62 static struct apic apic_bigsmp __ro_after_init = { 96 return apic == &apic_bigsmp || !cmdline_override; 101 if (apic != &apic_bigsmp)
|
H A D | x2apic_phys.c | 10 static struct apic apic_x2apic_phys; 16 if (apic->x2apic_set_max_apicid) 17 apic->max_apic_id = apicid; 124 return apic == &apic_x2apic_phys; 132 static struct apic apic_x2apic_phys __ro_after_init = {
|
H A D | io_apic.c | 67 #include <asm/apic.h> 90 int apic, pin; member in struct:irq_pin_list 269 static inline void io_apic_eoi(unsigned int apic, unsigned int vector) argument 271 struct io_apic __iomem *io_apic = io_apic_base(apic); 275 unsigned int native_io_apic_read(unsigned int apic, unsigned int reg) argument 277 struct io_apic __iomem *io_apic = io_apic_base(apic); 282 static void io_apic_write(unsigned int apic, unsigned int reg, argument 285 struct io_apic __iomem *io_apic = io_apic_base(apic); 291 static struct IO_APIC_route_entry __ioapic_read_entry(int apic, int pin) argument 295 entry.w1 = io_apic_read(apic, 301 ioapic_read_entry(int apic, int pin) argument 319 __ioapic_write_entry(int apic, int pin, struct IO_APIC_route_entry e) argument 325 ioapic_write_entry(int apic, int pin, struct IO_APIC_route_entry e) argument 339 ioapic_mask_entry(int apic, int pin) argument 355 __add_pin_to_irq_node(struct mp_chip_data *data, int node, int apic, int pin) argument 378 __remove_pin_from_irq(struct mp_chip_data *data, int apic, int pin) argument 390 add_pin_to_irq_node(struct mp_chip_data *data, int node, int apic, int pin) argument 486 __eoi_ioapic_pin(int apic, int pin, int vector) argument 521 clear_IO_APIC_pin(unsigned int apic, unsigned int pin) argument 570 int apic, pin; local 619 int apic, pin; local 641 int apic, pin; local 664 int apic, pin; local 1231 io_apic_print_entries(unsigned int apic, unsigned int nr_entries) argument 1362 static struct { int pin, apic; } ioapic_i8259 = { -1, -1 }; member in struct:__anon233 1367 int apic, pin; local 2072 int apic, pin, i; local [all...] |
H A D | apic_numachip.c | 24 static const struct apic apic_numachip1; 25 static const struct apic apic_numachip2; 136 return apic == &apic_numachip1; 141 return apic == &apic_numachip2; 205 static const struct apic apic_numachip1 __refconst = { 239 static const struct apic apic_numachip2 __refconst = {
|
H A D | apic_common.c | 7 #include <asm/apic.h>
|
H A D | apic_noop.c | 5 * Does almost nothing and should be substituted by a real apic driver via 8 * Though in case if apic is disabled (for some reason) we try 9 * to not uglify the caller's code and allow to call (some) apic routines 19 #include <asm/apic.h> 46 struct apic apic_noop __ro_after_init = {
|
H A D | hw_nmi.c | 13 #include <asm/apic.h>
|
H A D | Makefile | 10 obj-$(CONFIG_X86_LOCAL_APIC) += apic.o apic_common.o apic_noop.o ipi.o vector.o init.o
|
H A D | x2apic_cluster.c | 8 #include <asm/apic.h> 111 u32 apicid = apic->cpu_present_to_apicid(cpu_i); 147 u32 apicid = apic->cpu_present_to_apicid(cpu_i); 178 u32 phys_apicid = apic->cpu_present_to_apicid(cpu); 224 static struct apic apic_x2apic_cluster __ro_after_init = {
|
H A D | local.h | 14 #include <asm/apic.h>
|
/linux-master/arch/x86/kernel/ |
H A D | irq_work.c | 11 #include <asm/apic.h>
|
H A D | i8253.c | 11 #include <asm/apic.h>
|
H A D | irq_64.c | 26 #include <asm/apic.h>
|
/linux-master/arch/x86/xen/ |
H A D | apic.c | 6 #include <asm/apic.h> 16 static unsigned int xen_io_apic_read(unsigned apic, unsigned reg) argument 21 apic_op.apic_physbase = mpc_ioapic_addr(apic); 31 return apic << 24; 115 static struct apic xen_pv_apic __ro_after_init = {
|
/linux-master/arch/x86/hyperv/ |
H A D | hv_spinlock.c | 17 #include <asm/apic.h> 72 if (!hv_pvspin || !apic ||
|
/linux-master/arch/x86/kernel/cpu/ |
H A D | acrn.c | 15 #include <asm/apic.h>
|