Home
last modified time | relevance | path

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

/Linux-v6.6/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.c640 static void ufs_mtk_scale_perf(struct ufs_hba *hba, bool scale_up) in ufs_mtk_scale_perf() argument
642 ufs_mtk_boost_crypt(hba, scale_up); in ufs_mtk_scale_perf()
643 ufs_mtk_boost_pm_qos(hba, scale_up); in ufs_mtk_scale_perf()
1501 static void ufs_mtk_clk_scale(struct ufs_hba *hba, bool scale_up) in ufs_mtk_clk_scale() argument
1515 if (scale_up) { in ufs_mtk_clk_scale()
1530 trace_ufs_mtk_clk_scale(clki->name, scale_up, clk_get_rate(clki->clk)); in ufs_mtk_clk_scale()
1533 static int ufs_mtk_clk_scale_notify(struct ufs_hba *hba, bool scale_up, in ufs_mtk_clk_scale_notify() argument
1541 ufs_mtk_clk_scale(hba, scale_up); in ufs_mtk_clk_scale_notify()
1544 ufs_mtk_scale_perf(hba, scale_up); in ufs_mtk_clk_scale_notify()
Dufs-qcom.c1379 bool scale_up, enum ufs_notify_change_status status) in ufs_qcom_clk_scale_notify() argument
1393 if (scale_up) in ufs_qcom_clk_scale_notify()
1401 if (scale_up) in ufs_qcom_clk_scale_notify()
/Linux-v6.6/block/
Dblk-wbt.c379 static void scale_up(struct rq_wb *rwb) in scale_up() function
446 scale_up(rwb); in wb_timer_fn()
454 scale_up(rwb); in wb_timer_fn()
465 scale_up(rwb); in wb_timer_fn()
/Linux-v6.6/drivers/ufs/core/
Dufshcd.c278 static int ufshcd_scale_clks(struct ufs_hba *hba, bool scale_up);
1010 static int ufshcd_set_clk_freq(struct ufs_hba *hba, bool scale_up) in ufshcd_set_clk_freq() argument
1021 if (scale_up && clki->max_freq) { in ufshcd_set_clk_freq()
1039 } else if (!scale_up && clki->min_freq) { in ufshcd_set_clk_freq()
1072 static int ufshcd_scale_clks(struct ufs_hba *hba, bool scale_up) in ufshcd_scale_clks() argument
1077 ret = ufshcd_vops_clk_scale_notify(hba, scale_up, PRE_CHANGE); in ufshcd_scale_clks()
1081 ret = ufshcd_set_clk_freq(hba, scale_up); in ufshcd_scale_clks()
1085 ret = ufshcd_vops_clk_scale_notify(hba, scale_up, POST_CHANGE); in ufshcd_scale_clks()
1087 ufshcd_set_clk_freq(hba, !scale_up); in ufshcd_scale_clks()
1091 (scale_up ? "up" : "down"), in ufshcd_scale_clks()
[all …]
/Linux-v6.6/drivers/gpu/drm/panel/
Dpanel-novatek-nt35950.c178 static int nt35950_set_scaler(struct nt35950 *nt, u8 scale_up) in nt35950_set_scaler() argument
180 u8 cmd_scaler[] = { MCS_PARAM_SCALER_FUNCTION, scale_up }; in nt35950_set_scaler()