Searched refs:wgrp (Results 1 – 2 of 2) sorted by relevance
114 static int tegra_windowgroup_enable(struct tegra_windowgroup *wgrp) in tegra_windowgroup_enable() argument118 mutex_lock(&wgrp->lock); in tegra_windowgroup_enable()120 if (wgrp->usecount == 0) { in tegra_windowgroup_enable()121 err = host1x_client_resume(wgrp->parent); in tegra_windowgroup_enable()123 dev_err(wgrp->parent->dev, "failed to resume: %d\n", err); in tegra_windowgroup_enable()127 reset_control_deassert(wgrp->rst); in tegra_windowgroup_enable()130 wgrp->usecount++; in tegra_windowgroup_enable()133 mutex_unlock(&wgrp->lock); in tegra_windowgroup_enable()137 static void tegra_windowgroup_disable(struct tegra_windowgroup *wgrp) in tegra_windowgroup_disable() argument141 mutex_lock(&wgrp->lock); in tegra_windowgroup_disable()[all …]
1320 const struct tegra_windowgroup_soc *wgrp = &dc->soc->wgrps[i]; in tegra_dc_add_shared_planes() local1322 if (wgrp->dc == dc->pipe) { in tegra_dc_add_shared_planes()1323 for (j = 0; j < wgrp->num_windows; j++) { in tegra_dc_add_shared_planes()1324 unsigned int index = wgrp->windows[j]; in tegra_dc_add_shared_planes()1333 wgrp->index, in tegra_dc_add_shared_planes()2593 const struct tegra_windowgroup_soc *wgrp = &dc->soc->wgrps[i]; in tegra_dc_has_window_groups() local2595 if (wgrp->dc == dc->pipe && wgrp->num_windows > 0) in tegra_dc_has_window_groups()