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 *);
147 void (*release)(struct dma_buf *);
179 int (*begin_cpu_access)(struct dma_buf *, enum dma_data_direction);
198 int (*end_cpu_access)(struct dma_buf *, enum dma_data_direction);
235 int (*mmap)(struct dma_buf *, struct vm_area_struct *vma);
250 void *(*map)(struct dma_buf *, unsigned long);
260 void (*unmap)(struct dma_buf *, unsigned long, void *);
262 void *(*vmap)(struct dma_buf *);
263 void (*vunmap)(struct dma_buf *, void *vaddr);
296 struct dma_buf { struct
341 struct dma_buf *dmabuf;
392 static inline void get_dma_buf(struct dma_buf *dmabuf) in get_dma_buf()
397 struct dma_buf_attachment *dma_buf_attach(struct dma_buf *dmabuf,
399 void dma_buf_detach(struct dma_buf *dmabuf,
402 struct dma_buf *dma_buf_export(const struct dma_buf_export_info *exp_info);
404 int dma_buf_fd(struct dma_buf *dmabuf, int flags);
405 struct dma_buf *dma_buf_get(int fd);
406 void dma_buf_put(struct dma_buf *dmabuf);
412 int dma_buf_begin_cpu_access(struct dma_buf *dma_buf,
414 int dma_buf_end_cpu_access(struct dma_buf *dma_buf,
416 void *dma_buf_kmap(struct dma_buf *, unsigned long);
417 void dma_buf_kunmap(struct dma_buf *, unsigned long, void *);
419 int dma_buf_mmap(struct dma_buf *, struct vm_area_struct *,
421 void *dma_buf_vmap(struct dma_buf *);
422 void dma_buf_vunmap(struct dma_buf *, void *vaddr);