• Home
  • Raw
  • Download

Lines Matching refs:dev

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,
775 int (*dma_ioctl) (struct drm_device *dev, void *data, struct drm_file *file_priv);
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);
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() argument
820 if (drm_dev_enter(dev, &idx)) { 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() argument
840 return dev->driver->driver_features & dev->driver_features & 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() argument
853 return drm_core_check_feature(dev, DRIVER_ATOMIC) || in drm_drv_uses_atomic_modeset()
854 (dev->mode_config.funcs && dev->mode_config.funcs->atomic_commit != NULL); in drm_drv_uses_atomic_modeset()
858 int drm_dev_set_unique(struct drm_device *dev, const char *name);