Lines Matching refs:dev
36 __FBSDID("$FreeBSD: releng/11.0/sys/dev/drm/tdfx_drv.c 283999 2015-06-04 20:36:16Z jhb $");
38 #include "dev/drm/tdfx_drv.h"
39 #include "dev/drm/drmP.h"
40 #include "dev/drm/drm_pciids.h"
47 static void tdfx_configure(struct drm_device *dev)
49 dev->driver->driver_features =
52 dev->driver->buf_priv_size = 1; /* No dev_priv */
54 dev->driver->max_ioctl = 0;
56 dev->driver->name = DRIVER_NAME;
57 dev->driver->desc = DRIVER_DESC;
58 dev->driver->date = DRIVER_DATE;
59 dev->driver->major = DRIVER_MAJOR;
60 dev->driver->minor = DRIVER_MINOR;
61 dev->driver->patchlevel = DRIVER_PATCHLEVEL;
73 struct drm_device *dev = device_get_softc(kdev);
75 dev->driver = malloc(sizeof(struct drm_driver_info), DRM_MEM_DRIVER,
78 tdfx_configure(dev);
86 struct drm_device *dev = device_get_softc(kdev);
91 free(dev->driver, DRM_MEM_DRIVER);