Lines Matching refs:new_ps
799 struct trinity_ps *new_ps = trinity_get_ps(new_rps); in trinity_program_power_levels_0_to_n() local
804 for (i = 0; i < new_ps->num_levels; i++) { in trinity_program_power_levels_0_to_n()
805 trinity_program_power_level(rdev, &new_ps->levels[i], i); in trinity_program_power_levels_0_to_n()
809 for (i = new_ps->num_levels; i < n_current_state_levels; i++) in trinity_program_power_levels_0_to_n()
922 struct trinity_ps *new_ps = trinity_get_ps(new_rps); in trinity_set_uvd_clock_before_set_eng_clock() local
925 if (new_ps->levels[new_ps->num_levels - 1].sclk >= in trinity_set_uvd_clock_before_set_eng_clock()
936 struct trinity_ps *new_ps = trinity_get_ps(new_rps); in trinity_set_uvd_clock_after_set_eng_clock() local
939 if (new_ps->levels[new_ps->num_levels - 1].sclk < in trinity_set_uvd_clock_after_set_eng_clock()
1026 struct trinity_ps *new_ps = trinity_get_ps(rps); in trinity_update_current_ps() local
1030 pi->current_ps = *new_ps; in trinity_update_current_ps()
1037 struct trinity_ps *new_ps = trinity_get_ps(rps); in trinity_update_requested_ps() local
1041 pi->requested_ps = *new_ps; in trinity_update_requested_ps()
1143 struct trinity_ps *new_ps = trinity_get_ps(rps); in trinity_setup_nbp_sim() local
1149 nbpsconfig |= (Dpm0PgNbPsLo(new_ps->Dpm0PgNbPsLo) | in trinity_setup_nbp_sim()
1150 Dpm0PgNbPsHi(new_ps->Dpm0PgNbPsHi) | in trinity_setup_nbp_sim()
1151 DpmXNbPsLo(new_ps->DpmXNbPsLo) | in trinity_setup_nbp_sim()
1152 DpmXNbPsHi(new_ps->DpmXNbPsHi)); in trinity_setup_nbp_sim()
1192 struct radeon_ps *new_ps = &requested_ps; in trinity_dpm_pre_set_power_state() local
1194 trinity_update_requested_ps(rdev, new_ps); in trinity_dpm_pre_set_power_state()
1206 struct radeon_ps *new_ps = &pi->requested_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()
1217 trinity_setup_nbp_sim(rdev, new_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()
1232 struct radeon_ps *new_ps = &pi->requested_rps; in trinity_dpm_post_set_power_state() local
1234 trinity_update_current_ps(rdev, new_ps); in trinity_dpm_post_set_power_state()