Lines Matching refs:pwr_ctl
58 uint32_t pwr_ctl; in msm8916_cpu_boot() local
62 pwr_ctl = CPU_PWR_CTL_CLAMP | CPU_PWR_CTL_CORE_MEM_CLAMP | in msm8916_cpu_boot()
64 mmio_write_32(acs + CPU_PWR_CTL, pwr_ctl); in msm8916_cpu_boot()
72 pwr_ctl &= ~CPU_PWR_CTL_CORE_MEM_CLAMP; in msm8916_cpu_boot()
73 mmio_write_32(acs + CPU_PWR_CTL, pwr_ctl); in msm8916_cpu_boot()
76 pwr_ctl |= CPU_PWR_CTL_CORE_MEM_HS; in msm8916_cpu_boot()
77 mmio_write_32(acs + CPU_PWR_CTL, pwr_ctl); in msm8916_cpu_boot()
81 pwr_ctl &= ~CPU_PWR_CTL_CLAMP; in msm8916_cpu_boot()
82 mmio_write_32(acs + CPU_PWR_CTL, pwr_ctl); in msm8916_cpu_boot()
86 pwr_ctl &= ~(CPU_PWR_CTL_CORE_RST | CPU_PWR_CTL_COREPOR_RST); in msm8916_cpu_boot()
87 mmio_write_32(acs + CPU_PWR_CTL, pwr_ctl); in msm8916_cpu_boot()
90 pwr_ctl |= CPU_PWR_CTL_CORE_PWRD_UP; in msm8916_cpu_boot()
91 mmio_write_32(acs + CPU_PWR_CTL, pwr_ctl); in msm8916_cpu_boot()
98 uint32_t pwr_ctl, cbcr, ovr; in msm8916_l2_boot() local
108 pwr_ctl = L2_PWR_CTL_L2_HS_CLAMP | L2_PWR_CTL_L2_HS_EN | in msm8916_l2_boot()
112 mmio_write_32(base + L2_PWR_CTL, pwr_ctl); in msm8916_l2_boot()
119 pwr_ctl &= ~(L2_PWR_CTL_SCU_ARRAY_HS_CLAMP | in msm8916_l2_boot()
121 mmio_write_32(base + L2_PWR_CTL, pwr_ctl); in msm8916_l2_boot()
123 pwr_ctl |= (L2_PWR_CTL_L2_ARRAY_HS | L2_PWR_CTL_SCU_ARRAY_HS); in msm8916_l2_boot()
124 mmio_write_32(base + L2_PWR_CTL, pwr_ctl); in msm8916_l2_boot()
131 pwr_ctl &= ~L2_PWR_CTL_L2_HS_CLAMP; in msm8916_l2_boot()
132 mmio_write_32(base + L2_PWR_CTL, pwr_ctl); in msm8916_l2_boot()
139 pwr_ctl &= ~(L2_PWR_CTL_L2_HS_RST | L2_PWR_CTL_SYS_RESET); in msm8916_l2_boot()
140 mmio_write_32(base + L2_PWR_CTL, pwr_ctl); in msm8916_l2_boot()
144 pwr_ctl |= L2_PWR_CTL_PMIC_APC_ON; in msm8916_l2_boot()
145 mmio_write_32(base + L2_PWR_CTL, pwr_ctl); in msm8916_l2_boot()