Home
last modified time | relevance | path

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

/external/libdrm/tests/
Ddrmdevice.c69 int fd, ret, max_devices; in main() local
71 max_devices = drmGetDevices(NULL, 0); in main()
73 if (max_devices <= 0) { in main()
74 printf("drmGetDevices() has returned %d\n", max_devices); in main()
78 devices = calloc(max_devices, sizeof(drmDevicePtr)); in main()
84 ret = drmGetDevices(devices, max_devices); in main()
/external/libdrm/
Dxf86drm.h796 extern int drmGetDevices(drmDevicePtr devices[], int max_devices);
Dxf86drm.c3193 int drmGetDevices(drmDevicePtr devices[], int max_devices) in drmGetDevices() argument
3270 if ((devices != NULL) && (device_count < max_devices)) in drmGetDevices()