Home
last modified time | relevance | path

Searched refs:businfo (Results 1 – 13 of 13) sorted by relevance

/third_party/libdrm/tests/
Ddrmdevice.c48 printf("| +-> domain %04x\n",device->businfo.pci->domain); in print_device_info()
49 printf("| +-> bus %02x\n", device->businfo.pci->bus); in print_device_info()
50 printf("| +-> dev %02x\n", device->businfo.pci->dev); in print_device_info()
51 printf("| +-> func %1u\n", device->businfo.pci->func); in print_device_info()
66 printf("| +-> bus %03u\n", device->businfo.usb->bus); in print_device_info()
67 printf("| +-> dev %03u\n", device->businfo.usb->dev); in print_device_info()
77 printf("| +-> fullname\t%s\n", device->businfo.platform->fullname); in print_device_info()
91 printf("| +-> fullname\t%s\n", device->businfo.host1x->fullname); in print_device_info()
/third_party/mesa3d/src/vulkan/device-select-layer/
Ddevice_select_x11.c104 if (xdev->businfo.pci->domain == devices[i].bus_info.domain && in device_select_find_xcb_pci_default()
105 xdev->businfo.pci->bus == devices[i].bus_info.bus && in device_select_find_xcb_pci_default()
106 xdev->businfo.pci->dev == devices[i].bus_info.dev && in device_select_find_xcb_pci_default()
107 xdev->businfo.pci->func == devices[i].bus_info.func) { in device_select_find_xcb_pci_default()
Ddevice_select_wayland.c127 if (info.dev_info->businfo.pci->domain == devices[i].bus_info.domain && in device_select_find_wayland_pci_default()
128 info.dev_info->businfo.pci->bus == devices[i].bus_info.bus && in device_select_find_wayland_pci_default()
129 info.dev_info->businfo.pci->dev == devices[i].bus_info.dev && in device_select_find_wayland_pci_default()
130 info.dev_info->businfo.pci->func == devices[i].bus_info.func) in device_select_find_wayland_pci_default()
/third_party/mesa3d/src/loader/
Dloader.c291 device->businfo.pci->domain, in drm_construct_id_path_tag()
292 device->businfo.pci->bus, in drm_construct_id_path_tag()
293 device->businfo.pci->dev, in drm_construct_id_path_tag()
294 device->businfo.pci->func) < 0) { in drm_construct_id_path_tag()
302 fullname = device->businfo.platform->fullname; in drm_construct_id_path_tag()
304 fullname = device->businfo.host1x->fullname; in drm_construct_id_path_tag()
/third_party/libdrm/tests/amdgpu/
Damdgpu_test.c430 device->businfo.pci->domain); in amdgpu_print_devices()
432 device->businfo.pci->bus); in amdgpu_print_devices()
434 device->businfo.pci->dev); in amdgpu_print_devices()
436 device->businfo.pci->func); in amdgpu_print_devices()
466 if ((bus == 0xFF || device->businfo.pci->bus == bus) && in amdgpu_find_device()
Dras_tests.c522 if (memcmp(&info, device->businfo.pci, sizeof(info)) == 0) in amdgpu_ras_lookup_id()
/third_party/mesa3d/src/vulkan/wsi/
Dwsi_common_drm.c281 match = wsi->pci_bus_info.pciDomain == fd_device->businfo.pci->domain && in wsi_device_matches_drm_fd()
282 wsi->pci_bus_info.pciBus == fd_device->businfo.pci->bus && in wsi_device_matches_drm_fd()
283 wsi->pci_bus_info.pciDevice == fd_device->businfo.pci->dev && in wsi_device_matches_drm_fd()
284 wsi->pci_bus_info.pciFunction == fd_device->businfo.pci->func; in wsi_device_matches_drm_fd()
/third_party/libdrm/
Dxf86drm.c3730 return memcmp(a->businfo.pci, b->businfo.pci, sizeof(drmPciBusInfo)) == 0; in drmDevicesEqual()
3733 return memcmp(a->businfo.usb, b->businfo.usb, sizeof(drmUsbBusInfo)) == 0; in drmDevicesEqual()
3736 return memcmp(a->businfo.platform, b->businfo.platform, sizeof(drmPlatformBusInfo)) == 0; in drmDevicesEqual()
3739 return memcmp(a->businfo.host1x, b->businfo.host1x, sizeof(drmHost1xBusInfo)) == 0; in drmDevicesEqual()
4051 dev->businfo.pci = (drmPciBusInfoPtr)addr; in drmProcessPciDevice()
4053 ret = drmParsePciBusInfo(maj, min, dev->businfo.pci); in drmProcessPciDevice()
4208 dev->businfo.usb = (drmUsbBusInfoPtr)ptr; in drmProcessUsbDevice()
4210 ret = drmParseUsbBusInfo(maj, min, dev->businfo.usb); in drmProcessUsbDevice()
4343 dev->businfo.platform = (drmPlatformBusInfoPtr)ptr; in drmProcessPlatformDevice()
4345 ret = drmParseOFBusInfo(maj, min, dev->businfo.platform->fullname); in drmProcessPlatformDevice()
[all …]
Dxf86drm.h901 } businfo; member
/third_party/mesa3d/src/intel/dev/
Dintel_device_info.c1959 devinfo->pci_domain = drmdev->businfo.pci->domain; in intel_get_device_info_from_fd()
1960 devinfo->pci_bus = drmdev->businfo.pci->bus; in intel_get_device_info_from_fd()
1961 devinfo->pci_dev = drmdev->businfo.pci->dev; in intel_get_device_info_from_fd()
1962 devinfo->pci_func = drmdev->businfo.pci->func; in intel_get_device_info_from_fd()
/third_party/mesa3d/src/amd/common/
Dac_gpu_info.c198 } businfo; member
608 info->pci_domain = devinfo->businfo.pci->domain; in ac_query_gpu_info()
609 info->pci_bus = devinfo->businfo.pci->bus; in ac_query_gpu_info()
610 info->pci_dev = devinfo->businfo.pci->dev; in ac_query_gpu_info()
611 info->pci_func = devinfo->businfo.pci->func; in ac_query_gpu_info()
/third_party/mesa3d/src/virtio/vulkan/
Dvn_renderer_virtgpu.c1650 gpu->pci_bus_info = *dev->businfo.pci; in virtgpu_open_device()
/third_party/mesa3d/src/amd/vulkan/
Dradv_device.c864 device->bus_info = *drm_device->businfo.pci; in radv_physical_device_try_create()