Lines Matching refs:driver
48 if (dev->driver->firstopen) { in drm_setup()
49 ret = dev->driver->firstopen(dev); in drm_setup()
206 if (dev->driver->driver_features & DRIVER_GEM) in drm_open_helper()
214 if (dev->driver->open) { in drm_open_helper()
215 ret = dev->driver->open(dev, priv); in drm_open_helper()
239 if (dev->driver->master_create) { in drm_open_helper()
240 ret = dev->driver->master_create(dev, priv->master); in drm_open_helper()
251 if (dev->driver->master_set) { in drm_open_helper()
252 ret = dev->driver->master_set(dev, priv, true); in drm_open_helper()
340 if (dev->driver->preclose) in drm_release()
341 dev->driver->preclose(dev, file_priv); in drm_release()
368 if (dev->driver->driver_features & DRIVER_MODESET) in drm_release()
371 if (dev->driver->driver_features & DRIVER_GEM) in drm_release()
382 if (dev->driver->context_dtor) in drm_release()
383 dev->driver->context_dtor(dev, in drm_release()
423 if (dev->driver->master_drop) in drm_release()
424 dev->driver->master_drop(dev, file_priv, true); in drm_release()
435 if (dev->driver->postclose) in drm_release()
436 dev->driver->postclose(dev, file_priv); in drm_release()
590 } else if ((dev->driver->driver_features & DRIVER_GEM) != 0) { in drm_mmap_single()