Lines Matching refs:new_ps
667 struct sumo_ps *new_ps = sumo_get_ps(rps); in sumo_patch_boost_state() local
669 if (new_ps->flags & SUMO_POWERSTATE_FLAGS_BOOST_STATE) { in sumo_patch_boost_state()
670 pi->boost_pl = new_ps->levels[new_ps->num_levels - 1]; in sumo_patch_boost_state()
681 struct sumo_ps *new_ps = sumo_get_ps(new_rps); in sumo_pre_notify_alt_vddnb_change() local
689 nbps1_new = (new_ps->flags & SUMO_POWERSTATE_FLAGS_FORCE_NBPS1_STATE) ? 1 : 0; in sumo_pre_notify_alt_vddnb_change()
699 struct sumo_ps *new_ps = sumo_get_ps(new_rps); in sumo_post_notify_alt_vddnb_change() local
707 nbps1_new = (new_ps->flags & SUMO_POWERSTATE_FLAGS_FORCE_NBPS1_STATE)? 1 : 0; in sumo_post_notify_alt_vddnb_change()
717 struct sumo_ps *new_ps = sumo_get_ps(rps); in sumo_enable_boost() local
720 if (new_ps->flags & SUMO_POWERSTATE_FLAGS_BOOST_STATE) in sumo_enable_boost()
739 struct sumo_ps *new_ps = sumo_get_ps(rps); in sumo_program_wl() local
743 dpm_ctrl4 |= (1 << (new_ps->num_levels - 1)); in sumo_program_wl()
745 if (new_ps->flags & SUMO_POWERSTATE_FLAGS_BOOST_STATE) in sumo_program_wl()
756 struct sumo_ps *new_ps = sumo_get_ps(new_rps); in sumo_program_power_levels_0_to_n() local
761 for (i = 0; i < new_ps->num_levels; i++) { in sumo_program_power_levels_0_to_n()
762 sumo_program_power_level(rdev, &new_ps->levels[i], i); in sumo_program_power_levels_0_to_n()
766 for (i = new_ps->num_levels; i < n_current_state_levels; i++) in sumo_program_power_levels_0_to_n()
769 if (new_ps->flags & SUMO_POWERSTATE_FLAGS_BOOST_STATE) in sumo_program_power_levels_0_to_n()
837 struct sumo_ps *new_ps = sumo_get_ps(new_rps); in sumo_set_uvd_clock_before_set_eng_clock() local
844 if (new_ps->levels[new_ps->num_levels - 1].sclk >= in sumo_set_uvd_clock_before_set_eng_clock()
855 struct sumo_ps *new_ps = sumo_get_ps(new_rps); in sumo_set_uvd_clock_after_set_eng_clock() local
862 if (new_ps->levels[new_ps->num_levels - 1].sclk < in sumo_set_uvd_clock_after_set_eng_clock()
988 struct sumo_ps *new_ps = sumo_get_ps(rps); in sumo_force_nbp_state() local
991 if (new_ps->flags & SUMO_POWERSTATE_FLAGS_FORCE_NBPS1_STATE) in sumo_force_nbp_state()
1183 struct sumo_ps *new_ps = sumo_get_ps(rps); in sumo_update_current_ps() local
1187 pi->current_ps = *new_ps; in sumo_update_current_ps()
1194 struct sumo_ps *new_ps = sumo_get_ps(rps); in sumo_update_requested_ps() local
1198 pi->requested_ps = *new_ps; in sumo_update_requested_ps()
1284 struct radeon_ps *new_ps = &requested_ps; in sumo_dpm_pre_set_power_state() local
1286 sumo_update_requested_ps(rdev, new_ps); in sumo_dpm_pre_set_power_state()
1299 struct radeon_ps *new_ps = &pi->requested_rps; in sumo_dpm_set_power_state() local
1303 sumo_set_uvd_clock_before_set_eng_clock(rdev, new_ps, old_ps); in sumo_dpm_set_power_state()
1305 sumo_enable_boost(rdev, new_ps, false); in sumo_dpm_set_power_state()
1306 sumo_patch_boost_state(rdev, new_ps); in sumo_dpm_set_power_state()
1309 sumo_pre_notify_alt_vddnb_change(rdev, new_ps, old_ps); in sumo_dpm_set_power_state()
1314 sumo_program_power_levels_0_to_n(rdev, new_ps, old_ps); in sumo_dpm_set_power_state()
1315 sumo_program_wl(rdev, new_ps); in sumo_dpm_set_power_state()
1316 sumo_program_bsp(rdev, new_ps); in sumo_dpm_set_power_state()
1317 sumo_program_at(rdev, new_ps); in sumo_dpm_set_power_state()
1318 sumo_force_nbp_state(rdev, new_ps); in sumo_dpm_set_power_state()
1322 sumo_post_notify_alt_vddnb_change(rdev, new_ps, old_ps); in sumo_dpm_set_power_state()
1325 sumo_enable_boost(rdev, new_ps, true); in sumo_dpm_set_power_state()
1327 sumo_set_uvd_clock_after_set_eng_clock(rdev, new_ps, old_ps); in sumo_dpm_set_power_state()
1335 struct radeon_ps *new_ps = &pi->requested_rps; in sumo_dpm_post_set_power_state() local
1337 sumo_update_current_ps(rdev, new_ps); in sumo_dpm_post_set_power_state()