Lines Matching refs:driver
138 if (dev->driver->master_destroy) in drm_master_destroy()
139 dev->driver->master_destroy(dev, master); in drm_master_destroy()
193 if (dev->driver->master_set) { in drm_setmaster_ioctl()
194 ret = dev->driver->master_set(dev, file_priv, false); in drm_setmaster_ioctl()
215 if (dev->driver->master_drop) in drm_dropmaster_ioctl()
216 dev->driver->master_drop(dev, file_priv, false); in drm_dropmaster_ioctl()
224 struct drm_driver *driver) in drm_fill_in_dev() argument
259 dev->driver = driver; in drm_fill_in_dev()
273 if (driver->driver_features & DRIVER_GEM) { in drm_fill_in_dev()
298 struct drm_driver *driver; in drm_cancel_fill_in_dev() local
300 driver = dev->driver; in drm_cancel_fill_in_dev()
303 if (driver->driver_features & DRIVER_GEM) in drm_cancel_fill_in_dev()
436 struct drm_driver *driver; in drm_put_dev() local
445 driver = dev->driver; in drm_put_dev()
462 if (dev->driver->unload) in drm_put_dev()
463 dev->driver->unload(dev); in drm_put_dev()
483 if (driver->driver_features & DRIVER_GEM) in drm_put_dev()