Lines Matching refs:win

399 	const struct ov772x_win_size     *win;  member
569 priv->cfmt->code, priv->win->name); in ov772x_s_stream()
664 const struct ov772x_win_size *win = &ov772x_win_sizes[0]; in ov772x_select_win() local
673 win = &ov772x_win_sizes[i]; in ov772x_select_win()
677 return win; in ov772x_select_win()
682 const struct ov772x_win_size **win) in ov772x_select_params() argument
697 *win = ov772x_select_win(mf->width, mf->height); in ov772x_select_params()
702 const struct ov772x_win_size *win) in ov772x_set_params() argument
761 ret = ov772x_write(client, HSTART, win->rect.left >> 2); in ov772x_set_params()
764 ret = ov772x_write(client, HSIZE, win->rect.width >> 2); in ov772x_set_params()
767 ret = ov772x_write(client, VSTART, win->rect.top >> 1); in ov772x_set_params()
770 ret = ov772x_write(client, VSIZE, win->rect.height >> 1); in ov772x_set_params()
773 ret = ov772x_write(client, HOUTSIZE, win->rect.width >> 2); in ov772x_set_params()
776 ret = ov772x_write(client, VOUTSIZE, win->rect.height >> 1); in ov772x_set_params()
780 ((win->rect.top & 1) << HREF_VSTART_SHIFT) | in ov772x_set_params()
781 ((win->rect.left & 3) << HREF_HSTART_SHIFT) | in ov772x_set_params()
782 ((win->rect.height & 1) << HREF_VSIZE_SHIFT) | in ov772x_set_params()
783 ((win->rect.width & 3) << HREF_HSIZE_SHIFT)); in ov772x_set_params()
787 ((win->rect.height & 1) << EXHCH_VSIZE_SHIFT) | in ov772x_set_params()
788 ((win->rect.width & 3) << EXHCH_HSIZE_SHIFT)); in ov772x_set_params()
829 ret = ov772x_write(client, COM7, win->com7_bit | cfmt->com7); in ov772x_set_params()
889 mf->width = priv->win->rect.width; in ov772x_get_fmt()
890 mf->height = priv->win->rect.height; in ov772x_get_fmt()
902 const struct ov772x_win_size *win; in ov772x_s_fmt() local
905 ov772x_select_params(mf, &cfmt, &win); in ov772x_s_fmt()
907 ret = ov772x_set_params(priv, cfmt, win); in ov772x_s_fmt()
911 priv->win = win; in ov772x_s_fmt()
915 mf->width = win->rect.width; in ov772x_s_fmt()
916 mf->height = win->rect.height; in ov772x_s_fmt()
929 const struct ov772x_win_size *win; in ov772x_set_fmt() local
934 ov772x_select_params(mf, &cfmt, &win); in ov772x_set_fmt()
937 mf->width = win->rect.width; in ov772x_set_fmt()
938 mf->height = win->rect.height; in ov772x_set_fmt()
1105 priv->win = &ov772x_win_sizes[0]; in ov772x_probe()