Lines Matching refs:smu

125 	struct smu_context *smu = adev->powerplay.pp_handle;  in amdgpu_dpm_set_gfx_power_up_by_imu()  local
129 ret = smu_set_gfx_power_up_by_imu(smu); in amdgpu_dpm_set_gfx_power_up_by_imu()
289 struct smu_context *smu = adev->powerplay.pp_handle; in amdgpu_dpm_is_mode1_reset_supported() local
294 support_mode1_reset = smu_mode1_reset_is_support(smu); in amdgpu_dpm_is_mode1_reset_supported()
303 struct smu_context *smu = adev->powerplay.pp_handle; in amdgpu_dpm_mode1_reset() local
308 ret = smu_mode1_reset(smu); in amdgpu_dpm_mode1_reset()
317 struct smu_context *smu = adev->powerplay.pp_handle; in amdgpu_dpm_is_link_reset_supported() local
322 support_link_reset = smu_link_reset_is_support(smu); in amdgpu_dpm_is_link_reset_supported()
331 struct smu_context *smu = adev->powerplay.pp_handle; in amdgpu_dpm_link_reset() local
336 ret = smu_link_reset(smu); in amdgpu_dpm_link_reset()
417 struct smu_context *smu = adev->powerplay.pp_handle; in amdgpu_dpm_get_pm_policy_info() local
422 ret = smu_get_pm_policy_info(smu, p_type, buf); in amdgpu_dpm_get_pm_policy_info()
432 struct smu_context *smu = adev->powerplay.pp_handle; in amdgpu_dpm_set_pm_policy() local
437 ret = smu_set_pm_policy(smu, policy_type, policy_level); in amdgpu_dpm_set_pm_policy()
709 struct smu_context *smu = adev->powerplay.pp_handle; in amdgpu_dpm_send_hbm_bad_pages_num() local
716 ret = smu_send_hbm_bad_pages_num(smu, size); in amdgpu_dpm_send_hbm_bad_pages_num()
724 struct smu_context *smu = adev->powerplay.pp_handle; in amdgpu_dpm_send_hbm_bad_channel_flag() local
731 ret = smu_send_hbm_bad_channel_flag(smu, size); in amdgpu_dpm_send_hbm_bad_channel_flag()
739 struct smu_context *smu = adev->powerplay.pp_handle; in amdgpu_dpm_send_rma_reason() local
746 ret = smu_send_rma_reason(smu); in amdgpu_dpm_send_rma_reason()
762 struct smu_context *smu = adev->powerplay.pp_handle; in amdgpu_dpm_reset_sdma_is_supported() local
769 ret = smu_reset_sdma_is_supported(smu); in amdgpu_dpm_reset_sdma_is_supported()
777 struct smu_context *smu = adev->powerplay.pp_handle; in amdgpu_dpm_reset_sdma() local
784 ret = smu_reset_sdma(smu, inst_mask); in amdgpu_dpm_reset_sdma()
792 struct smu_context *smu = adev->powerplay.pp_handle; in amdgpu_dpm_reset_vcn() local
799 ret = smu_reset_vcn(smu, inst_mask); in amdgpu_dpm_reset_vcn()
807 struct smu_context *smu = adev->powerplay.pp_handle; in amdgpu_dpm_reset_vcn_is_supported() local
814 ret = smu_reset_vcn_is_supported(smu); in amdgpu_dpm_reset_vcn_is_supported()
848 struct smu_context *smu = adev->powerplay.pp_handle; in amdgpu_dpm_set_soft_freq_range() local
855 return smu_set_soft_freq_range(smu, in amdgpu_dpm_set_soft_freq_range()
863 struct smu_context *smu = adev->powerplay.pp_handle; in amdgpu_dpm_write_watermarks_table() local
870 ret = smu_write_watermarks_table(smu); in amdgpu_dpm_write_watermarks_table()
880 struct smu_context *smu = adev->powerplay.pp_handle; in amdgpu_dpm_wait_for_event() local
887 ret = smu_wait_for_event(smu, event, event_arg); in amdgpu_dpm_wait_for_event()
895 struct smu_context *smu = adev->powerplay.pp_handle; in amdgpu_dpm_set_residency_gfxoff() local
902 ret = smu_set_residency_gfxoff(smu, value); in amdgpu_dpm_set_residency_gfxoff()
910 struct smu_context *smu = adev->powerplay.pp_handle; in amdgpu_dpm_get_residency_gfxoff() local
917 ret = smu_get_residency_gfxoff(smu, value); in amdgpu_dpm_get_residency_gfxoff()
925 struct smu_context *smu = adev->powerplay.pp_handle; in amdgpu_dpm_get_entrycount_gfxoff() local
932 ret = smu_get_entrycount_gfxoff(smu, value); in amdgpu_dpm_get_entrycount_gfxoff()
940 struct smu_context *smu = adev->powerplay.pp_handle; in amdgpu_dpm_get_status_gfxoff() local
947 ret = smu_get_status_gfxoff(smu, value); in amdgpu_dpm_get_status_gfxoff()
955 struct smu_context *smu = adev->powerplay.pp_handle; in amdgpu_dpm_get_thermal_throttling_counter() local
960 return atomic64_read(&smu->throttle_int_counter); in amdgpu_dpm_get_thermal_throttling_counter()
982 struct smu_context *smu = adev->powerplay.pp_handle; in amdgpu_dpm_get_ecc_info() local
989 ret = smu_get_ecc_info(smu, umc_ecc); in amdgpu_dpm_get_ecc_info()
1673 struct smu_context *smu = adev->powerplay.pp_handle; in amdgpu_dpm_is_overdrive_supported() local
1675 return (smu->od_enabled || smu->is_apu); in amdgpu_dpm_is_overdrive_supported()
1695 struct smu_context *smu = adev->powerplay.pp_handle; in amdgpu_dpm_is_overdrive_enabled() local
1697 return smu->od_enabled; in amdgpu_dpm_is_overdrive_enabled()
1738 struct smu_context *smu = adev->powerplay.pp_handle; in amdgpu_dpm_get_num_cpu_cores() local
1743 return smu->cpu_core_num; in amdgpu_dpm_get_num_cpu_cores()