Lines Matching defs:drm_device
165 typedef struct drm_device drm_device_t;
440 struct drm_device *dev;
451 * Access is covered by the object_name_lock in the related drm_device
637 struct drm_device;
639 int (*load)(struct drm_device *, unsigned long);
640 int (*firstopen)(struct drm_device *);
641 int (*open)(struct drm_device *, drm_file_t *);
642 void (*preclose)(struct drm_device *, drm_file_t *);
643 void (*postclose)(struct drm_device *, drm_file_t *);
644 void (*lastclose)(struct drm_device *);
645 int (*unload)(struct drm_device *);
646 void (*reclaim_buffers_locked)(struct drm_device *, drm_file_t *);
647 int (*presetup)(struct drm_device *);
648 int (*postsetup)(struct drm_device *);
649 int (*open_helper)(struct drm_device *, drm_file_t *);
650 void (*free_filp_priv)(struct drm_device *, drm_file_t *);
651 void (*release)(struct drm_device *, void *);
653 void (*dma_ready)(struct drm_device *);
654 int (*dma_quiescent)(struct drm_device *);
655 int (*dma_flush_block_and_flush)(struct drm_device *,
657 int (*dma_flush_unblock)(struct drm_device *, int,
659 int (*context_ctor)(struct drm_device *, int);
660 int (*context_dtor)(struct drm_device *, int);
661 int (*kernel_context_switch)(struct drm_device *, int, int);
662 int (*kernel_context_switch_unlock)(struct drm_device *);
663 int (*device_is_agp) (struct drm_device *);
664 int (*irq_preinstall)(struct drm_device *);
665 void (*irq_postinstall)(struct drm_device *);
666 void (*irq_uninstall)(struct drm_device *dev);
668 int (*vblank_wait)(struct drm_device *, unsigned int *);
669 int (*vblank_wait2)(struct drm_device *, unsigned int *);
671 u32 (*get_vblank_counter)(struct drm_device *dev, int crtc);
672 int (*enable_vblank)(struct drm_device *dev, int crtc);
673 void (*disable_vblank)(struct drm_device *dev, int crtc);
712 * the interrupt priority. Interrupt cookie in drm_device
718 struct drm_device {
816 void (*locked_tasklet_func)(struct drm_device *dev);
866 void drm_core_ioremap(struct drm_local_map *, struct drm_device *);
867 void drm_core_ioremapfree(struct drm_local_map *, struct drm_device *);
872 struct drm_local_map *drm_core_findmap(struct drm_device *, unsigned long);
914 void drm_handle_vblank(struct drm_device *dev, int crtc);
915 u32 drm_vblank_count(struct drm_device *dev, int crtc);
916 int drm_vblank_get(struct drm_device *dev, int crtc);
917 void drm_vblank_put(struct drm_device *dev, int crtc);
918 int drm_vblank_init(struct drm_device *dev, int num_crtcs);
919 void drm_vblank_cleanup(struct drm_device *dev);
941 void drm_agp_chipset_flush(struct drm_device *dev);
942 void drm_agp_rebind(struct drm_device *dev);
1078 int drm_gem_init(struct drm_device *dev);
1080 struct drm_gem_object *drm_gem_object_alloc(struct drm_device *dev,
1100 void drm_gem_release(struct drm_device *dev, struct drm_file *file_private);