Searched refs:s2cr (Results 1 – 2 of 2) sorted by relevance
487 struct arm_smmu_s2cr *s2cr = smmu->s2crs + idx; in qcom_smmu_write_s2cr() local489 u32 cbndx = s2cr->cbndx; in qcom_smmu_write_s2cr()490 u32 type = s2cr->type; in qcom_smmu_write_s2cr()516 FIELD_PREP(ARM_SMMU_S2CR_PRIVCFG, s2cr->privcfg); in qcom_smmu_write_s2cr()
957 struct arm_smmu_s2cr *s2cr = smmu->s2crs + idx; in arm_smmu_write_s2cr() local965 reg = FIELD_PREP(ARM_SMMU_S2CR_TYPE, s2cr->type) | in arm_smmu_write_s2cr()966 FIELD_PREP(ARM_SMMU_S2CR_CBNDX, s2cr->cbndx) | in arm_smmu_write_s2cr()967 FIELD_PREP(ARM_SMMU_S2CR_PRIVCFG, s2cr->privcfg); in arm_smmu_write_s2cr()1145 struct arm_smmu_s2cr *s2cr = smmu->s2crs; in arm_smmu_master_install_s2crs() local1149 if (type == s2cr[idx].type && cbndx == s2cr[idx].cbndx) in arm_smmu_master_install_s2crs()1152 s2cr[idx].type = type; in arm_smmu_master_install_s2crs()1153 s2cr[idx].privcfg = S2CR_PRIVCFG_DEFAULT; in arm_smmu_master_install_s2crs()1154 s2cr[idx].cbndx = cbndx; in arm_smmu_master_install_s2crs()