Searched refs:clk_scaling (Results 1 – 3 of 3) sorted by relevance
1195 memcpy(&new_pwr_info, &hba->clk_scaling.saved_pwr_info.info, in ufshcd_scale_gear()1201 if (hba->pwr_info.gear_tx > hba->clk_scaling.min_gear || in ufshcd_scale_gear()1202 hba->pwr_info.gear_rx > hba->clk_scaling.min_gear) { in ufshcd_scale_gear()1204 memcpy(&hba->clk_scaling.saved_pwr_info.info, in ufshcd_scale_gear()1209 new_pwr_info.gear_tx = hba->clk_scaling.min_gear; in ufshcd_scale_gear()1210 new_pwr_info.gear_rx = hba->clk_scaling.min_gear; in ufshcd_scale_gear()1237 if (!hba->clk_scaling.is_allowed || in ufshcd_clock_scaling_prepare()1315 clk_scaling.suspend_work); in ufshcd_clk_scaling_suspend_work()1319 if (hba->clk_scaling.active_reqs || hba->clk_scaling.is_suspended) { in ufshcd_clk_scaling_suspend_work()1323 hba->clk_scaling.is_suspended = true; in ufshcd_clk_scaling_suspend_work()[all …]
946 struct ufs_clk_scaling clk_scaling; member
1438 hba->clk_scaling.min_gear = UFS_HS_G4; in ufs_mtk_config_scaling_param()