Lines Matching defs:dma_buf_ops
39 struct dma_buf_ops { struct
47 bool cache_sgt_mapping;
75 int (*attach)(struct dma_buf *, struct dma_buf_attachment *);
86 void (*detach)(struct dma_buf *, struct dma_buf_attachment *);
112 int (*pin)(struct dma_buf_attachment *attach);
125 void (*unpin)(struct dma_buf_attachment *attach);
182 struct sg_table * (*map_dma_buf)(struct dma_buf_attachment *,
192 void (*unmap_dma_buf)(struct dma_buf_attachment *,
206 void (*release)(struct dma_buf *);
233 int (*begin_cpu_access)(struct dma_buf *, enum dma_data_direction);
266 int (*begin_cpu_access_partial)(struct dma_buf *dmabuf,
285 int (*end_cpu_access)(struct dma_buf *, enum dma_data_direction);
305 int (*end_cpu_access_partial)(struct dma_buf *dmabuf,
344 int (*mmap)(struct dma_buf *, struct vm_area_struct *vma);
346 int (*vmap)(struct dma_buf *dmabuf, struct iosys_map *map);
347 void (*vunmap)(struct dma_buf *dmabuf, struct iosys_map *map);
361 int (*get_flags)(struct dma_buf *dmabuf, unsigned long *flags);