Searched refs:cdcfg (Results 1 – 2 of 2) sorted by relevance
956 struct arm_smmu_ctx_desc_cfg *cdcfg = &smmu_domain->s1_cfg.cdcfg; in arm_smmu_get_cd_ptr() local959 return cdcfg->cdtab + ssid * CTXDESC_CD_DWORDS; in arm_smmu_get_cd_ptr()962 l1_desc = &cdcfg->l1_desc[idx]; in arm_smmu_get_cd_ptr()967 l1ptr = cdcfg->cdtab + idx * CTXDESC_L1_DESC_DWORDS; in arm_smmu_get_cd_ptr()1060 struct arm_smmu_ctx_desc_cfg *cdcfg = &cfg->cdcfg; in arm_smmu_alloc_cd_tables() local1067 cdcfg->num_l1_ents = max_contexts; in arm_smmu_alloc_cd_tables()1072 cdcfg->num_l1_ents = DIV_ROUND_UP(max_contexts, in arm_smmu_alloc_cd_tables()1075 cdcfg->l1_desc = devm_kcalloc(smmu->dev, cdcfg->num_l1_ents, in arm_smmu_alloc_cd_tables()1076 sizeof(*cdcfg->l1_desc), in arm_smmu_alloc_cd_tables()1078 if (!cdcfg->l1_desc) in arm_smmu_alloc_cd_tables()[all …]
561 struct arm_smmu_ctx_desc_cfg cdcfg; member