Searched refs:cdcfg (Results 1 – 2 of 2) sorted by relevance
1036 struct arm_smmu_ctx_desc_cfg *cdcfg = &smmu_domain->s1_cfg.cdcfg; in arm_smmu_get_cd_ptr() local1039 return cdcfg->cdtab + ssid * CTXDESC_CD_DWORDS; in arm_smmu_get_cd_ptr()1042 l1_desc = &cdcfg->l1_desc[idx]; in arm_smmu_get_cd_ptr()1047 l1ptr = cdcfg->cdtab + idx * CTXDESC_L1_DESC_DWORDS; in arm_smmu_get_cd_ptr()1142 struct arm_smmu_ctx_desc_cfg *cdcfg = &cfg->cdcfg; in arm_smmu_alloc_cd_tables() local1149 cdcfg->num_l1_ents = max_contexts; in arm_smmu_alloc_cd_tables()1154 cdcfg->num_l1_ents = DIV_ROUND_UP(max_contexts, in arm_smmu_alloc_cd_tables()1157 cdcfg->l1_desc = devm_kcalloc(smmu->dev, cdcfg->num_l1_ents, in arm_smmu_alloc_cd_tables()1158 sizeof(*cdcfg->l1_desc), in arm_smmu_alloc_cd_tables()1160 if (!cdcfg->l1_desc) in arm_smmu_alloc_cd_tables()[all …]
601 struct arm_smmu_ctx_desc_cfg cdcfg; member