Home
last modified time | relevance | path

Searched refs:max_devices (Results 1 – 7 of 7) sorted by relevance

/external/libdrm/tests/
Ddrmdevice.c113 int fd, ret, max_devices; in main() local
115 max_devices = drmGetDevices2(0, NULL, 0); in main()
117 if (max_devices <= 0) { in main()
118 printf("drmGetDevices2() has returned %d\n", max_devices); in main()
122 devices = calloc(max_devices, sizeof(drmDevicePtr)); in main()
128 ret = drmGetDevices2(0, devices, max_devices); in main()
/external/libdrm/
Dxf86drm.h857 extern int drmGetDevices(drmDevicePtr devices[], int max_devices);
862 extern int drmGetDevices2(uint32_t flags, drmDevicePtr devices[], int max_devices);
Dxf86drm.c3950 int drmGetDevices2(uint32_t flags, drmDevicePtr devices[], int max_devices) in drmGetDevices2() argument
4056 if ((devices != NULL) && (device_count < max_devices)) in drmGetDevices2()
4089 int drmGetDevices(drmDevicePtr devices[], int max_devices) in drmGetDevices() argument
4091 return drmGetDevices2(DRM_DEVICE_GET_PCI_REVISION, devices, max_devices); in drmGetDevices()
/external/mesa3d/src/intel/vulkan/
Danv_device.c637 int max_devices; in anv_enumerate_devices() local
641 max_devices = drmGetDevices2(0, devices, ARRAY_SIZE(devices)); in anv_enumerate_devices()
642 if (max_devices < 1) in anv_enumerate_devices()
645 for (unsigned i = 0; i < (unsigned)max_devices; i++) { in anv_enumerate_devices()
657 drmFreeDevices(devices, max_devices); in anv_enumerate_devices()
/external/mesa3d/include/EGL/
Deglext.h621 typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDEVICESEXTPROC) (EGLint max_devices, EGLDeviceEXT *devi…
626 EGLAPI EGLBoolean EGLAPIENTRY eglQueryDevicesEXT (EGLint max_devices, EGLDeviceEXT *devices, EGLint…
/external/swiftshader/include/EGL/
Deglext.h671 typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDEVICESEXTPROC) (EGLint max_devices, EGLDeviceEXT *devi…
676 EGLAPI EGLBoolean EGLAPIENTRY eglQueryDevicesEXT (EGLint max_devices, EGLDeviceEXT *devices, EGLint…
/external/mesa3d/src/amd/vulkan/
Dradv_device.c492 int max_devices; in radv_enumerate_devices() local
496 max_devices = drmGetDevices2(0, devices, ARRAY_SIZE(devices)); in radv_enumerate_devices()
497 if (max_devices < 1) in radv_enumerate_devices()
500 for (unsigned i = 0; i < (unsigned)max_devices; i++) { in radv_enumerate_devices()
515 drmFreeDevices(devices, max_devices); in radv_enumerate_devices()