Lines Matching refs:s2cr
931 struct arm_smmu_s2cr *s2cr = smmu->s2crs + idx;
939 reg = FIELD_PREP(ARM_SMMU_S2CR_TYPE, s2cr->type) |
940 FIELD_PREP(ARM_SMMU_S2CR_CBNDX, s2cr->cbndx) |
941 FIELD_PREP(ARM_SMMU_S2CR_PRIVCFG, s2cr->privcfg);
1119 struct arm_smmu_s2cr *s2cr = smmu->s2crs;
1130 if (type == s2cr[idx].type && cbndx == s2cr[idx].cbndx)
1133 s2cr[idx].type = type;
1134 s2cr[idx].privcfg = S2CR_PRIVCFG_DEFAULT;
1135 s2cr[idx].cbndx = cbndx;
1808 /* s2cr->type == 0 means translation, so initialise explicitly */