Searched refs:smuio (Results 1 – 10 of 10) sorted by relevance
79 (adev->smuio.funcs && adev->smuio.funcs->get_socket_id) ? in amdgpu_cper_entry_fill_hdr()80 adev->smuio.funcs->get_socket_id(adev) : in amdgpu_cper_entry_fill_hdr()131 (adev->smuio.funcs && adev->smuio.funcs->get_socket_id) ? in amdgpu_cper_entry_fill_section_desc()132 adev->smuio.funcs->get_socket_id(adev) : in amdgpu_cper_entry_fill_section_desc()233 socket_id = (adev->smuio.funcs && adev->smuio.funcs->get_socket_id) ? in amdgpu_cper_entry_fill_bad_page_threshold_section()234 adev->smuio.funcs->get_socket_id(adev) : in amdgpu_cper_entry_fill_bad_page_threshold_section()
3270 adev->smuio.funcs = &smuio_v9_0_funcs; in amdgpu_discovery_set_ip_blocks()3278 adev->smuio.funcs = &smuio_v11_0_funcs; in amdgpu_discovery_set_ip_blocks()3288 adev->smuio.funcs = &smuio_v11_0_6_funcs; in amdgpu_discovery_set_ip_blocks()3291 adev->smuio.funcs = &smuio_v13_0_funcs; in amdgpu_discovery_set_ip_blocks()3295 adev->smuio.funcs = &smuio_v13_0_3_funcs; in amdgpu_discovery_set_ip_blocks()3296 if (adev->smuio.funcs->get_pkg_type(adev) == AMDGPU_PKG_TYPE_APU) { in amdgpu_discovery_set_ip_blocks()3304 adev->smuio.funcs = &smuio_v13_0_6_funcs; in amdgpu_discovery_set_ip_blocks()3307 adev->smuio.funcs = &smuio_v14_0_2_funcs; in amdgpu_discovery_set_ip_blocks()3310 adev->smuio.funcs = &smuio_v15_0_0_funcs; in amdgpu_discovery_set_ip_blocks()3313 adev->smuio.funcs = &smuio_v15_0_8_funcs; in amdgpu_discovery_set_ip_blocks()
1382 if (1 & adev->smuio.funcs->get_die_id(adev)) in gmc_v9_0_set_umc_funcs()1582 adev->smuio.funcs->is_host_gpu_xgmi_supported(adev); in gmc_v9_0_early_init()1587 adev->smuio.funcs->get_pkg_type(adev); in gmc_v9_0_early_init()
981 struct amdgpu_smuio smuio; member
2875 if (adev->smuio.funcs && in gfx_v12_1_get_gpu_clock_counter()2876 adev->smuio.funcs->get_gpu_clock_counter) in gfx_v12_1_get_gpu_clock_counter()2877 clock = adev->smuio.funcs->get_gpu_clock_counter(adev); in gfx_v12_1_get_gpu_clock_counter()
342 if (adev->smuio.funcs && adev->smuio.funcs->get_pkg_type) in amdgpu_device_get_board_info()343 pkg_type = adev->smuio.funcs->get_pkg_type(adev); in amdgpu_device_get_board_info()
3872 if (adev->smuio.funcs && in gfx_v12_0_get_gpu_clock_counter()3873 adev->smuio.funcs->get_gpu_clock_counter) in gfx_v12_0_get_gpu_clock_counter()3874 clock = adev->smuio.funcs->get_gpu_clock_counter(adev); in gfx_v12_0_get_gpu_clock_counter()
1148 adev->smuio.funcs->get_die_id(adev)); in gfx_v9_0_init_golden_registers()
278 if (adev->smuio.funcs->get_socket_id(adev) || in aldebaran_select_plpd_policy()279 adev->smuio.funcs->get_die_id(adev)) in aldebaran_select_plpd_policy()547 if (adev->smuio.funcs && adev->smuio.funcs->get_die_id) in aldebaran_is_primary()548 return adev->smuio.funcs->get_die_id(adev) == 0; in aldebaran_is_primary()
2133 kdev->adev->smuio.funcs->get_pkg_type(kdev->adev) == in kfd_fill_gpu_direct_io_link_to_cpu()