• Home
  • Raw
  • Download

Lines Matching refs:rps

34 static struct igp_ps *rs780_get_ps(struct radeon_ps *rps)  in rs780_get_ps()  argument
36 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()
938 struct radeon_ps *rps) in rs780_dpm_print_power_state() argument
940 struct igp_ps *ps = rs780_get_ps(rps); in rs780_dpm_print_power_state()
942 r600_dpm_print_class_info(rps->class, rps->class2); in rs780_dpm_print_power_state()
943 r600_dpm_print_cap_info(rps->caps); in rs780_dpm_print_power_state()
944 printk("\tuvd vclk: %d dclk: %d\n", rps->vclk, rps->dclk); in rs780_dpm_print_power_state()
949 r600_dpm_print_ps_status(rdev, rps); in rs780_dpm_print_power_state()
983 struct radeon_ps *rps = rdev->pm.dpm.current_ps; in rs780_dpm_debugfs_print_current_performance_level() local
984 struct igp_ps *ps = rs780_get_ps(rps); in rs780_dpm_debugfs_print_current_performance_level()
993 seq_printf(m, "uvd vclk: %d dclk: %d\n", rps->vclk, rps->dclk); in rs780_dpm_debugfs_print_current_performance_level()
1030 struct radeon_ps *rps = rdev->pm.dpm.current_ps; in rs780_dpm_force_performance_level() local
1031 struct igp_ps *ps = rs780_get_ps(rps); in rs780_dpm_force_performance_level()
1069 rs780_enable_voltage_scaling(rdev, rps); in rs780_dpm_force_performance_level()