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.c103 if (xdev->businfo.pci->domain == devices[i].bus_info.domain && in device_select_find_xcb_pci_default()
104 xdev->businfo.pci->bus == devices[i].bus_info.bus && in device_select_find_xcb_pci_default()
105 xdev->businfo.pci->dev == devices[i].bus_info.dev && in device_select_find_xcb_pci_default()
106 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.c237 device->businfo.pci->domain, in drm_construct_id_path_tag()
238 device->businfo.pci->bus, in drm_construct_id_path_tag()
239 device->businfo.pci->dev, in drm_construct_id_path_tag()
240 device->businfo.pci->func) < 0) { in drm_construct_id_path_tag()
248 fullname = device->businfo.platform->fullname; in drm_construct_id_path_tag()
250 fullname = device->businfo.host1x->fullname; in drm_construct_id_path_tag()
/third_party/libdrm/tests/amdgpu/
Damdgpu_test.c369 device->businfo.pci->domain); in amdgpu_print_devices()
371 device->businfo.pci->bus); in amdgpu_print_devices()
373 device->businfo.pci->dev); in amdgpu_print_devices()
375 device->businfo.pci->func); in amdgpu_print_devices()
405 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.c51 match = wsi->pci_bus_info.pciDomain == fd_device->businfo.pci->domain && in wsi_device_matches_drm_fd()
52 wsi->pci_bus_info.pciBus == fd_device->businfo.pci->bus && in wsi_device_matches_drm_fd()
53 wsi->pci_bus_info.pciDevice == fd_device->businfo.pci->dev && in wsi_device_matches_drm_fd()
54 wsi->pci_bus_info.pciFunction == fd_device->businfo.pci->func; in wsi_device_matches_drm_fd()
/third_party/libdrm/
Dxf86drm.c3276 return memcmp(a->businfo.pci, b->businfo.pci, sizeof(drmPciBusInfo)) == 0; in drmDevicesEqual()
3279 return memcmp(a->businfo.usb, b->businfo.usb, sizeof(drmUsbBusInfo)) == 0; in drmDevicesEqual()
3282 return memcmp(a->businfo.platform, b->businfo.platform, sizeof(drmPlatformBusInfo)) == 0; in drmDevicesEqual()
3285 return memcmp(a->businfo.host1x, b->businfo.host1x, sizeof(drmHost1xBusInfo)) == 0; in drmDevicesEqual()
3593 dev->businfo.pci = (drmPciBusInfoPtr)addr; in drmProcessPciDevice()
3595 ret = drmParsePciBusInfo(maj, min, dev->businfo.pci); in drmProcessPciDevice()
3745 dev->businfo.usb = (drmUsbBusInfoPtr)ptr; in drmProcessUsbDevice()
3747 ret = drmParseUsbBusInfo(maj, min, dev->businfo.usb); in drmProcessUsbDevice()
3880 dev->businfo.platform = (drmPlatformBusInfoPtr)ptr; in drmProcessPlatformDevice()
3882 ret = drmParseOFBusInfo(maj, min, dev->businfo.platform->fullname); in drmProcessPlatformDevice()
[all …]
Dxf86drm.h881 } businfo; member
/third_party/mesa3d/src/amd/common/
Dac_gpu_info.c92 } businfo; member
353 info->pci_domain = devinfo->businfo.pci->domain; in ac_query_gpu_info()
354 info->pci_bus = devinfo->businfo.pci->bus; in ac_query_gpu_info()
355 info->pci_dev = devinfo->businfo.pci->dev; in ac_query_gpu_info()
356 info->pci_func = devinfo->businfo.pci->func; in ac_query_gpu_info()
/third_party/mesa3d/src/intel/vulkan/
Danv_device.c816 device->pci_info.domain = drm_device->businfo.pci->domain; in anv_physical_device_try_create()
817 device->pci_info.bus = drm_device->businfo.pci->bus; in anv_physical_device_try_create()
818 device->pci_info.device = drm_device->businfo.pci->dev; in anv_physical_device_try_create()
819 device->pci_info.function = drm_device->businfo.pci->func; in anv_physical_device_try_create()
/third_party/mesa3d/src/virtio/vulkan/
Dvn_renderer_virtgpu.c1508 gpu->bus_info = *dev->businfo.pci; in virtgpu_open_device()
/third_party/mesa3d/src/amd/vulkan/
Dradv_device.c750 device->bus_info = *drm_device->businfo.pci; in radv_physical_device_try_create()