Lines Matching refs:dev
30 __FBSDID("$FreeBSD: releng/11.0/sys/dev/drm/sis_drv.c 283999 2015-06-04 20:36:16Z jhb $");
32 #include "dev/drm/drmP.h"
33 #include "dev/drm/sis_drm.h"
34 #include "dev/drm/sis_drv.h"
35 #include "dev/drm/drm_pciids.h"
42 static void sis_configure(struct drm_device *dev)
44 dev->driver->driver_features =
47 dev->driver->buf_priv_size = 1; /* No dev_priv */
48 dev->driver->context_ctor = sis_init_context;
49 dev->driver->context_dtor = sis_final_context;
51 dev->driver->ioctls = sis_ioctls;
52 dev->driver->max_ioctl = sis_max_ioctl;
54 dev->driver->name = DRIVER_NAME;
55 dev->driver->desc = DRIVER_DESC;
56 dev->driver->date = DRIVER_DATE;
57 dev->driver->major = DRIVER_MAJOR;
58 dev->driver->minor = DRIVER_MINOR;
59 dev->driver->patchlevel = DRIVER_PATCHLEVEL;
71 struct drm_device *dev = device_get_softc(kdev);
73 dev->driver = malloc(sizeof(struct drm_driver_info), DRM_MEM_DRIVER,
76 sis_configure(dev);
84 struct drm_device *dev = device_get_softc(kdev);
89 free(dev->driver, DRM_MEM_DRIVER);