Home
last modified time | relevance | path

Searched refs:apic_read (Results 1 – 17 of 17) sorted by relevance

/kernel/linux/linux-5.10/arch/x86/kernel/apic/
Dapic.c210 return GET_APIC_VERSION(apic_read(APIC_LVR)); in lapic_get_version()
250 while (apic_read(APIC_ICR) & APIC_ICR_BUSY) in native_apic_wait_icr_idle()
261 send_status = apic_read(APIC_ICR) & APIC_ICR_BUSY; in native_safe_apic_wait_icr_idle()
285 icr2 = apic_read(APIC_ICR2); in native_apic_icr_read()
286 icr1 = apic_read(APIC_ICR); in native_apic_icr_read()
310 return lapic_is_integrated() ? GET_APIC_MAXLVT(apic_read(APIC_LVR)) : 2; in lapic_get_maxlvt()
362 tmp_value = apic_read(APIC_TDCR); in __setup_APIC_LVTT()
436 old = apic_read(reg); in setup_APIC_eilvt()
492 v = apic_read(APIC_LVTT); in lapic_timer_shutdown()
695 long tapic = apic_read(APIC_TMCCT); in lapic_cal_handler()
[all …]
Dvector.c901 irr = apic_read(APIC_IRR + (vector / 32 * 0x10)); in DEFINE_IDTENTRY_SYSVEC()
1084 pr_cont("%08x", apic_read(base + i*0x10)); in print_APIC_field()
1096 v = apic_read(APIC_ID); in print_local_APIC()
1098 v = apic_read(APIC_LVR); in print_local_APIC()
1103 v = apic_read(APIC_TASKPRI); in print_local_APIC()
1109 v = apic_read(APIC_ARBPRI); in print_local_APIC()
1113 v = apic_read(APIC_PROCPRI); in print_local_APIC()
1122 v = apic_read(APIC_RRR); in print_local_APIC()
1126 v = apic_read(APIC_LDR); in print_local_APIC()
1129 v = apic_read(APIC_DFR); in print_local_APIC()
[all …]
Dapic_flat_64.c46 val = apic_read(APIC_LDR) & ~APIC_LDR_MASK; in flat_init_apic_ldr()
91 return flat_get_apic_id(apic_read(APIC_ID)); in read_xapic_id()
Dprobe_32.c48 val = apic_read(APIC_LDR) & ~APIC_LDR_MASK; in default_init_apic_ldr()
Dx2apic_cluster.c103 u32 cluster, apicid = apic_read(APIC_LDR); in init_x2apic_ldr()
Dio_apic.c1825 v = apic_read(APIC_TMR + ((i & ~0x1f) >> 1)); in ioapic_ack_level()
1999 v = apic_read(APIC_LVT0); in mask_lapic_irq()
2007 v = apic_read(APIC_LVT0); in unmask_lapic_irq()
Dx2apic_uv_x.c797 return x2apic_get_apic_id(apic_read(APIC_ID)); in uv_read_apic_id()
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dapic.h388 static inline u32 apic_read(u32 reg) in apic_read() function
427 static inline u32 apic_read(u32 reg) { return 0; } in apic_read() function
452 u32 irr = apic_read(APIC_IRR + (vector / 32 * 0x10)); in lapic_vector_set_in_irr()
459 unsigned int ver = GET_APIC_VERSION(apic_read(APIC_LVR)); in default_get_apic_id()
487 unsigned int reg = apic_read(APIC_ID); in read_apic_id()
/kernel/linux/linux-5.10/arch/x86/kernel/
Dsmpboot.c690 status = apic_read(APIC_ICR) & APIC_ICR_RR_MASK; in __inquire_remote_apic()
695 status = apic_read(APIC_RRR); in __inquire_remote_apic()
770 accept_status = (apic_read(APIC_ESR) & 0xEF); in wakeup_secondary_cpu_via_nmi()
796 apic_read(APIC_ESR); in wakeup_secondary_cpu_via_init()
846 apic_read(APIC_ESR); in wakeup_secondary_cpu_via_init()
882 accept_status = (apic_read(APIC_ESR) & 0xEF); in wakeup_secondary_cpu_via_init()
1062 apic_read(APIC_ESR); in do_boot_cpu()
1304 cpu0_logical_apicid = apic_read(APIC_LDR); in smp_get_logical_apicid()
1306 cpu0_logical_apicid = GET_APIC_LOGICAL_ID(apic_read(APIC_LDR)); in smp_get_logical_apicid()
Ddevicetree.c144 version = GET_APIC_VERSION(apic_read(APIC_LVR)); in dtb_cpu_setup()
Dirq.c361 irr = apic_read(APIC_IRR + (vector / 32 * 0x10)); in fixup_irqs()
/kernel/linux/linux-5.10/arch/x86/platform/sfi/
Dsfi.c35 generic_processor_info(id, GET_APIC_VERSION(apic_read(APIC_LVR))); in mp_sfi_register_lapic()
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/mce/
Dtherm_throt.c479 l = apic_read(APIC_LVTTHMR); in thermal_throttle_online()
492 l = apic_read(APIC_LVTTHMR); in thermal_throttle_offline()
644 lvtthmr_init = apic_read(APIC_LVTTHMR); in mcheck_intel_therm_init()
/kernel/linux/linux-5.10/arch/x86/oprofile/
Dop_model_ppro.c145 apic_write(APIC_LVTPC, apic_read(APIC_LVTPC) & ~APIC_LVT_MASKED); in ppro_check_ctrs()
Dnmi_int.c352 per_cpu(saved_lvtpc, cpu) = apic_read(APIC_LVTPC); in nmi_cpu_setup()
384 v = apic_read(APIC_LVTERR); in nmi_cpu_shutdown()
Dop_model_p4.c661 apic_write(APIC_LVTPC, apic_read(APIC_LVTPC) & ~APIC_LVT_MASKED); in p4_check_ctrs()
/kernel/linux/linux-5.10/arch/x86/platform/uv/
Duv_nmi.c1039 value = apic_read(APIC_LVT1) | APIC_DM_NMI; in uv_nmi_init()