Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/
Dkfd_topology.c52 struct kfd_topology_device *top_dev; in kfd_topology_device_by_proximity_domain() local
57 list_for_each_entry(top_dev, &topology_device_list, list) in kfd_topology_device_by_proximity_domain()
58 if (top_dev->proximity_domain == proximity_domain) { in kfd_topology_device_by_proximity_domain()
59 device = top_dev; in kfd_topology_device_by_proximity_domain()
70 struct kfd_topology_device *top_dev = NULL; in kfd_topology_device_by_id() local
75 list_for_each_entry(top_dev, &topology_device_list, list) in kfd_topology_device_by_id()
76 if (top_dev->gpu_id == gpu_id) { in kfd_topology_device_by_id()
77 ret = top_dev; in kfd_topology_device_by_id()
88 struct kfd_topology_device *top_dev; in kfd_device_by_id() local
90 top_dev = kfd_topology_device_by_id(gpu_id); in kfd_device_by_id()
[all …]
Dkfd_crat.c489 struct kfd_topology_device *top_dev = NULL; in kfd_parse_crat_table() local
511 top_dev = kfd_create_topology_device(device_list); in kfd_parse_crat_table()
512 if (!top_dev) in kfd_parse_crat_table()
514 top_dev->proximity_domain = proximity_domain++; in kfd_parse_crat_table()
517 if (!top_dev) { in kfd_parse_crat_table()
522 memcpy(top_dev->oem_id, crat_table->oem_id, CRAT_OEMID_LENGTH); in kfd_parse_crat_table()
523 memcpy(top_dev->oem_table_id, crat_table->oem_table_id, in kfd_parse_crat_table()
525 top_dev->oem_revision = crat_table->oem_revision; in kfd_parse_crat_table()
/kernel/linux/linux-5.10/drivers/usb/host/
Dxhci-mem.c1098 struct usb_device *top_dev; in xhci_find_real_port_number() local
1106 for (top_dev = udev; top_dev->parent && top_dev->parent->parent; in xhci_find_real_port_number()
1107 top_dev = top_dev->parent) in xhci_find_real_port_number()
1110 return xhci_find_raw_port_number(hcd, top_dev->portnum); in xhci_find_real_port_number()
1121 struct usb_device *top_dev; in xhci_setup_addressable_virt_dev() local
1171 for (top_dev = udev; top_dev->parent && top_dev->parent->parent; in xhci_setup_addressable_virt_dev()
1172 top_dev = top_dev->parent) in xhci_setup_addressable_virt_dev()
1174 dev->fake_port = top_dev->portnum; in xhci_setup_addressable_virt_dev()