Home
last modified time | relevance | path

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

/drivers/iommu/arm/arm-smmu/
Darm-smmu-qcom.c29 smmu->smrs[i].mask = FIELD_GET(ARM_SMMU_SMR_MASK, smr); in qcom_sdm845_smmu500_cfg_probe()
30 smmu->smrs[i].id = FIELD_GET(ARM_SMMU_SMR_ID, smr); in qcom_sdm845_smmu500_cfg_probe()
32 smmu->smrs[i].valid = FIELD_GET( in qcom_sdm845_smmu500_cfg_probe()
36 smmu->smrs[i].valid = FIELD_GET( in qcom_sdm845_smmu500_cfg_probe()
46 if (!smmu->smrs[i].valid) in qcom_sdm845_smmu500_cfg_probe()
252 smmu->smrs[i].id = FIELD_GET(ARM_SMMU_SMR_ID, smr); in qcom_smmu_cfg_probe()
253 smmu->smrs[i].mask = FIELD_GET(ARM_SMMU_SMR_MASK, smr); in qcom_smmu_cfg_probe()
254 smmu->smrs[i].valid = true; in qcom_smmu_cfg_probe()
Darm-smmu.c901 struct arm_smmu_smr *smr = smmu->smrs + idx; in arm_smmu_write_smr()
924 if (smmu->features & ARM_SMMU_FEAT_EXIDS && smmu->smrs && in arm_smmu_write_s2cr()
925 smmu->smrs[idx].valid) in arm_smmu_write_s2cr()
933 if (smmu->smrs) in arm_smmu_write_sme()
946 if (!smmu->smrs) in arm_smmu_test_smr_masks()
957 if (!smmu->smrs[i].valid) in arm_smmu_test_smr_masks()
979 struct arm_smmu_smr *smrs = smmu->smrs; in arm_smmu_find_sme() local
983 if (!smrs) in arm_smmu_find_sme()
988 if (!smrs[i].valid) { in arm_smmu_find_sme()
1004 if ((mask & smrs[i].mask) == mask && in arm_smmu_find_sme()
[all …]
Darm-smmu.h309 struct arm_smmu_smr *smrs; member