Searched refs:max_devices (Results 1 – 7 of 7) sorted by relevance
/external/libdrm/tests/ |
D | drmdevice.c | 113 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/ |
D | xf86drm.h | 857 extern int drmGetDevices(drmDevicePtr devices[], int max_devices); 862 extern int drmGetDevices2(uint32_t flags, drmDevicePtr devices[], int max_devices);
|
D | xf86drm.c | 3950 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/ |
D | anv_device.c | 637 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/ |
D | eglext.h | 621 typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDEVICESEXTPROC) (EGLint max_devices, EGLDeviceEXT *devi… 626 EGLAPI EGLBoolean EGLAPIENTRY eglQueryDevicesEXT (EGLint max_devices, EGLDeviceEXT *devices, EGLint…
|
/external/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…
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_device.c | 492 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()
|