Lines Matching refs:rps

49 struct rv7xx_ps *rv770_get_ps(struct radeon_ps *rps)  in rv770_get_ps()  argument
51 struct rv7xx_ps *ps = rps->ps_priv; in rv770_get_ps()
2146 struct radeon_ps *rps, in rv7xx_parse_pplib_non_clock_info() argument
2150 rps->caps = le32_to_cpu(non_clock_info->ulCapsAndSettings); in rv7xx_parse_pplib_non_clock_info()
2151 rps->class = le16_to_cpu(non_clock_info->usClassification); in rv7xx_parse_pplib_non_clock_info()
2152 rps->class2 = le16_to_cpu(non_clock_info->usClassification2); in rv7xx_parse_pplib_non_clock_info()
2155 rps->vclk = le32_to_cpu(non_clock_info->ulVCLK); in rv7xx_parse_pplib_non_clock_info()
2156 rps->dclk = le32_to_cpu(non_clock_info->ulDCLK); in rv7xx_parse_pplib_non_clock_info()
2158 rps->vclk = 0; in rv7xx_parse_pplib_non_clock_info()
2159 rps->dclk = 0; in rv7xx_parse_pplib_non_clock_info()
2162 if (r600_is_uvd_state(rps->class, rps->class2)) { in rv7xx_parse_pplib_non_clock_info()
2163 if ((rps->vclk == 0) || (rps->dclk == 0)) { in rv7xx_parse_pplib_non_clock_info()
2164 rps->vclk = RV770_DEFAULT_VCLK_FREQ; in rv7xx_parse_pplib_non_clock_info()
2165 rps->dclk = RV770_DEFAULT_DCLK_FREQ; in rv7xx_parse_pplib_non_clock_info()
2169 if (rps->class & ATOM_PPLIB_CLASSIFICATION_BOOT) in rv7xx_parse_pplib_non_clock_info()
2170 rdev->pm.dpm.boot_ps = rps; in rv7xx_parse_pplib_non_clock_info()
2171 if (rps->class & ATOM_PPLIB_CLASSIFICATION_UVDSTATE) in rv7xx_parse_pplib_non_clock_info()
2172 rdev->pm.dpm.uvd_ps = rps; in rv7xx_parse_pplib_non_clock_info()
2176 struct radeon_ps *rps, int index, in rv7xx_parse_pplib_clock_info() argument
2181 struct rv7xx_ps *ps = rv770_get_ps(rps); in rv7xx_parse_pplib_clock_info()
2226 if (rps->class & ATOM_PPLIB_CLASSIFICATION_ACPI) { in rv7xx_parse_pplib_clock_info()
2236 if (rps->class2 & ATOM_PPLIB_CLASSIFICATION2_ULV) { in rv7xx_parse_pplib_clock_info()
2250 if (rps->class & ATOM_PPLIB_CLASSIFICATION_BOOT) { in rv7xx_parse_pplib_clock_info()
2259 if ((rps->class & ATOM_PPLIB_CLASSIFICATION_UI_MASK) == in rv7xx_parse_pplib_clock_info()
2435 struct radeon_ps *rps) in rv770_dpm_print_power_state() argument
2437 struct rv7xx_ps *ps = rv770_get_ps(rps); in rv770_dpm_print_power_state()
2440 r600_dpm_print_class_info(rps->class, rps->class2); in rv770_dpm_print_power_state()
2441 r600_dpm_print_cap_info(rps->caps); in rv770_dpm_print_power_state()
2442 printk("\tuvd vclk: %d dclk: %d\n", rps->vclk, rps->dclk); in rv770_dpm_print_power_state()
2464 r600_dpm_print_ps_status(rdev, rps); in rv770_dpm_print_power_state()
2470 struct radeon_ps *rps = rdev->pm.dpm.current_ps; in rv770_dpm_debugfs_print_current_performance_level() local
2471 struct rv7xx_ps *ps = rv770_get_ps(rps); in rv770_dpm_debugfs_print_current_performance_level()
2486 seq_printf(m, "uvd vclk: %d dclk: %d\n", rps->vclk, rps->dclk); in rv770_dpm_debugfs_print_current_performance_level()
2499 struct radeon_ps *rps = rdev->pm.dpm.current_ps; in rv770_dpm_get_current_sclk() local
2500 struct rv7xx_ps *ps = rv770_get_ps(rps); in rv770_dpm_get_current_sclk()
2521 struct radeon_ps *rps = rdev->pm.dpm.current_ps; in rv770_dpm_get_current_mclk() local
2522 struct rv7xx_ps *ps = rv770_get_ps(rps); in rv770_dpm_get_current_mclk()