Lines Matching refs:bytes
61 size_t bytes = sg->length + sg->offset; in msm_iommu_map() local
63 VERB("map[%d]: %08x %08x(%zx)", i, iova, pa, bytes); in msm_iommu_map()
65 ret = iommu_map(domain, da, pa, bytes, prot); in msm_iommu_map()
69 da += bytes; in msm_iommu_map()
78 size_t bytes = sg->length + sg->offset; in msm_iommu_map() local
79 iommu_unmap(domain, da, bytes); in msm_iommu_map()
80 da += bytes; in msm_iommu_map()
95 size_t bytes = sg->length + sg->offset; in msm_iommu_unmap() local
98 unmapped = iommu_unmap(domain, da, bytes); in msm_iommu_unmap()
99 if (unmapped < bytes) in msm_iommu_unmap()
102 VERB("unmap[%d]: %08x(%zx)", i, iova, bytes); in msm_iommu_unmap()
104 BUG_ON(!PAGE_ALIGNED(bytes)); in msm_iommu_unmap()
106 da += bytes; in msm_iommu_unmap()