Lines Matching refs:dev
35 __FBSDID("$FreeBSD: releng/11.0/sys/dev/drm/mga_irq.c 190023 2009-03-19 08:36:08Z rnoland $");
37 #include "dev/drm/drmP.h"
38 #include "dev/drm/drm.h"
39 #include "dev/drm/mga_drm.h"
40 #include "dev/drm/mga_drv.h"
42 u32 mga_get_vblank_counter(struct drm_device *dev, int crtc)
45 (drm_mga_private_t *) dev->dev_private;
58 struct drm_device *dev = (struct drm_device *) arg;
59 drm_mga_private_t *dev_priv = (drm_mga_private_t *) dev->dev_private;
69 drm_handle_vblank(dev, 0);
98 int mga_enable_vblank(struct drm_device *dev, int crtc)
100 drm_mga_private_t *dev_priv = (drm_mga_private_t *) dev->dev_private;
113 void mga_disable_vblank(struct drm_device *dev, int crtc)
128 int mga_driver_fence_wait(struct drm_device * dev, unsigned int *sequence)
130 drm_mga_private_t *dev_priv = (drm_mga_private_t *) dev->dev_private;
150 void mga_driver_irq_preinstall(struct drm_device * dev)
152 drm_mga_private_t *dev_priv = (drm_mga_private_t *) dev->dev_private;
160 int mga_driver_irq_postinstall(struct drm_device * dev)
162 drm_mga_private_t *dev_priv = (drm_mga_private_t *) dev->dev_private;
173 void mga_driver_irq_uninstall(struct drm_device * dev)
175 drm_mga_private_t *dev_priv = (drm_mga_private_t *) dev->dev_private;
182 dev->irq_enabled = 0;