Lines Matching defs:fmt
90 const struct ov7740_pixfmt *fmt; /* Current format */
595 if (ov7740->fmt) {
597 ov7740->fmt->regs,
598 ov7740->fmt->reg_num);
757 struct v4l2_mbus_framefmt *fmt,
766 if (ov7740_formats[index].mbus_code == fmt->code)
772 fmt->code = ov7740_formats[0].mbus_code;
778 if ((fsize->width >= fmt->width) &&
779 (fsize->height >= fmt->height)) {
780 fmt->width = fsize->width;
781 fmt->height = fsize->height;
789 fmt->width = fsize->width;
790 fmt->height = fsize->height;
795 fmt->field = V4L2_FIELD_NONE;
796 fmt->colorspace = ov7740_formats[index].colorspace;
798 ov7740->format = *fmt;
838 ov7740->fmt = ovfmt;
897 format->colorspace = ov7740->fmt->colorspace;
898 format->code = ov7740->fmt->mbus_code;
1130 ov7740->fmt = &ov7740_formats[0];