Home
last modified time | relevance | path

Searched refs:s2cr (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/iommu/arm/arm-smmu/
H A Darm-smmu.c954 struct arm_smmu_s2cr *s2cr = smmu->s2crs + idx; in arm_smmu_write_s2cr() local
962 reg = FIELD_PREP(ARM_SMMU_S2CR_TYPE, s2cr->type) | in arm_smmu_write_s2cr()
963 FIELD_PREP(ARM_SMMU_S2CR_CBNDX, s2cr->cbndx) | in arm_smmu_write_s2cr()
964 FIELD_PREP(ARM_SMMU_S2CR_PRIVCFG, s2cr->privcfg); in arm_smmu_write_s2cr()
1142 struct arm_smmu_s2cr *s2cr = smmu->s2crs; in arm_smmu_master_install_s2crs() local
1146 if (type == s2cr[idx].type && cbndx == s2cr[idx].cbndx) in arm_smmu_master_install_s2crs()
1149 s2cr[idx].type = type; in arm_smmu_master_install_s2crs()
1150 s2cr[idx].privcfg = S2CR_PRIVCFG_DEFAULT; in arm_smmu_master_install_s2crs()
1151 s2cr[idx].cbndx = cbndx; in arm_smmu_master_install_s2crs()