Home
last modified time | relevance | path

Searched refs:wgrp (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/tegra/
H A Dhub.c96 static int tegra_windowgroup_enable(struct tegra_windowgroup *wgrp) in tegra_windowgroup_enable() argument
100 mutex_lock(&wgrp->lock); in tegra_windowgroup_enable()
102 if (wgrp->usecount == 0) { in tegra_windowgroup_enable()
103 err = host1x_client_resume(wgrp->parent); in tegra_windowgroup_enable()
105 dev_err(wgrp->parent->dev, "failed to resume: %d\n", err); in tegra_windowgroup_enable()
109 reset_control_deassert(wgrp->rst); in tegra_windowgroup_enable()
112 wgrp->usecount++; in tegra_windowgroup_enable()
115 mutex_unlock(&wgrp->lock); in tegra_windowgroup_enable()
119 static void tegra_windowgroup_disable(struct tegra_windowgroup *wgrp) in tegra_windowgroup_disable() argument
123 mutex_lock(&wgrp in tegra_windowgroup_disable()
150 struct tegra_windowgroup *wgrp = &hub->wgrps[i]; tegra_display_hub_prepare() local
169 struct tegra_windowgroup *wgrp = &hub->wgrps[i]; tegra_display_hub_cleanup() local
551 tegra_shared_plane_create(struct drm_device *drm, struct tegra_dc *dc, unsigned int wgrp, unsigned int index) tegra_shared_plane_create() argument
889 struct tegra_windowgroup *wgrp = &hub->wgrps[i]; tegra_display_hub_probe() local
976 struct tegra_windowgroup *wgrp = &hub->wgrps[i]; tegra_display_hub_remove() local
[all...]
H A Dhub.h26 struct tegra_windowgroup *wgrp; member
83 unsigned int wgrp,
H A Ddc.c1132 const struct tegra_windowgroup_soc *wgrp = &dc->soc->wgrps[i]; in tegra_dc_add_shared_planes() local
1134 if (wgrp->dc == dc->pipe) { in tegra_dc_add_shared_planes()
1135 for (j = 0; j < wgrp->num_windows; j++) { in tegra_dc_add_shared_planes()
1136 unsigned int index = wgrp->windows[j]; in tegra_dc_add_shared_planes()
1139 wgrp->index, in tegra_dc_add_shared_planes()
2021 const struct tegra_windowgroup_soc *wgrp = &dc->soc->wgrps[i]; in tegra_dc_has_window_groups() local
2023 if (wgrp->dc == dc->pipe && wgrp->num_windows > 0) in tegra_dc_has_window_groups()
/kernel/linux/linux-6.6/drivers/gpu/drm/tegra/
H A Dhub.c113 static int tegra_windowgroup_enable(struct tegra_windowgroup *wgrp) in tegra_windowgroup_enable() argument
117 mutex_lock(&wgrp->lock); in tegra_windowgroup_enable()
119 if (wgrp->usecount == 0) { in tegra_windowgroup_enable()
120 err = host1x_client_resume(wgrp->parent); in tegra_windowgroup_enable()
122 dev_err(wgrp->parent->dev, "failed to resume: %d\n", err); in tegra_windowgroup_enable()
126 reset_control_deassert(wgrp->rst); in tegra_windowgroup_enable()
129 wgrp->usecount++; in tegra_windowgroup_enable()
132 mutex_unlock(&wgrp->lock); in tegra_windowgroup_enable()
136 static void tegra_windowgroup_disable(struct tegra_windowgroup *wgrp) in tegra_windowgroup_disable() argument
140 mutex_lock(&wgrp in tegra_windowgroup_disable()
167 struct tegra_windowgroup *wgrp = &hub->wgrps[i]; tegra_display_hub_prepare() local
186 struct tegra_windowgroup *wgrp = &hub->wgrps[i]; tegra_display_hub_cleanup() local
756 tegra_shared_plane_create(struct drm_device *drm, struct tegra_dc *dc, unsigned int wgrp, unsigned int index) tegra_shared_plane_create() argument
1103 struct tegra_windowgroup *wgrp = &hub->wgrps[i]; tegra_display_hub_probe() local
1185 struct tegra_windowgroup *wgrp = &hub->wgrps[i]; tegra_display_hub_remove() local
[all...]
H A Dhub.h26 struct tegra_windowgroup *wgrp; member
82 unsigned int wgrp,
H A Ddc.c1318 const struct tegra_windowgroup_soc *wgrp = &dc->soc->wgrps[i]; in tegra_dc_add_shared_planes() local
1320 if (wgrp->dc == dc->pipe) { in tegra_dc_add_shared_planes()
1321 for (j = 0; j < wgrp->num_windows; j++) { in tegra_dc_add_shared_planes()
1322 unsigned int index = wgrp->windows[j]; in tegra_dc_add_shared_planes()
1325 wgrp->index, in tegra_dc_add_shared_planes()
2577 const struct tegra_windowgroup_soc *wgrp = &dc->soc->wgrps[i]; in tegra_dc_has_window_groups() local
2579 if (wgrp->dc == dc->pipe && wgrp->num_windows > 0) in tegra_dc_has_window_groups()

Completed in 9 milliseconds