Home
last modified time | relevance | path

Searched refs:top_dev (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.15/drivers/gpu/drm/amd/amdkfd/
Dkfd_topology.c53 struct kfd_topology_device *top_dev; in kfd_topology_device_by_proximity_domain() local
58 list_for_each_entry(top_dev, &topology_device_list, list) in kfd_topology_device_by_proximity_domain()
59 if (top_dev->proximity_domain == proximity_domain) { in kfd_topology_device_by_proximity_domain()
60 device = top_dev; in kfd_topology_device_by_proximity_domain()
71 struct kfd_topology_device *top_dev = NULL; in kfd_topology_device_by_id() local
76 list_for_each_entry(top_dev, &topology_device_list, list) in kfd_topology_device_by_id()
77 if (top_dev->gpu_id == gpu_id) { in kfd_topology_device_by_id()
78 ret = top_dev; in kfd_topology_device_by_id()
89 struct kfd_topology_device *top_dev; in kfd_device_by_id() local
91 top_dev = kfd_topology_device_by_id(gpu_id); in kfd_device_by_id()
[all …]
Dkfd_crat.c1138 struct kfd_topology_device *top_dev = NULL; in kfd_parse_crat_table() local
1160 top_dev = kfd_create_topology_device(device_list); in kfd_parse_crat_table()
1161 if (!top_dev) in kfd_parse_crat_table()
1163 top_dev->proximity_domain = proximity_domain++; in kfd_parse_crat_table()
1166 if (!top_dev) { in kfd_parse_crat_table()
1171 memcpy(top_dev->oem_id, crat_table->oem_id, CRAT_OEMID_LENGTH); in kfd_parse_crat_table()
1172 memcpy(top_dev->oem_table_id, crat_table->oem_table_id, in kfd_parse_crat_table()
1174 top_dev->oem_revision = crat_table->oem_revision; in kfd_parse_crat_table()
/Linux-v5.15/drivers/usb/host/
Dxhci-mem.c1072 struct usb_device *top_dev; in xhci_find_real_port_number() local
1080 for (top_dev = udev; top_dev->parent && top_dev->parent->parent; in xhci_find_real_port_number()
1081 top_dev = top_dev->parent) in xhci_find_real_port_number()
1084 return xhci_find_raw_port_number(hcd, top_dev->portnum); in xhci_find_real_port_number()
1095 struct usb_device *top_dev; in xhci_setup_addressable_virt_dev() local
1144 for (top_dev = udev; top_dev->parent && top_dev->parent->parent; in xhci_setup_addressable_virt_dev()
1145 top_dev = top_dev->parent) in xhci_setup_addressable_virt_dev()
1147 dev->fake_port = top_dev->portnum; in xhci_setup_addressable_virt_dev()