Lines Matching refs:drm_device
180 int (*load) (struct drm_device *, unsigned long flags);
200 int (*open) (struct drm_device *, struct drm_file *);
214 void (*postclose) (struct drm_device *, struct drm_file *);
242 void (*lastclose) (struct drm_device *);
259 void (*unload) (struct drm_device *);
269 void (*release) (struct drm_device *);
292 u32 (*get_vblank_counter) (struct drm_device *dev, unsigned int pipe);
308 int (*enable_vblank) (struct drm_device *dev, unsigned int pipe);
319 void (*disable_vblank) (struct drm_device *dev, unsigned int pipe);
371 bool (*get_scanout_position) (struct drm_device *dev, unsigned int pipe,
419 bool (*get_vblank_timestamp) (struct drm_device *dev, unsigned int pipe,
440 void (*irq_preinstall) (struct drm_device *dev);
449 int (*irq_postinstall) (struct drm_device *dev);
458 void (*irq_uninstall) (struct drm_device *dev);
465 int (*master_create)(struct drm_device *dev, struct drm_master *master);
472 void (*master_destroy)(struct drm_device *dev, struct drm_master *master);
479 int (*master_set)(struct drm_device *dev, struct drm_file *file_priv,
486 void (*master_drop)(struct drm_device *dev, struct drm_file *file_priv);
554 struct drm_gem_object *(*gem_create_object)(struct drm_device *dev,
565 int (*prime_handle_to_fd)(struct drm_device *dev, struct drm_file *file_priv,
576 int (*prime_fd_to_handle)(struct drm_device *dev, struct drm_file *file_priv,
593 struct drm_gem_object * (*gem_prime_import)(struct drm_device *dev,
625 struct drm_device *dev,
678 struct drm_device *dev,
696 struct drm_device *dev, uint32_t handle,
715 struct drm_device *dev,
773 int (*firstopen) (struct drm_device *);
774 void (*preclose) (struct drm_device *, struct drm_file *file_priv);
775 int (*dma_ioctl) (struct drm_device *dev, void *data, struct drm_file *file_priv);
776 int (*dma_quiescent) (struct drm_device *);
777 int (*context_dtor) (struct drm_device *dev, int context);
783 int drm_dev_init(struct drm_device *dev,
787 struct drm_device *dev,
789 void drm_dev_fini(struct drm_device *dev);
791 struct drm_device *drm_dev_alloc(struct drm_driver *driver,
793 int drm_dev_register(struct drm_device *dev, unsigned long flags);
794 void drm_dev_unregister(struct drm_device *dev);
796 void drm_dev_get(struct drm_device *dev);
797 void drm_dev_put(struct drm_device *dev);
798 void drm_put_dev(struct drm_device *dev);
799 bool drm_dev_enter(struct drm_device *dev, int *idx);
801 void drm_dev_unplug(struct drm_device *dev);
816 static inline bool drm_dev_is_unplugged(struct drm_device *dev) in drm_dev_is_unplugged()
838 static inline bool drm_core_check_feature(const struct drm_device *dev, u32 feature) in drm_core_check_feature()
851 static inline bool drm_drv_uses_atomic_modeset(struct drm_device *dev) in drm_drv_uses_atomic_modeset()
858 int drm_dev_set_unique(struct drm_device *dev, const char *name);