Searched refs:sleep_sys_clocks (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/arch/mips/alchemy/common/
H A Dpower.c49 static unsigned int sleep_sys_clocks[5]; variable
57 sleep_sys_clocks[0] = alchemy_rdsys(AU1000_SYS_FREQCTRL0); save_core_regs()
58 sleep_sys_clocks[1] = alchemy_rdsys(AU1000_SYS_FREQCTRL1); save_core_regs()
59 sleep_sys_clocks[2] = alchemy_rdsys(AU1000_SYS_CLKSRC); save_core_regs()
60 sleep_sys_clocks[3] = alchemy_rdsys(AU1000_SYS_CPUPLL); save_core_regs()
61 sleep_sys_clocks[4] = alchemy_rdsys(AU1000_SYS_AUXPLL); save_core_regs()
88 alchemy_wrsys(sleep_sys_clocks[0], AU1000_SYS_FREQCTRL0); restore_core_regs()
89 alchemy_wrsys(sleep_sys_clocks[1], AU1000_SYS_FREQCTRL1); restore_core_regs()
90 alchemy_wrsys(sleep_sys_clocks[2], AU1000_SYS_CLKSRC); restore_core_regs()
91 alchemy_wrsys(sleep_sys_clocks[4], AU1000_SYS_AUXPLL); restore_core_regs()
93 alchemy_wrsys(sleep_sys_clocks[3], AU1000_SYS_CPUPLL); restore_core_regs()

Completed in 76 milliseconds