Lines Matching refs:apic_read

213 	return GET_APIC_VERSION(apic_read(APIC_LVR));  in lapic_get_version()
253 while (apic_read(APIC_ICR) & APIC_ICR_BUSY) in native_apic_wait_icr_idle()
264 send_status = apic_read(APIC_ICR) & APIC_ICR_BUSY; in native_safe_apic_wait_icr_idle()
288 icr2 = apic_read(APIC_ICR2); in native_apic_icr_read()
289 icr1 = apic_read(APIC_ICR); in native_apic_icr_read()
313 return lapic_is_integrated() ? GET_APIC_MAXLVT(apic_read(APIC_LVR)) : 2; in lapic_get_maxlvt()
374 tmp_value = apic_read(APIC_TDCR); in __setup_APIC_LVTT()
448 old = apic_read(reg); in setup_APIC_eilvt()
504 v = apic_read(APIC_LVTT); in lapic_timer_shutdown()
707 long tapic = apic_read(APIC_TMCCT); in lapic_cal_handler()
1152 v = apic_read(APIC_LVTT); in clear_local_APIC()
1154 v = apic_read(APIC_LVT0); in clear_local_APIC()
1156 v = apic_read(APIC_LVT1); in clear_local_APIC()
1159 v = apic_read(APIC_LVTPC); in clear_local_APIC()
1166 v = apic_read(APIC_LVTTHMR); in clear_local_APIC()
1172 v = apic_read(APIC_LVTCMCI); in clear_local_APIC()
1194 apic_read(APIC_ESR); in clear_local_APIC()
1216 value = apic_read(APIC_SPIV); in apic_soft_disable()
1387 value = apic_read(APIC_SPIV); in init_bsp_APIC()
1471 oldvalue = apic_read(APIC_ESR); in lapic_setup_esr()
1482 value = apic_read(APIC_ESR); in lapic_setup_esr()
1504 irr->regs[i] = apic_read(APIC_IRR + i * 0x10); in apic_check_and_ack()
1508 isr->regs[i] = apic_read(APIC_ISR + i * 0x10); in apic_check_and_ack()
1577 value = apic_read(APIC_SPIV); in setup_local_APIC()
1613 ldr_apicid = GET_APIC_LOGICAL_ID(apic_read(APIC_LDR)); in setup_local_APIC()
1627 value = apic_read(APIC_TASKPRI); in setup_local_APIC()
1638 value = apic_read(APIC_SPIV); in setup_local_APIC()
1691 value = apic_read(APIC_LVT0) & APIC_LVT_MASKED; in setup_local_APIC()
1731 value = apic_read(APIC_LVTT); in end_local_APIC_setup()
2154 boot_cpu_apic_version = GET_APIC_VERSION(apic_read(APIC_LVR)); in init_apic_mappings()
2169 boot_cpu_apic_version = GET_APIC_VERSION(apic_read(APIC_LVR)); in register_lapic_address()
2203 v = apic_read(APIC_ISR + ((vector & ~0x1f) >> 1)); in handle_spurious_interrupt()
2257 v = apic_read(APIC_ESR); in DEFINE_IDTENTRY_SYSVEC()
2328 value = apic_read(APIC_SPIV); in disconnect_bsp_APIC()
2339 value = apic_read(APIC_LVT0); in disconnect_bsp_APIC()
2355 value = apic_read(APIC_LVT1); in disconnect_bsp_APIC()
2706 apic_pm_state.apic_id = apic_read(APIC_ID); in lapic_suspend()
2707 apic_pm_state.apic_taskpri = apic_read(APIC_TASKPRI); in lapic_suspend()
2708 apic_pm_state.apic_ldr = apic_read(APIC_LDR); in lapic_suspend()
2709 apic_pm_state.apic_dfr = apic_read(APIC_DFR); in lapic_suspend()
2710 apic_pm_state.apic_spiv = apic_read(APIC_SPIV); in lapic_suspend()
2711 apic_pm_state.apic_lvtt = apic_read(APIC_LVTT); in lapic_suspend()
2713 apic_pm_state.apic_lvtpc = apic_read(APIC_LVTPC); in lapic_suspend()
2714 apic_pm_state.apic_lvt0 = apic_read(APIC_LVT0); in lapic_suspend()
2715 apic_pm_state.apic_lvt1 = apic_read(APIC_LVT1); in lapic_suspend()
2716 apic_pm_state.apic_lvterr = apic_read(APIC_LVTERR); in lapic_suspend()
2717 apic_pm_state.apic_tmict = apic_read(APIC_TMICT); in lapic_suspend()
2718 apic_pm_state.apic_tdcr = apic_read(APIC_TDCR); in lapic_suspend()
2721 apic_pm_state.apic_thmr = apic_read(APIC_LVTTHMR); in lapic_suspend()
2725 apic_pm_state.apic_cmci = apic_read(APIC_LVTCMCI); in lapic_suspend()
2804 apic_read(APIC_ESR); in lapic_resume()
2807 apic_read(APIC_ESR); in lapic_resume()