Home
last modified time | relevance | path

Searched refs:scale_up (Results 1 - 9 of 9) sorted by relevance

/kernel/linux/linux-6.6/drivers/ufs/host/
H A 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",
H A 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()
1499 * @scale_up: True for scaling up and false for scaling down
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()
[all...]
H A Dufs-qcom.c1384 bool scale_up, enum ufs_notify_change_status status) in ufs_qcom_clk_scale_notify()
1398 if (scale_up) in ufs_qcom_clk_scale_notify()
1408 if (scale_up) in ufs_qcom_clk_scale_notify()
1383 ufs_qcom_clk_scale_notify(struct ufs_hba *hba, bool scale_up, enum ufs_notify_change_status status) ufs_qcom_clk_scale_notify() argument
/kernel/linux/linux-5.10/block/
H A Dblk-wbt.c310 static void scale_up(struct rq_wb *rwb) in scale_up() function
375 scale_up(rwb); in wb_timer_fn()
383 scale_up(rwb); in wb_timer_fn()
394 scale_up(rwb); in wb_timer_fn()
/kernel/linux/linux-6.6/block/
H A 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()
/kernel/linux/linux-6.6/drivers/ufs/core/
H A Dufshcd.c278 static int ufshcd_scale_clks(struct ufs_hba *hba, bool scale_up);
1006 * @scale_up: If True, set max possible frequency othewise set low frequency
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()
1068 * @scale_up: True if scaling up and false if scaling down
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_CHANG in ufshcd_scale_clks()
1103 ufshcd_is_devfreq_scaling_required(struct ufs_hba *hba, bool scale_up) ufshcd_is_devfreq_scaling_required() argument
1221 ufshcd_scale_gear(struct ufs_hba *hba, bool scale_up) ufshcd_scale_gear() argument
1290 ufshcd_clock_scaling_unprepare(struct ufs_hba *hba, int err, bool scale_up) ufshcd_clock_scaling_unprepare() argument
1312 ufshcd_devfreq_scale(struct ufs_hba *hba, bool scale_up) ufshcd_devfreq_scale() argument
1388 bool scale_up, sched_clk_scaling_suspend_work = false; ufshcd_devfreq_target() local
[all...]
/kernel/linux/linux-5.10/drivers/scsi/ufs/
H A Dufshcd.c236 static int ufshcd_scale_clks(struct ufs_hba *hba, bool scale_up);
913 * @scale_up: If True, set max possible frequency othewise set low frequency
918 static int ufshcd_set_clk_freq(struct ufs_hba *hba, bool scale_up) in ufshcd_set_clk_freq() argument
929 if (scale_up && clki->max_freq) { in ufshcd_set_clk_freq()
947 } else if (!scale_up && clki->min_freq) { in ufshcd_set_clk_freq()
976 * @scale_up: True if scaling up and false if scaling down
981 static int ufshcd_scale_clks(struct ufs_hba *hba, bool scale_up) in ufshcd_scale_clks() argument
986 ret = ufshcd_vops_clk_scale_notify(hba, scale_up, PRE_CHANGE); in ufshcd_scale_clks()
990 ret = ufshcd_set_clk_freq(hba, scale_up); in ufshcd_scale_clks()
994 ret = ufshcd_vops_clk_scale_notify(hba, scale_up, POST_CHANG in ufshcd_scale_clks()
1012 ufshcd_is_devfreq_scaling_required(struct ufs_hba *hba, bool scale_up) ufshcd_is_devfreq_scaling_required() argument
1106 ufshcd_scale_gear(struct ufs_hba *hba, bool scale_up) ufshcd_scale_gear() argument
1177 ufshcd_devfreq_scale(struct ufs_hba *hba, bool scale_up) ufshcd_devfreq_scale() argument
1263 bool scale_up, sched_clk_scaling_suspend_work = false; ufshcd_devfreq_target() local
[all...]
H A Dufs-qcom.c1210 bool scale_up, enum ufs_notify_change_status status) in ufs_qcom_clk_scale_notify()
1217 if (scale_up) in ufs_qcom_clk_scale_notify()
1222 if (scale_up) in ufs_qcom_clk_scale_notify()
1209 ufs_qcom_clk_scale_notify(struct ufs_hba *hba, bool scale_up, enum ufs_notify_change_status status) ufs_qcom_clk_scale_notify() argument
/kernel/linux/linux-6.6/drivers/gpu/drm/panel/
H A Dpanel-novatek-nt35950.c174 * @scale_up: Scale up function control
178 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()

Completed in 20 milliseconds