Lines Matching refs:new_ps
984 struct kv_ps *new_ps = kv_get_ps(rps); in kv_update_current_ps() local
988 pi->current_ps = *new_ps; in kv_update_current_ps()
995 struct kv_ps *new_ps = kv_get_ps(rps); in kv_update_requested_ps() local
999 pi->requested_ps = *new_ps; in kv_update_requested_ps()
1529 struct kv_ps *new_ps = kv_get_ps(new_rps); in kv_set_valid_clock_range() local
1537 if ((table->entries[i].clk >= new_ps->levels[0].sclk) || in kv_set_valid_clock_range()
1545 if (table->entries[i].clk <= new_ps->levels[new_ps->num_levels - 1].sclk) in kv_set_valid_clock_range()
1551 if ((new_ps->levels[0].sclk - table->entries[pi->highest_valid].clk) > in kv_set_valid_clock_range()
1552 (table->entries[pi->lowest_valid].clk - new_ps->levels[new_ps->num_levels - 1].sclk)) in kv_set_valid_clock_range()
1562 if (table->entries[i].sclk_frequency >= new_ps->levels[0].sclk || in kv_set_valid_clock_range()
1571 new_ps->levels[new_ps->num_levels - 1].sclk) in kv_set_valid_clock_range()
1577 if ((new_ps->levels[0].sclk - in kv_set_valid_clock_range()
1580 new_ps->levels[new_ps->num_levels -1].sclk)) in kv_set_valid_clock_range()
1591 struct kv_ps *new_ps = kv_get_ps(new_rps); in kv_update_dfs_bypass_settings() local
1597 clk_bypass_cntl = new_ps->need_dfs_bypass ? in kv_update_dfs_bypass_settings()
1662 struct radeon_ps *new_ps = &requested_ps; in kv_dpm_pre_set_power_state() local
1664 kv_update_requested_ps(rdev, new_ps); in kv_dpm_pre_set_power_state()
1676 struct radeon_ps *new_ps = &pi->requested_rps; in kv_dpm_set_power_state() local
1690 kv_set_valid_clock_range(rdev, new_ps); in kv_dpm_set_power_state()
1691 kv_update_dfs_bypass_settings(rdev, new_ps); in kv_dpm_set_power_state()
1702 kv_program_nbps_index_settings(rdev, new_ps); in kv_dpm_set_power_state()
1708 ret = kv_update_vce_dpm(rdev, new_ps, old_ps); in kv_dpm_set_power_state()
1719 kv_set_valid_clock_range(rdev, new_ps); in kv_dpm_set_power_state()
1720 kv_update_dfs_bypass_settings(rdev, new_ps); in kv_dpm_set_power_state()
1730 kv_program_nbps_index_settings(rdev, new_ps); in kv_dpm_set_power_state()
1733 ret = kv_update_vce_dpm(rdev, new_ps, old_ps); in kv_dpm_set_power_state()
1750 struct radeon_ps *new_ps = &pi->requested_rps; in kv_dpm_post_set_power_state() local
1752 kv_update_current_ps(rdev, new_ps); in kv_dpm_post_set_power_state()
2230 struct kv_ps *new_ps = kv_get_ps(new_rps); in kv_program_nbps_index_settings() local
2241 nbdpmconfig1 |= (Dpm0PgNbPsLo(new_ps->dpm0_pg_nb_ps_lo) | in kv_program_nbps_index_settings()
2242 Dpm0PgNbPsHi(new_ps->dpm0_pg_nb_ps_hi) | in kv_program_nbps_index_settings()
2243 DpmXNbPsLo(new_ps->dpmx_nb_ps_lo) | in kv_program_nbps_index_settings()
2244 DpmXNbPsHi(new_ps->dpmx_nb_ps_hi)); in kv_program_nbps_index_settings()