Lines Matching refs:attachment
83 struct dma_buf_attachment *attachment)
100 a->dev = attachment->dev;
104 attachment->priv = a;
114 struct dma_buf_attachment *attachment)
117 struct dma_heap_attachment *a = attachment->priv;
128 static struct sg_table *system_heap_map_dma_buf(struct dma_buf_attachment *attachment,
131 struct dma_heap_attachment *a = attachment->priv;
135 ret = dma_map_sgtable(attachment->dev, table, direction, 0);
143 static void system_heap_unmap_dma_buf(struct dma_buf_attachment *attachment,
147 struct dma_heap_attachment *a = attachment->priv;
150 dma_unmap_sgtable(attachment->dev, table, direction, 0);