Searched refs:smuio (Results 1 – 18 of 18) sorted by relevance
547 if (!adev->smuio.funcs || in amdgpu_soc15_read_bios_from_rom()548 !adev->smuio.funcs->get_rom_index_offset || in amdgpu_soc15_read_bios_from_rom()549 !adev->smuio.funcs->get_rom_data_offset) in amdgpu_soc15_read_bios_from_rom()556 adev->smuio.funcs->get_rom_index_offset(adev); in amdgpu_soc15_read_bios_from_rom()558 adev->smuio.funcs->get_rom_data_offset(adev); in amdgpu_soc15_read_bios_from_rom()
77 (adev->smuio.funcs && adev->smuio.funcs->get_socket_id) ? in amdgpu_cper_entry_fill_hdr()78 adev->smuio.funcs->get_socket_id(adev) : in amdgpu_cper_entry_fill_hdr()129 (adev->smuio.funcs && adev->smuio.funcs->get_socket_id) ? in amdgpu_cper_entry_fill_section_desc()130 adev->smuio.funcs->get_socket_id(adev) : in amdgpu_cper_entry_fill_section_desc()
147 .socket_id = adev->smuio.funcs->get_socket_id(adev), in umc_v12_0_query_error_count()307 adev->smuio.funcs && in umc_v12_0_query_error_address()308 adev->smuio.funcs->get_socket_id) in umc_v12_0_query_error_address()309 addr_in.ma.socket_id = adev->smuio.funcs->get_socket_id(adev); in umc_v12_0_query_error_address()
1154 adev->smuio.funcs && in amdgpu_ras_error_generate_report()1155 adev->smuio.funcs->get_socket_id && in amdgpu_ras_error_generate_report()1156 adev->smuio.funcs->get_die_id) { in amdgpu_ras_error_generate_report()1177 adev->smuio.funcs && in amdgpu_ras_error_generate_report()1179 adev->smuio.funcs->get_die_id) { in amdgpu_ras_error_generate_report()1200 adev->smuio.funcs && in amdgpu_ras_error_generate_report()1202 adev->smuio.funcs->get_die_id) { in amdgpu_ras_error_generate_report()2744 if (adev->smuio.funcs && adev->smuio.funcs->get_socket_id) in amdgpu_ras_mca2pa_by_idx()2772 if (adev->smuio.funcs && adev->smuio.funcs->get_socket_id) in amdgpu_ras_mca2pa()4006 if (adev->smuio.funcs && in amdgpu_ras_init()[all …]
1433 adev->smuio.funcs->update_rom_clock_gating(adev, in soc15_common_set_clockgating_state()1493 if (adev->smuio.funcs && adev->smuio.funcs->get_clock_gating_state) in soc15_common_get_clockgating_state()1494 adev->smuio.funcs->get_clock_gating_state(adev, flags); in soc15_common_get_clockgating_state()
2977 adev->smuio.funcs = &smuio_v9_0_funcs; in amdgpu_discovery_set_ip_blocks()2985 adev->smuio.funcs = &smuio_v11_0_funcs; in amdgpu_discovery_set_ip_blocks()2995 adev->smuio.funcs = &smuio_v11_0_6_funcs; in amdgpu_discovery_set_ip_blocks()2998 adev->smuio.funcs = &smuio_v13_0_funcs; in amdgpu_discovery_set_ip_blocks()3002 adev->smuio.funcs = &smuio_v13_0_3_funcs; in amdgpu_discovery_set_ip_blocks()3003 if (adev->smuio.funcs->get_pkg_type(adev) == AMDGPU_PKG_TYPE_APU) { in amdgpu_discovery_set_ip_blocks()3011 adev->smuio.funcs = &smuio_v13_0_6_funcs; in amdgpu_discovery_set_ip_blocks()3014 adev->smuio.funcs = &smuio_v14_0_2_funcs; in amdgpu_discovery_set_ip_blocks()
1065 adev->smuio.funcs->update_rom_clock_gating(adev, in nv_common_set_clockgating_state()1092 adev->smuio.funcs->get_clock_gating_state(adev, flags); in nv_common_get_clockgating_state()
1495 if (1 & adev->smuio.funcs->get_die_id(adev)) in gmc_v9_0_set_umc_funcs()1648 adev->smuio.funcs->is_host_gpu_xgmi_supported(adev); in gmc_v9_0_early_init()1653 adev->smuio.funcs->get_pkg_type(adev); in gmc_v9_0_early_init()
661 .socket_id = adev->smuio.funcs->get_socket_id(adev), in mmhub_v1_8_inst_query_ras_error_count()
1516 .socket_id = adev->smuio.funcs->get_socket_id(adev), in xgmi_v6_4_0_query_error_count()
1016 struct amdgpu_smuio smuio; member
368 if (adev->smuio.funcs && adev->smuio.funcs->get_pkg_type) in amdgpu_device_get_board_info()369 pkg_type = adev->smuio.funcs->get_pkg_type(adev); in amdgpu_device_get_board_info()
3688 if (adev->smuio.funcs && in gfx_v12_0_get_gpu_clock_counter()3689 adev->smuio.funcs->get_gpu_clock_counter) in gfx_v12_0_get_gpu_clock_counter()3690 clock = adev->smuio.funcs->get_gpu_clock_counter(adev); in gfx_v12_0_get_gpu_clock_counter()
2468 .socket_id = adev->smuio.funcs->get_socket_id(adev), in sdma_v4_4_2_inst_query_ras_error_count()
4334 .socket_id = adev->smuio.funcs->get_socket_id(adev), in gfx_v9_4_3_inst_query_ras_err_count()
1121 adev->smuio.funcs->get_die_id(adev)); in gfx_v9_0_init_golden_registers()
276 if (adev->smuio.funcs->get_socket_id(adev) || in aldebaran_select_plpd_policy()277 adev->smuio.funcs->get_die_id(adev)) in aldebaran_select_plpd_policy()501 if (adev->smuio.funcs && adev->smuio.funcs->get_die_id) in aldebaran_is_primary()502 return adev->smuio.funcs->get_die_id(adev) == 0; in aldebaran_is_primary()
2131 kdev->adev->smuio.funcs->get_pkg_type(kdev->adev) == in kfd_fill_gpu_direct_io_link_to_cpu()