/Linux-v6.6/drivers/gpu/drm/radeon/ |
D | rs780_dpm.c | 427 struct radeon_ps *old_ps) in rs780_set_engine_clock_scaling() argument 431 struct igp_ps *old_state = rs780_get_ps(old_ps); in rs780_set_engine_clock_scaling() 475 struct radeon_ps *old_ps) in rs780_set_engine_clock_spc() argument 478 struct igp_ps *old_state = rs780_get_ps(old_ps); in rs780_set_engine_clock_spc() 494 struct radeon_ps *old_ps) in rs780_activate_engine_clk_scaling() argument 497 struct igp_ps *old_state = rs780_get_ps(old_ps); in rs780_activate_engine_clk_scaling() 565 struct radeon_ps *old_ps) in rs780_set_uvd_clock_before_set_eng_clock() argument 568 struct igp_ps *current_state = rs780_get_ps(old_ps); in rs780_set_uvd_clock_before_set_eng_clock() 570 if ((new_ps->vclk == old_ps->vclk) && in rs780_set_uvd_clock_before_set_eng_clock() 571 (new_ps->dclk == old_ps->dclk)) in rs780_set_uvd_clock_before_set_eng_clock() [all …]
|
D | rv6xx_dpm.c | 1200 struct radeon_ps *old_ps) in rv6xx_set_sw_voltage_to_safe() argument 1203 struct rv6xx_ps *old_state = rv6xx_get_ps(old_ps); in rv6xx_set_sw_voltage_to_safe() 1217 struct radeon_ps *old_ps) in rv6xx_set_sw_voltage_to_low() argument 1219 struct rv6xx_ps *old_state = rv6xx_get_ps(old_ps); in rv6xx_set_sw_voltage_to_low() 1230 struct radeon_ps *old_ps) in rv6xx_set_safe_backbias() argument 1233 struct rv6xx_ps *old_state = rv6xx_get_ps(old_ps); in rv6xx_set_safe_backbias() 1244 struct radeon_ps *old_ps) in rv6xx_set_safe_pcie_gen2() argument 1247 struct rv6xx_ps *old_state = rv6xx_get_ps(old_ps); in rv6xx_set_safe_pcie_gen2() 1306 struct radeon_ps *old_ps) in rv6xx_step_voltage_if_increasing() argument 1309 struct rv6xx_ps *old_state = rv6xx_get_ps(old_ps); in rv6xx_step_voltage_if_increasing() [all …]
|
D | sumo_dpm.c | 682 struct sumo_ps *old_ps = sumo_get_ps(old_rps); in sumo_pre_notify_alt_vddnb_change() local 686 if (old_ps != NULL) in sumo_pre_notify_alt_vddnb_change() 687 nbps1_old = (old_ps->flags & SUMO_POWERSTATE_FLAGS_FORCE_NBPS1_STATE) ? 1 : 0; in sumo_pre_notify_alt_vddnb_change() 700 struct sumo_ps *old_ps = sumo_get_ps(old_rps); in sumo_post_notify_alt_vddnb_change() local 704 if (old_ps != NULL) in sumo_post_notify_alt_vddnb_change() 705 nbps1_old = (old_ps->flags & SUMO_POWERSTATE_FLAGS_FORCE_NBPS1_STATE)? 1 : 0; in sumo_post_notify_alt_vddnb_change() 757 struct sumo_ps *old_ps = sumo_get_ps(old_rps); in sumo_program_power_levels_0_to_n() local 759 u32 n_current_state_levels = (old_ps == NULL) ? 1 : old_ps->num_levels; in sumo_program_power_levels_0_to_n() 1300 struct radeon_ps *old_ps = &pi->current_rps; in sumo_dpm_set_power_state() local 1303 sumo_set_uvd_clock_before_set_eng_clock(rdev, new_ps, old_ps); in sumo_dpm_set_power_state() [all …]
|
D | ni_dpm.h | 243 struct radeon_ps *old_ps); 246 struct radeon_ps *old_ps);
|
D | rv770_dpm.h | 275 struct radeon_ps *old_ps); 278 struct radeon_ps *old_ps);
|
D | rv770_dpm.c | 1435 struct radeon_ps *old_ps) in rv770_set_uvd_clock_before_set_eng_clock() argument 1438 struct rv7xx_ps *current_state = rv770_get_ps(old_ps); in rv770_set_uvd_clock_before_set_eng_clock() 1440 if ((new_ps->vclk == old_ps->vclk) && in rv770_set_uvd_clock_before_set_eng_clock() 1441 (new_ps->dclk == old_ps->dclk)) in rv770_set_uvd_clock_before_set_eng_clock() 1452 struct radeon_ps *old_ps) in rv770_set_uvd_clock_after_set_eng_clock() argument 1455 struct rv7xx_ps *current_state = rv770_get_ps(old_ps); in rv770_set_uvd_clock_after_set_eng_clock() 1457 if ((new_ps->vclk == old_ps->vclk) && in rv770_set_uvd_clock_after_set_eng_clock() 1458 (new_ps->dclk == old_ps->dclk)) in rv770_set_uvd_clock_after_set_eng_clock() 2042 struct radeon_ps *old_ps = rdev->pm.dpm.current_ps; in rv770_dpm_set_power_state() local 2050 rv770_set_uvd_clock_before_set_eng_clock(rdev, new_ps, old_ps); in rv770_dpm_set_power_state() [all …]
|
D | trinity_dpm.c | 800 struct trinity_ps *old_ps = trinity_get_ps(old_rps); in trinity_program_power_levels_0_to_n() local 802 u32 n_current_state_levels = (old_ps == NULL) ? 1 : old_ps->num_levels; in trinity_program_power_levels_0_to_n() 1207 struct radeon_ps *old_ps = &pi->current_rps; in trinity_dpm_set_power_state() local 1213 trinity_set_uvd_clock_before_set_eng_clock(rdev, new_ps, old_ps); in trinity_dpm_set_power_state() 1218 trinity_program_power_levels_0_to_n(rdev, new_ps, old_ps); in trinity_dpm_set_power_state() 1221 trinity_set_uvd_clock_after_set_eng_clock(rdev, new_ps, old_ps); in trinity_dpm_set_power_state() 1222 trinity_set_vce_clock(rdev, new_ps, old_ps); in trinity_dpm_set_power_state()
|
D | btc_dpm.c | 2305 struct radeon_ps *old_ps = &eg_pi->current_rps; in btc_dpm_set_power_state() local 2316 cypress_notify_link_speed_change_before_state_change(rdev, new_ps, old_ps); in btc_dpm_set_power_state() 2318 rv770_set_uvd_clock_before_set_eng_clock(rdev, new_ps, old_ps); in btc_dpm_set_power_state() 2352 rv770_set_uvd_clock_after_set_eng_clock(rdev, new_ps, old_ps); in btc_dpm_set_power_state() 2355 cypress_notify_link_speed_change_after_state_change(rdev, new_ps, old_ps); in btc_dpm_set_power_state()
|
D | ni_dpm.c | 3513 struct radeon_ps *old_ps) in ni_set_uvd_clock_before_set_eng_clock() argument 3516 struct ni_ps *current_state = ni_get_ps(old_ps); in ni_set_uvd_clock_before_set_eng_clock() 3518 if ((new_ps->vclk == old_ps->vclk) && in ni_set_uvd_clock_before_set_eng_clock() 3519 (new_ps->dclk == old_ps->dclk)) in ni_set_uvd_clock_before_set_eng_clock() 3531 struct radeon_ps *old_ps) in ni_set_uvd_clock_after_set_eng_clock() argument 3534 struct ni_ps *current_state = ni_get_ps(old_ps); in ni_set_uvd_clock_after_set_eng_clock() 3536 if ((new_ps->vclk == old_ps->vclk) && in ni_set_uvd_clock_after_set_eng_clock() 3537 (new_ps->dclk == old_ps->dclk)) in ni_set_uvd_clock_after_set_eng_clock() 3785 struct radeon_ps *old_ps = &eg_pi->current_rps; in ni_dpm_set_power_state() local 3793 ni_set_uvd_clock_before_set_eng_clock(rdev, new_ps, old_ps); in ni_dpm_set_power_state() [all …]
|
D | cypress_dpm.c | 1961 struct radeon_ps *old_ps = rdev->pm.dpm.current_ps; in cypress_dpm_set_power_state() local 1970 cypress_notify_link_speed_change_before_state_change(rdev, new_ps, old_ps); in cypress_dpm_set_power_state() 1972 rv770_set_uvd_clock_before_set_eng_clock(rdev, new_ps, old_ps); in cypress_dpm_set_power_state() 2003 rv770_set_uvd_clock_after_set_eng_clock(rdev, new_ps, old_ps); in cypress_dpm_set_power_state() 2006 cypress_notify_link_speed_change_after_state_change(rdev, new_ps, old_ps); in cypress_dpm_set_power_state()
|
D | kv_dpm.c | 1677 struct radeon_ps *old_ps = &pi->current_rps; in kv_dpm_set_power_state() local 1708 ret = kv_update_vce_dpm(rdev, new_ps, old_ps); in kv_dpm_set_power_state() 1733 ret = kv_update_vce_dpm(rdev, new_ps, old_ps); in kv_dpm_set_power_state()
|
D | si_dpm.c | 6543 struct radeon_ps *old_ps = &eg_pi->current_rps; in si_dpm_set_power_state() local 6557 si_request_link_speed_change_before_state_change(rdev, new_ps, old_ps); in si_dpm_set_power_state() 6558 ni_set_uvd_clock_before_set_eng_clock(rdev, new_ps, old_ps); in si_dpm_set_power_state() 6601 si_set_pcie_lane_width_in_smc(rdev, new_ps, old_ps); in si_dpm_set_power_state() 6613 ni_set_uvd_clock_after_set_eng_clock(rdev, new_ps, old_ps); in si_dpm_set_power_state() 6614 si_set_vce_clock(rdev, new_ps, old_ps); in si_dpm_set_power_state() 6616 si_notify_link_speed_change_after_state_change(rdev, new_ps, old_ps); in si_dpm_set_power_state()
|
D | ci_dpm.c | 5316 struct radeon_ps *old_ps = &pi->current_rps; in ci_dpm_set_power_state() local 5321 ci_request_link_speed_change_before_state_change(rdev, new_ps, old_ps); in ci_dpm_set_power_state() 5338 ret = ci_update_vce_dpm(rdev, new_ps, old_ps); in ci_dpm_set_power_state() 5372 ci_notify_link_speed_change_after_state_change(rdev, new_ps, old_ps); in ci_dpm_set_power_state()
|
/Linux-v6.6/drivers/gpu/drm/amd/pm/legacy-dpm/ |
D | si_dpm.c | 3169 struct amdgpu_ps *old_ps) in ni_set_uvd_clock_before_set_eng_clock() argument 3172 struct si_ps *current_state = si_get_ps(old_ps); in ni_set_uvd_clock_before_set_eng_clock() 3174 if ((new_ps->vclk == old_ps->vclk) && in ni_set_uvd_clock_before_set_eng_clock() 3175 (new_ps->dclk == old_ps->dclk)) in ni_set_uvd_clock_before_set_eng_clock() 3187 struct amdgpu_ps *old_ps) in ni_set_uvd_clock_after_set_eng_clock() argument 3190 struct si_ps *current_state = si_get_ps(old_ps); in ni_set_uvd_clock_after_set_eng_clock() 3192 if ((new_ps->vclk == old_ps->vclk) && in ni_set_uvd_clock_after_set_eng_clock() 3193 (new_ps->dclk == old_ps->dclk)) in ni_set_uvd_clock_after_set_eng_clock() 7011 struct amdgpu_ps *old_ps = &eg_pi->current_rps; in si_dpm_set_power_state() local 7025 si_request_link_speed_change_before_state_change(adev, new_ps, old_ps); in si_dpm_set_power_state() [all …]
|
D | kv_dpm.c | 1915 struct amdgpu_ps *old_ps = &pi->current_rps; in kv_dpm_set_power_state() local 1946 ret = kv_update_vce_dpm(adev, new_ps, old_ps); in kv_dpm_set_power_state() 1971 ret = kv_update_vce_dpm(adev, new_ps, old_ps); in kv_dpm_set_power_state()
|
/Linux-v6.6/drivers/net/wireless/virtual/ |
D | mac80211_hwsim.c | 1080 enum ps_mode old_ps; in hwsim_fops_ps_write() local 1096 old_ps = data->ps; in hwsim_fops_ps_write() 1100 if (old_ps == PS_DISABLED && val != PS_DISABLED) { in hwsim_fops_ps_write() 1104 } else if (old_ps != PS_DISABLED && val == PS_DISABLED) { in hwsim_fops_ps_write()
|