Lines Matching refs:swgroup
312 tegra_smmu_find_swgroup(struct tegra_smmu *smmu, unsigned int swgroup) in tegra_smmu_find_swgroup() argument
318 if (smmu->soc->swgroups[i].swgroup == swgroup) { in tegra_smmu_find_swgroup()
327 static void tegra_smmu_enable(struct tegra_smmu *smmu, unsigned int swgroup, in tegra_smmu_enable() argument
337 if (client->swgroup != swgroup) in tegra_smmu_enable()
345 group = tegra_smmu_find_swgroup(smmu, swgroup); in tegra_smmu_enable()
355 static void tegra_smmu_disable(struct tegra_smmu *smmu, unsigned int swgroup, in tegra_smmu_disable() argument
362 group = tegra_smmu_find_swgroup(smmu, swgroup); in tegra_smmu_disable()
374 if (client->swgroup != swgroup) in tegra_smmu_disable()
452 unsigned int swgroup = args.args[0]; in tegra_smmu_attach_dev() local
465 tegra_smmu_enable(smmu, swgroup, as->id); in tegra_smmu_attach_dev()
485 unsigned int swgroup = args.args[0]; in tegra_smmu_detach_dev() local
494 tegra_smmu_disable(smmu, swgroup, as->id); in tegra_smmu_detach_dev()