Lines Matching refs:kdev
869 struct kfd_topology_device *kdev = in find_system_memory() local
876 list_for_each_entry(mem, &kdev->mem_props, list) { in find_system_memory()
890 static int kfd_add_perf_to_topology(struct kfd_topology_device *kdev) in kfd_add_perf_to_topology() argument
893 return kfd_iommu_add_perf_counters(kdev); in kfd_add_perf_to_topology()
900 static void kfd_add_non_crat_information(struct kfd_topology_device *kdev) in kfd_add_non_crat_information() argument
903 if (!kdev->gpu) { in kfd_add_non_crat_information()
905 dmi_walk(find_system_memory, kdev); in kfd_add_non_crat_information()
936 struct kfd_topology_device *kdev; in kfd_topology_init() local
998 kdev = list_first_entry(&temp_topology_device_list, in kfd_topology_init()
1000 kfd_add_perf_to_topology(kdev); in kfd_topology_init()
1023 kdev = list_first_entry(&topology_device_list, in kfd_topology_init()
1026 kfd_add_non_crat_information(kdev); in kfd_topology_init()
1320 int kfd_topology_enum_kfd_devices(uint8_t idx, struct kfd_dev **kdev) in kfd_topology_enum_kfd_devices() argument
1326 *kdev = NULL; in kfd_topology_enum_kfd_devices()
1331 *kdev = top_dev->gpu; in kfd_topology_enum_kfd_devices()