Lines Matching refs:wsize
242 struct ov7670_win_size *wsize;
965 struct ov7670_win_size *wsize;
991 wsize = info->devtype->win_sizes + i;
993 if (wsize->width < info->min_width ||
994 wsize->height < info->min_height) {
1003 for (wsize = info->devtype->win_sizes;
1004 wsize < info->devtype->win_sizes + win_sizes_limit; wsize++)
1005 if (fmt->width >= wsize->width && fmt->height >= wsize->height)
1007 if (wsize >= info->devtype->win_sizes + win_sizes_limit)
1008 wsize--; /* Take the smallest one */
1010 *ret_wsize = wsize;
1014 fmt->width = wsize->width;
1015 fmt->height = wsize->height;
1026 struct ov7670_win_size *wsize = info->wsize;
1037 com7 |= wsize->com7_bit;
1062 ret = ov7670_set_hw(sd, wsize->hstart, wsize->hstop, wsize->vstart,
1063 wsize->vstop);
1067 if (wsize->regs) {
1068 ret = ov7670_write_array(sd, wsize->regs);
1117 ret = ov7670_try_fmt_internal(sd, &format->format, &info->fmt, &info->wsize);
1917 info->wsize = &info->devtype->win_sizes[0];