Lines Matching defs:dev
57 #include "dev/drm/drmP.h"
58 #include "dev/drm/drm_pciids.h"
77 static void vboxvideo_configure(struct drm_device *dev)
80 dev->driver->buf_priv_size = 1; /* No dev_priv */
82 dev->driver->max_ioctl = 0;
84 dev->driver->name = DRIVER_NAME;
85 dev->driver->desc = DRIVER_DESC;
86 dev->driver->date = DRIVER_DATE;
87 dev->driver->major = DRIVER_MAJOR;
88 dev->driver->minor = DRIVER_MINOR;
89 dev->driver->patchlevel = DRIVER_PATCHLEVEL;
91 dev->driver.buf_priv_size = 1; /* No dev_priv */
93 dev->driver.max_ioctl = 0;
95 dev->driver.name = DRIVER_NAME;
96 dev->driver.desc = DRIVER_DESC;
97 dev->driver.date = DRIVER_DATE;
98 dev->driver.major = DRIVER_MAJOR;
99 dev->driver.minor = DRIVER_MINOR;
100 dev->driver.patchlevel = DRIVER_PATCHLEVEL;
113 struct drm_device *dev = device_get_softc(kdev);
116 dev->driver = malloc(sizeof(struct drm_driver_info), DRM_MEM_DRIVER,
119 bzero(&dev->driver, sizeof(struct drm_driver_info));
122 vboxvideo_configure(dev);
130 struct drm_device *dev = device_get_softc(kdev);
136 free(dev->driver, DRM_MEM_DRIVER);