Lines Matching refs:dev
33 __FBSDID("$FreeBSD: releng/11.0/sys/dev/drm/radeon_drv.c 283999 2015-06-04 20:36:16Z jhb $");
35 #include "dev/drm/drmP.h"
36 #include "dev/drm/drm.h"
37 #include "dev/drm/radeon_drm.h"
38 #include "dev/drm/radeon_drv.h"
39 #include "dev/drm/drm_pciids.h"
48 static void radeon_configure(struct drm_device *dev)
50 dev->driver->driver_features =
54 dev->driver->buf_priv_size = sizeof(drm_radeon_buf_priv_t);
55 dev->driver->load = radeon_driver_load;
56 dev->driver->unload = radeon_driver_unload;
57 dev->driver->firstopen = radeon_driver_firstopen;
58 dev->driver->open = radeon_driver_open;
59 dev->driver->preclose = radeon_driver_preclose;
60 dev->driver->postclose = radeon_driver_postclose;
61 dev->driver->lastclose = radeon_driver_lastclose;
62 dev->driver->get_vblank_counter = radeon_get_vblank_counter;
63 dev->driver->enable_vblank = radeon_enable_vblank;
64 dev->driver->disable_vblank = radeon_disable_vblank;
65 dev->driver->irq_preinstall = radeon_driver_irq_preinstall;
66 dev->driver->irq_postinstall = radeon_driver_irq_postinstall;
67 dev->driver->irq_uninstall = radeon_driver_irq_uninstall;
68 dev->driver->irq_handler = radeon_driver_irq_handler;
69 dev->driver->dma_ioctl = radeon_cp_buffers;
71 dev->driver->ioctls = radeon_ioctls;
72 dev->driver->max_ioctl = radeon_max_ioctl;
74 dev->driver->name = DRIVER_NAME;
75 dev->driver->desc = DRIVER_DESC;
76 dev->driver->date = DRIVER_DATE;
77 dev->driver->major = DRIVER_MAJOR;
78 dev->driver->minor = DRIVER_MINOR;
79 dev->driver->patchlevel = DRIVER_PATCHLEVEL;
91 struct drm_device *dev = device_get_softc(kdev);
93 dev->driver = malloc(sizeof(struct drm_driver_info), DRM_MEM_DRIVER,
96 radeon_configure(dev);
104 struct drm_device *dev = device_get_softc(kdev);
109 free(dev->driver, DRM_MEM_DRIVER);