Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/ufs/host/
Dufs-mediatek-trace.h32 TP_PROTO(const char *name, bool scale_up, unsigned long clk_rate),
33 TP_ARGS(name, scale_up, clk_rate),
37 __field(bool, scale_up)
43 __entry->scale_up = scale_up;
49 __entry->scale_up ? "up" : "down",
Dufs-mediatek.c638 static void ufs_mtk_scale_perf(struct ufs_hba *hba, bool scale_up) in ufs_mtk_scale_perf() argument
640 ufs_mtk_boost_crypt(hba, scale_up); in ufs_mtk_scale_perf()
641 ufs_mtk_boost_pm_qos(hba, scale_up); in ufs_mtk_scale_perf()
1457 static void ufs_mtk_clk_scale(struct ufs_hba *hba, bool scale_up) in ufs_mtk_clk_scale() argument
1471 if (scale_up) { in ufs_mtk_clk_scale()
1486 trace_ufs_mtk_clk_scale(clki->name, scale_up, clk_get_rate(clki->clk)); in ufs_mtk_clk_scale()
1489 static int ufs_mtk_clk_scale_notify(struct ufs_hba *hba, bool scale_up, in ufs_mtk_clk_scale_notify() argument
1497 ufs_mtk_clk_scale(hba, scale_up); in ufs_mtk_clk_scale_notify()
1500 ufs_mtk_scale_perf(hba, scale_up); in ufs_mtk_clk_scale_notify()
Dufs-qcom.c1157 bool scale_up, enum ufs_notify_change_status status) in ufs_qcom_clk_scale_notify() argument
1167 if (scale_up) in ufs_qcom_clk_scale_notify()
1175 if (scale_up) in ufs_qcom_clk_scale_notify()
/Linux-v6.1/block/
Dblk-wbt.c310 static void scale_up(struct rq_wb *rwb) in scale_up() function
378 scale_up(rwb); in wb_timer_fn()
386 scale_up(rwb); in wb_timer_fn()
397 scale_up(rwb); in wb_timer_fn()
/Linux-v6.1/drivers/ufs/core/
Dufshcd.c260 static int ufshcd_scale_clks(struct ufs_hba *hba, bool scale_up);
982 static int ufshcd_set_clk_freq(struct ufs_hba *hba, bool scale_up) in ufshcd_set_clk_freq() argument
993 if (scale_up && clki->max_freq) { in ufshcd_set_clk_freq()
1011 } else if (!scale_up && clki->min_freq) { in ufshcd_set_clk_freq()
1045 static int ufshcd_scale_clks(struct ufs_hba *hba, bool scale_up) in ufshcd_scale_clks() argument
1050 ret = ufshcd_vops_clk_scale_notify(hba, scale_up, PRE_CHANGE); in ufshcd_scale_clks()
1054 ret = ufshcd_set_clk_freq(hba, scale_up); in ufshcd_scale_clks()
1058 ret = ufshcd_vops_clk_scale_notify(hba, scale_up, POST_CHANGE); in ufshcd_scale_clks()
1060 ufshcd_set_clk_freq(hba, !scale_up); in ufshcd_scale_clks()
1064 (scale_up ? "up" : "down"), in ufshcd_scale_clks()
[all …]
/Linux-v6.1/drivers/gpu/drm/panel/
Dpanel-novatek-nt35950.c186 static int nt35950_set_scaler(struct nt35950 *nt, u8 scale_up) in nt35950_set_scaler() argument
188 u8 cmd_scaler[] = { MCS_PARAM_SCALER_FUNCTION, scale_up }; in nt35950_set_scaler()