Searched refs:s2cr (Results 1 – 1 of 1) sorted by relevance
988 struct arm_smmu_s2cr *s2cr = smmu->s2crs + idx; in arm_smmu_write_s2cr() local989 u32 reg = (s2cr->type & S2CR_TYPE_MASK) << S2CR_TYPE_SHIFT | in arm_smmu_write_s2cr()990 (s2cr->cbndx & S2CR_CBNDX_MASK) << S2CR_CBNDX_SHIFT | in arm_smmu_write_s2cr()991 (s2cr->privcfg & S2CR_PRIVCFG_MASK) << S2CR_PRIVCFG_SHIFT; in arm_smmu_write_s2cr()1168 struct arm_smmu_s2cr *s2cr = smmu->s2crs; in arm_smmu_domain_add_master() local1179 if (type == s2cr[idx].type && cbndx == s2cr[idx].cbndx) in arm_smmu_domain_add_master()1182 s2cr[idx].type = type; in arm_smmu_domain_add_master()1183 s2cr[idx].privcfg = S2CR_PRIVCFG_DEFAULT; in arm_smmu_domain_add_master()1184 s2cr[idx].cbndx = cbndx; in arm_smmu_domain_add_master()