Home
last modified time | relevance | path

Searched refs:clk_scaling (Results 1 – 2 of 2) sorted by relevance

/drivers/scsi/ufs/
Dufshcd.c1180 memcpy(&new_pwr_info, &hba->clk_scaling.saved_pwr_info.info, in ufshcd_scale_gear()
1186 if (hba->pwr_info.gear_tx > hba->clk_scaling.min_gear || in ufshcd_scale_gear()
1187 hba->pwr_info.gear_rx > hba->clk_scaling.min_gear) { in ufshcd_scale_gear()
1189 memcpy(&hba->clk_scaling.saved_pwr_info.info, in ufshcd_scale_gear()
1194 new_pwr_info.gear_tx = hba->clk_scaling.min_gear; in ufshcd_scale_gear()
1195 new_pwr_info.gear_rx = hba->clk_scaling.min_gear; in ufshcd_scale_gear()
1222 if (!hba->clk_scaling.is_allowed || in ufshcd_clock_scaling_prepare()
1300 clk_scaling.suspend_work); in ufshcd_clk_scaling_suspend_work()
1304 if (hba->clk_scaling.active_reqs || hba->clk_scaling.is_suspended) { in ufshcd_clk_scaling_suspend_work()
1308 hba->clk_scaling.is_suspended = true; in ufshcd_clk_scaling_suspend_work()
[all …]
Dufshcd.h957 struct ufs_clk_scaling clk_scaling; member