Home
last modified time | relevance | path

Searched refs:cdtab (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/accel/ivpu/
H A Divpu_mmu.c280 struct ivpu_mmu_cdtab *cdtab = &mmu->cdtab; in ivpu_mmu_cdtab_alloc() local
283 cdtab->base = dmam_alloc_coherent(vdev->drm.dev, size, &cdtab->dma, GFP_KERNEL); in ivpu_mmu_cdtab_alloc()
284 if (!cdtab->base) in ivpu_mmu_cdtab_alloc()
287 ivpu_dbg(vdev, MMU, "CDTAB alloc: dma=%pad size=%zu\n", &cdtab->dma, size); in ivpu_mmu_cdtab_alloc()
559 struct ivpu_mmu_cdtab *cdtab = &mmu->cdtab; in ivpu_mmu_strtab_link_cd() local
567 (cdtab->dma & IVPU_MMU_STE_0_S1CTXPTR_MASK); in ivpu_mmu_strtab_link_cd()
618 struct ivpu_mmu_cdtab *cdtab = &mmu->cdtab; in ivpu_mmu_cd_add() local
626 entry = cdtab->base + (ssid * IVPU_MMU_CDTAB_ENT_SIZE); in ivpu_mmu_cd_add()
H A Divpu_mmu.h33 struct ivpu_mmu_cdtab cdtab; member
/openbmc/linux/drivers/iommu/arm/arm-smmu-v3/
H A Darm-smmu-v3.c1039 return cdcfg->cdtab + ssid * CTXDESC_CD_DWORDS; in arm_smmu_get_cd_ptr()
1047 l1ptr = cdcfg->cdtab + idx * CTXDESC_L1_DESC_DWORDS; in arm_smmu_get_cd_ptr()
1166 cdcfg->cdtab = dmam_alloc_coherent(smmu->dev, l1size, &cdcfg->cdtab_dma, in arm_smmu_alloc_cd_tables()
1168 if (!cdcfg->cdtab) { in arm_smmu_alloc_cd_tables()
1210 dmam_free_coherent(smmu->dev, l1size, cdcfg->cdtab, cdcfg->cdtab_dma); in arm_smmu_free_cd_tables()
1212 cdcfg->cdtab = NULL; in arm_smmu_free_cd_tables()
2076 if (cfg->cdcfg.cdtab) in arm_smmu_domain_free()
H A Darm-smmu-v3.h594 __le64 *cdtab; member