Lines Matching refs:attachment
51 struct dma_buf_attachment *attachment)
70 a->dev = attachment->dev;
74 attachment->priv = a;
84 struct dma_buf_attachment *attachment)
87 struct dma_heap_attachment *a = attachment->priv;
97 static struct sg_table *cma_heap_map_dma_buf(struct dma_buf_attachment *attachment,
100 struct dma_heap_attachment *a = attachment->priv;
104 ret = dma_map_sgtable(attachment->dev, table, direction, 0);
111 static void cma_heap_unmap_dma_buf(struct dma_buf_attachment *attachment,
115 struct dma_heap_attachment *a = attachment->priv;
118 dma_unmap_sgtable(attachment->dev, table, direction, 0);