Home
last modified time | relevance | path

Searched refs:m4u_dom (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.1/drivers/iommu/
Dmtk_iommu.c210 struct mtk_iommu_domain *m4u_dom; /* Each bank has a domain */ member
414 struct mtk_iommu_domain *dom = bank->m4u_dom; in mtk_iommu_isr()
581 struct mtk_iommu_domain *m4u_dom; in mtk_iommu_domain_finalise() local
584 m4u_dom = data->bank[0].m4u_dom; in mtk_iommu_domain_finalise()
585 if (m4u_dom) { in mtk_iommu_domain_finalise()
586 dom->iop = m4u_dom->iop; in mtk_iommu_domain_finalise()
587 dom->cfg = m4u_dom->cfg; in mtk_iommu_domain_finalise()
588 dom->domain.pgsize_bitmap = m4u_dom->cfg.pgsize_bitmap; in mtk_iommu_domain_finalise()
679 if (!bank->m4u_dom) { /* Initialize the M4U HW for each a BANK */ in mtk_iommu_attach_device()
691 bank->m4u_dom = dom; in mtk_iommu_attach_device()
[all …]
Dmtk_iommu_v1.c102 struct mtk_iommu_v1_domain *m4u_dom; member
197 struct mtk_iommu_v1_domain *dom = data->m4u_dom; in mtk_iommu_v1_isr()
257 struct mtk_iommu_v1_domain *dom = data->m4u_dom; in mtk_iommu_v1_domain_finalise()
309 if (!data->m4u_dom) { in mtk_iommu_v1_attach_device()
310 data->m4u_dom = dom; in mtk_iommu_v1_attach_device()
313 data->m4u_dom = NULL; in mtk_iommu_v1_attach_device()
739 writel_relaxed(data->m4u_dom->pgt_pa, base + REG_MMU_PT_BASE_ADDR); in mtk_iommu_v1_resume()