Lines Matching refs:win
408 const struct ov772x_win_size *win; member
583 if (!priv->win || !priv->cfmt) { in ov772x_s_stream()
591 priv->cfmt->code, priv->win->name); in ov772x_s_stream()
689 const struct ov772x_win_size *win; in ov772x_select_win() local
694 win = &ov772x_win_qvga; in ov772x_select_win()
700 win = &ov772x_win_vga; in ov772x_select_win()
702 return win; in ov772x_select_win()
729 priv->win = ov772x_select_win(*width, *height); in ov772x_set_params()
786 ret = ov772x_write_array(client, priv->win->regs); in ov772x_set_params()
822 val = priv->win->com7_bit | priv->cfmt->com7; in ov772x_set_params()
841 *width = priv->win->width; in ov772x_set_params()
842 *height = priv->win->height; in ov772x_set_params()
849 priv->win = NULL; in ov772x_set_params()
886 if (!priv->win || !priv->cfmt) { in ov772x_g_fmt()
894 mf->width = priv->win->width; in ov772x_g_fmt()
895 mf->height = priv->win->height; in ov772x_g_fmt()
921 const struct ov772x_win_size *win; in ov772x_try_fmt() local
927 win = ov772x_select_win(mf->width, mf->height); in ov772x_try_fmt()
929 mf->width = win->width; in ov772x_try_fmt()
930 mf->height = win->height; in ov772x_try_fmt()