Home
last modified time | relevance | path

Searched refs:old_ps (Results 1 – 16 of 16) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/radeon/
Drs780_dpm.c427 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 …]
Drv6xx_dpm.c1200 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 …]
Dsumo_dpm.c682 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 …]
Dni_dpm.h243 struct radeon_ps *old_ps);
246 struct radeon_ps *old_ps);
Drv770_dpm.h275 struct radeon_ps *old_ps);
278 struct radeon_ps *old_ps);
Drv770_dpm.c1435 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 …]
Dtrinity_dpm.c800 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()
Dbtc_dpm.c2305 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()
Dni_dpm.c3509 struct radeon_ps *old_ps) in ni_set_uvd_clock_before_set_eng_clock() argument
3512 struct ni_ps *current_state = ni_get_ps(old_ps); in ni_set_uvd_clock_before_set_eng_clock()
3514 if ((new_ps->vclk == old_ps->vclk) && in ni_set_uvd_clock_before_set_eng_clock()
3515 (new_ps->dclk == old_ps->dclk)) in ni_set_uvd_clock_before_set_eng_clock()
3527 struct radeon_ps *old_ps) in ni_set_uvd_clock_after_set_eng_clock() argument
3530 struct ni_ps *current_state = ni_get_ps(old_ps); in ni_set_uvd_clock_after_set_eng_clock()
3532 if ((new_ps->vclk == old_ps->vclk) && in ni_set_uvd_clock_after_set_eng_clock()
3533 (new_ps->dclk == old_ps->dclk)) in ni_set_uvd_clock_after_set_eng_clock()
3781 struct radeon_ps *old_ps = &eg_pi->current_rps; in ni_dpm_set_power_state() local
3789 ni_set_uvd_clock_before_set_eng_clock(rdev, new_ps, old_ps); in ni_dpm_set_power_state()
[all …]
Dcypress_dpm.c1957 struct radeon_ps *old_ps = rdev->pm.dpm.current_ps; in cypress_dpm_set_power_state() local
1966 cypress_notify_link_speed_change_before_state_change(rdev, new_ps, old_ps); in cypress_dpm_set_power_state()
1968 rv770_set_uvd_clock_before_set_eng_clock(rdev, new_ps, old_ps); in cypress_dpm_set_power_state()
1999 rv770_set_uvd_clock_after_set_eng_clock(rdev, new_ps, old_ps); in cypress_dpm_set_power_state()
2002 cypress_notify_link_speed_change_after_state_change(rdev, new_ps, old_ps); in cypress_dpm_set_power_state()
Dkv_dpm.c1677 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()
Dsi_dpm.c6543 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()
Dci_dpm.c5316 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-6.1.9/drivers/gpu/drm/amd/pm/legacy-dpm/
Dsi_dpm.c3169 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()
7028 struct amdgpu_ps *old_ps = &eg_pi->current_rps; in si_dpm_set_power_state() local
7042 si_request_link_speed_change_before_state_change(adev, new_ps, old_ps); in si_dpm_set_power_state()
[all …]
Dkv_dpm.c1928 struct amdgpu_ps *old_ps = &pi->current_rps; in kv_dpm_set_power_state() local
1959 ret = kv_update_vce_dpm(adev, new_ps, old_ps); in kv_dpm_set_power_state()
1984 ret = kv_update_vce_dpm(adev, new_ps, old_ps); in kv_dpm_set_power_state()
/linux-6.1.9/drivers/net/wireless/
Dmac80211_hwsim.c970 enum ps_mode old_ps; in hwsim_fops_ps_write() local
986 old_ps = data->ps; in hwsim_fops_ps_write()
990 if (old_ps == PS_DISABLED && val != PS_DISABLED) { in hwsim_fops_ps_write()
994 } else if (old_ps != PS_DISABLED && val == PS_DISABLED) { in hwsim_fops_ps_write()