Lines Matching refs:drm_device

34 #include <drm/drm_device.h>
38 struct drm_device;
50 void drm_legacy_ctxbitmap_init(struct drm_device *dev);
51 void drm_legacy_ctxbitmap_cleanup(struct drm_device *dev);
52 void drm_legacy_ctxbitmap_flush(struct drm_device *dev, struct drm_file *file);
54 static inline void drm_legacy_ctxbitmap_init(struct drm_device *dev) {}
55 static inline void drm_legacy_ctxbitmap_cleanup(struct drm_device *dev) {}
56 static inline void drm_legacy_ctxbitmap_flush(struct drm_device *dev, struct drm_file *file) {}
59 void drm_legacy_ctxbitmap_free(struct drm_device *dev, int ctx_handle);
62 int drm_legacy_resctx(struct drm_device *d, void *v, struct drm_file *f);
63 int drm_legacy_addctx(struct drm_device *d, void *v, struct drm_file *f);
64 int drm_legacy_getctx(struct drm_device *d, void *v, struct drm_file *f);
65 int drm_legacy_switchctx(struct drm_device *d, void *v, struct drm_file *f);
66 int drm_legacy_newctx(struct drm_device *d, void *v, struct drm_file *f);
67 int drm_legacy_rmctx(struct drm_device *d, void *v, struct drm_file *f);
69 int drm_legacy_setsareactx(struct drm_device *d, void *v, struct drm_file *f);
70 int drm_legacy_getsareactx(struct drm_device *d, void *v, struct drm_file *f);
80 static inline int drm_legacy_create_map_hash(struct drm_device *dev)
85 static inline void drm_legacy_remove_map_hash(struct drm_device *dev)
90 static inline int drm_legacy_create_map_hash(struct drm_device *dev)
95 static inline void drm_legacy_remove_map_hash(struct drm_device *dev) {}
100 int drm_legacy_getmap_ioctl(struct drm_device *dev, void *data,
102 int drm_legacy_addmap_ioctl(struct drm_device *d, void *v, struct drm_file *f);
103 int drm_legacy_rmmap_ioctl(struct drm_device *d, void *v, struct drm_file *f);
105 int drm_legacy_addbufs(struct drm_device *d, void *v, struct drm_file *f);
106 int drm_legacy_infobufs(struct drm_device *d, void *v, struct drm_file *f);
107 int drm_legacy_markbufs(struct drm_device *d, void *v, struct drm_file *f);
108 int drm_legacy_freebufs(struct drm_device *d, void *v, struct drm_file *f);
109 int drm_legacy_mapbufs(struct drm_device *d, void *v, struct drm_file *f);
110 int drm_legacy_dma_ioctl(struct drm_device *d, void *v, struct drm_file *f);
113 int __drm_legacy_infobufs(struct drm_device *, void *, int *,
115 int __drm_legacy_mapbufs(struct drm_device *, void *, int *,
121 void drm_legacy_master_rmmaps(struct drm_device *dev,
123 void drm_legacy_rmmaps(struct drm_device *dev);
125 static inline void drm_legacy_master_rmmaps(struct drm_device *dev,
127 static inline void drm_legacy_rmmaps(struct drm_device *dev) {}
131 void drm_legacy_vma_flush(struct drm_device *d);
133 static inline void drm_legacy_vma_flush(struct drm_device *d)
153 int drm_legacy_lock(struct drm_device *d, void *v, struct drm_file *f);
154 int drm_legacy_unlock(struct drm_device *d, void *v, struct drm_file *f);
155 void drm_legacy_lock_release(struct drm_device *dev, struct file *filp);
157 static inline void drm_legacy_lock_release(struct drm_device *dev, struct file *filp) {}
162 int drm_legacy_dma_setup(struct drm_device *dev);
163 void drm_legacy_dma_takedown(struct drm_device *dev);
165 static inline int drm_legacy_dma_setup(struct drm_device *dev)
171 void drm_legacy_free_buffer(struct drm_device *dev,
174 void drm_legacy_reclaim_buffers(struct drm_device *dev,
177 static inline void drm_legacy_reclaim_buffers(struct drm_device *dev,
183 void drm_legacy_sg_cleanup(struct drm_device *dev);
184 int drm_legacy_sg_alloc(struct drm_device *dev, void *data,
186 int drm_legacy_sg_free(struct drm_device *dev, void *data,
191 void drm_legacy_init_members(struct drm_device *dev);
192 void drm_legacy_destroy_members(struct drm_device *dev);
193 void drm_legacy_dev_reinit(struct drm_device *dev);
194 int drm_legacy_setup(struct drm_device * dev);
196 static inline void drm_legacy_init_members(struct drm_device *dev) {}
197 static inline void drm_legacy_destroy_members(struct drm_device *dev) {}
198 static inline void drm_legacy_dev_reinit(struct drm_device *dev) {}
199 static inline int drm_legacy_setup(struct drm_device * dev) { return 0; }
203 void drm_legacy_lock_master_cleanup(struct drm_device *dev, struct drm_master *master);
205 static inline void drm_legacy_lock_master_cleanup(struct drm_device *dev, struct drm_master *master) {}