Lines Matching refs:new_ps
1226 struct kv_ps *new_ps = kv_get_ps(rps); in kv_update_current_ps() local
1230 pi->current_ps = *new_ps; in kv_update_current_ps()
1238 struct kv_ps *new_ps = kv_get_ps(rps); in kv_update_requested_ps() local
1242 pi->requested_ps = *new_ps; in kv_update_requested_ps()
1777 struct kv_ps *new_ps = kv_get_ps(new_rps); in kv_set_valid_clock_range() local
1785 if ((table->entries[i].clk >= new_ps->levels[0].sclk) || in kv_set_valid_clock_range()
1793 if (table->entries[i].clk <= new_ps->levels[new_ps->num_levels - 1].sclk) in kv_set_valid_clock_range()
1799 if ((new_ps->levels[0].sclk - table->entries[pi->highest_valid].clk) > in kv_set_valid_clock_range()
1800 (table->entries[pi->lowest_valid].clk - new_ps->levels[new_ps->num_levels - 1].sclk)) in kv_set_valid_clock_range()
1810 if (table->entries[i].sclk_frequency >= new_ps->levels[0].sclk || in kv_set_valid_clock_range()
1819 new_ps->levels[new_ps->num_levels - 1].sclk) in kv_set_valid_clock_range()
1825 if ((new_ps->levels[0].sclk - in kv_set_valid_clock_range()
1828 new_ps->levels[new_ps->num_levels -1].sclk)) in kv_set_valid_clock_range()
1839 struct kv_ps *new_ps = kv_get_ps(new_rps); in kv_update_dfs_bypass_settings() local
1845 clk_bypass_cntl = new_ps->need_dfs_bypass ? in kv_update_dfs_bypass_settings()
1912 struct amdgpu_ps *new_ps = &requested_ps; in kv_dpm_pre_set_power_state() local
1914 kv_update_requested_ps(adev, new_ps); in kv_dpm_pre_set_power_state()
1927 struct amdgpu_ps *new_ps = &pi->requested_rps; in kv_dpm_set_power_state() local
1941 kv_set_valid_clock_range(adev, new_ps); in kv_dpm_set_power_state()
1942 kv_update_dfs_bypass_settings(adev, new_ps); in kv_dpm_set_power_state()
1953 kv_program_nbps_index_settings(adev, new_ps); in kv_dpm_set_power_state()
1959 ret = kv_update_vce_dpm(adev, new_ps, old_ps); in kv_dpm_set_power_state()
1970 kv_set_valid_clock_range(adev, new_ps); in kv_dpm_set_power_state()
1971 kv_update_dfs_bypass_settings(adev, new_ps); in kv_dpm_set_power_state()
1981 kv_program_nbps_index_settings(adev, new_ps); in kv_dpm_set_power_state()
1984 ret = kv_update_vce_dpm(adev, new_ps, old_ps); in kv_dpm_set_power_state()
2002 struct amdgpu_ps *new_ps = &pi->requested_rps; in kv_dpm_post_set_power_state() local
2004 kv_update_current_ps(adev, new_ps); in kv_dpm_post_set_power_state()
2502 struct kv_ps *new_ps = kv_get_ps(new_rps); in kv_program_nbps_index_settings() local
2515 nbdpmconfig1 |= (new_ps->dpm0_pg_nb_ps_lo << NB_DPM_CONFIG_1__Dpm0PgNbPsLo__SHIFT) | in kv_program_nbps_index_settings()
2516 (new_ps->dpm0_pg_nb_ps_hi << NB_DPM_CONFIG_1__Dpm0PgNbPsHi__SHIFT) | in kv_program_nbps_index_settings()
2517 (new_ps->dpmx_nb_ps_lo << NB_DPM_CONFIG_1__DpmXNbPsLo__SHIFT) | in kv_program_nbps_index_settings()
2518 (new_ps->dpmx_nb_ps_hi << NB_DPM_CONFIG_1__DpmXNbPsHi__SHIFT); in kv_program_nbps_index_settings()