Lines Matching refs:driver
57 * The deprecated ->load callback must be called after the driver is
59 * sure an open can't proceed until the driver is actually fully set up.
62 if (dev->driver->load || dev->driver->unload)
71 if (dev->driver->lastclose)
97 * For the driver-side event interface see drm_event_reserve_init() and
100 * The memory mapping implementation will vary depending on how the driver
122 * The driver's &file_operations must be stored in &drm_driver.fops.
124 * For driver-private IOCTL handling see the more detailed discussion in
178 if (dev->driver->open) {
179 ret = dev->driver->open(dev, file);
262 if (dev->driver->postclose)
263 dev->driver->postclose(dev, file);
355 * resources for it. It also calls the &drm_driver.open driver callback.
402 if (dev->driver->lastclose)
403 dev->driver->lastclose(dev);
404 drm_dbg_core(dev, "driver lastclose completed\n");
416 * &drm_driver.postclose driver callback. If this is the last open file for the
417 * DRM device also proceeds to call the &drm_driver.lastclose driver callback.
489 * the drm_global_mutex, which then calls the &drm_driver.postclose driver
491 * call the &drm_driver.lastclose driver callback.
963 drm_printf(&p, "drm-driver:\t%s\n", dev->driver->name);
974 if (dev->driver->show_fdinfo)
975 dev->driver->show_fdinfo(&p, file);
987 * (the drm_device.driver.fops) to mimick userspace operations, or be supplied
1003 file = anon_inode_getfile("drm", dev->driver->fops, priv, flags);