Home
last modified time | relevance | path

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

/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.c1201 struct radeon_ps *old_ps) in rv6xx_set_sw_voltage_to_safe() argument
1204 struct rv6xx_ps *old_state = rv6xx_get_ps(old_ps); in rv6xx_set_sw_voltage_to_safe()
1218 struct radeon_ps *old_ps) in rv6xx_set_sw_voltage_to_low() argument
1220 struct rv6xx_ps *old_state = rv6xx_get_ps(old_ps); in rv6xx_set_sw_voltage_to_low()
1231 struct radeon_ps *old_ps) in rv6xx_set_safe_backbias() argument
1234 struct rv6xx_ps *old_state = rv6xx_get_ps(old_ps); in rv6xx_set_safe_backbias()
1245 struct radeon_ps *old_ps) in rv6xx_set_safe_pcie_gen2() argument
1248 struct rv6xx_ps *old_state = rv6xx_get_ps(old_ps); in rv6xx_set_safe_pcie_gen2()
1307 struct radeon_ps *old_ps) in rv6xx_step_voltage_if_increasing() argument
1310 struct rv6xx_ps *old_state = rv6xx_get_ps(old_ps); in rv6xx_step_voltage_if_increasing()
[all …]
Dsumo_dpm.c683 struct sumo_ps *old_ps = sumo_get_ps(old_rps); in sumo_pre_notify_alt_vddnb_change() local
687 if (old_ps != NULL) in sumo_pre_notify_alt_vddnb_change()
688 nbps1_old = (old_ps->flags & SUMO_POWERSTATE_FLAGS_FORCE_NBPS1_STATE) ? 1 : 0; in sumo_pre_notify_alt_vddnb_change()
701 struct sumo_ps *old_ps = sumo_get_ps(old_rps); in sumo_post_notify_alt_vddnb_change() local
705 if (old_ps != NULL) in sumo_post_notify_alt_vddnb_change()
706 nbps1_old = (old_ps->flags & SUMO_POWERSTATE_FLAGS_FORCE_NBPS1_STATE)? 1 : 0; in sumo_post_notify_alt_vddnb_change()
758 struct sumo_ps *old_ps = sumo_get_ps(old_rps); in sumo_program_power_levels_0_to_n() local
760 u32 n_current_state_levels = (old_ps == NULL) ? 1 : old_ps->num_levels; in sumo_program_power_levels_0_to_n()
1301 struct radeon_ps *old_ps = &pi->current_rps; in sumo_dpm_set_power_state() local
1304 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.c1434 struct radeon_ps *old_ps) in rv770_set_uvd_clock_before_set_eng_clock() argument
1437 struct rv7xx_ps *current_state = rv770_get_ps(old_ps); in rv770_set_uvd_clock_before_set_eng_clock()
1439 if ((new_ps->vclk == old_ps->vclk) && in rv770_set_uvd_clock_before_set_eng_clock()
1440 (new_ps->dclk == old_ps->dclk)) in rv770_set_uvd_clock_before_set_eng_clock()
1451 struct radeon_ps *old_ps) in rv770_set_uvd_clock_after_set_eng_clock() argument
1454 struct rv7xx_ps *current_state = rv770_get_ps(old_ps); in rv770_set_uvd_clock_after_set_eng_clock()
1456 if ((new_ps->vclk == old_ps->vclk) && in rv770_set_uvd_clock_after_set_eng_clock()
1457 (new_ps->dclk == old_ps->dclk)) in rv770_set_uvd_clock_after_set_eng_clock()
2041 struct radeon_ps *old_ps = rdev->pm.dpm.current_ps; in rv770_dpm_set_power_state() local
2049 rv770_set_uvd_clock_before_set_eng_clock(rdev, new_ps, old_ps); in rv770_dpm_set_power_state()
[all …]
Drv770_dpm.h274 struct radeon_ps *old_ps);
277 struct radeon_ps *old_ps);
Dtrinity_dpm.c843 struct trinity_ps *old_ps = trinity_get_ps(old_rps); in trinity_program_power_levels_0_to_n() local
845 u32 n_current_state_levels = (old_ps == NULL) ? 1 : old_ps->num_levels; in trinity_program_power_levels_0_to_n()
1250 struct radeon_ps *old_ps = &pi->current_rps; in trinity_dpm_set_power_state() local
1256 trinity_set_uvd_clock_before_set_eng_clock(rdev, new_ps, old_ps); in trinity_dpm_set_power_state()
1261 trinity_program_power_levels_0_to_n(rdev, new_ps, old_ps); in trinity_dpm_set_power_state()
1264 trinity_set_uvd_clock_after_set_eng_clock(rdev, new_ps, old_ps); in trinity_dpm_set_power_state()
1265 trinity_set_vce_clock(rdev, new_ps, old_ps); in trinity_dpm_set_power_state()
Dni_dpm.c3508 struct radeon_ps *old_ps) in ni_set_uvd_clock_before_set_eng_clock() argument
3511 struct ni_ps *current_state = ni_get_ps(old_ps); in ni_set_uvd_clock_before_set_eng_clock()
3513 if ((new_ps->vclk == old_ps->vclk) && in ni_set_uvd_clock_before_set_eng_clock()
3514 (new_ps->dclk == old_ps->dclk)) in ni_set_uvd_clock_before_set_eng_clock()
3526 struct radeon_ps *old_ps) in ni_set_uvd_clock_after_set_eng_clock() argument
3529 struct ni_ps *current_state = ni_get_ps(old_ps); in ni_set_uvd_clock_after_set_eng_clock()
3531 if ((new_ps->vclk == old_ps->vclk) && in ni_set_uvd_clock_after_set_eng_clock()
3532 (new_ps->dclk == old_ps->dclk)) in ni_set_uvd_clock_after_set_eng_clock()
3780 struct radeon_ps *old_ps = &eg_pi->current_rps; in ni_dpm_set_power_state() local
3788 ni_set_uvd_clock_before_set_eng_clock(rdev, new_ps, old_ps); in ni_dpm_set_power_state()
[all …]
Dbtc_dpm.c2306 struct radeon_ps *old_ps = &eg_pi->current_rps; in btc_dpm_set_power_state() local
2317 cypress_notify_link_speed_change_before_state_change(rdev, new_ps, old_ps); in btc_dpm_set_power_state()
2319 rv770_set_uvd_clock_before_set_eng_clock(rdev, new_ps, old_ps); in btc_dpm_set_power_state()
2353 rv770_set_uvd_clock_after_set_eng_clock(rdev, new_ps, old_ps); in btc_dpm_set_power_state()
2356 cypress_notify_link_speed_change_after_state_change(rdev, new_ps, old_ps); in btc_dpm_set_power_state()
Dcypress_dpm.c1958 struct radeon_ps *old_ps = rdev->pm.dpm.current_ps; in cypress_dpm_set_power_state() local
1967 cypress_notify_link_speed_change_before_state_change(rdev, new_ps, old_ps); in cypress_dpm_set_power_state()
1969 rv770_set_uvd_clock_before_set_eng_clock(rdev, new_ps, old_ps); in cypress_dpm_set_power_state()
2000 rv770_set_uvd_clock_after_set_eng_clock(rdev, new_ps, old_ps); in cypress_dpm_set_power_state()
2003 cypress_notify_link_speed_change_after_state_change(rdev, new_ps, old_ps); in cypress_dpm_set_power_state()
Dsi_dpm.c6559 struct radeon_ps *old_ps = &eg_pi->current_rps; in si_dpm_set_power_state() local
6573 si_request_link_speed_change_before_state_change(rdev, new_ps, old_ps); in si_dpm_set_power_state()
6574 ni_set_uvd_clock_before_set_eng_clock(rdev, new_ps, old_ps); in si_dpm_set_power_state()
6617 si_set_pcie_lane_width_in_smc(rdev, new_ps, old_ps); in si_dpm_set_power_state()
6629 ni_set_uvd_clock_after_set_eng_clock(rdev, new_ps, old_ps); in si_dpm_set_power_state()
6630 si_set_vce_clock(rdev, new_ps, old_ps); in si_dpm_set_power_state()
6632 si_notify_link_speed_change_after_state_change(rdev, new_ps, old_ps); in si_dpm_set_power_state()
Dkv_dpm.c1856 struct radeon_ps *old_ps = &pi->current_rps; in kv_dpm_set_power_state() local
1887 ret = kv_update_vce_dpm(rdev, new_ps, old_ps); in kv_dpm_set_power_state()
1912 ret = kv_update_vce_dpm(rdev, new_ps, old_ps); in kv_dpm_set_power_state()
Dci_dpm.c5329 struct radeon_ps *old_ps = &pi->current_rps; in ci_dpm_set_power_state() local
5334 ci_request_link_speed_change_before_state_change(rdev, new_ps, old_ps); in ci_dpm_set_power_state()
5351 ret = ci_update_vce_dpm(rdev, new_ps, old_ps); in ci_dpm_set_power_state()
5385 ci_notify_link_speed_change_after_state_change(rdev, new_ps, old_ps); in ci_dpm_set_power_state()
/drivers/gpu/drm/amd/amdgpu/
Dsi_dpm.c3171 struct amdgpu_ps *old_ps) in ni_set_uvd_clock_before_set_eng_clock() argument
3174 struct si_ps *current_state = si_get_ps(old_ps); in ni_set_uvd_clock_before_set_eng_clock()
3176 if ((new_ps->vclk == old_ps->vclk) && in ni_set_uvd_clock_before_set_eng_clock()
3177 (new_ps->dclk == old_ps->dclk)) in ni_set_uvd_clock_before_set_eng_clock()
3189 struct amdgpu_ps *old_ps) in ni_set_uvd_clock_after_set_eng_clock() argument
3192 struct si_ps *current_state = si_get_ps(old_ps); in ni_set_uvd_clock_after_set_eng_clock()
3194 if ((new_ps->vclk == old_ps->vclk) && in ni_set_uvd_clock_after_set_eng_clock()
3195 (new_ps->dclk == old_ps->dclk)) in ni_set_uvd_clock_after_set_eng_clock()
6974 struct amdgpu_ps *old_ps = &eg_pi->current_rps; in si_dpm_set_power_state() local
6988 si_request_link_speed_change_before_state_change(adev, new_ps, old_ps); in si_dpm_set_power_state()
[all …]
Dkv_dpm.c1912 struct amdgpu_ps *old_ps = &pi->current_rps; in kv_dpm_set_power_state() local
1943 ret = kv_update_vce_dpm(adev, new_ps, old_ps); in kv_dpm_set_power_state()
1968 ret = kv_update_vce_dpm(adev, new_ps, old_ps); in kv_dpm_set_power_state()
Dci_dpm.c5486 struct amdgpu_ps *old_ps = &pi->current_rps; in ci_dpm_set_power_state() local
5491 ci_request_link_speed_change_before_state_change(adev, new_ps, old_ps); in ci_dpm_set_power_state()
5508 ret = ci_update_vce_dpm(adev, new_ps, old_ps); in ci_dpm_set_power_state()
5542 ci_notify_link_speed_change_after_state_change(adev, new_ps, old_ps); in ci_dpm_set_power_state()
/drivers/net/wireless/
Dmac80211_hwsim.c777 enum ps_mode old_ps; in hwsim_fops_ps_write() local
793 old_ps = data->ps; in hwsim_fops_ps_write()
797 if (old_ps == PS_DISABLED && val != PS_DISABLED) { in hwsim_fops_ps_write()
801 } else if (old_ps != PS_DISABLED && val == PS_DISABLED) { in hwsim_fops_ps_write()