tegra_plane_state
struct tegra_plane_state *tegra_plane_state = to_tegra_plane_state(new_state);
value |= (tegra_plane_state->iova[0] >> 10) & 0x3fffff;
value = (tegra_plane_state->iova[0] >> 32) & (dma_mask >> 32);
const struct tegra_plane_state *old_tegra_state, *new_tegra_state;
const struct tegra_plane_state *tegra_state;
struct tegra_plane_state *new_tegra_state;
struct tegra_plane_state *state;
struct tegra_plane_state *plane_state = to_tegra_plane_state(new_plane_state);
struct tegra_plane_state *tegra_plane_state = to_tegra_plane_state(new_state);
window.reflect_x = tegra_plane_state->reflect_x;
window.reflect_y = tegra_plane_state->reflect_y;
window.tiling = tegra_plane_state->tiling;
window.format = tegra_plane_state->format;
window.swap = tegra_plane_state->swap;
window.base[i] = tegra_plane_state->iova[i] + fb->offsets[i];
struct tegra_plane_state *plane_state = to_tegra_plane_state(new_plane_state);
struct tegra_plane_state *plane_state = to_tegra_plane_state(new_plane_state);
struct tegra_plane_state *tegra_plane_state = to_tegra_plane_state(new_state);
yuv = tegra_plane_format_is_yuv(tegra_plane_state->format, &planes, &bpc);
if (tegra_plane_state->tiling.sector_layout == TEGRA_BO_SECTOR_LAYOUT_GPU)
base = tegra_plane_state->iova[0] + fb->offsets[0];
tegra_plane_writel(p, tegra_plane_state->format, DC_WIN_COLOR_DEPTH);
base = tegra_plane_state->iova[1] + fb->offsets[1];
base = tegra_plane_state->iova[2] + fb->offsets[2];
if (!tegra_plane_format_is_indexed(tegra_plane_state->format))
unsigned long height = tegra_plane_state->tiling.value;
switch (tegra_plane_state->tiling.mode) {
static int tegra_dc_pin(struct tegra_dc *dc, struct tegra_plane_state *state)
static void tegra_dc_unpin(struct tegra_dc *dc, struct tegra_plane_state *state)
struct tegra_plane_state *tegra_state = to_tegra_plane_state(state);
struct tegra_plane_state *state;
struct tegra_plane_state *state = to_tegra_plane_state(plane->state);
struct tegra_plane_state *copy;
struct tegra_plane_state *state)
struct tegra_plane_state *state)
struct tegra_plane_state *state)
struct tegra_plane_state *state)
struct tegra_plane_state *tegra_state;
struct tegra_plane_state *state)
static inline struct tegra_plane_state *
return container_of(state, struct tegra_plane_state, base);
static inline const struct tegra_plane_state *
struct tegra_plane_state *state);