Lines Matching refs:kdev
889 struct kfd_topology_device *kdev = in find_system_memory() local
896 list_for_each_entry(mem, &kdev->mem_props, list) { in find_system_memory()
910 static int kfd_add_perf_to_topology(struct kfd_topology_device *kdev) in kfd_add_perf_to_topology() argument
913 return kfd_iommu_add_perf_counters(kdev); in kfd_add_perf_to_topology()
920 static void kfd_add_non_crat_information(struct kfd_topology_device *kdev) in kfd_add_non_crat_information() argument
923 if (!kdev->gpu) { in kfd_add_non_crat_information()
925 dmi_walk(find_system_memory, kdev); in kfd_add_non_crat_information()
956 struct kfd_topology_device *kdev; in kfd_topology_init() local
1018 kdev = list_first_entry(&temp_topology_device_list, in kfd_topology_init()
1020 kfd_add_perf_to_topology(kdev); in kfd_topology_init()
1043 kdev = list_first_entry(&topology_device_list, in kfd_topology_init()
1046 kfd_add_non_crat_information(kdev); in kfd_topology_init()
1408 int kfd_topology_enum_kfd_devices(uint8_t idx, struct kfd_dev **kdev) in kfd_topology_enum_kfd_devices() argument
1414 *kdev = NULL; in kfd_topology_enum_kfd_devices()
1419 *kdev = top_dev->gpu; in kfd_topology_enum_kfd_devices()