Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/msm/dp/
Ddp_power.c174 int dp_power_clk_status(struct dp_power *dp_power, enum dp_pm_type pm_type) in dp_power_clk_status() argument
176 if (pm_type == DP_CORE_PM) in dp_power_clk_status()
179 if (pm_type == DP_CTRL_PM) in dp_power_clk_status()
182 if (pm_type == DP_STREAM_PM) in dp_power_clk_status()
189 enum dp_pm_type pm_type, bool enable) in dp_power_clk_enable() argument
196 if (pm_type != DP_CORE_PM && pm_type != DP_CTRL_PM && in dp_power_clk_enable()
197 pm_type != DP_STREAM_PM) { in dp_power_clk_enable()
199 dp_parser_pm_name(pm_type)); in dp_power_clk_enable()
204 if (pm_type == DP_CORE_PM && dp_power->core_clks_on) { in dp_power_clk_enable()
209 if (pm_type == DP_CTRL_PM && dp_power->link_clks_on) { in dp_power_clk_enable()
[all …]
Ddp_power.h57 int dp_power_clk_status(struct dp_power *dp_power, enum dp_pm_type pm_type);
70 int dp_power_clk_enable(struct dp_power *power, enum dp_pm_type pm_type,
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/swsmu/smu12/
Drenoir_ppt.c425 enum amd_pm_state_type pm_type; in renoir_get_current_power_state() local
434 pm_type = POWER_STATE_TYPE_BATTERY; in renoir_get_current_power_state()
437 pm_type = POWER_STATE_TYPE_BALANCED; in renoir_get_current_power_state()
440 pm_type = POWER_STATE_TYPE_PERFORMANCE; in renoir_get_current_power_state()
444 pm_type = POWER_STATE_TYPE_INTERNAL_BOOT; in renoir_get_current_power_state()
446 pm_type = POWER_STATE_TYPE_DEFAULT; in renoir_get_current_power_state()
450 return pm_type; in renoir_get_current_power_state()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/
Damd_powerplay.c471 enum amd_pm_state_type pm_type; in pp_dpm_get_current_power_state() local
482 pm_type = POWER_STATE_TYPE_BATTERY; in pp_dpm_get_current_power_state()
485 pm_type = POWER_STATE_TYPE_BALANCED; in pp_dpm_get_current_power_state()
488 pm_type = POWER_STATE_TYPE_PERFORMANCE; in pp_dpm_get_current_power_state()
492 pm_type = POWER_STATE_TYPE_INTERNAL_BOOT; in pp_dpm_get_current_power_state()
494 pm_type = POWER_STATE_TYPE_DEFAULT; in pp_dpm_get_current_power_state()
499 return pm_type; in pp_dpm_get_current_power_state()