/third_party/libdrm/tests/ |
D | drmdevice.c | 112 int fd, ret, max_devices; in main() local 115 max_devices = drmGetDevices2(0, NULL, 0); in main() 117 if (max_devices <= 0) { in main() 119 -max_devices); in main() 122 printf("--- Devices reported %d ---\n", max_devices); in main() 125 devices = calloc(max_devices, sizeof(drmDevicePtr)); in main() 132 ret = drmGetDevices2(0, devices, max_devices); in main()
|
/third_party/mesa3d/src/intel/dev/ |
D | intel_device_info_override_test.c | 42 int max_devices; in main() local 51 max_devices = drmGetDevices2(0, devices, ARRAY_SIZE(devices)); in main() 52 if (max_devices < 1) { in main() 57 for (int i = 0; i < max_devices; i++) { in main()
|
D | intel_dev_info.c | 97 int max_devices; in main() local 100 max_devices = drmGetDevices2(0, devices, ARRAY_SIZE(devices)); in main() 101 if (max_devices < 1) in main() 104 for (int i = 0; i < max_devices; i++) { in main()
|
/third_party/mesa3d/src/egl/main/ |
D | egldevice.c | 321 _eglQueryDevicesEXT(EGLint max_devices, in _eglQueryDevicesEXT() argument 328 if ((devices && max_devices <= 0) || !num_devices) in _eglQueryDevicesEXT() 348 *num_devices = MIN2(num_devs, max_devices); in _eglQueryDevicesEXT() 350 for (i = 0, dev = devs->Next; dev && i < max_devices; i++) { in _eglQueryDevicesEXT() 356 if (max_devices >= num_devs) { in _eglQueryDevicesEXT()
|
D | egldevice.h | 83 _eglQueryDevicesEXT(EGLint max_devices, _EGLDevice **devices,
|
D | eglapi.c | 2669 eglQueryDevicesEXT(EGLint max_devices, in eglQueryDevicesEXT() argument 2676 ret = _eglQueryDevicesEXT(max_devices, (_EGLDevice **) devices, in eglQueryDevicesEXT()
|
/third_party/skia/third_party/externals/egl-registry/extensions/EXT/ |
D | EGL_EXT_device_enumeration.txt | 71 EGLBoolean eglQueryDevicesEXT(EGLint max_devices, 79 EGLBoolean eglQueryDevicesEXT(EGLint max_devices, 86 be less than or equal to <max_devices>. If <devices> is NULL, 87 then <max_devices> will be ignored, no devices will be returned in 93 generated if <max_devices> is less than or equal to zero unless
|
/third_party/EGL/extensions/EXT/ |
D | EGL_EXT_device_enumeration.txt | 71 EGLBoolean eglQueryDevicesEXT(EGLint max_devices, 79 EGLBoolean eglQueryDevicesEXT(EGLint max_devices, 86 be less than or equal to <max_devices>. If <devices> is NULL, 87 then <max_devices> will be ignored, no devices will be returned in 93 generated if <max_devices> is less than or equal to zero unless
|
/third_party/mesa3d/src/freedreno/vulkan/ |
D | tu_drm.c | 778 int max_devices; in tu_enumerate_devices() local 782 max_devices = drmGetDevices2(0, devices, ARRAY_SIZE(devices)); in tu_enumerate_devices() 785 if (max_devices < 0) in tu_enumerate_devices() 786 mesa_logi("drmGetDevices2 returned error: %s\n", strerror(max_devices)); in tu_enumerate_devices() 788 mesa_logi("Found %d drm nodes", max_devices); in tu_enumerate_devices() 791 if (max_devices < 1) in tu_enumerate_devices() 795 for (unsigned i = 0; i < (unsigned) max_devices; i++) { in tu_enumerate_devices() 808 drmFreeDevices(devices, max_devices); in tu_enumerate_devices()
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/egl/ |
D | gstgldisplay_egl_device.c | 52 typedef EGLBoolean (*eglQueryDevicesEXT_type) (EGLint max_devices,
|
/third_party/mesa3d/src/panfrost/vulkan/ |
D | panvk_device.c | 388 int max_devices; in panvk_enumerate_devices() local 392 max_devices = drmGetDevices2(0, devices, ARRAY_SIZE(devices)); in panvk_enumerate_devices() 395 panvk_logi("Found %d drm nodes", max_devices); in panvk_enumerate_devices() 397 if (max_devices < 1) in panvk_enumerate_devices() 400 for (unsigned i = 0; i < (unsigned) max_devices; i++) { in panvk_enumerate_devices() 413 drmFreeDevices(devices, max_devices); in panvk_enumerate_devices()
|
/third_party/mesa3d/src/intel/common/tests/ |
D | mi_builder_test.cpp | 174 int max_devices = drmGetDevices2(0, devices, 8); in SetUp() local 177 for (i = 0; i < max_devices; i++) { in SetUp() 210 ASSERT_TRUE(i < max_devices) << "Failed to find a DRM device"; in SetUp()
|
/third_party/libdrm/ |
D | xf86drm.h | 913 extern int drmGetDevices(drmDevicePtr devices[], int max_devices); 918 extern int drmGetDevices2(uint32_t flags, drmDevicePtr devices[], int max_devices);
|
D | xf86drm.c | 4690 int max_devices) in drmGetDevices2() argument 4729 if ((devices != NULL) && (device_count < max_devices)) in drmGetDevices2() 4740 return MIN2(device_count, max_devices); in drmGetDevices2() 4757 drm_public int drmGetDevices(drmDevicePtr devices[], int max_devices) in drmGetDevices() argument 4759 return drmGetDevices2(DRM_DEVICE_GET_PCI_REVISION, devices, max_devices); in drmGetDevices()
|
/third_party/mesa3d/src/broadcom/vulkan/ |
D | v3dv_device.c | 941 int max_devices; in enumerate_devices() local 945 max_devices = drmGetDevices2(0, devices, ARRAY_SIZE(devices)); in enumerate_devices() 946 if (max_devices < 1) in enumerate_devices() 953 for (unsigned i = 0; i < (unsigned)max_devices; i++) { in enumerate_devices() 1010 drmFreeDevices(devices, max_devices); in enumerate_devices()
|
/third_party/ffmpeg/libavutil/ |
D | hwcontext_vaapi.c | 1544 int n, max_devices = 8; in vaapi_device_create() local 1549 for (n = 0; n < max_devices; n++) { in vaapi_device_create() 1584 if (n >= max_devices) in vaapi_device_create()
|
/third_party/skia/third_party/externals/egl-registry/api/EGL/ |
D | eglext.h | 671 typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDEVICESEXTPROC) (EGLint max_devices, EGLDeviceEXT *devi… 676 EGLAPI EGLBoolean EGLAPIENTRY eglQueryDevicesEXT (EGLint max_devices, EGLDeviceEXT *devices, EGLint…
|
/third_party/skia/third_party/externals/swiftshader/include/EGL/ |
D | eglext.h | 671 typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDEVICESEXTPROC) (EGLint max_devices, EGLDeviceEXT *devi… 676 EGLAPI EGLBoolean EGLAPIENTRY eglQueryDevicesEXT (EGLint max_devices, EGLDeviceEXT *devices, EGLint…
|
/third_party/mesa3d/src/intel/vulkan/ |
D | anv_device.c | 1180 int max_devices; in anv_enumerate_physical_devices() local 1182 max_devices = drmGetDevices2(0, devices, ARRAY_SIZE(devices)); in anv_enumerate_physical_devices() 1183 if (max_devices < 1) in anv_enumerate_physical_devices() 1187 for (unsigned i = 0; i < (unsigned)max_devices; i++) { in anv_enumerate_physical_devices() 1208 drmFreeDevices(devices, max_devices); in anv_enumerate_physical_devices()
|
/third_party/skia/third_party/externals/angle2/include/EGL/ |
D | eglext.h | 662 typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDEVICESEXTPROC) (EGLint max_devices, EGLDeviceEXT *devi… 667 EGLAPI EGLBoolean EGLAPIENTRY eglQueryDevicesEXT (EGLint max_devices, EGLDeviceEXT *devices, EGLint…
|
/third_party/mesa3d/include/EGL/ |
D | eglext.h | 680 typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDEVICESEXTPROC) (EGLint max_devices, EGLDeviceEXT *devi… 685 EGLAPI EGLBoolean EGLAPIENTRY eglQueryDevicesEXT (EGLint max_devices, EGLDeviceEXT *devices, EGLint…
|
/third_party/EGL/api/EGL/ |
D | eglext.h | 680 typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDEVICESEXTPROC) (EGLint max_devices, EGLDeviceEXT *devi… 685 EGLAPI EGLBoolean EGLAPIENTRY eglQueryDevicesEXT (EGLint max_devices, EGLDeviceEXT *devices, EGLint…
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_device.c | 1194 int max_devices = drmGetDevices2(0, devices, ARRAY_SIZE(devices)); in radv_enumerate_physical_devices() local 1197 fprintf(stderr, "radv: info: Found %d drm nodes.\n", max_devices); in radv_enumerate_physical_devices() 1199 if (max_devices < 1) in radv_enumerate_physical_devices() 1202 for (unsigned i = 0; i < (unsigned)max_devices; i++) { in radv_enumerate_physical_devices() 1222 drmFreeDevices(devices, max_devices); in radv_enumerate_physical_devices()
|