Lines Matching refs:kdev
922 struct kfd_topology_device *kdev = in find_system_memory() local
929 list_for_each_entry(mem, &kdev->mem_props, list) { in find_system_memory()
943 static int kfd_add_perf_to_topology(struct kfd_topology_device *kdev) in kfd_add_perf_to_topology() argument
946 return kfd_iommu_add_perf_counters(kdev); in kfd_add_perf_to_topology()
953 static void kfd_add_non_crat_information(struct kfd_topology_device *kdev) in kfd_add_non_crat_information() argument
956 if (!kdev->gpu) { in kfd_add_non_crat_information()
958 dmi_walk(find_system_memory, kdev); in kfd_add_non_crat_information()
989 struct kfd_topology_device *kdev; in kfd_topology_init() local
1051 kdev = list_first_entry(&temp_topology_device_list, in kfd_topology_init()
1053 kfd_add_perf_to_topology(kdev); in kfd_topology_init()
1075 kdev = list_first_entry(&topology_device_list, in kfd_topology_init()
1078 kfd_add_non_crat_information(kdev); in kfd_topology_init()
1462 int kfd_topology_enum_kfd_devices(uint8_t idx, struct kfd_dev **kdev) in kfd_topology_enum_kfd_devices() argument
1468 *kdev = NULL; in kfd_topology_enum_kfd_devices()
1473 *kdev = top_dev->gpu; in kfd_topology_enum_kfd_devices()