Lines Matching refs:rps

74 static struct sumo_ps *sumo_get_ps(struct radeon_ps *rps)  in sumo_get_ps()  argument
76 struct sumo_ps *ps = rps->ps_priv; in sumo_get_ps()
342 struct radeon_ps *rps) in sumo_program_bsp() argument
345 struct sumo_ps *ps = sumo_get_ps(rps); in sumo_program_bsp()
385 struct radeon_ps *rps) in sumo_program_at() argument
388 struct sumo_ps *ps = sumo_get_ps(rps); in sumo_program_at()
664 struct radeon_ps *rps) in sumo_patch_boost_state() argument
667 struct sumo_ps *new_ps = sumo_get_ps(rps); in sumo_patch_boost_state()
714 struct radeon_ps *rps, in sumo_enable_boost() argument
717 struct sumo_ps *new_ps = sumo_get_ps(rps); in sumo_enable_boost()
737 struct radeon_ps *rps) in sumo_program_wl() argument
739 struct sumo_ps *new_ps = sumo_get_ps(rps); in sumo_program_wl()
985 struct radeon_ps *rps) in sumo_force_nbp_state() argument
988 struct sumo_ps *new_ps = sumo_get_ps(rps); in sumo_force_nbp_state()
1181 struct radeon_ps *rps) in sumo_update_current_ps() argument
1183 struct sumo_ps *new_ps = sumo_get_ps(rps); in sumo_update_current_ps()
1186 pi->current_rps = *rps; in sumo_update_current_ps()
1192 struct radeon_ps *rps) in sumo_update_requested_ps() argument
1194 struct sumo_ps *new_ps = sumo_get_ps(rps); in sumo_update_requested_ps()
1197 pi->requested_rps = *rps; in sumo_update_requested_ps()
1403 struct radeon_ps *rps, in sumo_parse_pplib_non_clock_info() argument
1407 struct sumo_ps *ps = sumo_get_ps(rps); in sumo_parse_pplib_non_clock_info()
1409 rps->caps = le32_to_cpu(non_clock_info->ulCapsAndSettings); in sumo_parse_pplib_non_clock_info()
1410 rps->class = le16_to_cpu(non_clock_info->usClassification); in sumo_parse_pplib_non_clock_info()
1411 rps->class2 = le16_to_cpu(non_clock_info->usClassification2); in sumo_parse_pplib_non_clock_info()
1414 rps->vclk = le32_to_cpu(non_clock_info->ulVCLK); in sumo_parse_pplib_non_clock_info()
1415 rps->dclk = le32_to_cpu(non_clock_info->ulDCLK); in sumo_parse_pplib_non_clock_info()
1417 rps->vclk = 0; in sumo_parse_pplib_non_clock_info()
1418 rps->dclk = 0; in sumo_parse_pplib_non_clock_info()
1421 if (rps->class & ATOM_PPLIB_CLASSIFICATION_BOOT) { in sumo_parse_pplib_non_clock_info()
1422 rdev->pm.dpm.boot_ps = rps; in sumo_parse_pplib_non_clock_info()
1425 if (rps->class & ATOM_PPLIB_CLASSIFICATION_UVDSTATE) in sumo_parse_pplib_non_clock_info()
1426 rdev->pm.dpm.uvd_ps = rps; in sumo_parse_pplib_non_clock_info()
1430 struct radeon_ps *rps, int index, in sumo_parse_pplib_clock_info() argument
1434 struct sumo_ps *ps = sumo_get_ps(rps); in sumo_parse_pplib_clock_info()
1795 struct radeon_ps *rps) in sumo_dpm_print_power_state() argument
1798 struct sumo_ps *ps = sumo_get_ps(rps); in sumo_dpm_print_power_state()
1800 r600_dpm_print_class_info(rps->class, rps->class2); in sumo_dpm_print_power_state()
1801 r600_dpm_print_cap_info(rps->caps); in sumo_dpm_print_power_state()
1802 printk("\tuvd vclk: %d dclk: %d\n", rps->vclk, rps->dclk); in sumo_dpm_print_power_state()
1809 r600_dpm_print_ps_status(rdev, rps); in sumo_dpm_print_power_state()
1816 struct radeon_ps *rps = &pi->current_rps; in sumo_dpm_debugfs_print_current_performance_level() local
1817 struct sumo_ps *ps = sumo_get_ps(rps); in sumo_dpm_debugfs_print_current_performance_level()
1825 seq_printf(m, "uvd vclk: %d dclk: %d\n", rps->vclk, rps->dclk); in sumo_dpm_debugfs_print_current_performance_level()
1833 seq_printf(m, "uvd vclk: %d dclk: %d\n", rps->vclk, rps->dclk); in sumo_dpm_debugfs_print_current_performance_level()
1843 struct radeon_ps *rps = &pi->current_rps; in sumo_dpm_get_current_sclk() local
1844 struct sumo_ps *ps = sumo_get_ps(rps); in sumo_dpm_get_current_sclk()
1871 struct radeon_ps *rps = &pi->current_rps; in sumo_dpm_get_current_vddc() local
1872 struct sumo_ps *ps = sumo_get_ps(rps); in sumo_dpm_get_current_vddc()
1923 struct radeon_ps *rps = &pi->current_rps; in sumo_dpm_force_performance_level() local
1924 struct sumo_ps *ps = sumo_get_ps(rps); in sumo_dpm_force_performance_level()
1932 sumo_enable_boost(rdev, rps, false); in sumo_dpm_force_performance_level()
1944 sumo_enable_boost(rdev, rps, false); in sumo_dpm_force_performance_level()
1959 sumo_enable_boost(rdev, rps, true); in sumo_dpm_force_performance_level()