Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iommu/arm/arm-smmu-v3/
H A Darm-smmu-v3.c1036 struct arm_smmu_ctx_desc_cfg *cdcfg = &smmu_domain->s1_cfg.cdcfg; in arm_smmu_get_cd_ptr() local
1142 struct arm_smmu_ctx_desc_cfg *cdcfg = &cfg->cdcfg; in arm_smmu_alloc_cd_tables() local
1157 cdcfg->l1_desc = devm_kcalloc(smmu->dev, cdcfg->num_l1_ents, in arm_smmu_alloc_cd_tables()
1160 if (!cdcfg->l1_desc) in arm_smmu_alloc_cd_tables()
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()
1177 if (cdcfg->l1_desc) { in arm_smmu_alloc_cd_tables()
1189 struct arm_smmu_ctx_desc_cfg *cdcfg = &smmu_domain->s1_cfg.cdcfg; in arm_smmu_free_cd_tables() local
1191 if (cdcfg->l1_desc) { in arm_smmu_free_cd_tables()
1210 dmam_free_coherent(smmu->dev, l1size, cdcfg->cdtab, cdcfg->cdtab_dma); in arm_smmu_free_cd_tables()
[all …]
H A Darm-smmu-v3.h601 struct arm_smmu_ctx_desc_cfg cdcfg; member