Searched refs:s2cr (Results 1 – 2 of 2) sorted by relevance
319 struct arm_smmu_s2cr *s2cr = smmu->s2crs + idx; in qcom_smmu_write_s2cr() local321 u32 cbndx = s2cr->cbndx; in qcom_smmu_write_s2cr()322 u32 type = s2cr->type; in qcom_smmu_write_s2cr()348 FIELD_PREP(ARM_SMMU_S2CR_PRIVCFG, s2cr->privcfg); in qcom_smmu_write_s2cr()
903 struct arm_smmu_s2cr *s2cr = smmu->s2crs + idx; in arm_smmu_write_s2cr() local911 reg = FIELD_PREP(ARM_SMMU_S2CR_TYPE, s2cr->type) | in arm_smmu_write_s2cr()912 FIELD_PREP(ARM_SMMU_S2CR_CBNDX, s2cr->cbndx) | in arm_smmu_write_s2cr()913 FIELD_PREP(ARM_SMMU_S2CR_PRIVCFG, s2cr->privcfg); in arm_smmu_write_s2cr()1091 struct arm_smmu_s2cr *s2cr = smmu->s2crs; in arm_smmu_domain_add_master() local1102 if (type == s2cr[idx].type && cbndx == s2cr[idx].cbndx) in arm_smmu_domain_add_master()1105 s2cr[idx].type = type; in arm_smmu_domain_add_master()1106 s2cr[idx].privcfg = S2CR_PRIVCFG_DEFAULT; in arm_smmu_domain_add_master()1107 s2cr[idx].cbndx = cbndx; in arm_smmu_domain_add_master()