Home
last modified time | relevance | path

Searched refs:pdom (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/drivers/iommu/amd/
Dio_pgtable_v2.c240 struct protection_domain *pdom = io_pgtable_ops_to_domain(ops); in iommu_v2_map_pages() local
241 struct io_pgtable_cfg *cfg = &pdom->iop.iop.cfg; in iommu_v2_map_pages()
259 pte = v2_alloc_pte(pdom->nid, pdom->iop.pgd, in iommu_v2_map_pages()
277 amd_iommu_flush_tlb(&pdom->domain, 0); in iommu_v2_map_pages()
279 amd_iommu_flush_page(&pdom->domain, 0, o_iova); in iommu_v2_map_pages()
359 struct protection_domain *pdom; in v2_free_pgtable() local
362 pdom = container_of(pgtable, struct protection_domain, iop); in v2_free_pgtable()
363 if (!(pdom->flags & PD_IOMMUV2_MASK)) in v2_free_pgtable()
370 amd_iommu_domain_update(pdom); in v2_free_pgtable()
379 struct protection_domain *pdom = (struct protection_domain *)cookie; in v2_alloc_pgtable() local
[all …]
Diommu.c2551 struct protection_domain *pdom = to_pdomain(dom); in amd_iommu_domain_enable_v2() local
2555 spin_lock_irqsave(&pdom->lock, flags); in amd_iommu_domain_enable_v2()
2563 if (pdom->dev_cnt > 0 || pdom->flags & PD_IOMMUV2_MASK) in amd_iommu_domain_enable_v2()
2566 if (!pdom->gcr3_tbl) in amd_iommu_domain_enable_v2()
2567 ret = domain_enable_v2(pdom, pasids); in amd_iommu_domain_enable_v2()
2570 spin_unlock_irqrestore(&pdom->lock, flags); in amd_iommu_domain_enable_v2()
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/engine/pm/
Dbase.c75 nvkm_perfsig_find(struct nvkm_pm *pm, u8 di, u8 si, struct nvkm_perfdom **pdom) in nvkm_perfsig_find() argument
77 struct nvkm_perfdom *dom = *pdom; in nvkm_perfsig_find()
83 *pdom = dom; in nvkm_perfsig_find()