Lines Matching refs:dma_buf

27 struct dma_buf;
72 int (*attach)(struct dma_buf *, struct dma_buf_attachment *);
83 void (*detach)(struct dma_buf *, struct dma_buf_attachment *);
203 void (*release)(struct dma_buf *);
230 int (*begin_cpu_access)(struct dma_buf *, enum dma_data_direction);
247 int (*end_cpu_access)(struct dma_buf *, enum dma_data_direction);
284 int (*mmap)(struct dma_buf *, struct vm_area_struct *vma);
286 int (*vmap)(struct dma_buf *dmabuf, struct iosys_map *map);
287 void (*vunmap)(struct dma_buf *dmabuf, struct iosys_map *map);
302 struct dma_buf { struct
451 struct dma_buf *dmabuf; argument
514 struct dma_buf *dmabuf;
568 static inline void get_dma_buf(struct dma_buf *dmabuf) in get_dma_buf()
581 static inline bool dma_buf_is_dynamic(struct dma_buf *dmabuf) in dma_buf_is_dynamic()
600 struct dma_buf_attachment *dma_buf_attach(struct dma_buf *dmabuf,
603 dma_buf_dynamic_attach(struct dma_buf *dmabuf, struct device *dev,
606 void dma_buf_detach(struct dma_buf *dmabuf,
611 struct dma_buf *dma_buf_export(const struct dma_buf_export_info *exp_info);
613 int dma_buf_fd(struct dma_buf *dmabuf, int flags);
614 struct dma_buf *dma_buf_get(int fd);
615 void dma_buf_put(struct dma_buf *dmabuf);
621 void dma_buf_move_notify(struct dma_buf *dma_buf);
622 int dma_buf_begin_cpu_access(struct dma_buf *dma_buf,
624 int dma_buf_end_cpu_access(struct dma_buf *dma_buf,
633 int dma_buf_mmap(struct dma_buf *, struct vm_area_struct *,
635 int dma_buf_vmap(struct dma_buf *dmabuf, struct iosys_map *map);
636 void dma_buf_vunmap(struct dma_buf *dmabuf, struct iosys_map *map);
637 int dma_buf_vmap_unlocked(struct dma_buf *dmabuf, struct iosys_map *map);
638 void dma_buf_vunmap_unlocked(struct dma_buf *dmabuf, struct iosys_map *map);