Lines Matching refs:apcr

29 	uint32_t awucrm = 0, apcr = 0;  in pxa910_set_wake()  local
37 apcr |= MPMU_APCR_SLPWP2; in pxa910_set_wake()
42 apcr |= MPMU_APCR_SLPWP3; in pxa910_set_wake()
46 apcr |= MPMU_APCR_SLPWP3; in pxa910_set_wake()
50 apcr |= MPMU_APCR_SLPWP3; in pxa910_set_wake()
55 apcr |= MPMU_APCR_SLPWP4; in pxa910_set_wake()
59 apcr |= MPMU_APCR_SLPWP4; in pxa910_set_wake()
63 apcr |= MPMU_APCR_SLPWP4; in pxa910_set_wake()
67 apcr |= MPMU_APCR_SLPWP4; in pxa910_set_wake()
71 apcr |= MPMU_APCR_SLPWP4; in pxa910_set_wake()
75 apcr |= MPMU_APCR_SLPWP4; in pxa910_set_wake()
79 apcr |= MPMU_APCR_SLPWP4; in pxa910_set_wake()
85 apcr |= MPMU_APCR_SLPWP5; in pxa910_set_wake()
92 apcr |= MPMU_APCR_SLPWP6; in pxa910_set_wake()
97 apcr |= MPMU_APCR_SLPWP7; in pxa910_set_wake()
102 apcr |= MPMU_APCR_SLPWP2; in pxa910_set_wake()
115 if (apcr) { in pxa910_set_wake()
116 apcr = ~apcr & __raw_readl(MPMU_APCR); in pxa910_set_wake()
117 __raw_writel(apcr, MPMU_APCR); in pxa910_set_wake()
124 if (apcr) { in pxa910_set_wake()
125 apcr |= __raw_readl(MPMU_APCR); in pxa910_set_wake()
126 __raw_writel(apcr, MPMU_APCR); in pxa910_set_wake()
134 uint32_t idle_cfg, apcr; in pxa910_pm_enter_lowpower_mode() local
137 apcr = __raw_readl(MPMU_APCR); in pxa910_pm_enter_lowpower_mode()
139 apcr &= ~(MPMU_APCR_DDRCORSD | MPMU_APCR_APBSD | MPMU_APCR_AXISD in pxa910_pm_enter_lowpower_mode()
147 apcr |= MPMU_APCR_STBYEN | MPMU_APCR_APBSD; in pxa910_pm_enter_lowpower_mode()
150 apcr |= MPMU_APCR_SLPEN; /* set the SLPEN bit */ in pxa910_pm_enter_lowpower_mode()
151 apcr |= MPMU_APCR_VCTCXOSD; /* set VCTCXOSD */ in pxa910_pm_enter_lowpower_mode()
154 apcr |= MPMU_APCR_DDRCORSD; /* set DDRCORSD */ in pxa910_pm_enter_lowpower_mode()
157 apcr |= MPMU_APCR_AXISD; /* set AXISDD bit */ in pxa910_pm_enter_lowpower_mode()
175 apcr |= MPMU_APCR_DSPSD | MPMU_APCR_DTCMSD | MPMU_APCR_BBSD in pxa910_pm_enter_lowpower_mode()
179 apcr |= MPMU_APCR_SLPEN; in pxa910_pm_enter_lowpower_mode()
183 __raw_writel(apcr, MPMU_APCR); in pxa910_pm_enter_lowpower_mode()