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()
719 struct radeon_ps *rps, in rs780_parse_pplib_non_clock_info() argument
723 rps->caps = le32_to_cpu(non_clock_info->ulCapsAndSettings); in rs780_parse_pplib_non_clock_info()
724 rps->class = le16_to_cpu(non_clock_info->usClassification); in rs780_parse_pplib_non_clock_info()
725 rps->class2 = le16_to_cpu(non_clock_info->usClassification2); in rs780_parse_pplib_non_clock_info()
728 rps->vclk = le32_to_cpu(non_clock_info->ulVCLK); in rs780_parse_pplib_non_clock_info()
729 rps->dclk = le32_to_cpu(non_clock_info->ulDCLK); in rs780_parse_pplib_non_clock_info()
731 rps->vclk = 0; in rs780_parse_pplib_non_clock_info()
732 rps->dclk = 0; in rs780_parse_pplib_non_clock_info()
735 if (r600_is_uvd_state(rps->class, rps->class2)) { in rs780_parse_pplib_non_clock_info()
736 if ((rps->vclk == 0) || (rps->dclk == 0)) { in rs780_parse_pplib_non_clock_info()
737 rps->vclk = RS780_DEFAULT_VCLK_FREQ; in rs780_parse_pplib_non_clock_info()
738 rps->dclk = RS780_DEFAULT_DCLK_FREQ; in rs780_parse_pplib_non_clock_info()
742 if (rps->class & ATOM_PPLIB_CLASSIFICATION_BOOT) in rs780_parse_pplib_non_clock_info()
743 rdev->pm.dpm.boot_ps = rps; in rs780_parse_pplib_non_clock_info()
744 if (rps->class & ATOM_PPLIB_CLASSIFICATION_UVDSTATE) in rs780_parse_pplib_non_clock_info()
745 rdev->pm.dpm.uvd_ps = rps; in rs780_parse_pplib_non_clock_info()
749 struct radeon_ps *rps, in rs780_parse_pplib_clock_info() argument
752 struct igp_ps *ps = rs780_get_ps(rps); in rs780_parse_pplib_clock_info()
782 if (rps->class & ATOM_PPLIB_CLASSIFICATION_BOOT) { in rs780_parse_pplib_clock_info()
940 struct radeon_ps *rps) in rs780_dpm_print_power_state() argument
942 struct igp_ps *ps = rs780_get_ps(rps); in rs780_dpm_print_power_state()
944 r600_dpm_print_class_info(rps->class, rps->class2); in rs780_dpm_print_power_state()
945 r600_dpm_print_cap_info(rps->caps); in rs780_dpm_print_power_state()
946 printk("\tuvd vclk: %d dclk: %d\n", rps->vclk, rps->dclk); in rs780_dpm_print_power_state()
951 r600_dpm_print_ps_status(rdev, rps); in rs780_dpm_print_power_state()
985 struct radeon_ps *rps = rdev->pm.dpm.current_ps; in rs780_dpm_debugfs_print_current_performance_level() local
986 struct igp_ps *ps = rs780_get_ps(rps); in rs780_dpm_debugfs_print_current_performance_level()
995 seq_printf(m, "uvd vclk: %d dclk: %d\n", rps->vclk, rps->dclk); in rs780_dpm_debugfs_print_current_performance_level()
1032 struct radeon_ps *rps = rdev->pm.dpm.current_ps; in rs780_dpm_force_performance_level() local
1033 struct igp_ps *ps = rs780_get_ps(rps); in rs780_dpm_force_performance_level()
1071 rs780_enable_voltage_scaling(rdev, rps); in rs780_dpm_force_performance_level()