Home
last modified time | relevance | path

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

/arch/x86/kernel/apic/
Dapic.c207 return GET_APIC_VERSION(apic_read(APIC_LVR)); in lapic_get_version()
246 while (apic_read(APIC_ICR) & APIC_ICR_BUSY) in native_apic_wait_icr_idle()
257 send_status = apic_read(APIC_ICR) & APIC_ICR_BUSY; in native_safe_apic_wait_icr_idle()
281 icr2 = apic_read(APIC_ICR2); in native_apic_icr_read()
282 icr1 = apic_read(APIC_ICR); in native_apic_icr_read()
304 v = apic_read(APIC_LVR); in lapic_get_maxlvt()
363 tmp_value = apic_read(APIC_TDCR); in __setup_APIC_LVTT()
437 old = apic_read(reg); in setup_APIC_eilvt()
490 v = apic_read(APIC_LVTT); in lapic_timer_shutdown()
635 long tapic = apic_read(APIC_TMCCT); in lapic_cal_handler()
[all …]
Dvector.c620 irr = apic_read(APIC_IRR + (vector / 32 * 0x10)); in smp_irq_move_cleanup_interrupt()
782 pr_cont("%08x", apic_read(base + i*0x10)); in print_APIC_field()
794 v = apic_read(APIC_ID); in print_local_APIC()
796 v = apic_read(APIC_LVR); in print_local_APIC()
801 v = apic_read(APIC_TASKPRI); in print_local_APIC()
807 v = apic_read(APIC_ARBPRI); in print_local_APIC()
811 v = apic_read(APIC_PROCPRI); in print_local_APIC()
820 v = apic_read(APIC_RRR); in print_local_APIC()
824 v = apic_read(APIC_LDR); in print_local_APIC()
827 v = apic_read(APIC_DFR); in print_local_APIC()
[all …]
Dapic_flat_64.c51 val = apic_read(APIC_LDR) & ~APIC_LDR_MASK; in flat_init_apic_ldr()
129 return flat_get_apic_id(apic_read(APIC_ID)); in read_xapic_id()
Dbigsmp_32.c44 val = apic_read(APIC_LDR) & ~APIC_LDR_MASK; in calculate_ldr()
Dx2apic_cluster.c144 per_cpu(x86_cpu_to_logical_apicid, this_cpu) = apic_read(APIC_LDR); in init_x2apic_ldr()
Dio_apic.c1809 v = apic_read(APIC_TMR + ((i & ~0x1f) >> 1)); in ioapic_ack_level()
1925 v = apic_read(APIC_LVT0); in mask_lapic_irq()
1933 v = apic_read(APIC_LVT0); in unmask_lapic_irq()
Dx2apic_uv_x.c542 return x2apic_get_apic_id(apic_read(APIC_ID)); in uv_read_apic_id()
/arch/x86/include/asm/
Dapic.h391 static inline u32 apic_read(u32 reg) in apic_read() function
430 static inline u32 apic_read(u32 reg) { return 0; } in apic_read() function
452 unsigned int ver = GET_APIC_VERSION(apic_read(APIC_LVR)); in default_get_apic_id()
505 reg = apic_read(APIC_ID); in read_apic_id()
Dsmp.h186 return GET_APIC_LOGICAL_ID(apic_read(APIC_LDR)); in logical_smp_processor_id()
/arch/x86/kernel/
Dsmpboot.c604 status = apic_read(APIC_ICR) & APIC_ICR_RR_MASK; in __inquire_remote_apic()
609 status = apic_read(APIC_RRR); in __inquire_remote_apic()
683 accept_status = (apic_read(APIC_ESR) & 0xEF); in wakeup_secondary_cpu_via_nmi()
709 apic_read(APIC_ESR); in wakeup_secondary_cpu_via_init()
759 apic_read(APIC_ESR); in wakeup_secondary_cpu_via_init()
795 accept_status = (apic_read(APIC_ESR) & 0xEF); in wakeup_secondary_cpu_via_init()
984 apic_read(APIC_ESR); in do_boot_cpu()
Ddevicetree.c162 GET_APIC_VERSION(apic_read(APIC_LVR))); in dtb_lapic_setup()
Dirq.c532 irr = apic_read(APIC_IRR + (vector / 32 * 0x10)); in fixup_irqs()
/arch/x86/platform/sfi/
Dsfi.c49 generic_processor_info(id, GET_APIC_VERSION(apic_read(APIC_LVR))); in mp_sfi_register_lapic()
/arch/x86/kernel/cpu/mcheck/
Dtherm_throt.c470 lvtthmr_init = apic_read(APIC_LVTTHMR); in mcheck_intel_therm_init()
561 l = apic_read(APIC_LVTTHMR); in intel_init_thermal()
/arch/x86/oprofile/
Dop_model_ppro.c145 apic_write(APIC_LVTPC, apic_read(APIC_LVTPC) & ~APIC_LVT_MASKED); in ppro_check_ctrs()
Dnmi_int.c351 per_cpu(saved_lvtpc, cpu) = apic_read(APIC_LVTPC); in nmi_cpu_setup()
383 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()
/arch/x86/platform/uv/
Duv_nmi.c695 value = apic_read(APIC_LVT1) | APIC_DM_NMI; in uv_nmi_init()