Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/ufs/core/
Dufshcd.c1195 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 …]
/linux-6.1.9/include/ufs/
Dufshcd.h946 struct ufs_clk_scaling clk_scaling; member
/linux-6.1.9/drivers/ufs/host/
Dufs-mediatek.c1438 hba->clk_scaling.min_gear = UFS_HS_G4; in ufs_mtk_config_scaling_param()