Lines Matching refs:mf
524 struct v4l2_mbus_framefmt *mf = &format->format;
532 mf = v4l2_subdev_get_try_format(sd, cfg, format->pad);
533 format->format = *mf;
540 mf->width = mt9m111->width;
541 mf->height = mt9m111->height;
542 mf->code = mt9m111->fmt->code;
543 mf->colorspace = mt9m111->fmt->colorspace;
544 mf->field = V4L2_FIELD_NONE;
545 mf->ycbcr_enc = V4L2_YCBCR_ENC_DEFAULT;
546 mf->quantization = V4L2_QUANTIZATION_DEFAULT;
547 mf->xfer_func = V4L2_XFER_FUNC_DEFAULT;
630 struct v4l2_mbus_framefmt *mf = &format->format;
644 fmt = mt9m111_find_datafmt(mt9m111, mf->code);
660 mf->width = rect->width;
661 mf->height = rect->height;
664 if (mf->width > rect->width)
665 mf->width = rect->width;
666 if (mf->height > rect->height)
667 mf->height = rect->height;
671 mf->width, mf->height, fmt->code);
673 mf->code = fmt->code;
674 mf->colorspace = fmt->colorspace;
675 mf->field = V4L2_FIELD_NONE;
676 mf->ycbcr_enc = V4L2_YCBCR_ENC_DEFAULT;
677 mf->quantization = V4L2_QUANTIZATION_DEFAULT;
678 mf->xfer_func = V4L2_XFER_FUNC_DEFAULT;
681 cfg->try_fmt = *mf;
685 ret = mt9m111_setup_geometry(mt9m111, rect, mf->width, mf->height, mf->code);
687 ret = mt9m111_set_pixfmt(mt9m111, mf->code);
689 mt9m111->width = mf->width;
690 mt9m111->height = mf->height;