Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/gpu/drm/amd/amdkfd/
Dkfd_topology.c55 struct kfd_topology_device *top_dev; in kfd_topology_device_by_proximity_domain_no_lock() local
58 list_for_each_entry(top_dev, &topology_device_list, list) in kfd_topology_device_by_proximity_domain_no_lock()
59 if (top_dev->proximity_domain == proximity_domain) { in kfd_topology_device_by_proximity_domain_no_lock()
60 device = top_dev; in kfd_topology_device_by_proximity_domain_no_lock()
83 struct kfd_topology_device *top_dev = NULL; in kfd_topology_device_by_id() local
88 list_for_each_entry(top_dev, &topology_device_list, list) in kfd_topology_device_by_id()
89 if (top_dev->gpu_id == gpu_id) { in kfd_topology_device_by_id()
90 ret = top_dev; in kfd_topology_device_by_id()
101 struct kfd_topology_device *top_dev; in kfd_device_by_id() local
103 top_dev = kfd_topology_device_by_id(gpu_id); in kfd_device_by_id()
[all …]
Dkfd_crat.c1276 struct kfd_topology_device *top_dev = NULL; in kfd_parse_crat_table() local
1298 top_dev = kfd_create_topology_device(device_list); in kfd_parse_crat_table()
1299 if (!top_dev) in kfd_parse_crat_table()
1301 top_dev->proximity_domain = proximity_domain++; in kfd_parse_crat_table()
1304 if (!top_dev) { in kfd_parse_crat_table()
1309 memcpy(top_dev->oem_id, crat_table->oem_id, CRAT_OEMID_LENGTH); in kfd_parse_crat_table()
1310 memcpy(top_dev->oem_table_id, crat_table->oem_table_id, in kfd_parse_crat_table()
1312 top_dev->oem_revision = crat_table->oem_revision; in kfd_parse_crat_table()
/Linux-v6.6/drivers/usb/host/
Dxhci-mem.c1052 struct usb_device *top_dev; in xhci_find_real_port_number() local
1060 for (top_dev = udev; top_dev->parent && top_dev->parent->parent; in xhci_find_real_port_number()
1061 top_dev = top_dev->parent) in xhci_find_real_port_number()
1064 return xhci_find_raw_port_number(hcd, top_dev->portnum); in xhci_find_real_port_number()
1075 struct usb_device *top_dev; in xhci_setup_addressable_virt_dev() local
1121 for (top_dev = udev; top_dev->parent && top_dev->parent->parent; in xhci_setup_addressable_virt_dev()
1122 top_dev = top_dev->parent) in xhci_setup_addressable_virt_dev()
1124 dev->fake_port = top_dev->portnum; in xhci_setup_addressable_virt_dev()