Lines Matching refs:drm_device

39 struct drm_device;
88 void drm_legacy_ctxbitmap_init(struct drm_device *dev);
89 void drm_legacy_ctxbitmap_cleanup(struct drm_device *dev);
90 void drm_legacy_ctxbitmap_flush(struct drm_device *dev, struct drm_file *file);
92 static inline void drm_legacy_ctxbitmap_init(struct drm_device *dev) {} in drm_legacy_ctxbitmap_init()
93 static inline void drm_legacy_ctxbitmap_cleanup(struct drm_device *dev) {} in drm_legacy_ctxbitmap_cleanup()
94 static inline void drm_legacy_ctxbitmap_flush(struct drm_device *dev, struct drm_file *file) {} in drm_legacy_ctxbitmap_flush()
97 void drm_legacy_ctxbitmap_free(struct drm_device *dev, int ctx_handle);
100 int drm_legacy_resctx(struct drm_device *d, void *v, struct drm_file *f);
101 int drm_legacy_addctx(struct drm_device *d, void *v, struct drm_file *f);
102 int drm_legacy_getctx(struct drm_device *d, void *v, struct drm_file *f);
103 int drm_legacy_switchctx(struct drm_device *d, void *v, struct drm_file *f);
104 int drm_legacy_newctx(struct drm_device *d, void *v, struct drm_file *f);
105 int drm_legacy_rmctx(struct drm_device *d, void *v, struct drm_file *f);
107 int drm_legacy_setsareactx(struct drm_device *d, void *v, struct drm_file *f);
108 int drm_legacy_getsareactx(struct drm_device *d, void *v, struct drm_file *f);
118 static inline int drm_legacy_create_map_hash(struct drm_device *dev) in drm_legacy_create_map_hash()
123 static inline void drm_legacy_remove_map_hash(struct drm_device *dev) in drm_legacy_remove_map_hash()
128 static inline int drm_legacy_create_map_hash(struct drm_device *dev) in drm_legacy_create_map_hash()
133 static inline void drm_legacy_remove_map_hash(struct drm_device *dev) {} in drm_legacy_remove_map_hash()
138 int drm_legacy_getmap_ioctl(struct drm_device *dev, void *data,
140 int drm_legacy_addmap_ioctl(struct drm_device *d, void *v, struct drm_file *f);
141 int drm_legacy_rmmap_ioctl(struct drm_device *d, void *v, struct drm_file *f);
143 int drm_legacy_addbufs(struct drm_device *d, void *v, struct drm_file *f);
144 int drm_legacy_infobufs(struct drm_device *d, void *v, struct drm_file *f);
145 int drm_legacy_markbufs(struct drm_device *d, void *v, struct drm_file *f);
146 int drm_legacy_freebufs(struct drm_device *d, void *v, struct drm_file *f);
147 int drm_legacy_mapbufs(struct drm_device *d, void *v, struct drm_file *f);
148 int drm_legacy_dma_ioctl(struct drm_device *d, void *v, struct drm_file *f);
151 int __drm_legacy_infobufs(struct drm_device *, void *, int *,
153 int __drm_legacy_mapbufs(struct drm_device *, void *, int *,
159 void drm_legacy_master_rmmaps(struct drm_device *dev,
161 void drm_legacy_rmmaps(struct drm_device *dev);
163 static inline void drm_legacy_master_rmmaps(struct drm_device *dev, in drm_legacy_master_rmmaps()
165 static inline void drm_legacy_rmmaps(struct drm_device *dev) {} in drm_legacy_rmmaps()
169 void drm_legacy_vma_flush(struct drm_device *d);
171 static inline void drm_legacy_vma_flush(struct drm_device *d) in drm_legacy_vma_flush()
191 void drm_legacy_agp_clear(struct drm_device *dev);
193 int drm_legacy_agp_acquire_ioctl(struct drm_device *dev, void *data,
195 int drm_legacy_agp_release_ioctl(struct drm_device *dev, void *data,
197 int drm_legacy_agp_enable_ioctl(struct drm_device *dev, void *data,
199 int drm_legacy_agp_info_ioctl(struct drm_device *dev, void *data,
201 int drm_legacy_agp_alloc_ioctl(struct drm_device *dev, void *data,
203 int drm_legacy_agp_free_ioctl(struct drm_device *dev, void *data,
205 int drm_legacy_agp_unbind_ioctl(struct drm_device *dev, void *data,
207 int drm_legacy_agp_bind_ioctl(struct drm_device *dev, void *data,
210 static inline void drm_legacy_agp_clear(struct drm_device *dev) {} in drm_legacy_agp_clear()
215 int drm_legacy_lock(struct drm_device *d, void *v, struct drm_file *f);
216 int drm_legacy_unlock(struct drm_device *d, void *v, struct drm_file *f);
217 void drm_legacy_lock_release(struct drm_device *dev, struct file *filp);
219 static inline void drm_legacy_lock_release(struct drm_device *dev, struct file *filp) {} in drm_legacy_lock_release()
224 int drm_legacy_dma_setup(struct drm_device *dev);
225 void drm_legacy_dma_takedown(struct drm_device *dev);
227 static inline int drm_legacy_dma_setup(struct drm_device *dev) in drm_legacy_dma_setup()
233 void drm_legacy_free_buffer(struct drm_device *dev,
236 void drm_legacy_reclaim_buffers(struct drm_device *dev,
239 static inline void drm_legacy_reclaim_buffers(struct drm_device *dev, in drm_legacy_reclaim_buffers()
245 void drm_legacy_sg_cleanup(struct drm_device *dev);
246 int drm_legacy_sg_alloc(struct drm_device *dev, void *data,
248 int drm_legacy_sg_free(struct drm_device *dev, void *data,
253 void drm_legacy_init_members(struct drm_device *dev);
254 void drm_legacy_destroy_members(struct drm_device *dev);
255 void drm_legacy_dev_reinit(struct drm_device *dev);
256 int drm_legacy_setup(struct drm_device * dev);
258 static inline void drm_legacy_init_members(struct drm_device *dev) {} in drm_legacy_init_members()
259 static inline void drm_legacy_destroy_members(struct drm_device *dev) {} in drm_legacy_destroy_members()
260 static inline void drm_legacy_dev_reinit(struct drm_device *dev) {} in drm_legacy_dev_reinit()
261 static inline int drm_legacy_setup(struct drm_device * dev) { return 0; } in drm_legacy_setup()
265 void drm_legacy_lock_master_cleanup(struct drm_device *dev, struct drm_master *master);
267 static inline void drm_legacy_lock_master_cleanup(struct drm_device *dev, struct drm_master *master… in drm_legacy_lock_master_cleanup()
278 int drm_legacy_irq_by_busid(struct drm_device *dev, void *data, struct drm_file *file_priv);
279 void drm_legacy_pci_agp_destroy(struct drm_device *dev);
281 static inline int drm_legacy_irq_by_busid(struct drm_device *dev, void *data, in drm_legacy_irq_by_busid()
287 static inline void drm_legacy_pci_agp_destroy(struct drm_device *dev) {} in drm_legacy_pci_agp_destroy()