Lines Matching refs:mf
454 struct v4l2_mbus_framefmt *mf = &format->format; in mt9m111_get_fmt() local
460 mf->width = mt9m111->width; in mt9m111_get_fmt()
461 mf->height = mt9m111->height; in mt9m111_get_fmt()
462 mf->code = mt9m111->fmt->code; in mt9m111_get_fmt()
463 mf->colorspace = mt9m111->fmt->colorspace; in mt9m111_get_fmt()
464 mf->field = V4L2_FIELD_NONE; in mt9m111_get_fmt()
543 struct v4l2_mbus_framefmt *mf = &format->format; in mt9m111_set_fmt() local
554 fmt = mt9m111_find_datafmt(mt9m111, mf->code); in mt9m111_set_fmt()
570 mf->width = rect->width; in mt9m111_set_fmt()
571 mf->height = rect->height; in mt9m111_set_fmt()
574 if (mf->width > rect->width) in mt9m111_set_fmt()
575 mf->width = rect->width; in mt9m111_set_fmt()
576 if (mf->height > rect->height) in mt9m111_set_fmt()
577 mf->height = rect->height; in mt9m111_set_fmt()
581 mf->width, mf->height, fmt->code); in mt9m111_set_fmt()
583 mf->code = fmt->code; in mt9m111_set_fmt()
584 mf->colorspace = fmt->colorspace; in mt9m111_set_fmt()
587 cfg->try_fmt = *mf; in mt9m111_set_fmt()
591 ret = mt9m111_setup_geometry(mt9m111, rect, mf->width, mf->height, mf->code); in mt9m111_set_fmt()
593 ret = mt9m111_set_pixfmt(mt9m111, mf->code); in mt9m111_set_fmt()
595 mt9m111->width = mf->width; in mt9m111_set_fmt()
596 mt9m111->height = mf->height; in mt9m111_set_fmt()