Lines Matching refs:cookie
166 adreno_smmu->set_ttbr0_cfg(adreno_smmu->cookie, NULL); in msm_iommu_pagetable_destroy()
197 static void msm_iommu_tlb_flush_all(void *cookie) in msm_iommu_tlb_flush_all() argument
199 struct msm_iommu_pagetable *pagetable = cookie; in msm_iommu_tlb_flush_all()
207 pagetable->tlb->tlb_flush_all((void *)adreno_smmu->cookie); in msm_iommu_tlb_flush_all()
213 size_t granule, void *cookie) in msm_iommu_tlb_flush_walk() argument
215 struct msm_iommu_pagetable *pagetable = cookie; in msm_iommu_tlb_flush_walk()
223 pagetable->tlb->tlb_flush_walk(iova, size, granule, (void *)adreno_smmu->cookie); in msm_iommu_tlb_flush_walk()
229 unsigned long iova, size_t granule, void *cookie) in msm_iommu_tlb_add_page() argument
252 if (adreno_smmu->cookie) in msm_iommu_pagetable_create()
253 ttbr1_cfg = adreno_smmu->get_ttbr1_cfg(adreno_smmu->cookie); in msm_iommu_pagetable_create()
297 adreno_smmu->set_stall(adreno_smmu->cookie, true); in msm_iommu_pagetable_create()
299 ret = adreno_smmu->set_ttbr0_cfg(adreno_smmu->cookie, &ttbr0_cfg); in msm_iommu_pagetable_create()
333 adreno_smmu->get_fault_info(adreno_smmu->cookie, &info); in msm_fault_handler()
348 adreno_smmu->resume_translation(adreno_smmu->cookie, true); in msm_iommu_resume_translation()