Searched refs:idle_cfg (Results 1 – 3 of 3) sorted by relevance
136 uint32_t idle_cfg, apcr; in pxa910_pm_enter_lowpower_mode() local138 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 …]
116 uint32_t idle_cfg, apcr; in mmp2_pm_enter_lowpower_mode() local118 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()
1227 u32 idle_cfg; in prcmu_configure_auto_pm() local1239 idle_cfg = (idle->sva_auto_pm_enable & 0xF); in prcmu_configure_auto_pm()1240 idle_cfg = ((idle_cfg << 4) | (idle->sia_auto_pm_enable & 0xF)); in prcmu_configure_auto_pm()1241 idle_cfg = ((idle_cfg << 8) | (idle->sva_power_on & 0xFF)); in prcmu_configure_auto_pm()1242 idle_cfg = ((idle_cfg << 8) | (idle->sia_power_on & 0xFF)); in prcmu_configure_auto_pm()1243 idle_cfg = ((idle_cfg << 4) | (idle->sva_policy & 0xF)); in prcmu_configure_auto_pm()1244 idle_cfg = ((idle_cfg << 4) | (idle->sia_policy & 0xF)); in prcmu_configure_auto_pm()1254 writel(idle_cfg, (tcdm_base + PRCM_REQ_MB2_AUTO_PM_IDLE)); in prcmu_configure_auto_pm()