Home
last modified time | relevance | path

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

/drivers/iommu/arm/arm-smmu/
Darm-smmu.c901 struct arm_smmu_s2cr *s2cr = smmu->s2crs + idx; in arm_smmu_write_s2cr()
1010 if (--smmu->s2crs[idx].count) in arm_smmu_free_sme()
1013 smmu->s2crs[idx] = s2cr_init_val; in arm_smmu_free_sme()
1044 if (smrs && smmu->s2crs[idx].count == 0) { in arm_smmu_master_alloc_smes()
1049 smmu->s2crs[idx].count++; in arm_smmu_master_alloc_smes()
1089 struct arm_smmu_s2cr *s2cr = smmu->s2crs; in arm_smmu_domain_add_master()
1456 if (group && smmu->s2crs[idx].group && in arm_smmu_device_group()
1457 group != smmu->s2crs[idx].group) { in arm_smmu_device_group()
1462 group = smmu->s2crs[idx].group; in arm_smmu_device_group()
1480 smmu->s2crs[idx].group = group; in arm_smmu_device_group()
[all …]
Darm-smmu-qcom.c328 smmu->s2crs[i].type = S2CR_TYPE_BYPASS; in qcom_smmu_cfg_probe()
329 smmu->s2crs[i].privcfg = S2CR_PRIVCFG_DEFAULT; in qcom_smmu_cfg_probe()
330 smmu->s2crs[i].cbndx = 0xff; in qcom_smmu_cfg_probe()
339 struct arm_smmu_s2cr *s2cr = smmu->s2crs + idx; in qcom_smmu_write_s2cr()
Darm-smmu.h314 struct arm_smmu_s2cr *s2crs; member