Lines Matching full:attachment
93 struct dma_buf_attachment *attachment) in system_heap_attach() argument
110 a->dev = attachment->dev; in system_heap_attach()
114 attachment->priv = a; in system_heap_attach()
124 struct dma_buf_attachment *attachment) in system_heap_detach() argument
127 struct dma_heap_attachment *a = attachment->priv; in system_heap_detach()
138 static struct sg_table *system_heap_map_dma_buf(struct dma_buf_attachment *attachment, in system_heap_map_dma_buf() argument
141 struct dma_heap_attachment *a = attachment->priv; in system_heap_map_dma_buf()
143 int attr = attachment->dma_map_attrs; in system_heap_map_dma_buf()
149 ret = dma_map_sgtable(attachment->dev, table, direction, attr); in system_heap_map_dma_buf()
157 static void system_heap_unmap_dma_buf(struct dma_buf_attachment *attachment, in system_heap_unmap_dma_buf() argument
161 struct dma_heap_attachment *a = attachment->priv; in system_heap_unmap_dma_buf()
162 int attr = attachment->dma_map_attrs; in system_heap_unmap_dma_buf()
167 dma_unmap_sgtable(attachment->dev, table, direction, attr); in system_heap_unmap_dma_buf()