Lines Matching refs:adreno_smmu

158 	struct adreno_smmu_priv *adreno_smmu =  in msm_iommu_pagetable_destroy()  local
166 adreno_smmu->set_ttbr0_cfg(adreno_smmu->cookie, NULL); in msm_iommu_pagetable_destroy()
207 struct adreno_smmu_priv *adreno_smmu; in msm_iommu_tlb_flush_all() local
212 adreno_smmu = dev_get_drvdata(pagetable->parent->dev); in msm_iommu_tlb_flush_all()
214 pagetable->tlb->tlb_flush_all((void *)adreno_smmu->cookie); in msm_iommu_tlb_flush_all()
223 struct adreno_smmu_priv *adreno_smmu; in msm_iommu_tlb_flush_walk() local
228 adreno_smmu = dev_get_drvdata(pagetable->parent->dev); in msm_iommu_tlb_flush_walk()
230 pagetable->tlb->tlb_flush_walk(iova, size, granule, (void *)adreno_smmu->cookie); in msm_iommu_tlb_flush_walk()
251 struct adreno_smmu_priv *adreno_smmu = dev_get_drvdata(parent->dev); in msm_iommu_pagetable_create() local
259 if (adreno_smmu->cookie) in msm_iommu_pagetable_create()
260 ttbr1_cfg = adreno_smmu->get_ttbr1_cfg(adreno_smmu->cookie); in msm_iommu_pagetable_create()
296 ret = adreno_smmu->set_ttbr0_cfg(adreno_smmu->cookie, &ttbr0_cfg); in msm_iommu_pagetable_create()
327 struct adreno_smmu_priv *adreno_smmu = dev_get_drvdata(iommu->base.dev); in msm_fault_handler() local
330 if (adreno_smmu->get_fault_info) { in msm_fault_handler()
331 adreno_smmu->get_fault_info(adreno_smmu->cookie, &info); in msm_fault_handler()
348 struct adreno_smmu_priv *adreno_smmu = dev_get_drvdata(mmu->dev); in msm_iommu_resume_translation() local
350 if (adreno_smmu->resume_translation) in msm_iommu_resume_translation()
351 adreno_smmu->resume_translation(adreno_smmu->cookie, true); in msm_iommu_resume_translation()
442 struct adreno_smmu_priv *adreno_smmu = dev_get_drvdata(dev); in msm_iommu_gpu_new() local
454 if (adreno_smmu->set_stall) in msm_iommu_gpu_new()
455 adreno_smmu->set_stall(adreno_smmu->cookie, true); in msm_iommu_gpu_new()