Lines Matching defs:dma_buf_attachment

28 struct dma_buf_attachment;
50 * &dma_buf_attachment.dev can access the provided &dma_buf. Exporters
62 * &dma_buf_attachment.priv pointer.
72 int (*attach)(struct dma_buf *, struct dma_buf_attachment *);
77 * This is called by dma_buf_detach() to release a &dma_buf_attachment.
79 * &dma_buf_attachment.
83 void (*detach)(struct dma_buf *, struct dma_buf_attachment *);
109 int (*pin)(struct dma_buf_attachment *attach);
122 void (*unpin)(struct dma_buf_attachment *attach);
137 * &device.dma_params from the &dma_buf_attachment. The @attach callback
166 * with the provided &dma_buf_attachment. The addresses and lengths in
179 struct sg_table * (*map_dma_buf)(struct dma_buf_attachment *,
189 void (*unmap_dma_buf)(struct dma_buf_attachment *,
300 * Device DMA access is handled by the separate &struct dma_buf_attachment.
321 * List of dma_buf_attachment that denotes all devices attached,
486 void (*move_notify)(struct dma_buf_attachment *attach);
490 * struct dma_buf_attachment - holds device-buffer attachment data
493 * @node: list of dma_buf_attachment, protected by dma_resv lock of the dmabuf.
511 struct dma_buf_attachment {
593 dma_buf_attachment_is_dynamic(struct dma_buf_attachment *attach)
598 struct dma_buf_attachment *dma_buf_attach(struct dma_buf *dmabuf,
600 struct dma_buf_attachment *
605 struct dma_buf_attachment *attach);
606 int dma_buf_pin(struct dma_buf_attachment *attach);
607 void dma_buf_unpin(struct dma_buf_attachment *attach);
615 struct sg_table *dma_buf_map_attachment(struct dma_buf_attachment *,
617 void dma_buf_unmap_attachment(struct dma_buf_attachment *, struct sg_table *,
625 dma_buf_map_attachment_unlocked(struct dma_buf_attachment *attach,
627 void dma_buf_unmap_attachment_unlocked(struct dma_buf_attachment *attach,