|
DEFINE_DMA_BUF_EXPORT_INFO - helper macro for exporters
DEFINE_DMA_BUF_EXPORT_INFO macro defines the &struct dma_buf_export_info, zeroes it out and pre-populates exp_name in it.
|
| #define | DEFINE_DMA_BUF_EXPORT_INFO(name) |
| |
| struct dma_buf_attachment * | dma_buf_attach (struct dma_buf *dmabuf, struct device *dev) |
| |
| struct dma_buf_attachment * | dma_buf_dynamic_attach (struct dma_buf *dmabuf, struct device *dev, const struct dma_buf_attach_ops *importer_ops, void *importer_priv) |
| |
| void | dma_buf_detach (struct dma_buf *dmabuf, struct dma_buf_attachment *attach) |
| |
| int | dma_buf_pin (struct dma_buf_attachment *attach) |
| |
| void | dma_buf_unpin (struct dma_buf_attachment *attach) |
| |
| struct dma_buf * | dma_buf_export (const struct dma_buf_export_info *exp_info) |
| |
| int | dma_buf_fd (struct dma_buf *dmabuf, int flags) |
| |
| struct dma_buf * | dma_buf_get (int fd) |
| |
| void | dma_buf_put (struct dma_buf *dmabuf) |
| |
| struct sg_table * | dma_buf_map_attachment (struct dma_buf_attachment *, enum dma_data_direction) |
| |
| void | dma_buf_unmap_attachment (struct dma_buf_attachment *, struct sg_table *, enum dma_data_direction) |
| |
| void | dma_buf_invalidate_mappings (struct dma_buf *dma_buf) |
| |
| bool | dma_buf_attach_revocable (struct dma_buf_attachment *attach) |
| |
| int | dma_buf_begin_cpu_access (struct dma_buf *dma_buf, enum dma_data_direction dir) |
| |
| int | dma_buf_end_cpu_access (struct dma_buf *dma_buf, enum dma_data_direction dir) |
| |
| struct sg_table * | dma_buf_map_attachment_unlocked (struct dma_buf_attachment *attach, enum dma_data_direction direction) |
| |
| void | dma_buf_unmap_attachment_unlocked (struct dma_buf_attachment *attach, struct sg_table *sg_table, enum dma_data_direction direction) |
| |
| int | dma_buf_mmap (struct dma_buf *, struct vm_area_struct *, unsigned long) |
| |
| int | dma_buf_vmap (struct dma_buf *dmabuf, struct iosys_map *map) |
| |
| void | dma_buf_vunmap (struct dma_buf *dmabuf, struct iosys_map *map) |
| |
| int | dma_buf_vmap_unlocked (struct dma_buf *dmabuf, struct iosys_map *map) |
| |
| void | dma_buf_vunmap_unlocked (struct dma_buf *dmabuf, struct iosys_map *map) |
| |
| struct dma_buf * | dma_buf_iter_begin (void) |
| |
| struct dma_buf * | dma_buf_iter_next (struct dma_buf *dmbuf) |
| |
File pointer used for sharing buffers across, and for refcounting. See dma_buf_get() and dma_buf_put().