Lines Matching refs:mf
672 struct v4l2_mbus_framefmt *mf) in ov9740_s_fmt() argument
677 u32 code = mf->code; in ov9740_s_fmt()
680 ov9740_res_roundup(&mf->width, &mf->height); in ov9740_s_fmt()
695 ret = ov9740_set_res(client, mf->width, mf->height); in ov9740_s_fmt()
699 mf->code = code; in ov9740_s_fmt()
700 mf->colorspace = cspace; in ov9740_s_fmt()
702 memcpy(&priv->current_mf, mf, sizeof(struct v4l2_mbus_framefmt)); in ov9740_s_fmt()
711 struct v4l2_mbus_framefmt *mf = &format->format; in ov9740_set_fmt() local
716 ov9740_res_roundup(&mf->width, &mf->height); in ov9740_set_fmt()
718 mf->field = V4L2_FIELD_NONE; in ov9740_set_fmt()
719 mf->code = MEDIA_BUS_FMT_YUYV8_2X8; in ov9740_set_fmt()
720 mf->colorspace = V4L2_COLORSPACE_SRGB; in ov9740_set_fmt()
723 return ov9740_s_fmt(sd, mf); in ov9740_set_fmt()
724 cfg->try_fmt = *mf; in ov9740_set_fmt()