Lines Matching refs:attachment
91 struct dma_buf_attachment *attachment) in tee_heap_attach() argument
107 a->dev = attachment->dev; in tee_heap_attach()
108 attachment->priv = a; in tee_heap_attach()
114 struct dma_buf_attachment *attachment) in tee_heap_detach() argument
116 struct tee_heap_attachment *a = attachment->priv; in tee_heap_detach()
123 tee_heap_map_dma_buf(struct dma_buf_attachment *attachment, in tee_heap_map_dma_buf() argument
126 struct tee_heap_attachment *a = attachment->priv; in tee_heap_map_dma_buf()
129 ret = dma_map_sgtable(attachment->dev, &a->table, direction, in tee_heap_map_dma_buf()
137 static void tee_heap_unmap_dma_buf(struct dma_buf_attachment *attachment, in tee_heap_unmap_dma_buf() argument
141 struct tee_heap_attachment *a = attachment->priv; in tee_heap_unmap_dma_buf()
145 dma_unmap_sgtable(attachment->dev, table, direction, in tee_heap_unmap_dma_buf()