Lines Matching refs:current_ps
967 struct trinity_ps *current_ps = trinity_get_ps(new_rps); in trinity_set_uvd_clock_before_set_eng_clock() local
970 current_ps->levels[current_ps->num_levels - 1].sclk) in trinity_set_uvd_clock_before_set_eng_clock()
981 struct trinity_ps *current_ps = trinity_get_ps(old_rps); in trinity_set_uvd_clock_after_set_eng_clock() local
984 current_ps->levels[current_ps->num_levels - 1].sclk) in trinity_set_uvd_clock_after_set_eng_clock()
1074 pi->current_ps = *new_ps; in trinity_update_current_ps()
1075 pi->current_rps.ps_priv = &pi->current_ps; in trinity_update_current_ps()
1353 pi->current_ps.num_levels = 1; in trinity_construct_boot_state()
1354 pi->current_ps.levels[0] = pi->boot_pl; in trinity_construct_boot_state()
1400 struct trinity_ps *current_ps) in trinity_patch_thermal_state() argument
1408 if (current_ps) { in trinity_patch_thermal_state()
1409 current_vddc = current_ps->levels[current_index].vddc_index; in trinity_patch_thermal_state()
1410 current_sclk = current_ps->levels[current_index].sclk; in trinity_patch_thermal_state()
1539 struct trinity_ps *current_ps = trinity_get_ps(old_rps); in trinity_apply_state_adjust_rules() local
1550 return trinity_patch_thermal_state(rdev, ps, current_ps); in trinity_apply_state_adjust_rules()