Lines Matching defs:dc
16 #include "dc.h"
97 struct tegra_dc *dc = to_tegra_dc(crtc);
99 if (!dc->soc->supports_sector_layout)
140 static int tegra_dc_pin(struct tegra_dc *dc, struct tegra_plane_state *state)
149 map = host1x_bo_pin(dc->dev, &bo->base, DMA_TO_DEVICE, &dc->client.cache);
155 if (!dc->client.group) {
178 dev_err(dc->dev, "failed to map plane %u: %d\n", i, err);
189 static void tegra_dc_unpin(struct tegra_dc *dc, struct tegra_plane_state *state)
203 struct tegra_dc *dc = to_tegra_dc(state->crtc);
213 return tegra_dc_pin(dc, to_tegra_plane_state(state));
219 struct tegra_dc *dc = to_tegra_dc(state->crtc);
221 if (dc)
222 tegra_dc_unpin(dc, to_tegra_plane_state(state));
635 if (p == tegra || p->dc != tegra->dc)
679 if (p == tegra || p->dc != tegra->dc)
730 if (p->dc != tegra->dc)
770 struct device *dev = plane->dc->dev;
771 struct tegra_dc *dc = plane->dc;
785 if (plane->index == 1 && dc->soc->has_win_b_vfilter_mem_client) {