Lines Matching refs:mf

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