Lines Matching refs:swgroup
27 unsigned int swgroup; member
332 tegra_smmu_find_swgroup(struct tegra_smmu *smmu, unsigned int swgroup) in tegra_smmu_find_swgroup() argument
338 if (smmu->soc->swgroups[i].swgroup == swgroup) { in tegra_smmu_find_swgroup()
347 static void tegra_smmu_enable(struct tegra_smmu *smmu, unsigned int swgroup, in tegra_smmu_enable() argument
354 group = tegra_smmu_find_swgroup(smmu, swgroup); in tegra_smmu_enable()
363 swgroup); in tegra_smmu_enable()
371 if (client->swgroup != swgroup) in tegra_smmu_enable()
380 static void tegra_smmu_disable(struct tegra_smmu *smmu, unsigned int swgroup, in tegra_smmu_disable() argument
387 group = tegra_smmu_find_swgroup(smmu, swgroup); in tegra_smmu_disable()
399 if (client->swgroup != swgroup) in tegra_smmu_disable()
869 tegra_smmu_find_group(struct tegra_smmu *smmu, unsigned int swgroup) in tegra_smmu_find_group() argument
875 if (smmu->soc->groups[i].swgroups[j] == swgroup) in tegra_smmu_find_group()
896 unsigned int swgroup = fwspec->ids[0]; in tegra_smmu_device_group() local
901 soc = tegra_smmu_find_group(smmu, swgroup); in tegra_smmu_device_group()
907 if ((group->swgroup == swgroup) || (soc && group->soc == soc)) { in tegra_smmu_device_group()
920 group->swgroup = swgroup; in tegra_smmu_device_group()