Searched refs:s2cr (Results 1 – 2 of 2) sorted by relevance
366 struct arm_smmu_s2cr *s2cr = smmu->s2crs + idx; in qcom_smmu_write_s2cr() local368 u32 cbndx = s2cr->cbndx; in qcom_smmu_write_s2cr()369 u32 type = s2cr->type; in qcom_smmu_write_s2cr()395 FIELD_PREP(ARM_SMMU_S2CR_PRIVCFG, s2cr->privcfg); in qcom_smmu_write_s2cr()
901 struct arm_smmu_s2cr *s2cr = smmu->s2crs + idx; in arm_smmu_write_s2cr() local909 reg = FIELD_PREP(ARM_SMMU_S2CR_TYPE, s2cr->type) | in arm_smmu_write_s2cr()910 FIELD_PREP(ARM_SMMU_S2CR_CBNDX, s2cr->cbndx) | in arm_smmu_write_s2cr()911 FIELD_PREP(ARM_SMMU_S2CR_PRIVCFG, s2cr->privcfg); in arm_smmu_write_s2cr()1089 struct arm_smmu_s2cr *s2cr = smmu->s2crs; in arm_smmu_domain_add_master() local1100 if (type == s2cr[idx].type && cbndx == s2cr[idx].cbndx) in arm_smmu_domain_add_master()1103 s2cr[idx].type = type; in arm_smmu_domain_add_master()1104 s2cr[idx].privcfg = S2CR_PRIVCFG_DEFAULT; in arm_smmu_domain_add_master()1105 s2cr[idx].cbndx = cbndx; in arm_smmu_domain_add_master()