Searched refs:s2cr (Results 1 – 2 of 2) sorted by relevance
511 struct arm_smmu_s2cr *s2cr = smmu->s2crs + idx; in qcom_smmu_write_s2cr() local513 u32 cbndx = s2cr->cbndx; in qcom_smmu_write_s2cr()514 u32 type = s2cr->type; in qcom_smmu_write_s2cr()540 FIELD_PREP(ARM_SMMU_S2CR_PRIVCFG, s2cr->privcfg); in qcom_smmu_write_s2cr()
966 struct arm_smmu_s2cr *s2cr = smmu->s2crs + idx; in arm_smmu_write_s2cr() local974 reg = FIELD_PREP(ARM_SMMU_S2CR_TYPE, s2cr->type) | in arm_smmu_write_s2cr()975 FIELD_PREP(ARM_SMMU_S2CR_CBNDX, s2cr->cbndx) | in arm_smmu_write_s2cr()976 FIELD_PREP(ARM_SMMU_S2CR_PRIVCFG, s2cr->privcfg); in arm_smmu_write_s2cr()1154 struct arm_smmu_s2cr *s2cr = smmu->s2crs; in arm_smmu_master_install_s2crs() local1158 if (type == s2cr[idx].type && cbndx == s2cr[idx].cbndx) in arm_smmu_master_install_s2crs()1161 s2cr[idx].type = type; in arm_smmu_master_install_s2crs()1162 s2cr[idx].privcfg = S2CR_PRIVCFG_DEFAULT; in arm_smmu_master_install_s2crs()1163 s2cr[idx].cbndx = cbndx; in arm_smmu_master_install_s2crs()