Home
last modified time | relevance | path

Searched refs:scale_up (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/ufs/host/
H A Dufs-mediatek.c32 static void _ufs_mtk_clk_scale(struct ufs_hba *hba, bool scale_up);
746 static void ufs_mtk_scale_perf(struct ufs_hba *hba, bool scale_up) in ufs_mtk_pwr_ctrl()
748 ufs_mtk_boost_crypt(hba, scale_up); in ufs_mtk_pwr_ctrl()
2069 static void _ufs_mtk_clk_scale(struct ufs_hba *hba, bool scale_up) in _ufs_mtk_clk_scale()
2110 if (scale_up) { in _ufs_mtk_clk_scale()
2180 * @scale_up: True for scaling up and false for scaling down in ufs_mtk_clk_scale()
2182 static void ufs_mtk_clk_scale(struct ufs_hba *hba, bool scale_up) in ufs_mtk_clk_scale_notify() argument
2188 if (host->clk_scale_up == scale_up) in ufs_mtk_clk_scale_notify()
2191 if (scale_up) in ufs_mtk_clk_scale_notify()
2196 host->clk_scale_up = scale_up; in ufs_mtk_clk_scale_notify()
737 ufs_mtk_scale_perf(struct ufs_hba * hba,bool scale_up) ufs_mtk_scale_perf() argument
2044 _ufs_mtk_clk_scale(struct ufs_hba * hba,bool scale_up) _ufs_mtk_clk_scale() argument
2157 ufs_mtk_clk_scale(struct ufs_hba * hba,bool scale_up) ufs_mtk_clk_scale() argument
[all...]
H A Dufs-qcom.c1953 static int ufs_qcom_clk_scale_notify(struct ufs_hba *hba, bool scale_up, in ufs_qcom_clk_scale_notify()
1968 if (scale_up) in ufs_qcom_enable_test_bus()
1978 if (scale_up)
1922 ufs_qcom_clk_scale_notify(struct ufs_hba * hba,bool scale_up,unsigned long target_freq,enum ufs_notify_change_status status) ufs_qcom_clk_scale_notify() argument
/linux/block/
H A Dblk-wbt.c382 static void scale_up(struct rq_wb *rwb) in scale_up() function
449 scale_up(rwb); in wb_timer_fn()
457 scale_up(rwb); in wb_timer_fn()
468 scale_up(rwb); in wb_timer_fn()
/linux/drivers/ufs/core/
H A Dufshcd.c1072 * @scale_up: If True, set max possible frequency othewise set low frequency
1076 static int ufshcd_set_clk_freq(struct ufs_hba *hba, bool scale_up) in ufshcd_set_clk_freq() argument
1087 if (scale_up && clki->max_freq) { in ufshcd_set_clk_freq()
1105 } else if (!scale_up && clki->min_freq) { in ufshcd_set_clk_freq()
1187 * @scale_up: True if scaling up and false if scaling down
1191 int ufshcd_scale_clks(struct ufs_hba *hba, unsigned long freq, bool scale_up) in ufshcd_scale_clks() argument
1196 ret = ufshcd_vops_clk_scale_notify(hba, scale_up, freq, PRE_CHANGE); in ufshcd_scale_clks()
1203 ret = ufshcd_set_clk_freq(hba, scale_up); in ufshcd_scale_clks()
1207 ret = ufshcd_vops_clk_scale_notify(hba, scale_up, freq, POST_CHANGE); in ufshcd_scale_clks()
1213 ufshcd_set_clk_freq(hba, !scale_up); in ufshcd_scale_clks()
1235 ufshcd_is_devfreq_scaling_required(struct ufs_hba * hba,unsigned long freq,bool scale_up) ufshcd_is_devfreq_scaling_required() argument
1400 ufshcd_scale_gear(struct ufs_hba * hba,u32 target_gear,bool scale_up) ufshcd_scale_gear() argument
1512 ufshcd_devfreq_scale(struct ufs_hba * hba,unsigned long freq,bool scale_up) ufshcd_devfreq_scale() argument
1592 bool scale_up = false, sched_clk_scaling_suspend_work = false; ufshcd_devfreq_target() local
[all...]