Lines Matching refs:driver
66 * The deprecated ->load callback must be called after the driver is
68 * sure an open can't proceed until the driver is actually fully set up.
71 if (dev->driver->load || dev->driver->unload)
80 if (dev->driver->lastclose)
106 * For the driver-side event interface see drm_event_reserve_init() and
109 * The memory mapping implementation will vary depending on how the driver
133 * The driver's &file_operations must be stored in &drm_driver.fops.
135 * For driver-private IOCTL handling see the more detailed discussion in
189 if (dev->driver->open) {
190 ret = dev->driver->open(dev, file);
259 dev->driver->preclose)
260 dev->driver->preclose(dev, file);
287 if (dev->driver->postclose)
288 dev->driver->postclose(dev, file);
403 * resources for it. It also calls the &drm_driver.open driver callback.
459 if (dev->driver->lastclose)
460 dev->driver->lastclose(dev);
461 drm_dbg_core(dev, "driver lastclose completed\n");
476 * &drm_driver.postclose driver callback. If this is the last open file for the
477 * DRM device also proceeds to call the &drm_driver.lastclose driver callback.
549 * the drm_global_mutex, which then calls the &drm_driver.postclose driver
551 * call the &drm_driver.lastclose driver callback.
1021 drm_printf(&p, "drm-driver:\t%s\n", dev->driver->name);
1032 if (dev->driver->show_fdinfo)
1033 dev->driver->show_fdinfo(&p, file);
1045 * (the drm_device.driver.fops) to mimick userspace operations, or be supplied
1061 file = anon_inode_getfile("drm", dev->driver->fops, priv, flags);