Lines Matching refs:dma_buf
37 struct dma_buf;
80 int (*attach)(struct dma_buf *, struct dma_buf_attachment *);
91 void (*detach)(struct dma_buf *, struct dma_buf_attachment *);
156 void (*release)(struct dma_buf *);
188 int (*begin_cpu_access)(struct dma_buf *, enum dma_data_direction);
207 int (*end_cpu_access)(struct dma_buf *, enum dma_data_direction);
208 void *(*map)(struct dma_buf *, unsigned long);
209 void (*unmap)(struct dma_buf *, unsigned long, void *);
246 int (*mmap)(struct dma_buf *, struct vm_area_struct *vma);
248 void *(*vmap)(struct dma_buf *);
249 void (*vunmap)(struct dma_buf *, void *vaddr);
280 struct dma_buf { struct
322 struct dma_buf *dmabuf;
371 static inline void get_dma_buf(struct dma_buf *dmabuf) in get_dma_buf()
376 struct dma_buf_attachment *dma_buf_attach(struct dma_buf *dmabuf,
378 void dma_buf_detach(struct dma_buf *dmabuf,
381 struct dma_buf *dma_buf_export(const struct dma_buf_export_info *exp_info);
383 int dma_buf_fd(struct dma_buf *dmabuf, int flags);
384 struct dma_buf *dma_buf_get(int fd);
385 void dma_buf_put(struct dma_buf *dmabuf);
391 int dma_buf_begin_cpu_access(struct dma_buf *dma_buf,
393 int dma_buf_end_cpu_access(struct dma_buf *dma_buf,
395 void *dma_buf_kmap(struct dma_buf *, unsigned long);
396 void dma_buf_kunmap(struct dma_buf *, unsigned long, void *);
398 int dma_buf_mmap(struct dma_buf *, struct vm_area_struct *,
400 void *dma_buf_vmap(struct dma_buf *);
401 void dma_buf_vunmap(struct dma_buf *, void *vaddr);