Lines Matching defs:driver
139 if (dev->driver->master_destroy)
140 dev->driver->master_destroy(dev, master);
181 if (dev->driver->entervt)
182 dev->driver->entervt(dev);
198 if (dev->driver->master_set) {
199 ret = dev->driver->master_set(dev, file, false);
220 if (dev->driver->leavevt)
221 dev->driver->leavevt(dev);
224 if (dev->driver->master_drop)
225 dev->driver->master_drop(dev, file, false);
233 struct drm_driver *driver)
266 dev->driver = driver;
274 if (driver->driver_features & DRIVER_GEM) {
374 struct drm_driver *driver, unsigned long driver_data)
380 if ((ret = drm_fill_in_dev(dev, pdev, driver))) {
389 if (dev->driver->agp_support_detect)
390 dev->driver->agp_support_detect(dev, driver_data);
406 if (dev->driver->load) {
407 ret = dev->driver->load(dev, driver_data);
419 driver->name, driver->major, driver->minor, driver->patchlevel,
420 driver->date);
475 struct drm_driver *driver;
484 driver = dev->driver;
490 if (dev->driver->unload)
491 dev->driver->unload(dev);
517 if (driver->driver_features & DRIVER_GEM)