Lines Matching refs:swgroup
27 unsigned int swgroup; member
337 tegra_smmu_find_swgroup(struct tegra_smmu *smmu, unsigned int swgroup) in tegra_smmu_find_swgroup() argument
343 if (smmu->soc->swgroups[i].swgroup == swgroup) { in tegra_smmu_find_swgroup()
352 static void tegra_smmu_enable(struct tegra_smmu *smmu, unsigned int swgroup, in tegra_smmu_enable() argument
359 group = tegra_smmu_find_swgroup(smmu, swgroup); in tegra_smmu_enable()
368 swgroup); in tegra_smmu_enable()
376 if (client->swgroup != swgroup) in tegra_smmu_enable()
385 static void tegra_smmu_disable(struct tegra_smmu *smmu, unsigned int swgroup, in tegra_smmu_disable() argument
392 group = tegra_smmu_find_swgroup(smmu, swgroup); in tegra_smmu_disable()
404 if (client->swgroup != swgroup) in tegra_smmu_disable()
873 tegra_smmu_find_group(struct tegra_smmu *smmu, unsigned int swgroup) in tegra_smmu_find_group() argument
879 if (smmu->soc->groups[i].swgroups[j] == swgroup) in tegra_smmu_find_group()
900 unsigned int swgroup = fwspec->ids[0]; in tegra_smmu_device_group() local
905 soc = tegra_smmu_find_group(smmu, swgroup); in tegra_smmu_device_group()
911 if ((group->swgroup == swgroup) || (soc && group->soc == soc)) { in tegra_smmu_device_group()
924 group->swgroup = swgroup; in tegra_smmu_device_group()