Searched defs:max_devices (Results 1 - 2 of 2) sorted by relevance
/external/libdrm/tests/ |
H A D | drmdevice.c | 113 int fd, ret, max_devices; local 115 max_devices = drmGetDevices2(0, NULL, 0); 117 if (max_devices <= 0) { 118 printf("drmGetDevices2() has returned %d\n", max_devices); 122 devices = calloc(max_devices, sizeof(drmDevicePtr)); 128 ret = drmGetDevices2(0, devices, max_devices);
|
/external/libdrm/ |
H A D | xf86drm.c | 3918 * \param max_devices the maximum number of devices for the array 3923 * capped by the max_devices. 3928 int drmGetDevices2(uint32_t flags, drmDevicePtr devices[], int max_devices) argument 4034 if ((devices != NULL) && (device_count < max_devices)) 4060 * \param max_devices the maximum number of devices for the array 4065 * capped by the max_devices. 4067 int drmGetDevices(drmDevicePtr devices[], int max_devices) argument 4069 return drmGetDevices2(DRM_DEVICE_GET_PCI_REVISION, devices, max_devices);
|
Completed in 105 milliseconds