Lines Matching refs:rdev

30 static int trinity_notify_message_to_smu(struct radeon_device *rdev, u32 id)  in trinity_notify_message_to_smu()  argument
36 for (i = 0; i < rdev->usec_timeout; i++) { in trinity_notify_message_to_smu()
56 int trinity_dpm_bapm_enable(struct radeon_device *rdev, bool enable) in trinity_dpm_bapm_enable() argument
59 return trinity_notify_message_to_smu(rdev, PPSMC_MSG_EnableBAPM); in trinity_dpm_bapm_enable()
61 return trinity_notify_message_to_smu(rdev, PPSMC_MSG_DisableBAPM); in trinity_dpm_bapm_enable()
64 int trinity_dpm_config(struct radeon_device *rdev, bool enable) in trinity_dpm_config() argument
71 return trinity_notify_message_to_smu(rdev, PPSMC_MSG_DPM_Config); in trinity_dpm_config()
74 int trinity_dpm_force_state(struct radeon_device *rdev, u32 n) in trinity_dpm_force_state() argument
78 return trinity_notify_message_to_smu(rdev, PPSMC_MSG_DPM_ForceState); in trinity_dpm_force_state()
81 int trinity_dpm_n_levels_disabled(struct radeon_device *rdev, u32 n) in trinity_dpm_n_levels_disabled() argument
85 return trinity_notify_message_to_smu(rdev, PPSMC_MSG_DPM_N_LevelsDisabled); in trinity_dpm_n_levels_disabled()
88 int trinity_uvd_dpm_config(struct radeon_device *rdev) in trinity_uvd_dpm_config() argument
90 return trinity_notify_message_to_smu(rdev, PPSMC_MSG_UVD_DPM_Config); in trinity_uvd_dpm_config()
93 int trinity_dpm_no_forced_level(struct radeon_device *rdev) in trinity_dpm_no_forced_level() argument
95 return trinity_notify_message_to_smu(rdev, PPSMC_MSG_NoForcedLevel); in trinity_dpm_no_forced_level()
98 int trinity_dce_enable_voltage_adjustment(struct radeon_device *rdev, in trinity_dce_enable_voltage_adjustment() argument
102 return trinity_notify_message_to_smu(rdev, PPSMC_MSG_DCE_AllowVoltageAdjustment); in trinity_dce_enable_voltage_adjustment()
104 return trinity_notify_message_to_smu(rdev, PPSMC_MSG_DCE_RemoveVoltageAdjustment); in trinity_dce_enable_voltage_adjustment()
107 int trinity_gfx_dynamic_mgpg_config(struct radeon_device *rdev) in trinity_gfx_dynamic_mgpg_config() argument
109 return trinity_notify_message_to_smu(rdev, PPSMC_MSG_PG_SIMD_Config); in trinity_gfx_dynamic_mgpg_config()
112 void trinity_acquire_mutex(struct radeon_device *rdev) in trinity_acquire_mutex() argument
117 for (i = 0; i < rdev->usec_timeout; i++) { in trinity_acquire_mutex()
124 void trinity_release_mutex(struct radeon_device *rdev) in trinity_release_mutex() argument