Lines Matching refs:swgroup
296 tegra_smmu_find_swgroup(struct tegra_smmu *smmu, unsigned int swgroup) in tegra_smmu_find_swgroup() argument
302 if (smmu->soc->swgroups[i].swgroup == swgroup) { in tegra_smmu_find_swgroup()
311 static void tegra_smmu_enable(struct tegra_smmu *smmu, unsigned int swgroup, in tegra_smmu_enable() argument
321 if (client->swgroup != swgroup) in tegra_smmu_enable()
329 group = tegra_smmu_find_swgroup(smmu, swgroup); in tegra_smmu_enable()
339 static void tegra_smmu_disable(struct tegra_smmu *smmu, unsigned int swgroup, in tegra_smmu_disable() argument
346 group = tegra_smmu_find_swgroup(smmu, swgroup); in tegra_smmu_disable()
358 if (client->swgroup != swgroup) in tegra_smmu_disable()
419 unsigned int swgroup = args.args[0]; in tegra_smmu_attach_dev() local
432 tegra_smmu_enable(smmu, swgroup, as->id); in tegra_smmu_attach_dev()
452 unsigned int swgroup = args.args[0]; in tegra_smmu_detach_dev() local
461 tegra_smmu_disable(smmu, swgroup, as->id); in tegra_smmu_detach_dev()