Lines Matching refs:new_ps

1143 	struct kv_ps *new_ps = kv_get_ps(rps);  in kv_update_current_ps()  local
1147 pi->current_ps = *new_ps; in kv_update_current_ps()
1154 struct kv_ps *new_ps = kv_get_ps(rps); in kv_update_requested_ps() local
1158 pi->requested_ps = *new_ps; in kv_update_requested_ps()
1710 struct kv_ps *new_ps = kv_get_ps(new_rps); in kv_set_valid_clock_range() local
1718 if ((table->entries[i].clk >= new_ps->levels[0].sclk) || in kv_set_valid_clock_range()
1726 if (table->entries[i].clk <= new_ps->levels[new_ps->num_levels - 1].sclk) in kv_set_valid_clock_range()
1732 if ((new_ps->levels[0].sclk - table->entries[pi->highest_valid].clk) > in kv_set_valid_clock_range()
1733 (table->entries[pi->lowest_valid].clk - new_ps->levels[new_ps->num_levels - 1].sclk)) in kv_set_valid_clock_range()
1743 if (table->entries[i].sclk_frequency >= new_ps->levels[0].sclk || in kv_set_valid_clock_range()
1752 new_ps->levels[new_ps->num_levels - 1].sclk) in kv_set_valid_clock_range()
1758 if ((new_ps->levels[0].sclk - in kv_set_valid_clock_range()
1761 new_ps->levels[new_ps->num_levels -1].sclk)) in kv_set_valid_clock_range()
1772 struct kv_ps *new_ps = kv_get_ps(new_rps); in kv_update_dfs_bypass_settings() local
1778 clk_bypass_cntl = new_ps->need_dfs_bypass ? in kv_update_dfs_bypass_settings()
1843 struct radeon_ps *new_ps = &requested_ps; in kv_dpm_pre_set_power_state() local
1845 kv_update_requested_ps(rdev, new_ps); in kv_dpm_pre_set_power_state()
1857 struct radeon_ps *new_ps = &pi->requested_rps; in kv_dpm_set_power_state() local
1871 kv_set_valid_clock_range(rdev, new_ps); in kv_dpm_set_power_state()
1872 kv_update_dfs_bypass_settings(rdev, new_ps); in kv_dpm_set_power_state()
1883 kv_program_nbps_index_settings(rdev, new_ps); in kv_dpm_set_power_state()
1889 ret = kv_update_vce_dpm(rdev, new_ps, old_ps); in kv_dpm_set_power_state()
1900 kv_set_valid_clock_range(rdev, new_ps); in kv_dpm_set_power_state()
1901 kv_update_dfs_bypass_settings(rdev, new_ps); in kv_dpm_set_power_state()
1911 kv_program_nbps_index_settings(rdev, new_ps); in kv_dpm_set_power_state()
1914 ret = kv_update_vce_dpm(rdev, new_ps, old_ps); in kv_dpm_set_power_state()
1931 struct radeon_ps *new_ps = &pi->requested_rps; in kv_dpm_post_set_power_state() local
1933 kv_update_current_ps(rdev, new_ps); in kv_dpm_post_set_power_state()
2434 struct kv_ps *new_ps = kv_get_ps(new_rps); in kv_program_nbps_index_settings() local
2445 nbdpmconfig1 |= (Dpm0PgNbPsLo(new_ps->dpm0_pg_nb_ps_lo) | in kv_program_nbps_index_settings()
2446 Dpm0PgNbPsHi(new_ps->dpm0_pg_nb_ps_hi) | in kv_program_nbps_index_settings()
2447 DpmXNbPsLo(new_ps->dpmx_nb_ps_lo) | in kv_program_nbps_index_settings()
2448 DpmXNbPsHi(new_ps->dpmx_nb_ps_hi)); in kv_program_nbps_index_settings()