Lines Matching refs:win
138 tmp |= fmt_to_reg(overlay, overlay->win.pix_fmt); in dmafetch_set_fmt()
142 static void overlay_set_win(struct mmp_overlay *overlay, struct mmp_win *win) in overlay_set_win() argument
147 memcpy(&overlay->win, win, sizeof(struct mmp_win)); in overlay_set_win()
152 writel_relaxed(win->pitch[0], ®s->v_pitch_yc); in overlay_set_win()
153 writel_relaxed(win->pitch[2] << 16 | in overlay_set_win()
154 win->pitch[1], ®s->v_pitch_uv); in overlay_set_win()
156 writel_relaxed((win->ysrc << 16) | win->xsrc, ®s->v_size); in overlay_set_win()
157 writel_relaxed((win->ydst << 16) | win->xdst, ®s->v_size_z); in overlay_set_win()
158 writel_relaxed(win->ypos << 16 | win->xpos, ®s->v_start); in overlay_set_win()
160 writel_relaxed(win->pitch[0], ®s->g_pitch); in overlay_set_win()
162 writel_relaxed((win->ysrc << 16) | win->xsrc, ®s->g_size); in overlay_set_win()
163 writel_relaxed((win->ydst << 16) | win->xdst, ®s->g_size_z); in overlay_set_win()
164 writel_relaxed(win->ypos << 16 | win->xpos, ®s->g_start); in overlay_set_win()