Searched refs:s2cr (Results 1 – 1 of 1) sorted by relevance
283 struct arm_smmu_s2cr s2cr[NUM_OF_SMRS]; member322 struct arm_smmu_s2cr *s2cr = &smmu->s2cr[index]; in arm_smmu_s2cr_cfg() local324 uint32_t reg = (s2cr->type & S2CR_TYPE_MASK) << S2CR_TYPE_SHIFT | in arm_smmu_s2cr_cfg()325 (s2cr->cbndx & S2CR_CBNDX_MASK) << S2CR_CBNDX_SHIFT | in arm_smmu_s2cr_cfg()326 (s2cr->privcfg & S2CR_PRIVCFG_MASK) << S2CR_PRIVCFG_SHIFT; in arm_smmu_s2cr_cfg()443 smmu->s2cr[idx].type = S2CR_TYPE_TRANS; in arm_smmu_create_identity_map()444 smmu->s2cr[idx].privcfg = S2CR_PRIVCFG_DEFAULT; in arm_smmu_create_identity_map()445 smmu->s2cr[idx].cbndx = context_bank_index; in arm_smmu_create_identity_map()