Searched refs:s2crs (Results 1 – 3 of 3) sorted by relevance
32 smmu->s2crs[i].group = NULL; in qcom_sdm845_smmu500_cfg_probe()33 smmu->s2crs[i].count = 0; in qcom_sdm845_smmu500_cfg_probe()34 smmu->s2crs[i].type = FIELD_GET(S2CR_TYPE, s2cr); in qcom_sdm845_smmu500_cfg_probe()35 smmu->s2crs[i].privcfg = FIELD_GET(S2CR_PRIVCFG, s2cr); in qcom_sdm845_smmu500_cfg_probe()36 smmu->s2crs[i].cbndx = FIELD_GET(S2CR_CBNDX, s2cr); in qcom_sdm845_smmu500_cfg_probe()41 smmu->s2crs[i].pinned = true; in qcom_sdm845_smmu500_cfg_probe()42 bitmap_set(smmu->context_map, smmu->s2crs[i].cbndx, 1); in qcom_sdm845_smmu500_cfg_probe()
237 if (smmu->s2crs[idx].pinned) in __arm_smmu_alloc_cb()238 return smmu->s2crs[idx].cbndx; in __arm_smmu_alloc_cb()923 struct arm_smmu_s2cr *s2cr = smmu->s2crs + idx; in arm_smmu_write_s2cr()1031 bool pinned = smmu->s2crs[idx].pinned; in arm_smmu_free_sme()1032 u8 cbndx = smmu->s2crs[idx].cbndx;; in arm_smmu_free_sme()1034 if (--smmu->s2crs[idx].count) in arm_smmu_free_sme()1037 smmu->s2crs[idx] = s2cr_init_val; in arm_smmu_free_sme()1039 smmu->s2crs[idx].pinned = true; in arm_smmu_free_sme()1040 smmu->s2crs[idx].cbndx = cbndx; in arm_smmu_free_sme()1073 if (smrs && smmu->s2crs[idx].count == 0) { in arm_smmu_master_alloc_smes()[all …]
276 struct arm_smmu_s2cr *s2crs; member