Lines Matching refs:mf
523 struct v4l2_mbus_framefmt *mf = &format->format;
531 mf = v4l2_subdev_get_try_format(sd, sd_state, format->pad);
532 format->format = *mf;
539 mf->width = mt9m111->width;
540 mf->height = mt9m111->height;
541 mf->code = mt9m111->fmt->code;
542 mf->colorspace = mt9m111->fmt->colorspace;
543 mf->field = V4L2_FIELD_NONE;
544 mf->ycbcr_enc = V4L2_YCBCR_ENC_DEFAULT;
545 mf->quantization = V4L2_QUANTIZATION_DEFAULT;
546 mf->xfer_func = V4L2_XFER_FUNC_DEFAULT;
629 struct v4l2_mbus_framefmt *mf = &format->format;
643 fmt = mt9m111_find_datafmt(mt9m111, mf->code);
659 mf->width = rect->width;
660 mf->height = rect->height;
663 if (mf->width > rect->width)
664 mf->width = rect->width;
665 if (mf->height > rect->height)
666 mf->height = rect->height;
670 mf->width, mf->height, fmt->code);
672 mf->code = fmt->code;
673 mf->colorspace = fmt->colorspace;
674 mf->field = V4L2_FIELD_NONE;
675 mf->ycbcr_enc = V4L2_YCBCR_ENC_DEFAULT;
676 mf->quantization = V4L2_QUANTIZATION_DEFAULT;
677 mf->xfer_func = V4L2_XFER_FUNC_DEFAULT;
680 sd_state->pads->try_fmt = *mf;
684 ret = mt9m111_setup_geometry(mt9m111, rect, mf->width, mf->height, mf->code);
686 ret = mt9m111_set_pixfmt(mt9m111, mf->code);
688 mt9m111->width = mf->width;
689 mt9m111->height = mf->height;