Searched refs:top_dev (Results 1 – 3 of 3) sorted by relevance
56 struct kfd_topology_device *top_dev; in kfd_topology_device_by_proximity_domain_no_lock() local61 device = top_dev; in kfd_topology_device_by_proximity_domain_no_lock()84 struct kfd_topology_device *top_dev = NULL; in kfd_topology_device_by_id() local90 if (top_dev->gpu_id == gpu_id) { in kfd_topology_device_by_id()91 ret = top_dev; in kfd_topology_device_by_id()102 struct kfd_topology_device *top_dev; in kfd_device_by_id() local104 top_dev = kfd_topology_device_by_id(gpu_id); in kfd_device_by_id()105 if (!top_dev) in kfd_device_by_id()108 return top_dev->gpu; in kfd_device_by_id()2289 struct kfd_topology_device *top_dev; in kfd_topology_enum_kfd_devices() local[all …]
1366 struct kfd_topology_device *top_dev = NULL; in kfd_parse_crat_table() local1388 top_dev = kfd_create_topology_device(device_list); in kfd_parse_crat_table()1389 if (!top_dev) in kfd_parse_crat_table()1391 top_dev->proximity_domain = proximity_domain++; in kfd_parse_crat_table()1394 if (!top_dev) { in kfd_parse_crat_table()1399 memcpy(top_dev->oem_id, crat_table->oem_id, CRAT_OEMID_LENGTH); in kfd_parse_crat_table()1400 memcpy(top_dev->oem_table_id, crat_table->oem_table_id, in kfd_parse_crat_table()1402 top_dev->oem_revision = crat_table->oem_revision; in kfd_parse_crat_table()
1044 struct usb_device *top_dev; in xhci_find_rhub_port() local1053 for (top_dev = udev; top_dev->parent && top_dev->parent->parent; in xhci_find_rhub_port()1054 top_dev = top_dev->parent) in xhci_find_rhub_port()1058 return rhub->ports[top_dev->portnum - 1]; in xhci_find_rhub_port()