Lines Matching defs:dc
16 #include "dc.h"
93 struct tegra_dc *dc = to_tegra_dc(crtc);
95 if (!dc->soc->supports_sector_layout)
136 static int tegra_dc_pin(struct tegra_dc *dc, struct tegra_plane_state *state)
145 map = host1x_bo_pin(dc->dev, &bo->base, DMA_TO_DEVICE, &dc->client.cache);
151 if (!dc->client.group) {
174 dev_err(dc->dev, "failed to map plane %u: %d\n", i, err);
185 static void tegra_dc_unpin(struct tegra_dc *dc, struct tegra_plane_state *state)
199 struct tegra_dc *dc = to_tegra_dc(state->crtc);
209 return tegra_dc_pin(dc, to_tegra_plane_state(state));
215 struct tegra_dc *dc = to_tegra_dc(state->crtc);
217 if (dc)
218 tegra_dc_unpin(dc, to_tegra_plane_state(state));
631 if (p == tegra || p->dc != tegra->dc)
675 if (p == tegra || p->dc != tegra->dc)
726 if (p->dc != tegra->dc)
766 struct device *dev = plane->dc->dev;
767 struct tegra_dc *dc = plane->dc;
781 if (plane->index == 1 && dc->soc->has_win_b_vfilter_mem_client) {