Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/arm/mach-mmp/
Dpm-pxa910.c134 uint32_t idle_cfg, apcr; in pxa910_pm_enter_lowpower_mode() local
136 idle_cfg = __raw_readl(APMU_MOH_IDLE_CFG); in pxa910_pm_enter_lowpower_mode()
141 idle_cfg &= ~(APMU_MOH_IDLE_CFG_MOH_IDLE in pxa910_pm_enter_lowpower_mode()
160 idle_cfg |= APMU_MOH_IDLE_CFG_MOH_IDLE; in pxa910_pm_enter_lowpower_mode()
161 idle_cfg |= APMU_MOH_IDLE_CFG_MOH_PWRDWN; in pxa910_pm_enter_lowpower_mode()
162 idle_cfg |= APMU_MOH_IDLE_CFG_MOH_PWR_SW(3) in pxa910_pm_enter_lowpower_mode()
170 idle_cfg |= APMU_MOH_IDLE_CFG_MOH_DIS_MC_SW_REQ; in pxa910_pm_enter_lowpower_mode()
171 idle_cfg |= APMU_MOH_IDLE_CFG_MOH_MC_WAKE_EN; in pxa910_pm_enter_lowpower_mode()
182 __raw_writel(idle_cfg, APMU_MOH_IDLE_CFG); in pxa910_pm_enter_lowpower_mode()
189 unsigned int idle_cfg, reg = 0; in pxa910_pm_enter() local
[all …]
Dpm-mmp2.c114 uint32_t idle_cfg, apcr; in mmp2_pm_enter_lowpower_mode() local
116 idle_cfg = __raw_readl(APMU_PJ_IDLE_CFG); in mmp2_pm_enter_lowpower_mode()
120 idle_cfg &= ~APMU_PJ_IDLE_CFG_PJ_IDLE; in mmp2_pm_enter_lowpower_mode()
136 idle_cfg |= APMU_PJ_IDLE_CFG_PJ_PWRDWN; /* PJ power down */ in mmp2_pm_enter_lowpower_mode()
140 idle_cfg |= APMU_PJ_IDLE_CFG_PJ_IDLE; /* set the IDLE bit */ in mmp2_pm_enter_lowpower_mode()
141 idle_cfg &= ~APMU_PJ_IDLE_CFG_ISO_MODE_CNTRL_MASK; in mmp2_pm_enter_lowpower_mode()
142 idle_cfg |= APMU_PJ_IDLE_CFG_PWR_SW(3) in mmp2_pm_enter_lowpower_mode()
154 __raw_writel(idle_cfg, APMU_PJ_IDLE_CFG); in mmp2_pm_enter_lowpower_mode()
/kernel/linux/linux-5.10/drivers/mfd/
Ddb8500-prcmu.c1141 u32 idle_cfg; in prcmu_configure_auto_pm() local
1153 idle_cfg = (idle->sva_auto_pm_enable & 0xF); in prcmu_configure_auto_pm()
1154 idle_cfg = ((idle_cfg << 4) | (idle->sia_auto_pm_enable & 0xF)); in prcmu_configure_auto_pm()
1155 idle_cfg = ((idle_cfg << 8) | (idle->sva_power_on & 0xFF)); in prcmu_configure_auto_pm()
1156 idle_cfg = ((idle_cfg << 8) | (idle->sia_power_on & 0xFF)); in prcmu_configure_auto_pm()
1157 idle_cfg = ((idle_cfg << 4) | (idle->sva_policy & 0xF)); in prcmu_configure_auto_pm()
1158 idle_cfg = ((idle_cfg << 4) | (idle->sia_policy & 0xF)); in prcmu_configure_auto_pm()
1168 writel(idle_cfg, (tcdm_base + PRCM_REQ_MB2_AUTO_PM_IDLE)); in prcmu_configure_auto_pm()