Lines Matching full:attachment
103 struct dma_buf_attachment *attachment) in system_heap_attach() argument
120 a->dev = attachment->dev; in system_heap_attach()
124 attachment->priv = a; in system_heap_attach()
134 struct dma_buf_attachment *attachment) in system_heap_detach() argument
137 struct dma_heap_attachment *a = attachment->priv; in system_heap_detach()
148 static struct sg_table *system_heap_map_dma_buf(struct dma_buf_attachment *attachment, in system_heap_map_dma_buf() argument
151 struct dma_heap_attachment *a = attachment->priv; in system_heap_map_dma_buf()
153 int attr = attachment->dma_map_attrs; in system_heap_map_dma_buf()
159 ret = dma_map_sgtable(attachment->dev, table, direction, attr); in system_heap_map_dma_buf()
167 static void system_heap_unmap_dma_buf(struct dma_buf_attachment *attachment, in system_heap_unmap_dma_buf() argument
171 struct dma_heap_attachment *a = attachment->priv; in system_heap_unmap_dma_buf()
172 int attr = attachment->dma_map_attrs; in system_heap_unmap_dma_buf()
177 dma_unmap_sgtable(attachment->dev, table, direction, attr); in system_heap_unmap_dma_buf()