Lines Matching refs:dma_buf
26 struct dma_buf;
71 int (*attach)(struct dma_buf *, struct dma_buf_attachment *);
82 void (*detach)(struct dma_buf *, struct dma_buf_attachment *);
178 void (*release)(struct dma_buf *);
210 int (*begin_cpu_access)(struct dma_buf *, enum dma_data_direction);
229 int (*end_cpu_access)(struct dma_buf *, enum dma_data_direction);
266 int (*mmap)(struct dma_buf *, struct vm_area_struct *vma);
268 void *(*vmap)(struct dma_buf *);
269 void (*vunmap)(struct dma_buf *, void *vaddr);
305 struct dma_buf { struct
390 struct dma_buf *dmabuf;
444 static inline void get_dma_buf(struct dma_buf *dmabuf) in get_dma_buf()
457 static inline bool dma_buf_is_dynamic(struct dma_buf *dmabuf) in dma_buf_is_dynamic()
476 struct dma_buf_attachment *dma_buf_attach(struct dma_buf *dmabuf,
479 dma_buf_dynamic_attach(struct dma_buf *dmabuf, struct device *dev,
482 void dma_buf_detach(struct dma_buf *dmabuf,
487 struct dma_buf *dma_buf_export(const struct dma_buf_export_info *exp_info);
489 int dma_buf_fd(struct dma_buf *dmabuf, int flags);
490 struct dma_buf *dma_buf_get(int fd);
491 void dma_buf_put(struct dma_buf *dmabuf);
497 void dma_buf_move_notify(struct dma_buf *dma_buf);
498 int dma_buf_begin_cpu_access(struct dma_buf *dma_buf,
500 int dma_buf_end_cpu_access(struct dma_buf *dma_buf,
503 int dma_buf_mmap(struct dma_buf *, struct vm_area_struct *,
505 void *dma_buf_vmap(struct dma_buf *);
506 void dma_buf_vunmap(struct dma_buf *, void *vaddr);