Lines Matching refs:wsize
241 struct ov7670_win_size *wsize;
978 struct ov7670_win_size *wsize;
1004 wsize = info->devtype->win_sizes + i;
1006 if (wsize->width < info->min_width ||
1007 wsize->height < info->min_height) {
1016 for (wsize = info->devtype->win_sizes;
1017 wsize < info->devtype->win_sizes + win_sizes_limit; wsize++)
1018 if (fmt->width >= wsize->width && fmt->height >= wsize->height)
1020 if (wsize >= info->devtype->win_sizes + win_sizes_limit)
1021 wsize--; /* Take the smallest one */
1023 *ret_wsize = wsize;
1027 fmt->width = wsize->width;
1028 fmt->height = wsize->height;
1039 struct ov7670_win_size *wsize = info->wsize;
1050 com7 |= wsize->com7_bit;
1075 ret = ov7670_set_hw(sd, wsize->hstart, wsize->hstop, wsize->vstart,
1076 wsize->vstop);
1080 if (wsize->regs) {
1081 ret = ov7670_write_array(sd, wsize->regs);
1131 ret = ov7670_try_fmt_internal(sd, &format->format, &info->fmt, &info->wsize);
1928 info->wsize = &info->devtype->win_sizes[0];