Searched refs:cdcfg (Results 1 – 2 of 2) sorted by relevance
1014 struct arm_smmu_ctx_desc_cfg *cdcfg = &smmu_domain->s1_cfg.cdcfg; in arm_smmu_get_cd_ptr() local1017 return cdcfg->cdtab + ssid * CTXDESC_CD_DWORDS; in arm_smmu_get_cd_ptr()1020 l1_desc = &cdcfg->l1_desc[idx]; in arm_smmu_get_cd_ptr()1025 l1ptr = cdcfg->cdtab + idx * CTXDESC_L1_DESC_DWORDS; in arm_smmu_get_cd_ptr()1120 struct arm_smmu_ctx_desc_cfg *cdcfg = &cfg->cdcfg; in arm_smmu_alloc_cd_tables() local1127 cdcfg->num_l1_ents = max_contexts; in arm_smmu_alloc_cd_tables()1132 cdcfg->num_l1_ents = DIV_ROUND_UP(max_contexts, in arm_smmu_alloc_cd_tables()1135 cdcfg->l1_desc = devm_kcalloc(smmu->dev, cdcfg->num_l1_ents, in arm_smmu_alloc_cd_tables()1136 sizeof(*cdcfg->l1_desc), in arm_smmu_alloc_cd_tables()1138 if (!cdcfg->l1_desc) in arm_smmu_alloc_cd_tables()[all …]
596 struct arm_smmu_ctx_desc_cfg cdcfg; member