Lines Matching refs:sgt
32 struct sg_table *sgt, unsigned len, int prot) in etnaviv_iommu_map() argument
40 if (!domain || !sgt) in etnaviv_iommu_map()
43 for_each_sg(sgt->sgl, sg, sgt->nents, i) { in etnaviv_iommu_map()
61 for_each_sg(sgt->sgl, sg, i, j) { in etnaviv_iommu_map()
71 struct sg_table *sgt, unsigned len) in etnaviv_iommu_unmap() argument
78 for_each_sg(sgt->sgl, sg, sgt->nents, i) { in etnaviv_iommu_unmap()
102 etnaviv_obj->sgt, etnaviv_obj->base.size); in etnaviv_iommu_remove_mapping()
210 struct sg_table *sgt = etnaviv_obj->sgt; in etnaviv_iommu_map_gem() local
220 sgt->nents == 1 && !(etnaviv_obj->flags & ETNA_BO_FORCE_MMU)) { in etnaviv_iommu_map_gem()
223 iova = sg_dma_address(sgt->sgl) - memory_base; in etnaviv_iommu_map_gem()
224 if (iova < 0x80000000 - sg_dma_len(sgt->sgl)) { in etnaviv_iommu_map_gem()
242 ret = etnaviv_iommu_map(mmu, node->start, sgt, etnaviv_obj->base.size, in etnaviv_iommu_map_gem()