Lines Matching refs:drm_device

88 	int (*load) (struct drm_device *, unsigned long flags);
108 int (*open) (struct drm_device *, struct drm_file *);
122 void (*postclose) (struct drm_device *, struct drm_file *);
150 void (*lastclose) (struct drm_device *);
167 void (*unload) (struct drm_device *);
177 void (*release) (struct drm_device *);
200 u32 (*get_vblank_counter) (struct drm_device *dev, unsigned int pipe);
216 int (*enable_vblank) (struct drm_device *dev, unsigned int pipe);
227 void (*disable_vblank) (struct drm_device *dev, unsigned int pipe);
279 bool (*get_scanout_position) (struct drm_device *dev, unsigned int pipe,
327 bool (*get_vblank_timestamp) (struct drm_device *dev, unsigned int pipe,
348 void (*irq_preinstall) (struct drm_device *dev);
357 int (*irq_postinstall) (struct drm_device *dev);
366 void (*irq_uninstall) (struct drm_device *dev);
373 int (*master_create)(struct drm_device *dev, struct drm_master *master);
380 void (*master_destroy)(struct drm_device *dev, struct drm_master *master);
387 int (*master_set)(struct drm_device *dev, struct drm_file *file_priv,
394 void (*master_drop)(struct drm_device *dev, struct drm_file *file_priv);
453 struct drm_gem_object *(*gem_create_object)(struct drm_device *dev,
462 int (*prime_handle_to_fd)(struct drm_device *dev, struct drm_file *file_priv,
469 int (*prime_fd_to_handle)(struct drm_device *dev, struct drm_file *file_priv,
476 struct dma_buf * (*gem_prime_export)(struct drm_device *dev,
483 struct drm_gem_object * (*gem_prime_import)(struct drm_device *dev,
491 struct drm_device *dev,
521 struct drm_device *dev,
537 struct drm_device *dev, uint32_t handle,
553 struct drm_device *dev,
603 int (*firstopen) (struct drm_device *);
604 void (*preclose) (struct drm_device *, struct drm_file *file_priv);
605 int (*dma_ioctl) (struct drm_device *dev, void *data, struct drm_file *file_priv);
606 int (*dma_quiescent) (struct drm_device *);
607 int (*context_dtor) (struct drm_device *dev, int context);
613 int drm_dev_init(struct drm_device *dev,
616 void drm_dev_fini(struct drm_device *dev);
618 struct drm_device *drm_dev_alloc(struct drm_driver *driver,
620 int drm_dev_register(struct drm_device *dev, unsigned long flags);
621 void drm_dev_unregister(struct drm_device *dev);
623 void drm_dev_get(struct drm_device *dev);
624 void drm_dev_put(struct drm_device *dev);
625 void drm_dev_unref(struct drm_device *dev);
626 void drm_put_dev(struct drm_device *dev);
627 bool drm_dev_enter(struct drm_device *dev, int *idx);
629 void drm_dev_unplug(struct drm_device *dev);
640 static inline bool drm_dev_is_unplugged(struct drm_device *dev) in drm_dev_is_unplugged()
662 static inline bool drm_core_check_feature(struct drm_device *dev, int feature) in drm_core_check_feature()
675 static inline bool drm_drv_uses_atomic_modeset(struct drm_device *dev) in drm_drv_uses_atomic_modeset()
682 int drm_dev_set_unique(struct drm_device *dev, const char *name);