Lines Matching refs:pwrctrl
27 struct pwr_ctrl *pwrctrl; in go_to_spm_before_wfi() local
30 pwrctrl = spm_lp->pwrctrl; in go_to_spm_before_wfi()
33 __spm_set_power_control(pwrctrl); in go_to_spm_before_wfi()
34 __spm_set_wakeup_event(pwrctrl); in go_to_spm_before_wfi()
35 __spm_sync_vcore_dvfs_power_control(pwrctrl, __spm_vcorefs.pwrctrl); in go_to_spm_before_wfi()
36 __spm_set_pcm_flags(pwrctrl); in go_to_spm_before_wfi()
37 __spm_src_req_update(pwrctrl, resource_req); in go_to_spm_before_wfi()
60 cpu, pwrctrl->wake_src, mmio_read_32(SPM_CLK_SETTLE), in go_to_spm_before_wfi()
63 pwrctrl->pcm_flags, pwrctrl->pcm_flags1, in go_to_spm_before_wfi()
140 void spm_conservation_pwrctrl_init(struct pwr_ctrl *pwrctrl) in spm_conservation_pwrctrl_init() argument
142 if (pwrctrl == NULL) { in spm_conservation_pwrctrl_init()
149 pwrctrl->reg_ufs_srcclkena_mask_b = 0; in spm_conservation_pwrctrl_init()
150 pwrctrl->reg_ufs_infra_req_mask_b = 0; in spm_conservation_pwrctrl_init()
151 pwrctrl->reg_ufs_apsrc_req_mask_b = 0; in spm_conservation_pwrctrl_init()
152 pwrctrl->reg_ufs_vrf18_req_mask_b = 0; in spm_conservation_pwrctrl_init()
153 pwrctrl->reg_ufs_ddr_en_mask_b = 0; in spm_conservation_pwrctrl_init()