Home
last modified time | relevance | path

Searched refs:wgrp (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/tegra/
Dhub.c96 static int tegra_windowgroup_enable(struct tegra_windowgroup *wgrp) in tegra_windowgroup_enable() argument
98 mutex_lock(&wgrp->lock); in tegra_windowgroup_enable()
100 if (wgrp->usecount == 0) { in tegra_windowgroup_enable()
101 pm_runtime_get_sync(wgrp->parent); in tegra_windowgroup_enable()
102 reset_control_deassert(wgrp->rst); in tegra_windowgroup_enable()
105 wgrp->usecount++; in tegra_windowgroup_enable()
106 mutex_unlock(&wgrp->lock); in tegra_windowgroup_enable()
111 static void tegra_windowgroup_disable(struct tegra_windowgroup *wgrp) in tegra_windowgroup_disable() argument
115 mutex_lock(&wgrp->lock); in tegra_windowgroup_disable()
117 if (wgrp->usecount == 1) { in tegra_windowgroup_disable()
[all …]
Dhub.h26 struct tegra_windowgroup *wgrp; member
83 unsigned int wgrp,
Ddc.c1095 const struct tegra_windowgroup_soc *wgrp = &dc->soc->wgrps[i]; in tegra_dc_add_shared_planes() local
1097 if (wgrp->dc == dc->pipe) { in tegra_dc_add_shared_planes()
1098 for (j = 0; j < wgrp->num_windows; j++) { in tegra_dc_add_shared_planes()
1099 unsigned int index = wgrp->windows[j]; in tegra_dc_add_shared_planes()
1102 wgrp->index, in tegra_dc_add_shared_planes()
1986 const struct tegra_windowgroup_soc *wgrp = &dc->soc->wgrps[i]; in tegra_dc_has_window_groups() local
1988 if (wgrp->dc == dc->pipe && wgrp->num_windows > 0) in tegra_dc_has_window_groups()