Lines Matching refs:apcr

31 	uint32_t awucrm = 0, apcr = 0;  in pxa910_set_wake()  local
39 apcr |= MPMU_APCR_SLPWP2; in pxa910_set_wake()
44 apcr |= MPMU_APCR_SLPWP3; in pxa910_set_wake()
48 apcr |= MPMU_APCR_SLPWP3; in pxa910_set_wake()
52 apcr |= MPMU_APCR_SLPWP3; in pxa910_set_wake()
57 apcr |= MPMU_APCR_SLPWP4; in pxa910_set_wake()
61 apcr |= MPMU_APCR_SLPWP4; in pxa910_set_wake()
65 apcr |= MPMU_APCR_SLPWP4; in pxa910_set_wake()
69 apcr |= MPMU_APCR_SLPWP4; in pxa910_set_wake()
73 apcr |= MPMU_APCR_SLPWP4; in pxa910_set_wake()
77 apcr |= MPMU_APCR_SLPWP4; in pxa910_set_wake()
81 apcr |= MPMU_APCR_SLPWP4; in pxa910_set_wake()
87 apcr |= MPMU_APCR_SLPWP5; in pxa910_set_wake()
94 apcr |= MPMU_APCR_SLPWP6; in pxa910_set_wake()
99 apcr |= MPMU_APCR_SLPWP7; in pxa910_set_wake()
104 apcr |= MPMU_APCR_SLPWP2; in pxa910_set_wake()
117 if (apcr) { in pxa910_set_wake()
118 apcr = ~apcr & __raw_readl(MPMU_APCR); in pxa910_set_wake()
119 __raw_writel(apcr, MPMU_APCR); in pxa910_set_wake()
126 if (apcr) { in pxa910_set_wake()
127 apcr |= __raw_readl(MPMU_APCR); in pxa910_set_wake()
128 __raw_writel(apcr, MPMU_APCR); in pxa910_set_wake()
136 uint32_t idle_cfg, apcr; in pxa910_pm_enter_lowpower_mode() local
139 apcr = __raw_readl(MPMU_APCR); in pxa910_pm_enter_lowpower_mode()
141 apcr &= ~(MPMU_APCR_DDRCORSD | MPMU_APCR_APBSD | MPMU_APCR_AXISD in pxa910_pm_enter_lowpower_mode()
149 apcr |= MPMU_APCR_STBYEN | MPMU_APCR_APBSD; in pxa910_pm_enter_lowpower_mode()
152 apcr |= MPMU_APCR_SLPEN; /* set the SLPEN bit */ in pxa910_pm_enter_lowpower_mode()
153 apcr |= MPMU_APCR_VCTCXOSD; /* set VCTCXOSD */ in pxa910_pm_enter_lowpower_mode()
156 apcr |= MPMU_APCR_DDRCORSD; /* set DDRCORSD */ in pxa910_pm_enter_lowpower_mode()
159 apcr |= MPMU_APCR_AXISD; /* set AXISDD bit */ in pxa910_pm_enter_lowpower_mode()
177 apcr |= MPMU_APCR_DSPSD | MPMU_APCR_DTCMSD | MPMU_APCR_BBSD in pxa910_pm_enter_lowpower_mode()
181 apcr |= MPMU_APCR_SLPEN; in pxa910_pm_enter_lowpower_mode()
185 __raw_writel(apcr, MPMU_APCR); in pxa910_pm_enter_lowpower_mode()