Home
last modified time | relevance | path

Searched refs:idle_cfg (Results 1 – 2 of 2) sorted by relevance

/arch/arm/mach-mmp/
Dpm-pxa910.c136 uint32_t idle_cfg, apcr; in pxa910_pm_enter_lowpower_mode() local
138 idle_cfg = __raw_readl(APMU_MOH_IDLE_CFG); in pxa910_pm_enter_lowpower_mode()
143 idle_cfg &= ~(APMU_MOH_IDLE_CFG_MOH_IDLE in pxa910_pm_enter_lowpower_mode()
162 idle_cfg |= APMU_MOH_IDLE_CFG_MOH_IDLE; in pxa910_pm_enter_lowpower_mode()
163 idle_cfg |= APMU_MOH_IDLE_CFG_MOH_PWRDWN; in pxa910_pm_enter_lowpower_mode()
164 idle_cfg |= APMU_MOH_IDLE_CFG_MOH_PWR_SW(3) in pxa910_pm_enter_lowpower_mode()
172 idle_cfg |= APMU_MOH_IDLE_CFG_MOH_DIS_MC_SW_REQ; in pxa910_pm_enter_lowpower_mode()
173 idle_cfg |= APMU_MOH_IDLE_CFG_MOH_MC_WAKE_EN; in pxa910_pm_enter_lowpower_mode()
184 __raw_writel(idle_cfg, APMU_MOH_IDLE_CFG); in pxa910_pm_enter_lowpower_mode()
191 unsigned int idle_cfg, reg = 0; in pxa910_pm_enter() local
[all …]
Dpm-mmp2.c116 uint32_t idle_cfg, apcr; in mmp2_pm_enter_lowpower_mode() local
118 idle_cfg = __raw_readl(APMU_PJ_IDLE_CFG); in mmp2_pm_enter_lowpower_mode()
122 idle_cfg &= ~APMU_PJ_IDLE_CFG_PJ_IDLE; in mmp2_pm_enter_lowpower_mode()
138 idle_cfg |= APMU_PJ_IDLE_CFG_PJ_PWRDWN; /* PJ power down */ in mmp2_pm_enter_lowpower_mode()
142 idle_cfg |= APMU_PJ_IDLE_CFG_PJ_IDLE; /* set the IDLE bit */ in mmp2_pm_enter_lowpower_mode()
143 idle_cfg &= ~APMU_PJ_IDLE_CFG_ISO_MODE_CNTRL_MASK; in mmp2_pm_enter_lowpower_mode()
144 idle_cfg |= APMU_PJ_IDLE_CFG_PWR_SW(3) in mmp2_pm_enter_lowpower_mode()
156 __raw_writel(idle_cfg, APMU_PJ_IDLE_CFG); in mmp2_pm_enter_lowpower_mode()