Lines Matching refs:apcr
114 uint32_t idle_cfg, apcr; in mmp2_pm_enter_lowpower_mode() local
117 apcr = __raw_readl(MPMU_PCR_PJ); in mmp2_pm_enter_lowpower_mode()
118 apcr &= ~(MPMU_PCR_PJ_SLPEN | MPMU_PCR_PJ_DDRCORSD | MPMU_PCR_PJ_APBSD in mmp2_pm_enter_lowpower_mode()
124 apcr |= MPMU_PCR_PJ_SLPEN; /* set the SLPEN bit */ in mmp2_pm_enter_lowpower_mode()
125 apcr |= MPMU_PCR_PJ_VCTCXOSD; /* set VCTCXOSD */ in mmp2_pm_enter_lowpower_mode()
128 apcr |= MPMU_PCR_PJ_SLPEN; in mmp2_pm_enter_lowpower_mode()
131 apcr |= MPMU_PCR_PJ_APBSD; /* set APBSD */ in mmp2_pm_enter_lowpower_mode()
134 apcr |= MPMU_PCR_PJ_AXISD; /* set AXISDD bit */ in mmp2_pm_enter_lowpower_mode()
135 apcr |= MPMU_PCR_PJ_DDRCORSD; /* set DDRCORSD bit */ in mmp2_pm_enter_lowpower_mode()
137 apcr |= MPMU_PCR_PJ_SPSD; in mmp2_pm_enter_lowpower_mode()
146 apcr &= ~MPMU_PCR_PJ_SPSD; in mmp2_pm_enter_lowpower_mode()
151 apcr |= (1 << 30) | (1 << 25); in mmp2_pm_enter_lowpower_mode()
155 __raw_writel(apcr, MPMU_PCR_PJ); /* 0xfe086000 */ in mmp2_pm_enter_lowpower_mode()
219 uint32_t apcr; in mmp2_pm_init() local
240 apcr = __raw_readl(MPMU_PCR_PJ); in mmp2_pm_init()
241 apcr &= ~(MPMU_PCR_PJ_SLPEN | MPMU_PCR_PJ_DDRCORSD in mmp2_pm_init()
243 __raw_writel(apcr, MPMU_PCR_PJ); in mmp2_pm_init()