Lines Matching refs:driver
61 * - The internal set_busid kernel functions and driver callbacks are
72 * there's 2 different ways, either by busid, or by device driver name.
84 * 1. Directly call VERSION to get the version and to match against the driver
89 * 2. Match driver name. If it mismatches, proceed to the next device node.
93 * copypasta from drm 1.0 times where a set unique name meant that the driver
233 * Get device/driver capabilities
264 if (dev->driver->dumb_create)
311 * Set device/driver capabilities
409 if (sv->drm_dd_major != dev->driver->major ||
411 dev->driver->minor) {
420 sv->drm_dd_major = dev->driver->major;
421 sv->drm_dd_minor = dev->driver->minor;
487 /* let userspace know exact length of driver value (which could be
515 version->version_major = dev->driver->major;
516 version->version_minor = dev->driver->minor;
517 version->version_patchlevel = dev->driver->patchlevel;
519 dev->driver->name);
522 dev->driver->date);
525 dev->driver->desc);
725 * DOC: driver specific ioctls
727 * First things first, driver private IOCTLs should only be needed for drivers
733 * Now if you do have a render driver you always have to support it through
734 * driver private properties. There's a few steps needed to wire all the things
737 * First you need to define the structure for your IOCTL in your driver private
756 * DRM driver private IOCTL must be in the range from DRM_COMMAND_BASE to
765 * And then assign this to the &drm_driver.ioctls field in your driver
769 * the driver-specific IOCTLs are wired up.
789 /* Enforce sane locking for modern driver ioctls. */
808 * Looks up the ioctl function in the DRM core and the driver dispatch table,
840 /* driver ioctl */
843 if (index >= dev->driver->num_ioctls)
845 index = array_index_nospec(index, dev->driver->num_ioctls);
846 ioctl = &dev->driver->ioctls[index];
921 * This ioctl is only used by the vmwgfx driver to augment the access checks