Lines Matching refs:apic_pm_state
2597 } apic_pm_state; variable
2604 if (!apic_pm_state.active) in lapic_suspend()
2609 apic_pm_state.apic_id = apic_read(APIC_ID); in lapic_suspend()
2610 apic_pm_state.apic_taskpri = apic_read(APIC_TASKPRI); in lapic_suspend()
2611 apic_pm_state.apic_ldr = apic_read(APIC_LDR); in lapic_suspend()
2612 apic_pm_state.apic_dfr = apic_read(APIC_DFR); in lapic_suspend()
2613 apic_pm_state.apic_spiv = apic_read(APIC_SPIV); in lapic_suspend()
2614 apic_pm_state.apic_lvtt = apic_read(APIC_LVTT); in lapic_suspend()
2616 apic_pm_state.apic_lvtpc = apic_read(APIC_LVTPC); in lapic_suspend()
2617 apic_pm_state.apic_lvt0 = apic_read(APIC_LVT0); in lapic_suspend()
2618 apic_pm_state.apic_lvt1 = apic_read(APIC_LVT1); in lapic_suspend()
2619 apic_pm_state.apic_lvterr = apic_read(APIC_LVTERR); in lapic_suspend()
2620 apic_pm_state.apic_tmict = apic_read(APIC_TMICT); in lapic_suspend()
2621 apic_pm_state.apic_tdcr = apic_read(APIC_TDCR); in lapic_suspend()
2624 apic_pm_state.apic_thmr = apic_read(APIC_LVTTHMR); in lapic_suspend()
2628 apic_pm_state.apic_cmci = apic_read(APIC_LVTCMCI); in lapic_suspend()
2646 if (!apic_pm_state.active) in lapic_resume()
2679 apic_write(APIC_ID, apic_pm_state.apic_id); in lapic_resume()
2680 apic_write(APIC_DFR, apic_pm_state.apic_dfr); in lapic_resume()
2681 apic_write(APIC_LDR, apic_pm_state.apic_ldr); in lapic_resume()
2682 apic_write(APIC_TASKPRI, apic_pm_state.apic_taskpri); in lapic_resume()
2683 apic_write(APIC_SPIV, apic_pm_state.apic_spiv); in lapic_resume()
2684 apic_write(APIC_LVT0, apic_pm_state.apic_lvt0); in lapic_resume()
2685 apic_write(APIC_LVT1, apic_pm_state.apic_lvt1); in lapic_resume()
2688 apic_write(APIC_LVTTHMR, apic_pm_state.apic_thmr); in lapic_resume()
2692 apic_write(APIC_LVTCMCI, apic_pm_state.apic_cmci); in lapic_resume()
2695 apic_write(APIC_LVTPC, apic_pm_state.apic_lvtpc); in lapic_resume()
2696 apic_write(APIC_LVTT, apic_pm_state.apic_lvtt); in lapic_resume()
2697 apic_write(APIC_TDCR, apic_pm_state.apic_tdcr); in lapic_resume()
2698 apic_write(APIC_TMICT, apic_pm_state.apic_tmict); in lapic_resume()
2701 apic_write(APIC_LVTERR, apic_pm_state.apic_lvterr); in lapic_resume()
2722 apic_pm_state.active = 1; in apic_pm_activate()