Lines Matching refs:rps
144 static struct kv_ps *kv_get_ps(struct radeon_ps *rps) in kv_get_ps() argument
146 struct kv_ps *ps = rps->ps_priv; in kv_get_ps()
982 struct radeon_ps *rps) in kv_update_current_ps() argument
984 struct kv_ps *new_ps = kv_get_ps(rps); in kv_update_current_ps()
987 pi->current_rps = *rps; in kv_update_current_ps()
993 struct radeon_ps *rps) in kv_update_requested_ps() argument
995 struct kv_ps *new_ps = kv_get_ps(rps); in kv_update_requested_ps()
998 pi->requested_rps = *rps; in kv_update_requested_ps()
2381 struct radeon_ps *rps, in kv_parse_pplib_non_clock_info() argument
2385 struct kv_ps *ps = kv_get_ps(rps); in kv_parse_pplib_non_clock_info()
2387 rps->caps = le32_to_cpu(non_clock_info->ulCapsAndSettings); in kv_parse_pplib_non_clock_info()
2388 rps->class = le16_to_cpu(non_clock_info->usClassification); in kv_parse_pplib_non_clock_info()
2389 rps->class2 = le16_to_cpu(non_clock_info->usClassification2); in kv_parse_pplib_non_clock_info()
2392 rps->vclk = le32_to_cpu(non_clock_info->ulVCLK); in kv_parse_pplib_non_clock_info()
2393 rps->dclk = le32_to_cpu(non_clock_info->ulDCLK); in kv_parse_pplib_non_clock_info()
2395 rps->vclk = 0; in kv_parse_pplib_non_clock_info()
2396 rps->dclk = 0; in kv_parse_pplib_non_clock_info()
2399 if (rps->class & ATOM_PPLIB_CLASSIFICATION_BOOT) { in kv_parse_pplib_non_clock_info()
2400 rdev->pm.dpm.boot_ps = rps; in kv_parse_pplib_non_clock_info()
2403 if (rps->class & ATOM_PPLIB_CLASSIFICATION_UVDSTATE) in kv_parse_pplib_non_clock_info()
2404 rdev->pm.dpm.uvd_ps = rps; in kv_parse_pplib_non_clock_info()
2408 struct radeon_ps *rps, int index, in kv_parse_pplib_clock_info() argument
2412 struct kv_ps *ps = kv_get_ps(rps); in kv_parse_pplib_clock_info()
2646 struct radeon_ps *rps) in kv_dpm_print_power_state() argument
2649 struct kv_ps *ps = kv_get_ps(rps); in kv_dpm_print_power_state()
2651 r600_dpm_print_class_info(rps->class, rps->class2); in kv_dpm_print_power_state()
2652 r600_dpm_print_cap_info(rps->caps); in kv_dpm_print_power_state()
2653 printk("\tuvd vclk: %d dclk: %d\n", rps->vclk, rps->dclk); in kv_dpm_print_power_state()
2660 r600_dpm_print_ps_status(rdev, rps); in kv_dpm_print_power_state()