Lines Matching refs:iova

3761 				   unsigned long iova, phys_addr_t paddr, size_t size, int prot)  in icnss_iommu_map()  argument
3763 return iommu_map(domain, iova, paddr, size, prot); in icnss_iommu_map()
3767 unsigned long iova, phys_addr_t paddr, size_t size, int prot) in icnss_iommu_map() argument
3769 return iommu_map(domain, iova, paddr, size, prot, GFP_KERNEL); in icnss_iommu_map()
3779 unsigned long iova; in icnss_smmu_map() local
3797 iova = roundup(priv->smmu_iova_ipa_current, PAGE_SIZE); in icnss_smmu_map()
3800 iova >= priv->smmu_iova_ipa_start + priv->smmu_iova_ipa_len) { in icnss_smmu_map()
3802 iova, in icnss_smmu_map()
3814 icnss_pr_dbg("IOMMU Map: iova %lx, len %zu\n", iova, len); in icnss_smmu_map()
3816 ret = icnss_iommu_map(priv->iommu_domain, iova, in icnss_smmu_map()
3824 priv->smmu_iova_ipa_current = iova + len; in icnss_smmu_map()
3825 *iova_addr = (uint32_t)(iova + paddr - rounddown(paddr, PAGE_SIZE)); in icnss_smmu_map()
3836 unsigned long iova; in icnss_smmu_unmap() local
3853 iova = rounddown(iova_addr, PAGE_SIZE); in icnss_smmu_unmap()
3855 if (iova >= priv->smmu_iova_ipa_start + priv->smmu_iova_ipa_len) { in icnss_smmu_unmap()
3857 iova, in icnss_smmu_unmap()
3864 iova, len); in icnss_smmu_unmap()
3866 unmapped_len = iommu_unmap(priv->iommu_domain, iova, len); in icnss_smmu_unmap()
3872 priv->smmu_iova_ipa_current = iova; in icnss_smmu_unmap()
4500 struct device *dev, unsigned long iova, in icnss_smmu_fault_handler() argument
4506 icnss_fatal_err("SMMU fault happened with IOVA 0x%lx\n", iova); in icnss_smmu_fault_handler()