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

/linux-4.4.14/arch/arm/mach-mmp/
H A Dpm-pxa910.c136 uint32_t idle_cfg, apcr; pxa910_pm_enter_lowpower_mode() local
138 idle_cfg = __raw_readl(APMU_MOH_IDLE_CFG); pxa910_pm_enter_lowpower_mode()
143 idle_cfg &= ~(APMU_MOH_IDLE_CFG_MOH_IDLE pxa910_pm_enter_lowpower_mode()
162 idle_cfg |= APMU_MOH_IDLE_CFG_MOH_IDLE; pxa910_pm_enter_lowpower_mode()
163 idle_cfg |= APMU_MOH_IDLE_CFG_MOH_PWRDWN; pxa910_pm_enter_lowpower_mode()
164 idle_cfg |= APMU_MOH_IDLE_CFG_MOH_PWR_SW(3) pxa910_pm_enter_lowpower_mode()
172 idle_cfg |= APMU_MOH_IDLE_CFG_MOH_DIS_MC_SW_REQ; pxa910_pm_enter_lowpower_mode()
173 idle_cfg |= APMU_MOH_IDLE_CFG_MOH_MC_WAKE_EN; pxa910_pm_enter_lowpower_mode()
184 __raw_writel(idle_cfg, APMU_MOH_IDLE_CFG); pxa910_pm_enter_lowpower_mode()
191 unsigned int idle_cfg, reg = 0; pxa910_pm_enter() local
198 idle_cfg = __raw_readl(APMU_MOH_IDLE_CFG); pxa910_pm_enter()
199 idle_cfg |= APMU_MOH_IDLE_CFG_MOH_PWRDWN pxa910_pm_enter()
201 __raw_writel(idle_cfg, APMU_MOH_IDLE_CFG); pxa910_pm_enter()
217 idle_cfg = __raw_readl(APMU_MOH_IDLE_CFG); pxa910_pm_enter()
218 idle_cfg &= ~(APMU_MOH_IDLE_CFG_MOH_PWRDWN pxa910_pm_enter()
220 __raw_writel(idle_cfg, APMU_MOH_IDLE_CFG); pxa910_pm_enter()
H A Dpm-mmp2.c116 uint32_t idle_cfg, apcr; mmp2_pm_enter_lowpower_mode() local
118 idle_cfg = __raw_readl(APMU_PJ_IDLE_CFG); mmp2_pm_enter_lowpower_mode()
122 idle_cfg &= ~APMU_PJ_IDLE_CFG_PJ_IDLE; mmp2_pm_enter_lowpower_mode()
138 idle_cfg |= APMU_PJ_IDLE_CFG_PJ_PWRDWN; /* PJ power down */ mmp2_pm_enter_lowpower_mode()
142 idle_cfg |= APMU_PJ_IDLE_CFG_PJ_IDLE; /* set the IDLE bit */ mmp2_pm_enter_lowpower_mode()
143 idle_cfg &= ~APMU_PJ_IDLE_CFG_ISO_MODE_CNTRL_MASK; mmp2_pm_enter_lowpower_mode()
144 idle_cfg |= APMU_PJ_IDLE_CFG_PWR_SW(3) mmp2_pm_enter_lowpower_mode()
156 __raw_writel(idle_cfg, APMU_PJ_IDLE_CFG); mmp2_pm_enter_lowpower_mode()
/linux-4.4.14/drivers/mfd/
H A Ddb8500-prcmu.c1250 u32 idle_cfg; prcmu_configure_auto_pm() local
1262 idle_cfg = (idle->sva_auto_pm_enable & 0xF); prcmu_configure_auto_pm()
1263 idle_cfg = ((idle_cfg << 4) | (idle->sia_auto_pm_enable & 0xF)); prcmu_configure_auto_pm()
1264 idle_cfg = ((idle_cfg << 8) | (idle->sva_power_on & 0xFF)); prcmu_configure_auto_pm()
1265 idle_cfg = ((idle_cfg << 8) | (idle->sia_power_on & 0xFF)); prcmu_configure_auto_pm()
1266 idle_cfg = ((idle_cfg << 4) | (idle->sva_policy & 0xF)); prcmu_configure_auto_pm()
1267 idle_cfg = ((idle_cfg << 4) | (idle->sia_policy & 0xF)); prcmu_configure_auto_pm()
1277 writel(idle_cfg, (tcdm_base + PRCM_REQ_MB2_AUTO_PM_IDLE)); prcmu_configure_auto_pm()

Completed in 157 milliseconds