Lines Matching defs:fmt
241 struct ov7670_format_struct *fmt; /* Current format */
805 if (info->fmt->mbus_code == MEDIA_BUS_FMT_SBGGR8_1X8)
846 if (info->fmt->mbus_code == MEDIA_BUS_FMT_SBGGR8_1X8)
960 struct v4l2_mbus_framefmt *fmt,
971 if (ov7670_formats[index].mbus_code == fmt->code)
976 fmt->code = ov7670_formats[0].mbus_code;
983 fmt->field = V4L2_FIELD_NONE;
1005 if (fmt->width >= wsize->width && fmt->height >= wsize->height)
1014 fmt->width = wsize->width;
1015 fmt->height = wsize->height;
1016 fmt->colorspace = ov7670_formats[index].colorspace;
1018 info->format = *fmt;
1036 com7 = info->fmt->regs[0].value;
1058 ret = ov7670_write_array(sd, info->fmt->regs + 1);
1117 ret = ov7670_try_fmt_internal(sd, &format->format, &info->fmt, &info->wsize);
1358 matrix[i] = (info->fmt->cmatrix[i] * sat) >> 7;
1702 format->colorspace = info->fmt->colorspace;
1703 format->code = info->fmt->mbus_code;
1916 info->fmt = &ov7670_formats[0];