Lines Matching refs:swgroup
27 unsigned int swgroup;
332 tegra_smmu_find_swgroup(struct tegra_smmu *smmu, unsigned int swgroup)
338 if (smmu->soc->swgroups[i].swgroup == swgroup) {
347 static void tegra_smmu_enable(struct tegra_smmu *smmu, unsigned int swgroup,
354 group = tegra_smmu_find_swgroup(smmu, swgroup);
362 pr_warn("%s group from swgroup %u not found\n", __func__,
363 swgroup);
371 if (client->swgroup != swgroup)
380 static void tegra_smmu_disable(struct tegra_smmu *smmu, unsigned int swgroup,
387 group = tegra_smmu_find_swgroup(smmu, swgroup);
399 if (client->swgroup != swgroup)
869 tegra_smmu_find_group(struct tegra_smmu *smmu, unsigned int swgroup)
875 if (smmu->soc->groups[i].swgroups[j] == swgroup)
896 unsigned int swgroup = fwspec->ids[0];
900 /* Find group_soc associating with swgroup */
901 soc = tegra_smmu_find_group(smmu, swgroup);
905 /* Find existing iommu_group associating with swgroup or group_soc */
907 if ((group->swgroup == swgroup) || (soc && group->soc == soc)) {
920 group->swgroup = swgroup;
1002 seq_printf(s, "swgroup enabled ASID\n");