Lines Matching full:attachment
709 + struct dma_buf_attachment *attachment)
728 + a->dev = attachment->dev;
732 + attachment->priv = a;
742 + struct dma_buf_attachment *attachment)
745 + struct dma_heap_attachment *a = attachment->priv;
755 +static struct sg_table *cma_heap_map_dma_buf(struct dma_buf_attachment *attachment,
761 + struct dma_heap_attachment *a = attachment->priv;
763 + int attrs = attachment->dma_map_attrs;
766 + ret = dma_map_sgtable(attachment->dev, table, direction, attrs);
773 +static void cma_heap_unmap_dma_buf(struct dma_buf_attachment *attachment,
777 + struct dma_heap_attachment *a = attachment->priv;
778 + int attrs = attachment->dma_map_attrs;
781 + dma_unmap_sgtable(attachment->dev, table, direction, attrs);
1704 + struct dma_buf_attachment *attachment)
1727 + a->dev = attachment->dev;
1731 + attachment->priv = a;
1741 + struct dma_buf_attachment *attachment)
1744 + struct dma_heap_attachment *a = attachment->priv;
1758 +static struct sg_table *system_heap_map_dma_buf(struct dma_buf_attachment *attachment,
1761 + struct dma_heap_attachment *a = attachment->priv;
1763 + int attr = attachment->dma_map_attrs;
1769 + ret = dma_map_sgtable(attachment->dev, table, direction, attr);
1777 +static void system_heap_unmap_dma_buf(struct dma_buf_attachment *attachment,
1781 + struct dma_heap_attachment *a = attachment->priv;
1782 + int attr = attachment->dma_map_attrs;
1787 + dma_unmap_sgtable(attachment->dev, table, direction, attr);