Lines Matching defs:devices
3986 drm_public void drmFreeDevices(drmDevicePtr devices[], int count)
3990 if (devices == NULL)
3994 if (devices[i])
3995 drmFreeDevice(&devices[i]);
4454 /* Consider devices located on the same bus as duplicate and fold the respective
4500 * 3x64 devices nodes. That's 64 for each of primary, control and
4674 * Get drm devices on the system
4677 * \param devices the array of devices with drmDevicePtr elements
4679 * \param max_devices the maximum number of devices for the array
4682 * if devices is NULL - total number of devices available on the system,
4683 * alternatively the number of devices stored in devices[], which is
4689 drm_public int drmGetDevices2(uint32_t flags, drmDevicePtr devices[],
4707 ret = process_device(&device, dent->d_name, -1, devices != NULL, flags);
4729 if ((devices != NULL) && (device_count < max_devices))
4730 devices[device_count] = local_devices[i];
4739 if (devices != NULL)
4746 * Get drm devices on the system
4748 * \param devices the array of devices with drmDevicePtr elements
4750 * \param max_devices the maximum number of devices for the array
4753 * if devices is NULL - total number of devices available on the system,
4754 * alternatively the number of devices stored in devices[], which is
4757 drm_public int drmGetDevices(drmDevicePtr devices[], int max_devices)
4759 return drmGetDevices2(DRM_DEVICE_GET_PCI_REVISION, devices, max_devices);