Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/iommu/arm/arm-smmu/
H A Darm-smmu-qcom.c100 struct arm_smmu_s2cr *s2cr = smmu->s2crs + idx; in qcom_smmu_write_s2cr() local
102 u32 cbndx = s2cr->cbndx; in qcom_smmu_write_s2cr()
103 u32 type = s2cr->type; in qcom_smmu_write_s2cr()
129 FIELD_PREP(ARM_SMMU_S2CR_PRIVCFG, s2cr->privcfg); in qcom_smmu_write_s2cr()
H A Darm-smmu.c931 struct arm_smmu_s2cr *s2cr = smmu->s2crs + idx; in arm_smmu_write_s2cr() local
939 reg = FIELD_PREP(ARM_SMMU_S2CR_TYPE, s2cr->type) | in arm_smmu_write_s2cr()
940 FIELD_PREP(ARM_SMMU_S2CR_CBNDX, s2cr->cbndx) | in arm_smmu_write_s2cr()
941 FIELD_PREP(ARM_SMMU_S2CR_PRIVCFG, s2cr->privcfg); in arm_smmu_write_s2cr()
1119 struct arm_smmu_s2cr *s2cr = smmu->s2crs; in arm_smmu_domain_add_master() local
1130 if (type == s2cr[idx].type && cbndx == s2cr[idx].cbndx) in arm_smmu_domain_add_master()
1133 s2cr[idx].type = type; in arm_smmu_domain_add_master()
1134 s2cr[idx].privcfg = S2CR_PRIVCFG_DEFAULT; in arm_smmu_domain_add_master()
1135 s2cr[id in arm_smmu_domain_add_master()
[all...]
/kernel/linux/linux-6.6/drivers/iommu/arm/arm-smmu/
H A Darm-smmu-qcom.c338 struct arm_smmu_s2cr *s2cr = smmu->s2crs + idx; in qcom_smmu_write_s2cr() local
340 u32 cbndx = s2cr->cbndx; in qcom_smmu_write_s2cr()
341 u32 type = s2cr->type; in qcom_smmu_write_s2cr()
367 FIELD_PREP(ARM_SMMU_S2CR_PRIVCFG, s2cr->privcfg); in qcom_smmu_write_s2cr()
H A Darm-smmu.c901 struct arm_smmu_s2cr *s2cr = smmu->s2crs + idx; in arm_smmu_write_s2cr() local
909 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() local
1100 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[id in arm_smmu_domain_add_master()
[all...]

Completed in 6 milliseconds