Lines Matching refs:mf
254 struct v4l2_mbus_framefmt *mf) in mt9m001_g_fmt() argument
259 mf->width = mt9m001->rect.width; in mt9m001_g_fmt()
260 mf->height = mt9m001->rect.height; in mt9m001_g_fmt()
261 mf->code = mt9m001->fmt->code; in mt9m001_g_fmt()
262 mf->colorspace = mt9m001->fmt->colorspace; in mt9m001_g_fmt()
263 mf->field = V4L2_FIELD_NONE; in mt9m001_g_fmt()
269 struct v4l2_mbus_framefmt *mf) in mt9m001_s_fmt() argument
277 .width = mf->width, in mt9m001_s_fmt()
278 .height = mf->height, in mt9m001_s_fmt()
286 mf->width = mt9m001->rect.width; in mt9m001_s_fmt()
287 mf->height = mt9m001->rect.height; in mt9m001_s_fmt()
288 mt9m001->fmt = mt9m001_find_datafmt(mf->code, in mt9m001_s_fmt()
290 mf->colorspace = mt9m001->fmt->colorspace; in mt9m001_s_fmt()
297 struct v4l2_mbus_framefmt *mf) in mt9m001_try_fmt() argument
303 v4l_bound_align_image(&mf->width, MT9M001_MIN_WIDTH, in mt9m001_try_fmt()
305 &mf->height, MT9M001_MIN_HEIGHT + mt9m001->y_skip_top, in mt9m001_try_fmt()
309 mf->height = ALIGN(mf->height - 1, 2); in mt9m001_try_fmt()
311 fmt = mt9m001_find_datafmt(mf->code, mt9m001->fmts, in mt9m001_try_fmt()
315 mf->code = fmt->code; in mt9m001_try_fmt()
318 mf->colorspace = fmt->colorspace; in mt9m001_try_fmt()