Lines Matching refs:driver

62  *  - The internal set_busid kernel functions and driver callbacks are
73 * there's 2 different ways, either by busid, or by device driver name.
85 * 1. Directly call VERSION to get the version and to match against the driver
90 * 2. Match driver name. If it mismatches, proceed to the next device node.
94 * copypasta from drm 1.0 times where a set unique name meant that the driver
234 * Get device/driver capabilities
249 req->value |= dev->driver->prime_fd_to_handle ? DRM_PRIME_CAP_IMPORT : 0;
250 req->value |= dev->driver->prime_handle_to_fd ? DRM_PRIME_CAP_EXPORT : 0;
266 if (dev->driver->dumb_create)
313 * Set device/driver capabilities
411 if (sv->drm_dd_major != dev->driver->major ||
413 dev->driver->minor) {
422 sv->drm_dd_major = dev->driver->major;
423 sv->drm_dd_minor = dev->driver->minor;
489 /* let userspace know exact length of driver value (which could be
517 version->version_major = dev->driver->major;
518 version->version_minor = dev->driver->minor;
519 version->version_patchlevel = dev->driver->patchlevel;
521 dev->driver->name);
524 dev->driver->date);
527 dev->driver->desc);
730 * DOC: driver specific ioctls
732 * First things first, driver private IOCTLs should only be needed for drivers
738 * Now if you do have a render driver you always have to support it through
739 * driver private properties. There's a few steps needed to wire all the things
742 * First you need to define the structure for your IOCTL in your driver private
761 * DRM driver private IOCTL must be in the range from DRM_COMMAND_BASE to
770 * And then assign this to the &drm_driver.ioctls field in your driver
774 * the driver-specific IOCTLs are wired up.
791 /* Enforce sane locking for modern driver ioctls. */
810 * Looks up the ioctl function in the DRM core and the driver dispatch table,
842 /* driver ioctl */
845 if (index >= dev->driver->num_ioctls)
847 index = array_index_nospec(index, dev->driver->num_ioctls);
848 ioctl = &dev->driver->ioctls[index];
922 * This ioctl is only used by the vmwgfx driver to augment the access checks