Lines Matching refs:rps

35 static struct igp_ps *rs780_get_ps(struct radeon_ps *rps)  in rs780_get_ps()  argument
37 struct igp_ps *ps = rps->ps_priv; in rs780_get_ps()
718 struct radeon_ps *rps, in rs780_parse_pplib_non_clock_info() argument
722 rps->caps = le32_to_cpu(non_clock_info->ulCapsAndSettings); in rs780_parse_pplib_non_clock_info()
723 rps->class = le16_to_cpu(non_clock_info->usClassification); in rs780_parse_pplib_non_clock_info()
724 rps->class2 = le16_to_cpu(non_clock_info->usClassification2); in rs780_parse_pplib_non_clock_info()
727 rps->vclk = le32_to_cpu(non_clock_info->ulVCLK); in rs780_parse_pplib_non_clock_info()
728 rps->dclk = le32_to_cpu(non_clock_info->ulDCLK); in rs780_parse_pplib_non_clock_info()
730 rps->vclk = 0; in rs780_parse_pplib_non_clock_info()
731 rps->dclk = 0; in rs780_parse_pplib_non_clock_info()
734 if (r600_is_uvd_state(rps->class, rps->class2)) { in rs780_parse_pplib_non_clock_info()
735 if ((rps->vclk == 0) || (rps->dclk == 0)) { in rs780_parse_pplib_non_clock_info()
736 rps->vclk = RS780_DEFAULT_VCLK_FREQ; in rs780_parse_pplib_non_clock_info()
737 rps->dclk = RS780_DEFAULT_DCLK_FREQ; in rs780_parse_pplib_non_clock_info()
741 if (rps->class & ATOM_PPLIB_CLASSIFICATION_BOOT) in rs780_parse_pplib_non_clock_info()
742 rdev->pm.dpm.boot_ps = rps; in rs780_parse_pplib_non_clock_info()
743 if (rps->class & ATOM_PPLIB_CLASSIFICATION_UVDSTATE) in rs780_parse_pplib_non_clock_info()
744 rdev->pm.dpm.uvd_ps = rps; in rs780_parse_pplib_non_clock_info()
748 struct radeon_ps *rps, in rs780_parse_pplib_clock_info() argument
751 struct igp_ps *ps = rs780_get_ps(rps); in rs780_parse_pplib_clock_info()
781 if (rps->class & ATOM_PPLIB_CLASSIFICATION_BOOT) { in rs780_parse_pplib_clock_info()
939 struct radeon_ps *rps) in rs780_dpm_print_power_state() argument
941 struct igp_ps *ps = rs780_get_ps(rps); in rs780_dpm_print_power_state()
943 r600_dpm_print_class_info(rps->class, rps->class2); in rs780_dpm_print_power_state()
944 r600_dpm_print_cap_info(rps->caps); in rs780_dpm_print_power_state()
945 printk("\tuvd vclk: %d dclk: %d\n", rps->vclk, rps->dclk); in rs780_dpm_print_power_state()
950 r600_dpm_print_ps_status(rdev, rps); in rs780_dpm_print_power_state()
984 struct radeon_ps *rps = rdev->pm.dpm.current_ps; in rs780_dpm_debugfs_print_current_performance_level() local
985 struct igp_ps *ps = rs780_get_ps(rps); in rs780_dpm_debugfs_print_current_performance_level()
994 seq_printf(m, "uvd vclk: %d dclk: %d\n", rps->vclk, rps->dclk); in rs780_dpm_debugfs_print_current_performance_level()
1031 struct radeon_ps *rps = rdev->pm.dpm.current_ps; in rs780_dpm_force_performance_level() local
1032 struct igp_ps *ps = rs780_get_ps(rps); in rs780_dpm_force_performance_level()
1070 rs780_enable_voltage_scaling(rdev, rps); in rs780_dpm_force_performance_level()