Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/iommu/arm/arm-smmu/
Darm-smmu-qcom.c308 smmu->s2crs[i].type = S2CR_TYPE_BYPASS; in qcom_smmu_cfg_probe()
309 smmu->s2crs[i].privcfg = S2CR_PRIVCFG_DEFAULT; in qcom_smmu_cfg_probe()
310 smmu->s2crs[i].cbndx = 0xff; in qcom_smmu_cfg_probe()
319 struct arm_smmu_s2cr *s2cr = smmu->s2crs + idx; in qcom_smmu_write_s2cr()
Darm-smmu.c903 struct arm_smmu_s2cr *s2cr = smmu->s2crs + idx; in arm_smmu_write_s2cr()
1012 if (--smmu->s2crs[idx].count) in arm_smmu_free_sme()
1015 smmu->s2crs[idx] = s2cr_init_val; in arm_smmu_free_sme()
1046 if (smrs && smmu->s2crs[idx].count == 0) { in arm_smmu_master_alloc_smes()
1051 smmu->s2crs[idx].count++; in arm_smmu_master_alloc_smes()
1091 struct arm_smmu_s2cr *s2cr = smmu->s2crs; in arm_smmu_domain_add_master()
1454 if (group && smmu->s2crs[idx].group && in arm_smmu_device_group()
1455 group != smmu->s2crs[idx].group) { in arm_smmu_device_group()
1460 group = smmu->s2crs[idx].group; in arm_smmu_device_group()
1478 smmu->s2crs[idx].group = group; in arm_smmu_device_group()
[all …]
Darm-smmu.h314 struct arm_smmu_s2cr *s2crs; member