wgrp 1095 drivers/gpu/drm/tegra/dc.c const struct tegra_windowgroup_soc *wgrp = &dc->soc->wgrps[i]; wgrp 1097 drivers/gpu/drm/tegra/dc.c if (wgrp->dc == dc->pipe) { wgrp 1098 drivers/gpu/drm/tegra/dc.c for (j = 0; j < wgrp->num_windows; j++) { wgrp 1099 drivers/gpu/drm/tegra/dc.c unsigned int index = wgrp->windows[j]; wgrp 1102 drivers/gpu/drm/tegra/dc.c wgrp->index, wgrp 1986 drivers/gpu/drm/tegra/dc.c const struct tegra_windowgroup_soc *wgrp = &dc->soc->wgrps[i]; wgrp 1988 drivers/gpu/drm/tegra/dc.c if (wgrp->dc == dc->pipe && wgrp->num_windows > 0) wgrp 96 drivers/gpu/drm/tegra/hub.c static int tegra_windowgroup_enable(struct tegra_windowgroup *wgrp) wgrp 98 drivers/gpu/drm/tegra/hub.c mutex_lock(&wgrp->lock); wgrp 100 drivers/gpu/drm/tegra/hub.c if (wgrp->usecount == 0) { wgrp 101 drivers/gpu/drm/tegra/hub.c pm_runtime_get_sync(wgrp->parent); wgrp 102 drivers/gpu/drm/tegra/hub.c reset_control_deassert(wgrp->rst); wgrp 105 drivers/gpu/drm/tegra/hub.c wgrp->usecount++; wgrp 106 drivers/gpu/drm/tegra/hub.c mutex_unlock(&wgrp->lock); wgrp 111 drivers/gpu/drm/tegra/hub.c static void tegra_windowgroup_disable(struct tegra_windowgroup *wgrp) wgrp 115 drivers/gpu/drm/tegra/hub.c mutex_lock(&wgrp->lock); wgrp 117 drivers/gpu/drm/tegra/hub.c if (wgrp->usecount == 1) { wgrp 118 drivers/gpu/drm/tegra/hub.c err = reset_control_assert(wgrp->rst); wgrp 121 drivers/gpu/drm/tegra/hub.c wgrp->index); wgrp 124 drivers/gpu/drm/tegra/hub.c pm_runtime_put(wgrp->parent); wgrp 127 drivers/gpu/drm/tegra/hub.c wgrp->usecount--; wgrp 128 drivers/gpu/drm/tegra/hub.c mutex_unlock(&wgrp->lock); wgrp 142 drivers/gpu/drm/tegra/hub.c struct tegra_windowgroup *wgrp = &hub->wgrps[i]; wgrp 144 drivers/gpu/drm/tegra/hub.c tegra_windowgroup_enable(wgrp); wgrp 159 drivers/gpu/drm/tegra/hub.c struct tegra_windowgroup *wgrp = &hub->wgrps[i]; wgrp 161 drivers/gpu/drm/tegra/hub.c tegra_windowgroup_disable(wgrp); wgrp 531 drivers/gpu/drm/tegra/hub.c unsigned int wgrp, wgrp 553 drivers/gpu/drm/tegra/hub.c plane->wgrp = &hub->wgrps[wgrp]; wgrp 554 drivers/gpu/drm/tegra/hub.c plane->wgrp->parent = dc->dev; wgrp 789 drivers/gpu/drm/tegra/hub.c struct tegra_windowgroup *wgrp = &hub->wgrps[i]; wgrp 793 drivers/gpu/drm/tegra/hub.c mutex_init(&wgrp->lock); wgrp 794 drivers/gpu/drm/tegra/hub.c wgrp->usecount = 0; wgrp 795 drivers/gpu/drm/tegra/hub.c wgrp->index = i; wgrp 797 drivers/gpu/drm/tegra/hub.c wgrp->rst = devm_reset_control_get(&pdev->dev, id); wgrp 798 drivers/gpu/drm/tegra/hub.c if (IS_ERR(wgrp->rst)) wgrp 799 drivers/gpu/drm/tegra/hub.c return PTR_ERR(wgrp->rst); wgrp 801 drivers/gpu/drm/tegra/hub.c err = reset_control_assert(wgrp->rst); wgrp 26 drivers/gpu/drm/tegra/hub.h struct tegra_windowgroup *wgrp; wgrp 83 drivers/gpu/drm/tegra/hub.h unsigned int wgrp,