mf                652 drivers/block/paride/pf.c 	char mf[10], id[18];
mf                669 drivers/block/paride/pf.c 	xs(buf, mf, 8, 8);
mf                681 drivers/block/paride/pf.c 	       pf->name, mf, id, ms[pf->drive], pf->lun, dt);
mf                441 drivers/block/paride/pg.c 	char mf[10], id[18];
mf                453 drivers/block/paride/pg.c 		xs(buf + 8, mf, 8);
mf                455 drivers/block/paride/pg.c 		printk("%s: %s %s, %s\n", dev->name, mf, id, ms[dev->drive]);
mf                532 drivers/block/paride/pt.c 	char mf[10], id[18];
mf                552 drivers/block/paride/pt.c 	xs(buf, mf, 8, 8);
mf                571 drivers/block/paride/pt.c 	printk("%s: %s %s, %s", tape->name, mf, id, ms[tape->drive]);
mf                312 drivers/clk/imx/clk-pllv3.c 		struct clk_pllv3_vf610_mf mf)
mf                317 drivers/clk/imx/clk-pllv3.c 	temp64 *= mf.mfn;
mf                318 drivers/clk/imx/clk-pllv3.c 	do_div(temp64, mf.mfd);
mf                320 drivers/clk/imx/clk-pllv3.c 	return (parent_rate * mf.mfi) + temp64;
mf                326 drivers/clk/imx/clk-pllv3.c 	struct clk_pllv3_vf610_mf mf;
mf                329 drivers/clk/imx/clk-pllv3.c 	mf.mfi = (rate >= 22 * parent_rate) ? 22 : 20;
mf                330 drivers/clk/imx/clk-pllv3.c 	mf.mfd = 0x3fffffff;	/* use max supported value for best accuracy */
mf                332 drivers/clk/imx/clk-pllv3.c 	if (rate <= parent_rate * mf.mfi)
mf                333 drivers/clk/imx/clk-pllv3.c 		mf.mfn = 0;
mf                334 drivers/clk/imx/clk-pllv3.c 	else if (rate >= parent_rate * (mf.mfi + 1))
mf                335 drivers/clk/imx/clk-pllv3.c 		mf.mfn = mf.mfd - 1;
mf                338 drivers/clk/imx/clk-pllv3.c 		temp64 = rate - parent_rate * mf.mfi;
mf                339 drivers/clk/imx/clk-pllv3.c 		temp64 *= mf.mfd;
mf                341 drivers/clk/imx/clk-pllv3.c 		mf.mfn = temp64;
mf                344 drivers/clk/imx/clk-pllv3.c 	return mf;
mf                351 drivers/clk/imx/clk-pllv3.c 	struct clk_pllv3_vf610_mf mf;
mf                353 drivers/clk/imx/clk-pllv3.c 	mf.mfn = readl_relaxed(pll->base + pll->num_offset);
mf                354 drivers/clk/imx/clk-pllv3.c 	mf.mfd = readl_relaxed(pll->base + pll->denom_offset);
mf                355 drivers/clk/imx/clk-pllv3.c 	mf.mfi = (readl_relaxed(pll->base) & pll->div_mask) ? 22 : 20;
mf                357 drivers/clk/imx/clk-pllv3.c 	return clk_pllv3_vf610_mf_to_rate(parent_rate, mf);
mf                363 drivers/clk/imx/clk-pllv3.c 	struct clk_pllv3_vf610_mf mf = clk_pllv3_vf610_rate_to_mf(*prate, rate);
mf                365 drivers/clk/imx/clk-pllv3.c 	return clk_pllv3_vf610_mf_to_rate(*prate, mf);
mf                372 drivers/clk/imx/clk-pllv3.c 	struct clk_pllv3_vf610_mf mf =
mf                377 drivers/clk/imx/clk-pllv3.c 	if (mf.mfi == 20)
mf                383 drivers/clk/imx/clk-pllv3.c 	writel_relaxed(mf.mfn, pll->base + pll->num_offset);
mf                384 drivers/clk/imx/clk-pllv3.c 	writel_relaxed(mf.mfd, pll->base + pll->denom_offset);
mf                425 drivers/clk/rockchip/clk.h #define COMPOSITE(_id, cname, pnames, f, mo, ms, mw, mf, ds, dw,\
mf                437 drivers/clk/rockchip/clk.h 		.mux_flags	= mf,				\
mf                447 drivers/clk/rockchip/clk.h 			     mf, do, ds, dw, df, go, gs, gf)	\
mf                458 drivers/clk/rockchip/clk.h 		.mux_flags	= mf,				\
mf                505 drivers/clk/rockchip/clk.h #define COMPOSITE_NODIV(_id, cname, pnames, f, mo, ms, mw, mf,	\
mf                517 drivers/clk/rockchip/clk.h 		.mux_flags	= mf,				\
mf                523 drivers/clk/rockchip/clk.h #define COMPOSITE_NOGATE(_id, cname, pnames, f, mo, ms, mw, mf,	\
mf                535 drivers/clk/rockchip/clk.h 		.mux_flags	= mf,				\
mf                543 drivers/clk/rockchip/clk.h 				mw, mf, ds, dw, df, dt)		\
mf                554 drivers/clk/rockchip/clk.h 		.mux_flags	= mf,				\
mf                631 drivers/clk/rockchip/clk.h #define MUX(_id, cname, pnames, f, o, s, w, mf)			\
mf                642 drivers/clk/rockchip/clk.h 		.mux_flags	= mf,				\
mf                646 drivers/clk/rockchip/clk.h #define MUXGRF(_id, cname, pnames, f, o, s, w, mf)		\
mf                657 drivers/clk/rockchip/clk.h 		.mux_flags	= mf,				\
mf                754 drivers/clk/rockchip/clk.h #define COMPOSITE_HALFDIV(_id, cname, pnames, f, mo, ms, mw, mf, ds, dw,\
mf                766 drivers/clk/rockchip/clk.h 		.mux_flags	= mf,				\
mf                775 drivers/clk/rockchip/clk.h #define COMPOSITE_NOGATE_HALFDIV(_id, cname, pnames, f, mo, ms, mw, mf,	\
mf                787 drivers/clk/rockchip/clk.h 		.mux_flags	= mf,				\
mf                128 drivers/clk/samsung/clk.h #define __MUX(_id, cname, pnames, o, s, w, f, mf)		\
mf                138 drivers/clk/samsung/clk.h 		.mux_flags	= mf,				\
mf                144 drivers/clk/samsung/clk.h #define MUX_F(_id, cname, pnames, o, s, w, f, mf)		\
mf                145 drivers/clk/samsung/clk.h 	__MUX(_id, cname, pnames, o, s, w, f, mf)
mf                138 drivers/gpu/drm/omapdrm/dss/dss.h 	u32 mf;
mf                272 drivers/gpu/drm/omapdrm/dss/pll.c 	unsigned int n, m, mf, m2, sd;
mf                294 drivers/gpu/drm/omapdrm/dss/pll.c 		mf = 0;
mf                296 drivers/gpu/drm/omapdrm/dss/pll.c 		mf = (u32)div_u64(262144ull * (target_clkdco - clkdco), fint);
mf                298 drivers/gpu/drm/omapdrm/dss/pll.c 	if (mf > 0)
mf                299 drivers/gpu/drm/omapdrm/dss/pll.c 		clkdco += (u32)div_u64((u64)mf * fint, 262144);
mf                307 drivers/gpu/drm/omapdrm/dss/pll.c 		n, m, mf, m2, sd);
mf                312 drivers/gpu/drm/omapdrm/dss/pll.c 	cinfo->mf = mf;
mf                550 drivers/gpu/drm/omapdrm/dss/pll.c 	l = FLD_MOD(l, cinfo->mf, 17, 0);	/* PLL_REGM_F */
mf                 37 drivers/hid/hid-mf.c 	struct mf_device *mf = data;
mf                 50 drivers/hid/hid-mf.c 	mf->report->field[0]->value[0] = weak;
mf                 51 drivers/hid/hid-mf.c 	mf->report->field[0]->value[1] = strong;
mf                 52 drivers/hid/hid-mf.c 	hid_hw_request(hid, mf->report, HID_REQ_SET_REPORT);
mf                 59 drivers/hid/hid-mf.c 	struct mf_device *mf;
mf                 91 drivers/hid/hid-mf.c 		mf = kzalloc(sizeof(struct mf_device), GFP_KERNEL);
mf                 92 drivers/hid/hid-mf.c 		if (!mf)
mf                 98 drivers/hid/hid-mf.c 		error = input_ff_create_memless(dev, mf, mf_play);
mf                100 drivers/hid/hid-mf.c 			kfree(mf);
mf                104 drivers/hid/hid-mf.c 		mf->report = report;
mf                105 drivers/hid/hid-mf.c 		mf->report->field[0]->value[0] = 0x00;
mf                106 drivers/hid/hid-mf.c 		mf->report->field[0]->value[1] = 0x00;
mf                107 drivers/hid/hid-mf.c 		hid_hw_request(hid, mf->report, HID_REQ_SET_REPORT);
mf                267 drivers/media/i2c/adv7170.c 	struct v4l2_mbus_framefmt *mf = &format->format;
mf                274 drivers/media/i2c/adv7170.c 		mf->code = MEDIA_BUS_FMT_UYVY8_1X16;
mf                276 drivers/media/i2c/adv7170.c 		mf->code = MEDIA_BUS_FMT_UYVY8_2X8;
mf                278 drivers/media/i2c/adv7170.c 	mf->colorspace  = V4L2_COLORSPACE_SMPTE170M;
mf                279 drivers/media/i2c/adv7170.c 	mf->width       = 0;
mf                280 drivers/media/i2c/adv7170.c 	mf->height      = 0;
mf                281 drivers/media/i2c/adv7170.c 	mf->field       = V4L2_FIELD_ANY;
mf                290 drivers/media/i2c/adv7170.c 	struct v4l2_mbus_framefmt *mf = &format->format;
mf                296 drivers/media/i2c/adv7170.c 	switch (mf->code) {
mf                307 drivers/media/i2c/adv7170.c 			"illegal v4l2_mbus_framefmt code: %d\n", mf->code);
mf                305 drivers/media/i2c/adv7175.c 	struct v4l2_mbus_framefmt *mf = &format->format;
mf                312 drivers/media/i2c/adv7175.c 		mf->code = MEDIA_BUS_FMT_UYVY8_1X16;
mf                314 drivers/media/i2c/adv7175.c 		mf->code = MEDIA_BUS_FMT_UYVY8_2X8;
mf                316 drivers/media/i2c/adv7175.c 	mf->colorspace  = V4L2_COLORSPACE_SMPTE170M;
mf                317 drivers/media/i2c/adv7175.c 	mf->width       = 0;
mf                318 drivers/media/i2c/adv7175.c 	mf->height      = 0;
mf                319 drivers/media/i2c/adv7175.c 	mf->field       = V4L2_FIELD_ANY;
mf                328 drivers/media/i2c/adv7175.c 	struct v4l2_mbus_framefmt *mf = &format->format;
mf                335 drivers/media/i2c/adv7175.c 	switch (mf->code) {
mf                346 drivers/media/i2c/adv7175.c 			"illegal v4l2_mbus_framefmt code: %d\n", mf->code);
mf                 97 drivers/media/i2c/ak881x.c 	struct v4l2_mbus_framefmt *mf = &format->format;
mf                104 drivers/media/i2c/ak881x.c 	v4l_bound_align_image(&mf->width, 0, 720, 2,
mf                105 drivers/media/i2c/ak881x.c 			      &mf->height, 0, ak881x->lines, 1, 0);
mf                106 drivers/media/i2c/ak881x.c 	mf->field	= V4L2_FIELD_INTERLACED;
mf                107 drivers/media/i2c/ak881x.c 	mf->code	= MEDIA_BUS_FMT_YUYV8_2X8;
mf                108 drivers/media/i2c/ak881x.c 	mf->colorspace	= V4L2_COLORSPACE_SMPTE170M;
mf                507 drivers/media/i2c/m5mols/m5mols_core.c 			     struct v4l2_mbus_framefmt *mf,
mf                513 drivers/media/i2c/m5mols/m5mols_core.c 	enum m5mols_restype stype = __find_restype(mf->code);
mf                520 drivers/media/i2c/m5mols/m5mols_core.c 			err = abs(fsize->width - mf->width)
mf                521 drivers/media/i2c/m5mols/m5mols_core.c 				+ abs(fsize->height - mf->height);
mf                531 drivers/media/i2c/m5mols/m5mols_core.c 		mf->width  = match->width;
mf                532 drivers/media/i2c/m5mols/m5mols_core.c 		mf->height = match->height;
mf                632 drivers/media/i2c/m5mols/m5mols_core.c 	struct v4l2_mbus_framefmt *mf = &info->ffmt[M5MOLS_RESTYPE_CAPTURE];
mf                640 drivers/media/i2c/m5mols/m5mols_core.c 				      mf->width * mf->height,
mf                327 drivers/media/i2c/mt9m001.c 	struct v4l2_mbus_framefmt *mf = &format->format;
mf                333 drivers/media/i2c/mt9m001.c 		mf = v4l2_subdev_get_try_format(sd, cfg, 0);
mf                334 drivers/media/i2c/mt9m001.c 		format->format = *mf;
mf                338 drivers/media/i2c/mt9m001.c 	mf->width	= mt9m001->rect.width;
mf                339 drivers/media/i2c/mt9m001.c 	mf->height	= mt9m001->rect.height;
mf                340 drivers/media/i2c/mt9m001.c 	mf->code	= mt9m001->fmt->code;
mf                341 drivers/media/i2c/mt9m001.c 	mf->colorspace	= mt9m001->fmt->colorspace;
mf                342 drivers/media/i2c/mt9m001.c 	mf->field	= V4L2_FIELD_NONE;
mf                343 drivers/media/i2c/mt9m001.c 	mf->ycbcr_enc	= V4L2_YCBCR_ENC_DEFAULT;
mf                344 drivers/media/i2c/mt9m001.c 	mf->quantization = V4L2_QUANTIZATION_DEFAULT;
mf                345 drivers/media/i2c/mt9m001.c 	mf->xfer_func	= V4L2_XFER_FUNC_DEFAULT;
mf                352 drivers/media/i2c/mt9m001.c 			 struct v4l2_mbus_framefmt *mf)
mf                361 drivers/media/i2c/mt9m001.c 		.r.width = mf->width,
mf                362 drivers/media/i2c/mt9m001.c 		.r.height = mf->height,
mf                369 drivers/media/i2c/mt9m001.c 		mf->width	= mt9m001->rect.width;
mf                370 drivers/media/i2c/mt9m001.c 		mf->height	= mt9m001->rect.height;
mf                372 drivers/media/i2c/mt9m001.c 		mf->colorspace	= fmt->colorspace;
mf                382 drivers/media/i2c/mt9m001.c 	struct v4l2_mbus_framefmt *mf = &format->format;
mf                390 drivers/media/i2c/mt9m001.c 	v4l_bound_align_image(&mf->width, MT9M001_MIN_WIDTH,
mf                392 drivers/media/i2c/mt9m001.c 		&mf->height, MT9M001_MIN_HEIGHT + mt9m001->y_skip_top,
mf                396 drivers/media/i2c/mt9m001.c 		mf->height = ALIGN(mf->height - 1, 2);
mf                398 drivers/media/i2c/mt9m001.c 	fmt = mt9m001_find_datafmt(mf->code, mt9m001->fmts,
mf                402 drivers/media/i2c/mt9m001.c 		mf->code = fmt->code;
mf                405 drivers/media/i2c/mt9m001.c 	mf->colorspace	= fmt->colorspace;
mf                406 drivers/media/i2c/mt9m001.c 	mf->field	= V4L2_FIELD_NONE;
mf                407 drivers/media/i2c/mt9m001.c 	mf->ycbcr_enc	= V4L2_YCBCR_ENC_DEFAULT;
mf                408 drivers/media/i2c/mt9m001.c 	mf->quantization = V4L2_QUANTIZATION_DEFAULT;
mf                409 drivers/media/i2c/mt9m001.c 	mf->xfer_func	= V4L2_XFER_FUNC_DEFAULT;
mf                412 drivers/media/i2c/mt9m001.c 		return mt9m001_s_fmt(sd, fmt, mf);
mf                413 drivers/media/i2c/mt9m001.c 	cfg->try_fmt = *mf;
mf                524 drivers/media/i2c/mt9m111.c 	struct v4l2_mbus_framefmt *mf = &format->format;
mf                532 drivers/media/i2c/mt9m111.c 		mf = v4l2_subdev_get_try_format(sd, cfg, format->pad);
mf                533 drivers/media/i2c/mt9m111.c 		format->format = *mf;
mf                540 drivers/media/i2c/mt9m111.c 	mf->width	= mt9m111->width;
mf                541 drivers/media/i2c/mt9m111.c 	mf->height	= mt9m111->height;
mf                542 drivers/media/i2c/mt9m111.c 	mf->code	= mt9m111->fmt->code;
mf                543 drivers/media/i2c/mt9m111.c 	mf->colorspace	= mt9m111->fmt->colorspace;
mf                544 drivers/media/i2c/mt9m111.c 	mf->field	= V4L2_FIELD_NONE;
mf                545 drivers/media/i2c/mt9m111.c 	mf->ycbcr_enc	= V4L2_YCBCR_ENC_DEFAULT;
mf                546 drivers/media/i2c/mt9m111.c 	mf->quantization	= V4L2_QUANTIZATION_DEFAULT;
mf                547 drivers/media/i2c/mt9m111.c 	mf->xfer_func	= V4L2_XFER_FUNC_DEFAULT;
mf                630 drivers/media/i2c/mt9m111.c 	struct v4l2_mbus_framefmt *mf = &format->format;
mf                644 drivers/media/i2c/mt9m111.c 	fmt = mt9m111_find_datafmt(mt9m111, mf->code);
mf                660 drivers/media/i2c/mt9m111.c 		mf->width = rect->width;
mf                661 drivers/media/i2c/mt9m111.c 		mf->height = rect->height;
mf                664 drivers/media/i2c/mt9m111.c 		if (mf->width > rect->width)
mf                665 drivers/media/i2c/mt9m111.c 			mf->width = rect->width;
mf                666 drivers/media/i2c/mt9m111.c 		if (mf->height > rect->height)
mf                667 drivers/media/i2c/mt9m111.c 			mf->height = rect->height;
mf                671 drivers/media/i2c/mt9m111.c 		mf->width, mf->height, fmt->code);
mf                673 drivers/media/i2c/mt9m111.c 	mf->code = fmt->code;
mf                674 drivers/media/i2c/mt9m111.c 	mf->colorspace = fmt->colorspace;
mf                675 drivers/media/i2c/mt9m111.c 	mf->field	= V4L2_FIELD_NONE;
mf                676 drivers/media/i2c/mt9m111.c 	mf->ycbcr_enc	= V4L2_YCBCR_ENC_DEFAULT;
mf                677 drivers/media/i2c/mt9m111.c 	mf->quantization	= V4L2_QUANTIZATION_DEFAULT;
mf                678 drivers/media/i2c/mt9m111.c 	mf->xfer_func	= V4L2_XFER_FUNC_DEFAULT;
mf                681 drivers/media/i2c/mt9m111.c 		cfg->try_fmt = *mf;
mf                685 drivers/media/i2c/mt9m111.c 	ret = mt9m111_setup_geometry(mt9m111, rect, mf->width, mf->height, mf->code);
mf                687 drivers/media/i2c/mt9m111.c 		ret = mt9m111_set_pixfmt(mt9m111, mf->code);
mf                689 drivers/media/i2c/mt9m111.c 		mt9m111->width	= mf->width;
mf                690 drivers/media/i2c/mt9m111.c 		mt9m111->height	= mf->height;
mf                918 drivers/media/i2c/mt9t112.c 	struct v4l2_mbus_framefmt *mf = &format->format;
mf                925 drivers/media/i2c/mt9t112.c 	mf->width	= priv->frame.width;
mf                926 drivers/media/i2c/mt9t112.c 	mf->height	= priv->frame.height;
mf                927 drivers/media/i2c/mt9t112.c 	mf->colorspace	= priv->format->colorspace;
mf                928 drivers/media/i2c/mt9t112.c 	mf->code	= priv->format->code;
mf                929 drivers/media/i2c/mt9t112.c 	mf->field	= V4L2_FIELD_NONE;
mf                935 drivers/media/i2c/mt9t112.c 			 struct v4l2_mbus_framefmt *mf)
mf                940 drivers/media/i2c/mt9t112.c 		.width = mf->width,
mf                941 drivers/media/i2c/mt9t112.c 		.height = mf->height,
mf                947 drivers/media/i2c/mt9t112.c 	ret = mt9t112_set_params(priv, &rect, mf->code);
mf                950 drivers/media/i2c/mt9t112.c 		mf->colorspace = priv->format->colorspace;
mf                960 drivers/media/i2c/mt9t112.c 	struct v4l2_mbus_framefmt *mf = &format->format;
mf                968 drivers/media/i2c/mt9t112.c 		if (mt9t112_cfmts[i].code == mf->code)
mf                972 drivers/media/i2c/mt9t112.c 		mf->code = MEDIA_BUS_FMT_UYVY8_2X8;
mf                973 drivers/media/i2c/mt9t112.c 		mf->colorspace = V4L2_COLORSPACE_JPEG;
mf                975 drivers/media/i2c/mt9t112.c 		mf->colorspace = mt9t112_cfmts[i].colorspace;
mf                978 drivers/media/i2c/mt9t112.c 	v4l_bound_align_image(&mf->width, 0, MAX_WIDTH, 0,
mf                979 drivers/media/i2c/mt9t112.c 			      &mf->height, 0, MAX_HEIGHT, 0, 0);
mf                981 drivers/media/i2c/mt9t112.c 	mf->field = V4L2_FIELD_NONE;
mf                984 drivers/media/i2c/mt9t112.c 		return mt9t112_s_fmt(sd, mf);
mf                985 drivers/media/i2c/mt9t112.c 	cfg->try_fmt = *mf;
mf                358 drivers/media/i2c/noon010pc30.c static int noon010_try_frame_size(struct v4l2_mbus_framefmt *mf,
mf                367 drivers/media/i2c/noon010pc30.c 		int err = abs(fsize->width - mf->width)
mf                368 drivers/media/i2c/noon010pc30.c 				+ abs(fsize->height - mf->height);
mf                377 drivers/media/i2c/noon010pc30.c 		mf->width  = match->width;
mf                378 drivers/media/i2c/noon010pc30.c 		mf->height = match->height;
mf                506 drivers/media/i2c/noon010pc30.c 	struct v4l2_mbus_framefmt *mf;
mf                510 drivers/media/i2c/noon010pc30.c 			mf = v4l2_subdev_get_try_format(sd, cfg, 0);
mf                511 drivers/media/i2c/noon010pc30.c 			fmt->format = *mf;
mf                515 drivers/media/i2c/noon010pc30.c 	mf = &fmt->format;
mf                518 drivers/media/i2c/noon010pc30.c 	mf->width = info->curr_win->width;
mf                519 drivers/media/i2c/noon010pc30.c 	mf->height = info->curr_win->height;
mf                520 drivers/media/i2c/noon010pc30.c 	mf->code = info->curr_fmt->code;
mf                521 drivers/media/i2c/noon010pc30.c 	mf->colorspace = info->curr_fmt->colorspace;
mf                522 drivers/media/i2c/noon010pc30.c 	mf->field = V4L2_FIELD_NONE;
mf                530 drivers/media/i2c/noon010pc30.c 					    struct v4l2_mbus_framefmt *mf)
mf                535 drivers/media/i2c/noon010pc30.c 		if (mf->code == noon010_formats[i].code)
mf                537 drivers/media/i2c/noon010pc30.c 	mf->code = noon010_formats[i].code;
mf                548 drivers/media/i2c/noon010pc30.c 	struct v4l2_mbus_framefmt *mf;
mf                558 drivers/media/i2c/noon010pc30.c 			mf = v4l2_subdev_get_try_format(sd, cfg, 0);
mf                559 drivers/media/i2c/noon010pc30.c 			*mf = fmt->format;
mf                640 drivers/media/i2c/noon010pc30.c 	struct v4l2_mbus_framefmt *mf = v4l2_subdev_get_try_format(sd, fh->pad, 0);
mf                642 drivers/media/i2c/noon010pc30.c 	mf->width = noon010_sizes[0].width;
mf                643 drivers/media/i2c/noon010pc30.c 	mf->height = noon010_sizes[0].height;
mf                644 drivers/media/i2c/noon010pc30.c 	mf->code = noon010_formats[0].code;
mf                645 drivers/media/i2c/noon010pc30.c 	mf->colorspace = V4L2_COLORSPACE_JPEG;
mf                646 drivers/media/i2c/noon010pc30.c 	mf->field = V4L2_FIELD_NONE;
mf                919 drivers/media/i2c/ov2640.c 	struct v4l2_mbus_framefmt *mf = &format->format;
mf                928 drivers/media/i2c/ov2640.c 		mf = v4l2_subdev_get_try_format(sd, cfg, 0);
mf                929 drivers/media/i2c/ov2640.c 		format->format = *mf;
mf                936 drivers/media/i2c/ov2640.c 	mf->width	= priv->win->width;
mf                937 drivers/media/i2c/ov2640.c 	mf->height	= priv->win->height;
mf                938 drivers/media/i2c/ov2640.c 	mf->code	= priv->cfmt_code;
mf                939 drivers/media/i2c/ov2640.c 	mf->colorspace	= V4L2_COLORSPACE_SRGB;
mf                940 drivers/media/i2c/ov2640.c 	mf->field	= V4L2_FIELD_NONE;
mf                941 drivers/media/i2c/ov2640.c 	mf->ycbcr_enc	= V4L2_YCBCR_ENC_DEFAULT;
mf                942 drivers/media/i2c/ov2640.c 	mf->quantization = V4L2_QUANTIZATION_DEFAULT;
mf                943 drivers/media/i2c/ov2640.c 	mf->xfer_func	= V4L2_XFER_FUNC_DEFAULT;
mf                952 drivers/media/i2c/ov2640.c 	struct v4l2_mbus_framefmt *mf = &format->format;
mf                964 drivers/media/i2c/ov2640.c 	win = ov2640_select_win(mf->width, mf->height);
mf                965 drivers/media/i2c/ov2640.c 	mf->width	= win->width;
mf                966 drivers/media/i2c/ov2640.c 	mf->height	= win->height;
mf                968 drivers/media/i2c/ov2640.c 	mf->field	= V4L2_FIELD_NONE;
mf                969 drivers/media/i2c/ov2640.c 	mf->colorspace	= V4L2_COLORSPACE_SRGB;
mf                970 drivers/media/i2c/ov2640.c 	mf->ycbcr_enc	= V4L2_YCBCR_ENC_DEFAULT;
mf                971 drivers/media/i2c/ov2640.c 	mf->quantization = V4L2_QUANTIZATION_DEFAULT;
mf                972 drivers/media/i2c/ov2640.c 	mf->xfer_func	= V4L2_XFER_FUNC_DEFAULT;
mf                974 drivers/media/i2c/ov2640.c 	switch (mf->code) {
mf                983 drivers/media/i2c/ov2640.c 		mf->code = MEDIA_BUS_FMT_UYVY8_2X8;
mf                997 drivers/media/i2c/ov2640.c 		priv->cfmt_code = mf->code;
mf                999 drivers/media/i2c/ov2640.c 		cfg->try_fmt = *mf;
mf               1054 drivers/media/i2c/ov2659.c 		struct v4l2_mbus_framefmt *mf;
mf               1056 drivers/media/i2c/ov2659.c 		mf = v4l2_subdev_get_try_format(sd, cfg, 0);
mf               1058 drivers/media/i2c/ov2659.c 		fmt->format = *mf;
mf               1077 drivers/media/i2c/ov2659.c static void __ov2659_try_frame_size(struct v4l2_mbus_framefmt *mf,
mf               1086 drivers/media/i2c/ov2659.c 		int err = abs(fsize->width - mf->width)
mf               1087 drivers/media/i2c/ov2659.c 				+ abs(fsize->height - mf->height);
mf               1098 drivers/media/i2c/ov2659.c 	mf->width  = match->width;
mf               1099 drivers/media/i2c/ov2659.c 	mf->height = match->height;
mf               1111 drivers/media/i2c/ov2659.c 	struct v4l2_mbus_framefmt *mf = &fmt->format;
mf               1118 drivers/media/i2c/ov2659.c 	__ov2659_try_frame_size(mf, &size);
mf               1121 drivers/media/i2c/ov2659.c 		if (ov2659_formats[index].code == mf->code)
mf               1126 drivers/media/i2c/ov2659.c 		mf->code = ov2659_formats[index].code;
mf               1129 drivers/media/i2c/ov2659.c 	mf->colorspace = V4L2_COLORSPACE_SRGB;
mf               1130 drivers/media/i2c/ov2659.c 	mf->field = V4L2_FIELD_NONE;
mf               1136 drivers/media/i2c/ov2659.c 		mf = v4l2_subdev_get_try_format(sd, cfg, fmt->pad);
mf               1137 drivers/media/i2c/ov2659.c 		*mf = fmt->format;
mf                520 drivers/media/i2c/ov6650.c 	struct v4l2_mbus_framefmt *mf = &format->format;
mf                528 drivers/media/i2c/ov6650.c 	*mf = ov6650_def_fmt;
mf                532 drivers/media/i2c/ov6650.c 		mf->width = cfg->try_fmt.width;
mf                533 drivers/media/i2c/ov6650.c 		mf->height = cfg->try_fmt.height;
mf                534 drivers/media/i2c/ov6650.c 		mf->code = cfg->try_fmt.code;
mf                537 drivers/media/i2c/ov6650.c 		mf->width = priv->rect.width >> priv->half_scale;
mf                538 drivers/media/i2c/ov6650.c 		mf->height = priv->rect.height >> priv->half_scale;
mf                539 drivers/media/i2c/ov6650.c 		mf->code = priv->code;
mf                567 drivers/media/i2c/ov6650.c static int ov6650_s_fmt(struct v4l2_subdev *sd, struct v4l2_mbus_framefmt *mf)
mf                571 drivers/media/i2c/ov6650.c 	bool half_scale = !is_unscaled_ok(mf->width, mf->height, &priv->rect);
mf                576 drivers/media/i2c/ov6650.c 			(mf->width >> (1 - half_scale)),
mf                578 drivers/media/i2c/ov6650.c 			(mf->height >> (1 - half_scale)),
mf                579 drivers/media/i2c/ov6650.c 		.r.width = mf->width << half_scale,
mf                580 drivers/media/i2c/ov6650.c 		.r.height = mf->height << half_scale,
mf                582 drivers/media/i2c/ov6650.c 	u32 code = mf->code;
mf                685 drivers/media/i2c/ov6650.c 	struct v4l2_mbus_framefmt *mf = &format->format;
mf                692 drivers/media/i2c/ov6650.c 	if (is_unscaled_ok(mf->width, mf->height, &priv->rect))
mf                693 drivers/media/i2c/ov6650.c 		v4l_bound_align_image(&mf->width, 2, W_CIF, 1,
mf                694 drivers/media/i2c/ov6650.c 				&mf->height, 2, H_CIF, 1, 0);
mf                696 drivers/media/i2c/ov6650.c 	switch (mf->code) {
mf                698 drivers/media/i2c/ov6650.c 		mf->code = MEDIA_BUS_FMT_Y8_1X8;
mf                707 drivers/media/i2c/ov6650.c 		mf->code = MEDIA_BUS_FMT_SBGGR8_1X8;
mf                715 drivers/media/i2c/ov6650.c 		cfg->try_fmt.width = mf->width;
mf                716 drivers/media/i2c/ov6650.c 		cfg->try_fmt.height = mf->height;
mf                717 drivers/media/i2c/ov6650.c 		cfg->try_fmt.code = mf->code;
mf                720 drivers/media/i2c/ov6650.c 		*mf = ov6650_def_fmt;
mf                721 drivers/media/i2c/ov6650.c 		mf->width = cfg->try_fmt.width;
mf                722 drivers/media/i2c/ov6650.c 		mf->height = cfg->try_fmt.height;
mf                723 drivers/media/i2c/ov6650.c 		mf->code = cfg->try_fmt.code;
mf                727 drivers/media/i2c/ov6650.c 		int ret = ov6650_s_fmt(sd, mf);
mf                733 drivers/media/i2c/ov6650.c 		*mf = ov6650_def_fmt;
mf                734 drivers/media/i2c/ov6650.c 		mf->width = priv->rect.width >> priv->half_scale;
mf                735 drivers/media/i2c/ov6650.c 		mf->height = priv->rect.height >> priv->half_scale;
mf                736 drivers/media/i2c/ov6650.c 		mf->code = priv->code;
mf                881 drivers/media/i2c/ov6650.c 		struct v4l2_mbus_framefmt mf = ov6650_def_fmt;
mf                883 drivers/media/i2c/ov6650.c 		ret = ov6650_s_fmt(sd, &mf);
mf                955 drivers/media/i2c/ov772x.c static void ov772x_select_params(const struct v4l2_mbus_framefmt *mf,
mf                965 drivers/media/i2c/ov772x.c 		if (mf->code == ov772x_cfmts[i].code) {
mf                972 drivers/media/i2c/ov772x.c 	*win = ov772x_select_win(mf->width, mf->height);
mf               1164 drivers/media/i2c/ov772x.c 	struct v4l2_mbus_framefmt *mf = &format->format;
mf               1170 drivers/media/i2c/ov772x.c 	mf->width	= priv->win->rect.width;
mf               1171 drivers/media/i2c/ov772x.c 	mf->height	= priv->win->rect.height;
mf               1172 drivers/media/i2c/ov772x.c 	mf->code	= priv->cfmt->code;
mf               1173 drivers/media/i2c/ov772x.c 	mf->colorspace	= priv->cfmt->colorspace;
mf               1174 drivers/media/i2c/ov772x.c 	mf->field	= V4L2_FIELD_NONE;
mf               1184 drivers/media/i2c/ov772x.c 	struct v4l2_mbus_framefmt *mf = &format->format;
mf               1192 drivers/media/i2c/ov772x.c 	ov772x_select_params(mf, &cfmt, &win);
mf               1194 drivers/media/i2c/ov772x.c 	mf->code = cfmt->code;
mf               1195 drivers/media/i2c/ov772x.c 	mf->width = win->rect.width;
mf               1196 drivers/media/i2c/ov772x.c 	mf->height = win->rect.height;
mf               1197 drivers/media/i2c/ov772x.c 	mf->field = V4L2_FIELD_NONE;
mf               1198 drivers/media/i2c/ov772x.c 	mf->colorspace = cfmt->colorspace;
mf               1199 drivers/media/i2c/ov772x.c 	mf->ycbcr_enc = V4L2_YCBCR_ENC_DEFAULT;
mf               1200 drivers/media/i2c/ov772x.c 	mf->quantization = V4L2_QUANTIZATION_DEFAULT;
mf               1201 drivers/media/i2c/ov772x.c 	mf->xfer_func = V4L2_XFER_FUNC_DEFAULT;
mf               1204 drivers/media/i2c/ov772x.c 		cfg->try_fmt = *mf;
mf                504 drivers/media/i2c/ov9640.c 			struct v4l2_mbus_framefmt *mf)
mf                510 drivers/media/i2c/ov9640.c 	ov9640_alter_regs(mf->code, &alts);
mf                518 drivers/media/i2c/ov9640.c 	return ov9640_write_regs(client, mf->width, mf->code, &alts);
mf                525 drivers/media/i2c/ov9640.c 	struct v4l2_mbus_framefmt *mf = &format->format;
mf                530 drivers/media/i2c/ov9640.c 	ov9640_res_roundup(&mf->width, &mf->height);
mf                532 drivers/media/i2c/ov9640.c 	mf->field = V4L2_FIELD_NONE;
mf                534 drivers/media/i2c/ov9640.c 	switch (mf->code) {
mf                537 drivers/media/i2c/ov9640.c 		mf->colorspace = V4L2_COLORSPACE_SRGB;
mf                540 drivers/media/i2c/ov9640.c 		mf->code = MEDIA_BUS_FMT_UYVY8_2X8;
mf                543 drivers/media/i2c/ov9640.c 		mf->colorspace = V4L2_COLORSPACE_JPEG;
mf                548 drivers/media/i2c/ov9640.c 		return ov9640_s_fmt(sd, mf);
mf                550 drivers/media/i2c/ov9640.c 	cfg->try_fmt = *mf;
mf               1063 drivers/media/i2c/ov9650.c static void ov965x_get_default_format(struct v4l2_mbus_framefmt *mf)
mf               1065 drivers/media/i2c/ov9650.c 	mf->width = ov965x_framesizes[0].width;
mf               1066 drivers/media/i2c/ov9650.c 	mf->height = ov965x_framesizes[0].height;
mf               1067 drivers/media/i2c/ov9650.c 	mf->colorspace = ov965x_formats[0].colorspace;
mf               1068 drivers/media/i2c/ov9650.c 	mf->code = ov965x_formats[0].code;
mf               1069 drivers/media/i2c/ov9650.c 	mf->field = V4L2_FIELD_NONE;
mf               1174 drivers/media/i2c/ov9650.c 	struct v4l2_mbus_framefmt *mf;
mf               1177 drivers/media/i2c/ov9650.c 		mf = v4l2_subdev_get_try_format(sd, cfg, 0);
mf               1178 drivers/media/i2c/ov9650.c 		fmt->format = *mf;
mf               1189 drivers/media/i2c/ov9650.c static void __ov965x_try_frame_size(struct v4l2_mbus_framefmt *mf,
mf               1198 drivers/media/i2c/ov9650.c 		int err = abs(fsize->width - mf->width)
mf               1199 drivers/media/i2c/ov9650.c 				+ abs(fsize->height - mf->height);
mf               1208 drivers/media/i2c/ov9650.c 	mf->width  = match->width;
mf               1209 drivers/media/i2c/ov9650.c 	mf->height = match->height;
mf               1219 drivers/media/i2c/ov9650.c 	struct v4l2_mbus_framefmt *mf = &fmt->format;
mf               1224 drivers/media/i2c/ov9650.c 	__ov965x_try_frame_size(mf, &size);
mf               1227 drivers/media/i2c/ov9650.c 		if (ov965x_formats[index].code == mf->code)
mf               1230 drivers/media/i2c/ov9650.c 	mf->colorspace	= V4L2_COLORSPACE_JPEG;
mf               1231 drivers/media/i2c/ov9650.c 	mf->code	= ov965x_formats[index].code;
mf               1232 drivers/media/i2c/ov9650.c 	mf->field	= V4L2_FIELD_NONE;
mf               1238 drivers/media/i2c/ov9650.c 			mf = v4l2_subdev_get_try_format(sd, cfg, fmt->pad);
mf               1239 drivers/media/i2c/ov9650.c 			*mf = fmt->format;
mf               1366 drivers/media/i2c/ov9650.c 	struct v4l2_mbus_framefmt *mf =
mf               1369 drivers/media/i2c/ov9650.c 	ov965x_get_default_format(mf);
mf                609 drivers/media/i2c/rj54n1cb0c.c 	struct v4l2_mbus_framefmt *mf = &format->format;
mf                616 drivers/media/i2c/rj54n1cb0c.c 	mf->code	= rj54n1->fmt->code;
mf                617 drivers/media/i2c/rj54n1cb0c.c 	mf->colorspace	= rj54n1->fmt->colorspace;
mf                618 drivers/media/i2c/rj54n1cb0c.c 	mf->ycbcr_enc	= V4L2_YCBCR_ENC_601;
mf                619 drivers/media/i2c/rj54n1cb0c.c 	mf->xfer_func	= V4L2_XFER_FUNC_SRGB;
mf                620 drivers/media/i2c/rj54n1cb0c.c 	mf->quantization = V4L2_QUANTIZATION_DEFAULT;
mf                621 drivers/media/i2c/rj54n1cb0c.c 	mf->field	= V4L2_FIELD_NONE;
mf                622 drivers/media/i2c/rj54n1cb0c.c 	mf->width	= rj54n1->width;
mf                623 drivers/media/i2c/rj54n1cb0c.c 	mf->height	= rj54n1->height;
mf                979 drivers/media/i2c/rj54n1cb0c.c 	struct v4l2_mbus_framefmt *mf = &format->format;
mf                985 drivers/media/i2c/rj54n1cb0c.c 	int align = mf->code == MEDIA_BUS_FMT_SBGGR10_1X10 ||
mf                986 drivers/media/i2c/rj54n1cb0c.c 		mf->code == MEDIA_BUS_FMT_SBGGR10_2X8_PADHI_BE ||
mf                987 drivers/media/i2c/rj54n1cb0c.c 		mf->code == MEDIA_BUS_FMT_SBGGR10_2X8_PADLO_BE ||
mf                988 drivers/media/i2c/rj54n1cb0c.c 		mf->code == MEDIA_BUS_FMT_SBGGR10_2X8_PADHI_LE ||
mf                989 drivers/media/i2c/rj54n1cb0c.c 		mf->code == MEDIA_BUS_FMT_SBGGR10_2X8_PADLO_LE;
mf                996 drivers/media/i2c/rj54n1cb0c.c 		__func__, mf->code, mf->width, mf->height);
mf                998 drivers/media/i2c/rj54n1cb0c.c 	fmt = rj54n1_find_datafmt(mf->code, rj54n1_colour_fmts,
mf               1002 drivers/media/i2c/rj54n1cb0c.c 		mf->code = fmt->code;
mf               1005 drivers/media/i2c/rj54n1cb0c.c 	mf->field	= V4L2_FIELD_NONE;
mf               1006 drivers/media/i2c/rj54n1cb0c.c 	mf->colorspace	= fmt->colorspace;
mf               1008 drivers/media/i2c/rj54n1cb0c.c 	v4l_bound_align_image(&mf->width, 112, RJ54N1_MAX_WIDTH, align,
mf               1009 drivers/media/i2c/rj54n1cb0c.c 			      &mf->height, 84, RJ54N1_MAX_HEIGHT, align, 0);
mf               1012 drivers/media/i2c/rj54n1cb0c.c 		cfg->try_fmt = *mf;
mf               1031 drivers/media/i2c/rj54n1cb0c.c 	switch (mf->code) {
mf               1090 drivers/media/i2c/rj54n1cb0c.c 			      (mf->code == MEDIA_BUS_FMT_SBGGR10_1X10) << 1, 2);
mf               1096 drivers/media/i2c/rj54n1cb0c.c 	max_w = mf->width * (16 * 1024 - 1) / 1024;
mf               1099 drivers/media/i2c/rj54n1cb0c.c 	max_h = mf->height * (16 * 1024 - 1) / 1024;
mf               1103 drivers/media/i2c/rj54n1cb0c.c 	output_w = mf->width;
mf               1104 drivers/media/i2c/rj54n1cb0c.c 	output_h = mf->height;
mf               1110 drivers/media/i2c/rj54n1cb0c.c 	fmt = rj54n1_find_datafmt(mf->code, rj54n1_colour_fmts,
mf               1120 drivers/media/i2c/rj54n1cb0c.c 	mf->width		= output_w;
mf               1121 drivers/media/i2c/rj54n1cb0c.c 	mf->height		= output_h;
mf               1122 drivers/media/i2c/rj54n1cb0c.c 	mf->field		= V4L2_FIELD_NONE;
mf               1123 drivers/media/i2c/rj54n1cb0c.c 	mf->colorspace		= fmt->colorspace;
mf                114 drivers/media/i2c/s5c73m3/s5c73m3-core.c static void s5c73m3_fill_mbus_fmt(struct v4l2_mbus_framefmt *mf,
mf                118 drivers/media/i2c/s5c73m3/s5c73m3-core.c 	mf->width = fs->width;
mf                119 drivers/media/i2c/s5c73m3/s5c73m3-core.c 	mf->height = fs->height;
mf                120 drivers/media/i2c/s5c73m3/s5c73m3-core.c 	mf->code = code;
mf                121 drivers/media/i2c/s5c73m3/s5c73m3-core.c 	mf->colorspace = V4L2_COLORSPACE_JPEG;
mf                122 drivers/media/i2c/s5c73m3/s5c73m3-core.c 	mf->field = V4L2_FIELD_NONE;
mf               1064 drivers/media/i2c/s5c73m3/s5c73m3-core.c 	struct v4l2_mbus_framefmt *mf;
mf               1072 drivers/media/i2c/s5c73m3/s5c73m3-core.c 		mf = v4l2_subdev_get_try_format(sd, cfg, fmt->pad);
mf               1073 drivers/media/i2c/s5c73m3/s5c73m3-core.c 		*mf = fmt->format;
mf               1103 drivers/media/i2c/s5c73m3/s5c73m3-core.c 	struct v4l2_mbus_framefmt *mf;
mf               1111 drivers/media/i2c/s5c73m3/s5c73m3-core.c 		mf = v4l2_subdev_get_try_format(sd, cfg, fmt->pad);
mf               1112 drivers/media/i2c/s5c73m3/s5c73m3-core.c 		*mf = fmt->format;
mf               1114 drivers/media/i2c/s5c73m3/s5c73m3-core.c 			mf = v4l2_subdev_get_try_format(sd, cfg, OIF_SOURCE_PAD);
mf               1115 drivers/media/i2c/s5c73m3/s5c73m3-core.c 			mf->width = fmt->format.width;
mf               1116 drivers/media/i2c/s5c73m3/s5c73m3-core.c 			mf->height = fmt->format.height;
mf               1260 drivers/media/i2c/s5c73m3/s5c73m3-core.c 				struct v4l2_mbus_framefmt *mf;
mf               1262 drivers/media/i2c/s5c73m3/s5c73m3-core.c 				mf = v4l2_subdev_get_try_format(sd, cfg,
mf               1265 drivers/media/i2c/s5c73m3/s5c73m3-core.c 				w = mf->width;
mf               1266 drivers/media/i2c/s5c73m3/s5c73m3-core.c 				h = mf->height;
mf               1316 drivers/media/i2c/s5c73m3/s5c73m3-core.c 	struct v4l2_mbus_framefmt *mf;
mf               1318 drivers/media/i2c/s5c73m3/s5c73m3-core.c 	mf = v4l2_subdev_get_try_format(sd, fh->pad, S5C73M3_ISP_PAD);
mf               1319 drivers/media/i2c/s5c73m3/s5c73m3-core.c 	s5c73m3_fill_mbus_fmt(mf, &s5c73m3_isp_resolutions[1],
mf               1322 drivers/media/i2c/s5c73m3/s5c73m3-core.c 	mf = v4l2_subdev_get_try_format(sd, fh->pad, S5C73M3_JPEG_PAD);
mf               1323 drivers/media/i2c/s5c73m3/s5c73m3-core.c 	s5c73m3_fill_mbus_fmt(mf, &s5c73m3_jpeg_resolutions[1],
mf               1331 drivers/media/i2c/s5c73m3/s5c73m3-core.c 	struct v4l2_mbus_framefmt *mf;
mf               1333 drivers/media/i2c/s5c73m3/s5c73m3-core.c 	mf = v4l2_subdev_get_try_format(sd, fh->pad, OIF_ISP_PAD);
mf               1334 drivers/media/i2c/s5c73m3/s5c73m3-core.c 	s5c73m3_fill_mbus_fmt(mf, &s5c73m3_isp_resolutions[1],
mf               1337 drivers/media/i2c/s5c73m3/s5c73m3-core.c 	mf = v4l2_subdev_get_try_format(sd, fh->pad, OIF_JPEG_PAD);
mf               1338 drivers/media/i2c/s5c73m3/s5c73m3-core.c 	s5c73m3_fill_mbus_fmt(mf, &s5c73m3_jpeg_resolutions[1],
mf               1341 drivers/media/i2c/s5c73m3/s5c73m3-core.c 	mf = v4l2_subdev_get_try_format(sd, fh->pad, OIF_SOURCE_PAD);
mf               1342 drivers/media/i2c/s5c73m3/s5c73m3-core.c 	s5c73m3_fill_mbus_fmt(mf, &s5c73m3_isp_resolutions[1],
mf                499 drivers/media/i2c/s5k4ecgx.c static int s5k4ecgx_try_frame_size(struct v4l2_mbus_framefmt *mf,
mf                508 drivers/media/i2c/s5k4ecgx.c 		int err = abs(fsize->size.width - mf->width)
mf                509 drivers/media/i2c/s5k4ecgx.c 				+ abs(fsize->size.height - mf->height);
mf                517 drivers/media/i2c/s5k4ecgx.c 		mf->width  = match->size.width;
mf                518 drivers/media/i2c/s5k4ecgx.c 		mf->height = match->size.height;
mf                542 drivers/media/i2c/s5k4ecgx.c 	struct v4l2_mbus_framefmt *mf;
mf                546 drivers/media/i2c/s5k4ecgx.c 			mf = v4l2_subdev_get_try_format(sd, cfg, 0);
mf                547 drivers/media/i2c/s5k4ecgx.c 			fmt->format = *mf;
mf                552 drivers/media/i2c/s5k4ecgx.c 	mf = &fmt->format;
mf                555 drivers/media/i2c/s5k4ecgx.c 	mf->width = priv->curr_frmsize->size.width;
mf                556 drivers/media/i2c/s5k4ecgx.c 	mf->height = priv->curr_frmsize->size.height;
mf                557 drivers/media/i2c/s5k4ecgx.c 	mf->code = priv->curr_pixfmt->code;
mf                558 drivers/media/i2c/s5k4ecgx.c 	mf->colorspace = priv->curr_pixfmt->colorspace;
mf                559 drivers/media/i2c/s5k4ecgx.c 	mf->field = V4L2_FIELD_NONE;
mf                566 drivers/media/i2c/s5k4ecgx.c 					    struct v4l2_mbus_framefmt *mf)
mf                571 drivers/media/i2c/s5k4ecgx.c 		if (mf->code == s5k4ecgx_formats[i].code)
mf                573 drivers/media/i2c/s5k4ecgx.c 	mf->code = s5k4ecgx_formats[i].code;
mf                584 drivers/media/i2c/s5k4ecgx.c 	struct v4l2_mbus_framefmt *mf;
mf                594 drivers/media/i2c/s5k4ecgx.c 			mf = v4l2_subdev_get_try_format(sd, cfg, 0);
mf                595 drivers/media/i2c/s5k4ecgx.c 			*mf = fmt->format;
mf                689 drivers/media/i2c/s5k4ecgx.c 	struct v4l2_mbus_framefmt *mf = v4l2_subdev_get_try_format(sd, fh->pad, 0);
mf                691 drivers/media/i2c/s5k4ecgx.c 	mf->width = s5k4ecgx_prev_sizes[0].size.width;
mf                692 drivers/media/i2c/s5k4ecgx.c 	mf->height = s5k4ecgx_prev_sizes[0].size.height;
mf                693 drivers/media/i2c/s5k4ecgx.c 	mf->code = s5k4ecgx_formats[0].code;
mf                694 drivers/media/i2c/s5k4ecgx.c 	mf->colorspace = V4L2_COLORSPACE_JPEG;
mf                695 drivers/media/i2c/s5k4ecgx.c 	mf->field = V4L2_FIELD_NONE;
mf                739 drivers/media/i2c/s5k5baf.c static int s5k5baf_find_pixfmt(struct v4l2_mbus_framefmt *mf)
mf                744 drivers/media/i2c/s5k5baf.c 		if (mf->colorspace != s5k5baf_formats[i].colorspace)
mf                746 drivers/media/i2c/s5k5baf.c 		if (mf->code == s5k5baf_formats[i].code)
mf               1251 drivers/media/i2c/s5k5baf.c static void s5k5baf_try_cis_format(struct v4l2_mbus_framefmt *mf)
mf               1253 drivers/media/i2c/s5k5baf.c 	mf->width = S5K5BAF_CIS_WIDTH;
mf               1254 drivers/media/i2c/s5k5baf.c 	mf->height = S5K5BAF_CIS_HEIGHT;
mf               1255 drivers/media/i2c/s5k5baf.c 	mf->code = MEDIA_BUS_FMT_FIXED;
mf               1256 drivers/media/i2c/s5k5baf.c 	mf->colorspace = V4L2_COLORSPACE_JPEG;
mf               1257 drivers/media/i2c/s5k5baf.c 	mf->field = V4L2_FIELD_NONE;
mf               1260 drivers/media/i2c/s5k5baf.c static int s5k5baf_try_isp_format(struct v4l2_mbus_framefmt *mf)
mf               1264 drivers/media/i2c/s5k5baf.c 	v4l_bound_align_image(&mf->width, S5K5BAF_WIN_WIDTH_MIN,
mf               1266 drivers/media/i2c/s5k5baf.c 			      &mf->height, S5K5BAF_WIN_HEIGHT_MIN,
mf               1269 drivers/media/i2c/s5k5baf.c 	pixfmt = s5k5baf_find_pixfmt(mf);
mf               1271 drivers/media/i2c/s5k5baf.c 	mf->colorspace = s5k5baf_formats[pixfmt].colorspace;
mf               1272 drivers/media/i2c/s5k5baf.c 	mf->code = s5k5baf_formats[pixfmt].code;
mf               1273 drivers/media/i2c/s5k5baf.c 	mf->field = V4L2_FIELD_NONE;
mf               1283 drivers/media/i2c/s5k5baf.c 	struct v4l2_mbus_framefmt *mf;
mf               1286 drivers/media/i2c/s5k5baf.c 		mf = v4l2_subdev_get_try_format(sd, cfg, fmt->pad);
mf               1287 drivers/media/i2c/s5k5baf.c 		fmt->format = *mf;
mf               1291 drivers/media/i2c/s5k5baf.c 	mf = &fmt->format;
mf               1293 drivers/media/i2c/s5k5baf.c 		s5k5baf_try_cis_format(mf);
mf               1296 drivers/media/i2c/s5k5baf.c 	mf->field = V4L2_FIELD_NONE;
mf               1299 drivers/media/i2c/s5k5baf.c 	mf->width = state->crop_source.width;
mf               1300 drivers/media/i2c/s5k5baf.c 	mf->height = state->crop_source.height;
mf               1301 drivers/media/i2c/s5k5baf.c 	mf->code = pixfmt->code;
mf               1302 drivers/media/i2c/s5k5baf.c 	mf->colorspace = pixfmt->colorspace;
mf               1311 drivers/media/i2c/s5k5baf.c 	struct v4l2_mbus_framefmt *mf = &fmt->format;
mf               1316 drivers/media/i2c/s5k5baf.c 	mf->field = V4L2_FIELD_NONE;
mf               1319 drivers/media/i2c/s5k5baf.c 		*v4l2_subdev_get_try_format(sd, cfg, fmt->pad) = *mf;
mf               1324 drivers/media/i2c/s5k5baf.c 		s5k5baf_try_cis_format(mf);
mf               1335 drivers/media/i2c/s5k5baf.c 	state->pixfmt = s5k5baf_try_isp_format(mf);
mf               1337 drivers/media/i2c/s5k5baf.c 	mf->code = pixfmt->code;
mf               1338 drivers/media/i2c/s5k5baf.c 	mf->colorspace = pixfmt->colorspace;
mf               1339 drivers/media/i2c/s5k5baf.c 	mf->width = state->crop_source.width;
mf               1340 drivers/media/i2c/s5k5baf.c 	mf->height = state->crop_source.height;
mf               1701 drivers/media/i2c/s5k5baf.c 	struct v4l2_mbus_framefmt *mf;
mf               1703 drivers/media/i2c/s5k5baf.c 	mf = v4l2_subdev_get_try_format(sd, fh->pad, PAD_CIS);
mf               1704 drivers/media/i2c/s5k5baf.c 	s5k5baf_try_cis_format(mf);
mf               1709 drivers/media/i2c/s5k5baf.c 	mf = v4l2_subdev_get_try_format(sd, fh->pad, PAD_OUT);
mf               1710 drivers/media/i2c/s5k5baf.c 	mf->colorspace = s5k5baf_formats[0].colorspace;
mf               1711 drivers/media/i2c/s5k5baf.c 	mf->code = s5k5baf_formats[0].code;
mf               1712 drivers/media/i2c/s5k5baf.c 	mf->width = s5k5baf_cis_rect.width;
mf               1713 drivers/media/i2c/s5k5baf.c 	mf->height = s5k5baf_cis_rect.height;
mf               1714 drivers/media/i2c/s5k5baf.c 	mf->field = V4L2_FIELD_NONE;
mf                 90 drivers/media/i2c/s5k6a3.c 	struct v4l2_mbus_framefmt *mf)
mf                 95 drivers/media/i2c/s5k6a3.c 		if (mf->code == s5k6a3_formats[i].code)
mf                112 drivers/media/i2c/s5k6a3.c static void s5k6a3_try_format(struct v4l2_mbus_framefmt *mf)
mf                116 drivers/media/i2c/s5k6a3.c 	fmt = find_sensor_format(mf);
mf                117 drivers/media/i2c/s5k6a3.c 	mf->code = fmt->code;
mf                118 drivers/media/i2c/s5k6a3.c 	mf->field = V4L2_FIELD_NONE;
mf                119 drivers/media/i2c/s5k6a3.c 	v4l_bound_align_image(&mf->width, S5K6A3_SENSOR_MIN_WIDTH,
mf                121 drivers/media/i2c/s5k6a3.c 			      &mf->height, S5K6A3_SENSOR_MIN_HEIGHT,
mf                140 drivers/media/i2c/s5k6a3.c 	struct v4l2_mbus_framefmt *mf;
mf                144 drivers/media/i2c/s5k6a3.c 	mf = __s5k6a3_get_format(sensor, cfg, fmt->pad, fmt->which);
mf                145 drivers/media/i2c/s5k6a3.c 	if (mf) {
mf                147 drivers/media/i2c/s5k6a3.c 		*mf = fmt->format;
mf                158 drivers/media/i2c/s5k6a3.c 	struct v4l2_mbus_framefmt *mf;
mf                160 drivers/media/i2c/s5k6a3.c 	mf = __s5k6a3_get_format(sensor, cfg, fmt->pad, fmt->which);
mf                163 drivers/media/i2c/s5k6a3.c 	fmt->format = *mf;
mf                617 drivers/media/i2c/s5k6aa.c 				   struct v4l2_mbus_framefmt *mf)
mf                622 drivers/media/i2c/s5k6aa.c 		if (mf->colorspace == s5k6aa_formats[i].colorspace &&
mf                623 drivers/media/i2c/s5k6aa.c 		    mf->code == s5k6aa_formats[i].code)
mf               1071 drivers/media/i2c/s5k6aa.c 			      struct v4l2_mbus_framefmt *mf)
mf               1075 drivers/media/i2c/s5k6aa.c 	v4l_bound_align_image(&mf->width, S5K6AA_WIN_WIDTH_MIN,
mf               1077 drivers/media/i2c/s5k6aa.c 			      &mf->height, S5K6AA_WIN_HEIGHT_MIN,
mf               1080 drivers/media/i2c/s5k6aa.c 	if (mf->colorspace != V4L2_COLORSPACE_JPEG &&
mf               1081 drivers/media/i2c/s5k6aa.c 	    mf->colorspace != V4L2_COLORSPACE_REC709)
mf               1082 drivers/media/i2c/s5k6aa.c 		mf->colorspace = V4L2_COLORSPACE_JPEG;
mf               1084 drivers/media/i2c/s5k6aa.c 	index = s5k6aa_get_pixfmt_index(s5k6aa, mf);
mf               1086 drivers/media/i2c/s5k6aa.c 	mf->colorspace	= s5k6aa_formats[index].colorspace;
mf               1087 drivers/media/i2c/s5k6aa.c 	mf->code	= s5k6aa_formats[index].code;
mf               1088 drivers/media/i2c/s5k6aa.c 	mf->field	= V4L2_FIELD_NONE;
mf               1095 drivers/media/i2c/s5k6aa.c 	struct v4l2_mbus_framefmt *mf;
mf               1100 drivers/media/i2c/s5k6aa.c 		mf = v4l2_subdev_get_try_format(sd, cfg, 0);
mf               1101 drivers/media/i2c/s5k6aa.c 		fmt->format = *mf;
mf               1117 drivers/media/i2c/s5k6aa.c 	struct v4l2_mbus_framefmt *mf;
mf               1125 drivers/media/i2c/s5k6aa.c 		mf = v4l2_subdev_get_try_format(sd, cfg, fmt->pad);
mf               1131 drivers/media/i2c/s5k6aa.c 			mf = &preset->mbus_fmt;
mf               1142 drivers/media/i2c/s5k6aa.c 		*mf = fmt->format;
mf               1148 drivers/media/i2c/s5k6aa.c 		crop->width = clamp_t(unsigned int, crop->width, mf->width,
mf               1150 drivers/media/i2c/s5k6aa.c 		crop->height = clamp_t(unsigned int, crop->height, mf->height,
mf               1193 drivers/media/i2c/s5k6aa.c 	struct v4l2_mbus_framefmt *mf;
mf               1204 drivers/media/i2c/s5k6aa.c 		mf = &s5k6aa->preset->mbus_fmt;
mf               1207 drivers/media/i2c/s5k6aa.c 		mf = v4l2_subdev_get_try_format(sd, cfg, 0);
mf               1209 drivers/media/i2c/s5k6aa.c 	v4l_bound_align_image(&sel->r.width, mf->width,
mf               1211 drivers/media/i2c/s5k6aa.c 			      &sel->r.height, mf->height,
mf                394 drivers/media/i2c/sr030pc30.c static int sr030pc30_try_frame_size(struct v4l2_mbus_framefmt *mf)
mf                401 drivers/media/i2c/sr030pc30.c 		int err = abs(fsize->width - mf->width)
mf                402 drivers/media/i2c/sr030pc30.c 				+ abs(fsize->height - mf->height);
mf                410 drivers/media/i2c/sr030pc30.c 		mf->width  = match->width;
mf                411 drivers/media/i2c/sr030pc30.c 		mf->height = match->height;
mf                486 drivers/media/i2c/sr030pc30.c 	struct v4l2_mbus_framefmt *mf;
mf                492 drivers/media/i2c/sr030pc30.c 	mf = &format->format;
mf                497 drivers/media/i2c/sr030pc30.c 	mf->width	= info->curr_win->width;
mf                498 drivers/media/i2c/sr030pc30.c 	mf->height	= info->curr_win->height;
mf                499 drivers/media/i2c/sr030pc30.c 	mf->code	= info->curr_fmt->code;
mf                500 drivers/media/i2c/sr030pc30.c 	mf->colorspace	= info->curr_fmt->colorspace;
mf                501 drivers/media/i2c/sr030pc30.c 	mf->field	= V4L2_FIELD_NONE;
mf                508 drivers/media/i2c/sr030pc30.c 					      struct v4l2_mbus_framefmt *mf)
mf                512 drivers/media/i2c/sr030pc30.c 	sr030pc30_try_frame_size(mf);
mf                515 drivers/media/i2c/sr030pc30.c 		if (mf->code == sr030pc30_formats[i].code)
mf                521 drivers/media/i2c/sr030pc30.c 	mf->code = sr030pc30_formats[i].code;
mf                533 drivers/media/i2c/sr030pc30.c 	struct v4l2_mbus_framefmt *mf;
mf                538 drivers/media/i2c/sr030pc30.c 	mf = &format->format;
mf                542 drivers/media/i2c/sr030pc30.c 	fmt = try_fmt(sd, mf);
mf                544 drivers/media/i2c/sr030pc30.c 		cfg->try_fmt = *mf;
mf               1724 drivers/media/i2c/tda1997x.c 	struct v4l2_mbus_framefmt *mf;
mf               1726 drivers/media/i2c/tda1997x.c 	mf = v4l2_subdev_get_try_format(sd, cfg, 0);
mf               1727 drivers/media/i2c/tda1997x.c 	mf->code = state->mbus_codes[0];
mf                752 drivers/media/i2c/tw9910.c 	struct v4l2_mbus_framefmt *mf = &format->format;
mf                765 drivers/media/i2c/tw9910.c 	mf->width	= priv->scale->width;
mf                766 drivers/media/i2c/tw9910.c 	mf->height	= priv->scale->height;
mf                767 drivers/media/i2c/tw9910.c 	mf->code	= MEDIA_BUS_FMT_UYVY8_2X8;
mf                768 drivers/media/i2c/tw9910.c 	mf->colorspace	= V4L2_COLORSPACE_SMPTE170M;
mf                769 drivers/media/i2c/tw9910.c 	mf->field	= V4L2_FIELD_INTERLACED_BT;
mf                775 drivers/media/i2c/tw9910.c 			struct v4l2_mbus_framefmt *mf)
mf                777 drivers/media/i2c/tw9910.c 	u32 width = mf->width, height = mf->height;
mf                780 drivers/media/i2c/tw9910.c 	WARN_ON(mf->field != V4L2_FIELD_ANY &&
mf                781 drivers/media/i2c/tw9910.c 		mf->field != V4L2_FIELD_INTERLACED_BT);
mf                784 drivers/media/i2c/tw9910.c 	if (mf->code != MEDIA_BUS_FMT_UYVY8_2X8)
mf                787 drivers/media/i2c/tw9910.c 	mf->colorspace = V4L2_COLORSPACE_SMPTE170M;
mf                793 drivers/media/i2c/tw9910.c 	mf->width	= width;
mf                794 drivers/media/i2c/tw9910.c 	mf->height	= height;
mf                803 drivers/media/i2c/tw9910.c 	struct v4l2_mbus_framefmt *mf = &format->format;
mf                811 drivers/media/i2c/tw9910.c 	if (mf->field == V4L2_FIELD_ANY) {
mf                812 drivers/media/i2c/tw9910.c 		mf->field = V4L2_FIELD_INTERLACED_BT;
mf                813 drivers/media/i2c/tw9910.c 	} else if (mf->field != V4L2_FIELD_INTERLACED_BT) {
mf                814 drivers/media/i2c/tw9910.c 		dev_err(&client->dev, "Field type %d invalid\n", mf->field);
mf                818 drivers/media/i2c/tw9910.c 	mf->code = MEDIA_BUS_FMT_UYVY8_2X8;
mf                819 drivers/media/i2c/tw9910.c 	mf->colorspace = V4L2_COLORSPACE_SMPTE170M;
mf                822 drivers/media/i2c/tw9910.c 	scale = tw9910_select_norm(priv->norm, mf->width, mf->height);
mf                826 drivers/media/i2c/tw9910.c 	mf->width	= scale->width;
mf                827 drivers/media/i2c/tw9910.c 	mf->height	= scale->height;
mf                830 drivers/media/i2c/tw9910.c 		return tw9910_s_fmt(sd, mf);
mf                832 drivers/media/i2c/tw9910.c 	cfg->try_fmt = *mf;
mf                777 drivers/media/platform/exynos4-is/fimc-capture.c 	struct v4l2_mbus_framefmt *mf = &sfmt.format;
mf                794 drivers/media/platform/exynos4-is/fimc-capture.c 		ffmt = fimc_find_format(NULL, mf->code != 0 ? &mf->code : NULL,
mf                803 drivers/media/platform/exynos4-is/fimc-capture.c 		mf->code = tfmt->code = ffmt->mbus_code;
mf                816 drivers/media/platform/exynos4-is/fimc-capture.c 				mf->code = tfmt->code;
mf                829 drivers/media/platform/exynos4-is/fimc-capture.c 		if (mf->code != tfmt->code)
mf                833 drivers/media/platform/exynos4-is/fimc-capture.c 		tfmt->width  = mf->width;
mf                834 drivers/media/platform/exynos4-is/fimc-capture.c 		tfmt->height = mf->height;
mf                840 drivers/media/platform/exynos4-is/fimc-capture.c 			mf->code = ffmt->mbus_code;
mf                841 drivers/media/platform/exynos4-is/fimc-capture.c 		if (mf->width != tfmt->width || mf->height != tfmt->height)
mf                843 drivers/media/platform/exynos4-is/fimc-capture.c 		tfmt->code = mf->code;
mf                849 drivers/media/platform/exynos4-is/fimc-capture.c 	*tfmt = *mf;
mf                955 drivers/media/platform/exynos4-is/fimc-capture.c 		struct v4l2_mbus_framefmt *mf;
mf                957 drivers/media/platform/exynos4-is/fimc-capture.c 		mf = try ? &mbus_fmt : &fimc->vid_cap.ci_fmt;
mf                959 drivers/media/platform/exynos4-is/fimc-capture.c 		mf->code = (*out_fmt)->mbus_code;
mf                960 drivers/media/platform/exynos4-is/fimc-capture.c 		mf->width = pix->width;
mf                961 drivers/media/platform/exynos4-is/fimc-capture.c 		mf->height = pix->height;
mf                964 drivers/media/platform/exynos4-is/fimc-capture.c 		ret = fimc_pipeline_try_format(ctx, mf, inp_fmt, try);
mf                970 drivers/media/platform/exynos4-is/fimc-capture.c 		pix->width = mf->width;
mf                971 drivers/media/platform/exynos4-is/fimc-capture.c 		pix->height = mf->height;
mf               1496 drivers/media/platform/exynos4-is/fimc-capture.c 	struct v4l2_mbus_framefmt *mf;
mf               1499 drivers/media/platform/exynos4-is/fimc-capture.c 		mf = v4l2_subdev_get_try_format(sd, cfg, fmt->pad);
mf               1500 drivers/media/platform/exynos4-is/fimc-capture.c 		fmt->format = *mf;
mf               1504 drivers/media/platform/exynos4-is/fimc-capture.c 	mf = &fmt->format;
mf               1510 drivers/media/platform/exynos4-is/fimc-capture.c 			mf->code = ff->fmt->mbus_code;
mf               1512 drivers/media/platform/exynos4-is/fimc-capture.c 		mf->width = ff->width;
mf               1513 drivers/media/platform/exynos4-is/fimc-capture.c 		mf->height = ff->height;
mf               1516 drivers/media/platform/exynos4-is/fimc-capture.c 		*mf = fimc->vid_cap.wb_fmt;
mf               1520 drivers/media/platform/exynos4-is/fimc-capture.c 		*mf = fimc->vid_cap.ci_fmt;
mf               1525 drivers/media/platform/exynos4-is/fimc-capture.c 	mf->colorspace = V4L2_COLORSPACE_JPEG;
mf               1535 drivers/media/platform/exynos4-is/fimc-capture.c 	struct v4l2_mbus_framefmt *mf = &fmt->format;
mf               1542 drivers/media/platform/exynos4-is/fimc-capture.c 	    fmt->pad, mf->code, mf->width, mf->height);
mf               1548 drivers/media/platform/exynos4-is/fimc-capture.c 	ffmt = fimc_capture_try_format(ctx, &mf->width, &mf->height,
mf               1549 drivers/media/platform/exynos4-is/fimc-capture.c 				       &mf->code, NULL, fmt->pad);
mf               1551 drivers/media/platform/exynos4-is/fimc-capture.c 	mf->colorspace = V4L2_COLORSPACE_JPEG;
mf               1554 drivers/media/platform/exynos4-is/fimc-capture.c 		mf = v4l2_subdev_get_try_format(sd, cfg, fmt->pad);
mf               1555 drivers/media/platform/exynos4-is/fimc-capture.c 		*mf = fmt->format;
mf               1569 drivers/media/platform/exynos4-is/fimc-capture.c 		mf->width = ctx->s_frame.width;
mf               1570 drivers/media/platform/exynos4-is/fimc-capture.c 		mf->height = ctx->s_frame.height;
mf               1576 drivers/media/platform/exynos4-is/fimc-capture.c 	set_frame_bounds(ff, mf->width, mf->height);
mf               1579 drivers/media/platform/exynos4-is/fimc-capture.c 		vc->wb_fmt = *mf;
mf               1581 drivers/media/platform/exynos4-is/fimc-capture.c 		vc->ci_fmt = *mf;
mf               1587 drivers/media/platform/exynos4-is/fimc-capture.c 		set_frame_crop(ff, 0, 0, mf->width, mf->height);
mf                207 drivers/media/platform/exynos4-is/fimc-is-param.c void __is_get_frame_size(struct fimc_is *is, struct v4l2_mbus_framefmt *mf)
mf                212 drivers/media/platform/exynos4-is/fimc-is-param.c 	mf->width = isp->otf_input.width;
mf                213 drivers/media/platform/exynos4-is/fimc-is-param.c 	mf->height = isp->otf_input.height;
mf                216 drivers/media/platform/exynos4-is/fimc-is-param.c void __is_set_frame_size(struct fimc_is *is, struct v4l2_mbus_framefmt *mf)
mf                228 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->otf_input.width = mf->width;
mf                229 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->otf_input.height = mf->height;
mf                230 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->otf_output.width = mf->width;
mf                231 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->otf_output.height = mf->height;
mf                233 drivers/media/platform/exynos4-is/fimc-is-param.c 	drc->otf_input.width = mf->width;
mf                234 drivers/media/platform/exynos4-is/fimc-is-param.c 	drc->otf_input.height = mf->height;
mf                235 drivers/media/platform/exynos4-is/fimc-is-param.c 	drc->otf_output.width = mf->width;
mf                236 drivers/media/platform/exynos4-is/fimc-is-param.c 	drc->otf_output.height = mf->height;
mf                238 drivers/media/platform/exynos4-is/fimc-is-param.c 	fd->otf_input.width = mf->width;
mf                239 drivers/media/platform/exynos4-is/fimc-is-param.c 	fd->otf_input.height = mf->height;
mf                997 drivers/media/platform/exynos4-is/fimc-is-param.h void __is_get_frame_size(struct fimc_is *is, struct v4l2_mbus_framefmt *mf);
mf                998 drivers/media/platform/exynos4-is/fimc-is-param.h void __is_set_frame_size(struct fimc_is *is, struct v4l2_mbus_framefmt *mf);
mf                126 drivers/media/platform/exynos4-is/fimc-isp.c 	struct v4l2_mbus_framefmt *mf = &fmt->format;
mf                129 drivers/media/platform/exynos4-is/fimc-isp.c 		*mf = *v4l2_subdev_get_try_format(sd, cfg, fmt->pad);
mf                133 drivers/media/platform/exynos4-is/fimc-isp.c 	mf->colorspace = V4L2_COLORSPACE_SRGB;
mf                139 drivers/media/platform/exynos4-is/fimc-isp.c 		*mf = isp->sink_fmt;
mf                142 drivers/media/platform/exynos4-is/fimc-isp.c 		*mf = isp->src_fmt;
mf                145 drivers/media/platform/exynos4-is/fimc-isp.c 			mf->colorspace = V4L2_COLORSPACE_JPEG;
mf                146 drivers/media/platform/exynos4-is/fimc-isp.c 			mf->code = MEDIA_BUS_FMT_YUV10_1X30;
mf                153 drivers/media/platform/exynos4-is/fimc-isp.c 		fmt->pad, mf->code, mf->width, mf->height);
mf                162 drivers/media/platform/exynos4-is/fimc-isp.c 	struct v4l2_mbus_framefmt *mf = &fmt->format;
mf                165 drivers/media/platform/exynos4-is/fimc-isp.c 	mf->colorspace = V4L2_COLORSPACE_SRGB;
mf                168 drivers/media/platform/exynos4-is/fimc-isp.c 		v4l_bound_align_image(&mf->width, FIMC_ISP_SINK_WIDTH_MIN,
mf                170 drivers/media/platform/exynos4-is/fimc-isp.c 				&mf->height, FIMC_ISP_SINK_HEIGHT_MIN,
mf                172 drivers/media/platform/exynos4-is/fimc-isp.c 		mf->code = MEDIA_BUS_FMT_SGRBG10_1X10;
mf                181 drivers/media/platform/exynos4-is/fimc-isp.c 		mf->width = format->width - FIMC_ISP_CAC_MARGIN_WIDTH;
mf                182 drivers/media/platform/exynos4-is/fimc-isp.c 		mf->height = format->height - FIMC_ISP_CAC_MARGIN_HEIGHT;
mf                185 drivers/media/platform/exynos4-is/fimc-isp.c 			mf->code = MEDIA_BUS_FMT_YUV10_1X30;
mf                186 drivers/media/platform/exynos4-is/fimc-isp.c 			mf->colorspace = V4L2_COLORSPACE_JPEG;
mf                188 drivers/media/platform/exynos4-is/fimc-isp.c 			mf->code = format->code;
mf                199 drivers/media/platform/exynos4-is/fimc-isp.c 	struct v4l2_mbus_framefmt *mf = &fmt->format;
mf                203 drivers/media/platform/exynos4-is/fimc-isp.c 		 __func__, fmt->pad, mf->code, mf->width, mf->height);
mf                209 drivers/media/platform/exynos4-is/fimc-isp.c 		mf = v4l2_subdev_get_try_format(sd, cfg, fmt->pad);
mf                210 drivers/media/platform/exynos4-is/fimc-isp.c 		*mf = fmt->format;
mf                221 drivers/media/platform/exynos4-is/fimc-isp.c 				mf = v4l2_subdev_get_try_format(sd, cfg, pad);
mf                222 drivers/media/platform/exynos4-is/fimc-isp.c 				*mf = format.format;
mf                230 drivers/media/platform/exynos4-is/fimc-isp.c 				isp->sink_fmt = *mf;
mf                238 drivers/media/platform/exynos4-is/fimc-isp.c 				isp->src_fmt = *mf;
mf                555 drivers/media/platform/exynos4-is/fimc-lite.c 	struct v4l2_mbus_framefmt *mf = &format->format;
mf                559 drivers/media/platform/exynos4-is/fimc-lite.c 		v4l_bound_align_image(&mf->width, 8, dd->max_width,
mf                561 drivers/media/platform/exynos4-is/fimc-lite.c 				&mf->height, 0, dd->max_height, 0, 0);
mf                563 drivers/media/platform/exynos4-is/fimc-lite.c 		fmt = fimc_lite_find_format(NULL, &mf->code, 0, 0);
mf                567 drivers/media/platform/exynos4-is/fimc-lite.c 		mf->colorspace = fmt->colorspace;
mf                568 drivers/media/platform/exynos4-is/fimc-lite.c 		mf->code = fmt->mbus_code;
mf                578 drivers/media/platform/exynos4-is/fimc-lite.c 			mf->code = sink_fmt->code;
mf                579 drivers/media/platform/exynos4-is/fimc-lite.c 			mf->colorspace = sink_fmt->colorspace;
mf                584 drivers/media/platform/exynos4-is/fimc-lite.c 			mf->code = sink->fmt->mbus_code;
mf                585 drivers/media/platform/exynos4-is/fimc-lite.c 			mf->colorspace = sink->fmt->colorspace;
mf                590 drivers/media/platform/exynos4-is/fimc-lite.c 		mf->width = rect->width;
mf                591 drivers/media/platform/exynos4-is/fimc-lite.c 		mf->height = rect->height;
mf                594 drivers/media/platform/exynos4-is/fimc-lite.c 	mf->field = V4L2_FIELD_NONE;
mf                597 drivers/media/platform/exynos4-is/fimc-lite.c 		 mf->code, mf->colorspace, mf->width, mf->height);
mf               1043 drivers/media/platform/exynos4-is/fimc-lite.c 	struct v4l2_mbus_framefmt *mf = &fmt->format;
mf               1047 drivers/media/platform/exynos4-is/fimc-lite.c 		mf = __fimc_lite_subdev_get_try_fmt(sd, cfg, fmt->pad);
mf               1048 drivers/media/platform/exynos4-is/fimc-lite.c 		fmt->format = *mf;
mf               1053 drivers/media/platform/exynos4-is/fimc-lite.c 	mf->colorspace = f->fmt->colorspace;
mf               1054 drivers/media/platform/exynos4-is/fimc-lite.c 	mf->code = f->fmt->mbus_code;
mf               1058 drivers/media/platform/exynos4-is/fimc-lite.c 		mf->width = f->f_width;
mf               1059 drivers/media/platform/exynos4-is/fimc-lite.c 		mf->height = f->f_height;
mf               1062 drivers/media/platform/exynos4-is/fimc-lite.c 		mf->width = f->rect.width;
mf               1063 drivers/media/platform/exynos4-is/fimc-lite.c 		mf->height = f->rect.height;
mf               1074 drivers/media/platform/exynos4-is/fimc-lite.c 	struct v4l2_mbus_framefmt *mf = &fmt->format;
mf               1080 drivers/media/platform/exynos4-is/fimc-lite.c 		 fmt->pad, mf->code, mf->width, mf->height);
mf               1097 drivers/media/platform/exynos4-is/fimc-lite.c 		mf = __fimc_lite_subdev_get_try_fmt(sd, cfg, fmt->pad);
mf               1098 drivers/media/platform/exynos4-is/fimc-lite.c 		*mf = fmt->format;
mf               1103 drivers/media/platform/exynos4-is/fimc-lite.c 			*src_fmt = *mf;
mf               1111 drivers/media/platform/exynos4-is/fimc-lite.c 		sink->f_width = mf->width;
mf               1112 drivers/media/platform/exynos4-is/fimc-lite.c 		sink->f_height = mf->height;
mf               1115 drivers/media/platform/exynos4-is/fimc-lite.c 		sink->rect.width = mf->width;
mf               1116 drivers/media/platform/exynos4-is/fimc-lite.c 		sink->rect.height = mf->height;
mf               1121 drivers/media/platform/exynos4-is/fimc-lite.c 		source->f_width = mf->width;
mf               1122 drivers/media/platform/exynos4-is/fimc-lite.c 		source->f_height = mf->height;
mf                280 drivers/media/platform/exynos4-is/mipi-csis.c 	struct v4l2_mbus_framefmt *mf)
mf                285 drivers/media/platform/exynos4-is/mipi-csis.c 		if (mf->code == s5pcsis_formats[i].code)
mf                331 drivers/media/platform/exynos4-is/mipi-csis.c 	struct v4l2_mbus_framefmt *mf = &state->format;
mf                335 drivers/media/platform/exynos4-is/mipi-csis.c 		 mf->code, mf->width, mf->height);
mf                343 drivers/media/platform/exynos4-is/mipi-csis.c 	val = (mf->width << 16) | mf->height;
mf                551 drivers/media/platform/exynos4-is/mipi-csis.c 	struct v4l2_mbus_framefmt *mf)
mf                555 drivers/media/platform/exynos4-is/mipi-csis.c 	csis_fmt = find_csis_format(mf);
mf                559 drivers/media/platform/exynos4-is/mipi-csis.c 	mf->code = csis_fmt->code;
mf                560 drivers/media/platform/exynos4-is/mipi-csis.c 	v4l_bound_align_image(&mf->width, 1, CSIS_MAX_PIX_WIDTH,
mf                562 drivers/media/platform/exynos4-is/mipi-csis.c 			      &mf->height, 1, CSIS_MAX_PIX_HEIGHT, 1,
mf                582 drivers/media/platform/exynos4-is/mipi-csis.c 	struct v4l2_mbus_framefmt *mf;
mf                584 drivers/media/platform/exynos4-is/mipi-csis.c 	mf = __s5pcsis_get_format(state, cfg, fmt->which);
mf                587 drivers/media/platform/exynos4-is/mipi-csis.c 		if (mf) {
mf                589 drivers/media/platform/exynos4-is/mipi-csis.c 			fmt->format = *mf;
mf                595 drivers/media/platform/exynos4-is/mipi-csis.c 	if (mf) {
mf                597 drivers/media/platform/exynos4-is/mipi-csis.c 		*mf = fmt->format;
mf                609 drivers/media/platform/exynos4-is/mipi-csis.c 	struct v4l2_mbus_framefmt *mf;
mf                611 drivers/media/platform/exynos4-is/mipi-csis.c 	mf = __s5pcsis_get_format(state, cfg, fmt->which);
mf                612 drivers/media/platform/exynos4-is/mipi-csis.c 	if (!mf)
mf                616 drivers/media/platform/exynos4-is/mipi-csis.c 	fmt->format = *mf;
mf                559 drivers/media/platform/pxa_camera.c static s32 pxa_mbus_bytes_per_line(u32 width, const struct pxa_mbus_pixelfmt *mf)
mf                561 drivers/media/platform/pxa_camera.c 	if (mf->layout != PXA_MBUS_LAYOUT_PACKED)
mf                562 drivers/media/platform/pxa_camera.c 		return width * mf->bits_per_sample / 8;
mf                564 drivers/media/platform/pxa_camera.c 	switch (mf->packing) {
mf                566 drivers/media/platform/pxa_camera.c 		return width * mf->bits_per_sample / 8;
mf                574 drivers/media/platform/pxa_camera.c static s32 pxa_mbus_image_size(const struct pxa_mbus_pixelfmt *mf,
mf                577 drivers/media/platform/pxa_camera.c 	if (mf->layout == PXA_MBUS_LAYOUT_PACKED)
mf                580 drivers/media/platform/pxa_camera.c 	switch (mf->packing) {
mf               1886 drivers/media/platform/pxa_camera.c 	struct v4l2_mbus_framefmt *mf = &format.format;
mf               1906 drivers/media/platform/pxa_camera.c 	v4l2_fill_mbus_format(mf, pix, xlate->code);
mf               1911 drivers/media/platform/pxa_camera.c 	v4l2_fill_pix_format(pix, mf);
mf               1914 drivers/media/platform/pxa_camera.c 	switch (mf->field) {
mf               1922 drivers/media/platform/pxa_camera.c 			mf->field);
mf               2144 drivers/media/platform/pxa_camera.c 	struct v4l2_mbus_framefmt *mf = &format.format;
mf               2176 drivers/media/platform/pxa_camera.c 	v4l2_fill_mbus_format(mf, pix, pcdev->current_fmt->code);
mf               2186 drivers/media/platform/pxa_camera.c 	v4l2_fill_pix_format(pix, mf);
mf                367 drivers/media/platform/rcar-vin/rcar-csi2.c 	struct v4l2_mbus_framefmt mf;
mf                487 drivers/media/platform/rcar-vin/rcar-csi2.c 		priv->mf.width, priv->mf.height,
mf                488 drivers/media/platform/rcar-vin/rcar-csi2.c 		priv->mf.field == V4L2_FIELD_NONE ? 'p' : 'i');
mf                491 drivers/media/platform/rcar-vin/rcar-csi2.c 	format = rcsi2_code_to_fmt(priv->mf.code);
mf                514 drivers/media/platform/rcar-vin/rcar-csi2.c 	if (priv->mf.field == V4L2_FIELD_ALTERNATE) {
mf                518 drivers/media/platform/rcar-vin/rcar-csi2.c 		if (priv->mf.height == 240)
mf                658 drivers/media/platform/rcar-vin/rcar-csi2.c 		priv->mf = format->format;
mf                674 drivers/media/platform/rcar-vin/rcar-csi2.c 		format->format = priv->mf;
mf               1217 drivers/media/platform/s3c-camif/camif-capture.c 	struct v4l2_mbus_framefmt *mf = &fmt->format;
mf               1220 drivers/media/platform/s3c-camif/camif-capture.c 		mf = v4l2_subdev_get_try_format(sd, cfg, fmt->pad);
mf               1221 drivers/media/platform/s3c-camif/camif-capture.c 		fmt->format = *mf;
mf               1230 drivers/media/platform/s3c-camif/camif-capture.c 		*mf = camif->mbus_fmt;
mf               1235 drivers/media/platform/s3c-camif/camif-capture.c 		mf->width = camif->camif_crop.width;
mf               1236 drivers/media/platform/s3c-camif/camif-capture.c 		mf->height = camif->camif_crop.height;
mf               1237 drivers/media/platform/s3c-camif/camif-capture.c 		mf->code = camif->mbus_fmt.code;
mf               1242 drivers/media/platform/s3c-camif/camif-capture.c 	mf->field = V4L2_FIELD_NONE;
mf               1243 drivers/media/platform/s3c-camif/camif-capture.c 	mf->colorspace = V4L2_COLORSPACE_JPEG;
mf               1248 drivers/media/platform/s3c-camif/camif-capture.c 				struct v4l2_mbus_framefmt *mf, int pad)
mf               1258 drivers/media/platform/s3c-camif/camif-capture.c 		if (camif_mbus_formats[i] == mf->code)
mf               1262 drivers/media/platform/s3c-camif/camif-capture.c 		mf->code = camif_mbus_formats[0];
mf               1265 drivers/media/platform/s3c-camif/camif-capture.c 		v4l_bound_align_image(&mf->width, 8, CAMIF_MAX_PIX_WIDTH,
mf               1267 drivers/media/platform/s3c-camif/camif-capture.c 				      &mf->height, 8, CAMIF_MAX_PIX_HEIGHT, 0,
mf               1271 drivers/media/platform/s3c-camif/camif-capture.c 		v4l_bound_align_image(&mf->width, 8, crop->width,
mf               1273 drivers/media/platform/s3c-camif/camif-capture.c 				      &mf->height, 8, crop->height,
mf               1277 drivers/media/platform/s3c-camif/camif-capture.c 	v4l2_dbg(1, debug, &camif->subdev, "%ux%u\n", mf->width, mf->height);
mf               1285 drivers/media/platform/s3c-camif/camif-capture.c 	struct v4l2_mbus_framefmt *mf = &fmt->format;
mf               1290 drivers/media/platform/s3c-camif/camif-capture.c 		 fmt->pad, mf->code, mf->width, mf->height);
mf               1292 drivers/media/platform/s3c-camif/camif-capture.c 	mf->field = V4L2_FIELD_NONE;
mf               1293 drivers/media/platform/s3c-camif/camif-capture.c 	mf->colorspace = V4L2_COLORSPACE_JPEG;
mf               1306 drivers/media/platform/s3c-camif/camif-capture.c 	__camif_subdev_try_format(camif, mf, fmt->pad);
mf               1309 drivers/media/platform/s3c-camif/camif-capture.c 		mf = v4l2_subdev_get_try_format(sd, cfg, fmt->pad);
mf               1310 drivers/media/platform/s3c-camif/camif-capture.c 		*mf = fmt->format;
mf               1317 drivers/media/platform/s3c-camif/camif-capture.c 		camif->mbus_fmt = *mf;
mf               1319 drivers/media/platform/s3c-camif/camif-capture.c 		crop->width = mf->width;
mf               1320 drivers/media/platform/s3c-camif/camif-capture.c 		crop->height = mf->height;
mf               1330 drivers/media/platform/s3c-camif/camif-capture.c 			frame->f_width = mf->width;
mf               1331 drivers/media/platform/s3c-camif/camif-capture.c 			frame->f_height = mf->height;
mf               1337 drivers/media/platform/s3c-camif/camif-capture.c 		mf->code = camif->mbus_fmt.code;
mf               1338 drivers/media/platform/s3c-camif/camif-capture.c 		mf->width = crop->width;
mf               1339 drivers/media/platform/s3c-camif/camif-capture.c 		mf->height = crop->height;
mf               1353 drivers/media/platform/s3c-camif/camif-capture.c 	struct v4l2_mbus_framefmt *mf = &camif->mbus_fmt;
mf               1370 drivers/media/platform/s3c-camif/camif-capture.c 		sel->r.width = mf->width;
mf               1371 drivers/media/platform/s3c-camif/camif-capture.c 		sel->r.height = mf->height;
mf               1380 drivers/media/platform/s3c-camif/camif-capture.c 		 crop->height, mf->width, mf->height);
mf               1387 drivers/media/platform/s3c-camif/camif-capture.c 	struct v4l2_mbus_framefmt *mf = &camif->mbus_fmt;
mf               1399 drivers/media/platform/s3c-camif/camif-capture.c 	v4l_bound_align_image(&r->width, 0, mf->width,
mf               1401 drivers/media/platform/s3c-camif/camif-capture.c 			      &r->height, 0, mf->height, 1, 0);
mf               1403 drivers/media/platform/s3c-camif/camif-capture.c 	v4l_bound_align_image(&left, 0, mf->width - r->width,
mf               1405 drivers/media/platform/s3c-camif/camif-capture.c 			      &top, 0, mf->height - r->height, 2, 0);
mf               1409 drivers/media/platform/s3c-camif/camif-capture.c 	r->width = mf->width - left;
mf               1410 drivers/media/platform/s3c-camif/camif-capture.c 	r->height = mf->height - top;
mf               1431 drivers/media/platform/s3c-camif/camif-capture.c 		 r->left, r->top, r->width, r->height, mf->width, mf->height);
mf                105 drivers/media/platform/s3c-camif/camif-regs.c 	struct v4l2_mbus_framefmt *mf = &camif->mbus_fmt;
mf                110 drivers/media/platform/s3c-camif/camif-regs.c 		if (src_pixfmt_map[i][0] == mf->code)
mf                122 drivers/media/platform/s3c-camif/camif-regs.c 	cfg |= (mf->width << 16) | mf->height;
mf                130 drivers/media/platform/s3c-camif/camif-regs.c 	struct v4l2_mbus_framefmt *mf = &camif->mbus_fmt;
mf                144 drivers/media/platform/s3c-camif/camif-regs.c 		hoff2 = mf->width - crop->width - crop->left;
mf                145 drivers/media/platform/s3c-camif/camif-regs.c 		voff2 = mf->height - crop->height - crop->top;
mf               1058 drivers/media/platform/stm32/stm32-dcmi.c 	struct v4l2_mbus_framefmt *mf = &format.format;
mf               1077 drivers/media/platform/stm32/stm32-dcmi.c 	v4l2_fill_mbus_format(mf, pix,
mf               1079 drivers/media/platform/stm32/stm32-dcmi.c 	mf->width = sd_framesize.width;
mf               1080 drivers/media/platform/stm32/stm32-dcmi.c 	mf->height = sd_framesize.height;
mf               1087 drivers/media/platform/stm32/stm32-dcmi.c 		mf->code, mf->width, mf->height);
mf                142 drivers/media/platform/vimc/vimc-debayer.c 	struct v4l2_mbus_framefmt *mf;
mf                145 drivers/media/platform/vimc/vimc-debayer.c 	mf = v4l2_subdev_get_try_format(sd, cfg, 0);
mf                146 drivers/media/platform/vimc/vimc-debayer.c 	*mf = sink_fmt_default;
mf                149 drivers/media/platform/vimc/vimc-debayer.c 		mf = v4l2_subdev_get_try_format(sd, cfg, i);
mf                150 drivers/media/platform/vimc/vimc-debayer.c 		*mf = sink_fmt_default;
mf                151 drivers/media/platform/vimc/vimc-debayer.c 		mf->code = vdeb->src_code;
mf                 53 drivers/media/platform/vimc/vimc-scaler.c 	struct v4l2_mbus_framefmt *mf;
mf                 56 drivers/media/platform/vimc/vimc-scaler.c 	mf = v4l2_subdev_get_try_format(sd, cfg, 0);
mf                 57 drivers/media/platform/vimc/vimc-scaler.c 	*mf = sink_fmt_default;
mf                 60 drivers/media/platform/vimc/vimc-scaler.c 		mf = v4l2_subdev_get_try_format(sd, cfg, i);
mf                 61 drivers/media/platform/vimc/vimc-scaler.c 		*mf = sink_fmt_default;
mf                 62 drivers/media/platform/vimc/vimc-scaler.c 		mf->width = mf->width * sca_mult;
mf                 63 drivers/media/platform/vimc/vimc-scaler.c 		mf->height = mf->height * sca_mult;
mf                 48 drivers/media/platform/vimc/vimc-sensor.c 		struct v4l2_mbus_framefmt *mf;
mf                 50 drivers/media/platform/vimc/vimc-sensor.c 		mf = v4l2_subdev_get_try_format(sd, cfg, i);
mf                 51 drivers/media/platform/vimc/vimc-sensor.c 		*mf = fmt_default;
mf                151 drivers/media/platform/vimc/vimc-sensor.c 	struct v4l2_mbus_framefmt *mf;
mf                158 drivers/media/platform/vimc/vimc-sensor.c 		mf = &vsen->mbus_format;
mf                160 drivers/media/platform/vimc/vimc-sensor.c 		mf = v4l2_subdev_get_try_format(sd, cfg, fmt->pad);
mf                170 drivers/media/platform/vimc/vimc-sensor.c 		mf->width, mf->height, mf->code,
mf                171 drivers/media/platform/vimc/vimc-sensor.c 		mf->colorspace,	mf->quantization,
mf                172 drivers/media/platform/vimc/vimc-sensor.c 		mf->xfer_func, mf->ycbcr_enc,
mf                178 drivers/media/platform/vimc/vimc-sensor.c 	*mf = fmt->format;
mf                693 drivers/media/tuners/mt2063.c 	u32 ma, mb, mc, md, me, mf;
mf                748 drivers/media/tuners/mt2063.c 		mf = (n * ((f_LO1 + hgfs) / gf_Scale) -
mf                750 drivers/media/tuners/mt2063.c 		if (me != mf) {
mf                208 drivers/message/fusion/mptbase.c static void	mpt_iocstatus_info(MPT_ADAPTER *ioc, u32 ioc_status, MPT_FRAME_HDR *mf);
mf                445 drivers/message/fusion/mptbase.c 	MPT_FRAME_HDR *mf = NULL;
mf                457 drivers/message/fusion/mptbase.c 		mf = MPT_INDEX_2_MFPTR(ioc, req_idx);
mf                472 drivers/message/fusion/mptbase.c 			mf = MPT_INDEX_2_MFPTR(ioc, req_idx);
mf                473 drivers/message/fusion/mptbase.c 			mpt_free_msg_frame(ioc, mf);
mf                497 drivers/message/fusion/mptbase.c 	if (MptCallbacks[cb_idx](ioc, mf, mr))
mf                498 drivers/message/fusion/mptbase.c 		mpt_free_msg_frame(ioc, mf);
mf                506 drivers/message/fusion/mptbase.c 	MPT_FRAME_HDR	*mf;
mf                531 drivers/message/fusion/mptbase.c 	mf = MPT_INDEX_2_MFPTR(ioc, req_idx);
mf                551 drivers/message/fusion/mptbase.c 		mpt_iocstatus_info(ioc, (u32)ioc_stat, mf);
mf                562 drivers/message/fusion/mptbase.c 	freeme = MptCallbacks[cb_idx](ioc, mf, mr);
mf                569 drivers/message/fusion/mptbase.c 		mpt_free_msg_frame(ioc, mf);
mf                891 drivers/message/fusion/mptbase.c 	MPT_FRAME_HDR *mf;
mf                911 drivers/message/fusion/mptbase.c 		mf = list_entry(ioc->FreeQ.next, MPT_FRAME_HDR,
mf                913 drivers/message/fusion/mptbase.c 		list_del(&mf->u.frame.linkage.list);
mf                914 drivers/message/fusion/mptbase.c 		mf->u.frame.linkage.arg1 = 0;
mf                915 drivers/message/fusion/mptbase.c 		mf->u.frame.hwhdr.msgctxu.fld.cb_idx = cb_idx;	/* byte */
mf                916 drivers/message/fusion/mptbase.c 		req_offset = (u8 *)mf - (u8 *)ioc->req_frames;
mf                919 drivers/message/fusion/mptbase.c 		mf->u.frame.hwhdr.msgctxu.fld.req_idx = cpu_to_le16(req_idx);
mf                920 drivers/message/fusion/mptbase.c 		mf->u.frame.hwhdr.msgctxu.fld.rsvd = 0;
mf                928 drivers/message/fusion/mptbase.c 		mf = NULL;
mf                932 drivers/message/fusion/mptbase.c 	if (mf == NULL)
mf                943 drivers/message/fusion/mptbase.c 	    ioc->name, cb_idx, ioc->id, mf));
mf                944 drivers/message/fusion/mptbase.c 	return mf;
mf                958 drivers/message/fusion/mptbase.c mpt_put_msg_frame(u8 cb_idx, MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf)
mf                965 drivers/message/fusion/mptbase.c 	mf->u.frame.hwhdr.msgctxu.fld.cb_idx = cb_idx;		/* byte */
mf                966 drivers/message/fusion/mptbase.c 	req_offset = (u8 *)mf - (u8 *)ioc->req_frames;
mf                969 drivers/message/fusion/mptbase.c 	mf->u.frame.hwhdr.msgctxu.fld.req_idx = cpu_to_le16(req_idx);
mf                970 drivers/message/fusion/mptbase.c 	mf->u.frame.hwhdr.msgctxu.fld.rsvd = 0;
mf                972 drivers/message/fusion/mptbase.c 	DBG_DUMP_PUT_MSG_FRAME(ioc, (u32 *)mf);
mf                994 drivers/message/fusion/mptbase.c mpt_put_msg_frame_hi_pri(u8 cb_idx, MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf)
mf               1001 drivers/message/fusion/mptbase.c 	mf->u.frame.hwhdr.msgctxu.fld.cb_idx = cb_idx;
mf               1002 drivers/message/fusion/mptbase.c 	req_offset = (u8 *)mf - (u8 *)ioc->req_frames;
mf               1004 drivers/message/fusion/mptbase.c 	mf->u.frame.hwhdr.msgctxu.fld.req_idx = cpu_to_le16(req_idx);
mf               1005 drivers/message/fusion/mptbase.c 	mf->u.frame.hwhdr.msgctxu.fld.rsvd = 0;
mf               1007 drivers/message/fusion/mptbase.c 	DBG_DUMP_PUT_MSG_FRAME(ioc, (u32 *)mf);
mf               1025 drivers/message/fusion/mptbase.c mpt_free_msg_frame(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf)
mf               1031 drivers/message/fusion/mptbase.c 	if (cpu_to_le32(mf->u.frame.linkage.arg1) == 0xdeadbeaf)
mf               1034 drivers/message/fusion/mptbase.c 	mf->u.frame.linkage.arg1 = cpu_to_le32(0xdeadbeaf);
mf               1035 drivers/message/fusion/mptbase.c 	list_add(&mf->u.frame.linkage.list, &ioc->FreeQ);
mf               1202 drivers/message/fusion/mptbase.c 		MPT_FRAME_HDR *mf = (MPT_FRAME_HDR*)req;
mf               1203 drivers/message/fusion/mptbase.c 		mf->u.frame.hwhdr.msgctxu.fld.req_idx = cpu_to_le16(ii);
mf               1204 drivers/message/fusion/mptbase.c 		mf->u.frame.hwhdr.msgctxu.fld.cb_idx = cb_idx;
mf               4438 drivers/message/fusion/mptbase.c 	MPT_FRAME_HDR *mf;
mf               4554 drivers/message/fusion/mptbase.c 			mf = (MPT_FRAME_HDR *) mem;
mf               4555 drivers/message/fusion/mptbase.c 			list_add_tail(&mf->u.frame.linkage.list, &ioc->FreeChainQ);
mf               4567 drivers/message/fusion/mptbase.c 			mf = (MPT_FRAME_HDR *) mem;
mf               4570 drivers/message/fusion/mptbase.c 			list_add_tail(&mf->u.frame.linkage.list, &ioc->FreeQ);
mf               5070 drivers/message/fusion/mptbase.c 	MPT_FRAME_HDR			*mf = NULL;
mf               5098 drivers/message/fusion/mptbase.c 	if ((mf = mpt_get_msg_frame(mpt_base_index, ioc)) == NULL) {
mf               5104 drivers/message/fusion/mptbase.c 	mpi_hdr = (MPIHeader_t *) mf;
mf               5105 drivers/message/fusion/mptbase.c 	sasIoUnitCntrReq = (SasIoUnitControlRequest_t *)mf;
mf               5111 drivers/message/fusion/mptbase.c 	mpt_put_msg_frame(mpt_base_index, ioc, mf);
mf               5123 drivers/message/fusion/mptbase.c 			mpt_free_msg_frame(ioc, mf);
mf               6348 drivers/message/fusion/mptbase.c 	MPT_FRAME_HDR	*mf;
mf               6398 drivers/message/fusion/mptbase.c 	if ((mf = mpt_get_msg_frame(mpt_base_index, ioc)) == NULL) {
mf               6405 drivers/message/fusion/mptbase.c 	pReq = (Config_t *)mf;
mf               6462 drivers/message/fusion/mptbase.c 	mpt_put_msg_frame(mpt_base_index, ioc, mf);
mf               6534 drivers/message/fusion/mptbase.c 		mpt_free_msg_frame(ioc, mf);
mf               8143 drivers/message/fusion/mptbase.c mpt_iocstatus_info_config(MPT_ADAPTER *ioc, u32 ioc_status, MPT_FRAME_HDR *mf)
mf               8145 drivers/message/fusion/mptbase.c 	Config_t *pReq = (Config_t *)mf;
mf               8221 drivers/message/fusion/mptbase.c mpt_iocstatus_info(MPT_ADAPTER *ioc, u32 ioc_status, MPT_FRAME_HDR *mf)
mf               8274 drivers/message/fusion/mptbase.c 		mpt_iocstatus_info_config(ioc, status, mf);
mf                844 drivers/message/fusion/mptbase.h #define MFPTR_2_MPT_INDEX(ioc,mf) \
mf                845 drivers/message/fusion/mptbase.h 	(int)( ((u8*)mf - (u8*)(ioc)->req_frames) / (ioc)->req_sz )
mf                926 drivers/message/fusion/mptbase.h extern void	 mpt_free_msg_frame(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf);
mf                927 drivers/message/fusion/mptbase.h extern void	 mpt_put_msg_frame(u8 cb_idx, MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf);
mf                928 drivers/message/fusion/mptbase.h extern void	 mpt_put_msg_frame_hi_pri(u8 cb_idx, MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf);
mf                286 drivers/message/fusion/mptctl.c mptctl_taskmgmt_reply(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, MPT_FRAME_HDR *mr)
mf                288 drivers/message/fusion/mptctl.c 	if (!mf)
mf                293 drivers/message/fusion/mptctl.c 		ioc->name, mf, mr));
mf                318 drivers/message/fusion/mptctl.c 	MPT_FRAME_HDR	*mf;
mf                336 drivers/message/fusion/mptctl.c 	mf = mpt_get_msg_frame(mptctl_taskmgmt_id, ioc);
mf                337 drivers/message/fusion/mptctl.c 	if (mf == NULL) {
mf                347 drivers/message/fusion/mptctl.c 		ioc->name, mf));
mf                349 drivers/message/fusion/mptctl.c 	pScsiTm = (SCSITaskMgmt_t *) mf;
mf                389 drivers/message/fusion/mptctl.c 		mpt_put_msg_frame_hi_pri(mptctl_taskmgmt_id, ioc, mf);
mf                398 drivers/message/fusion/mptctl.c 				ioc, mf, retval));
mf                399 drivers/message/fusion/mptctl.c 			mpt_free_msg_frame(ioc, mf);
mf                411 drivers/message/fusion/mptctl.c 		mpt_free_msg_frame(ioc, mf);
mf                463 drivers/message/fusion/mptctl.c mptctl_timeout_expired(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf)
mf                467 drivers/message/fusion/mptctl.c 	SCSIIORequest_t *scsi_req = (SCSIIORequest_t *) mf;
mf                468 drivers/message/fusion/mptctl.c 	u8 function = mf->u.hdr.Function;
mf                480 drivers/message/fusion/mptctl.c 		mpt_free_msg_frame(ioc, mf);
mf                512 drivers/message/fusion/mptctl.c 	mpt_free_msg_frame(ioc, mf);
mf                783 drivers/message/fusion/mptctl.c 	MPT_FRAME_HDR		*mf;
mf                805 drivers/message/fusion/mptctl.c 	if ((mf = mpt_get_msg_frame(mptctl_id, iocp)) == NULL)
mf                815 drivers/message/fusion/mptctl.c 	dlmsg = (FWDownload_t*) mf;
mf                921 drivers/message/fusion/mptctl.c 	DBG_DUMP_FW_DOWNLOAD(iocp, (u32 *)mf, numfrags);
mf                929 drivers/message/fusion/mptctl.c 	mpt_put_msg_frame(mptctl_id, iocp, mf);
mf                938 drivers/message/fusion/mptctl.c 			mpt_free_msg_frame(iocp, mf);
mf                945 drivers/message/fusion/mptctl.c 			mptctl_timeout_expired(iocp, mf);
mf                953 drivers/message/fusion/mptctl.c 		mpt_free_msg_frame(iocp, mf);
mf               1737 drivers/message/fusion/mptctl.c 	MPT_FRAME_HDR	*mf = NULL;
mf               1795 drivers/message/fusion/mptctl.c         if ((mf = mpt_get_msg_frame(mptctl_id, ioc)) == NULL)
mf               1798 drivers/message/fusion/mptctl.c 	hdr = (MPIHeader_t *) mf;
mf               1800 drivers/message/fusion/mptctl.c 	req_idx = le16_to_cpu(mf->u.frame.hwhdr.msgctxu.fld.req_idx);
mf               1806 drivers/message/fusion/mptctl.c 	if (copy_from_user(mf, mfPtr, karg.dataSgeOffset * 4)) {
mf               1821 drivers/message/fusion/mptctl.c 	    ioc->name, hdr->Function, mf));
mf               1832 drivers/message/fusion/mptctl.c 		config_frame = (Config_t *)mf;
mf               1854 drivers/message/fusion/mptctl.c 			SCSIIORequest_t *pScsiReq = (SCSIIORequest_t *) mf;
mf               1959 drivers/message/fusion/mptctl.c 			SCSIIORequest_t *pScsiReq = (SCSIIORequest_t *) mf;
mf               2012 drivers/message/fusion/mptctl.c 		pScsiTm = (SCSITaskMgmt_t *)mf;
mf               2024 drivers/message/fusion/mptctl.c 			IOCInit_t	*pInit = (IOCInit_t *) mf;
mf               2088 drivers/message/fusion/mptctl.c 	psge = (char *) (((int *) mf) + karg.dataSgeOffset);
mf               2174 drivers/message/fusion/mptctl.c 		DBG_DUMP_TM_REQUEST_FRAME(ioc, (u32 *)mf);
mf               2178 drivers/message/fusion/mptctl.c 			mpt_put_msg_frame_hi_pri(mptctl_id, ioc, mf);
mf               2181 drivers/message/fusion/mptctl.c 				sizeof(SCSITaskMgmt_t), (u32*)mf, CAN_SLEEP);
mf               2185 drivers/message/fusion/mptctl.c 				    ioc->name, ioc, mf));
mf               2194 drivers/message/fusion/mptctl.c 		mpt_put_msg_frame(mptctl_id, ioc, mf);
mf               2217 drivers/message/fusion/mptctl.c 			mptctl_timeout_expired(ioc, mf);
mf               2218 drivers/message/fusion/mptctl.c 			mf = NULL;
mf               2228 drivers/message/fusion/mptctl.c 	mf = NULL;
mf               2306 drivers/message/fusion/mptctl.c 	if (mf)
mf               2307 drivers/message/fusion/mptctl.c 		mpt_free_msg_frame(ioc, mf);
mf               2335 drivers/message/fusion/mptctl.c 	MPT_FRAME_HDR		*mf = NULL;
mf               2461 drivers/message/fusion/mptctl.c 	if ((mf = mpt_get_msg_frame(mptctl_id, ioc)) == NULL) {
mf               2467 drivers/message/fusion/mptctl.c 	IstwiRWRequest = (ToolboxIstwiReadWriteRequest_t *)mf;
mf               2491 drivers/message/fusion/mptctl.c 	mpt_put_msg_frame(mptctl_id, ioc, mf);
mf               2500 drivers/message/fusion/mptctl.c 			mpt_free_msg_frame(ioc, mf);
mf               2507 drivers/message/fusion/mptctl.c 			mptctl_timeout_expired(ioc, mf);
mf                129 drivers/message/fusion/mptlan.c static int  lan_reply (MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf,
mf                168 drivers/message/fusion/mptlan.c lan_reply (MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, MPT_FRAME_HDR *reply)
mf                179 drivers/message/fusion/mptlan.c 	if (mf == NULL) {
mf                466 drivers/message/fusion/mptlan.c 	MPT_FRAME_HDR *mf;
mf                470 drivers/message/fusion/mptlan.c 	mf = mpt_get_msg_frame(LanCtx, priv->mpt_dev);
mf                472 drivers/message/fusion/mptlan.c 	if (mf == NULL) {
mf                479 drivers/message/fusion/mptlan.c 	pResetReq = (LANResetRequest_t *) mf;
mf                488 drivers/message/fusion/mptlan.c 	mpt_put_msg_frame(LanCtx, priv->mpt_dev, mf);
mf                679 drivers/message/fusion/mptlan.c 	MPT_FRAME_HDR *mf;
mf                702 drivers/message/fusion/mptlan.c 	mf = mpt_get_msg_frame(LanCtx, mpt_dev);
mf                703 drivers/message/fusion/mptlan.c 	if (mf == NULL) {
mf                718 drivers/message/fusion/mptlan.c 	pSendReq = (LANSendRequest_t *) mf;
mf                784 drivers/message/fusion/mptlan.c 	mpt_put_msg_frame (LanCtx, mpt_dev, mf);
mf               1143 drivers/message/fusion/mptlan.c 	MPT_FRAME_HDR *mf;
mf               1165 drivers/message/fusion/mptlan.c 		mf = mpt_get_msg_frame(LanCtx, mpt_dev);
mf               1166 drivers/message/fusion/mptlan.c 		if (mf == NULL) {
mf               1173 drivers/message/fusion/mptlan.c 		pRecvReq = (LANReceivePostRequest_t *) mf;
mf               1175 drivers/message/fusion/mptlan.c 		i = le16_to_cpu(mf->u.frame.hwhdr.msgctxu.fld.req_idx);
mf               1257 drivers/message/fusion/mptlan.c 			mpt_free_msg_frame(mpt_dev, mf);
mf               1271 drivers/message/fusion/mptlan.c 		mpt_put_msg_frame(LanCtx, mpt_dev, mf);
mf               1042 drivers/message/fusion/mptsas.c 	MPT_FRAME_HDR	*mf;
mf               1048 drivers/message/fusion/mptsas.c 	mf = mpt_get_msg_frame(mptsasDeviceResetCtx, ioc);
mf               1049 drivers/message/fusion/mptsas.c 	if (mf == NULL) {
mf               1057 drivers/message/fusion/mptsas.c 		ioc->name, mf));
mf               1061 drivers/message/fusion/mptsas.c 	pScsiTm = (SCSITaskMgmt_t *) mf;
mf               1069 drivers/message/fusion/mptsas.c 	DBG_DUMP_TM_REQUEST_FRAME(ioc, (u32 *)mf);
mf               1075 drivers/message/fusion/mptsas.c 	mpt_put_msg_frame_hi_pri(mptsasDeviceResetCtx, ioc, mf);
mf               1193 drivers/message/fusion/mptsas.c mptsas_taskmgmt_complete(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, MPT_FRAME_HDR *mr)
mf               1202 drivers/message/fusion/mptsas.c 	    "(mf = %p, mr = %p)\n", ioc->name, mf, mr));
mf               2084 drivers/message/fusion/mptsas.c 	MPT_FRAME_HDR *mf;
mf               2100 drivers/message/fusion/mptsas.c 	mf = mpt_get_msg_frame(mptsasMgmtCtx, ioc);
mf               2101 drivers/message/fusion/mptsas.c 	if (!mf) {
mf               2106 drivers/message/fusion/mptsas.c 	hdr = (MPIHeader_t *) mf;
mf               2107 drivers/message/fusion/mptsas.c 	req = (SasIoUnitControlRequest_t *)mf;
mf               2116 drivers/message/fusion/mptsas.c 	mpt_put_msg_frame(mptsasMgmtCtx, ioc, mf);
mf               2122 drivers/message/fusion/mptsas.c 		mpt_free_msg_frame(ioc, mf);
mf               2216 drivers/message/fusion/mptsas.c 	MPT_FRAME_HDR *mf;
mf               2238 drivers/message/fusion/mptsas.c 	mf = mpt_get_msg_frame(mptsasMgmtCtx, ioc);
mf               2239 drivers/message/fusion/mptsas.c 	if (!mf) {
mf               2244 drivers/message/fusion/mptsas.c 	smpreq = (SmpPassthroughRequest_t *)mf;
mf               2267 drivers/message/fusion/mptsas.c 		(((int *) mf) + (offsetof(SmpPassthroughRequest_t, SGL) / 4));
mf               2300 drivers/message/fusion/mptsas.c 	mpt_put_msg_frame(mptsasMgmtCtx, ioc, mf);
mf               2305 drivers/message/fusion/mptsas.c 		mpt_free_msg_frame(ioc, mf);
mf               2306 drivers/message/fusion/mptsas.c 		mf = NULL;
mf               2313 drivers/message/fusion/mptsas.c 	mf = NULL;
mf               2336 drivers/message/fusion/mptsas.c 	if (mf)
mf               2337 drivers/message/fusion/mptsas.c 		mpt_free_msg_frame(ioc, mf);
mf               2832 drivers/message/fusion/mptsas.c 	MPT_FRAME_HDR *mf;
mf               2859 drivers/message/fusion/mptsas.c 	mf = mpt_get_msg_frame(mptsasMgmtCtx, ioc);
mf               2860 drivers/message/fusion/mptsas.c 	if (!mf) {
mf               2865 drivers/message/fusion/mptsas.c 	smpreq = (SmpPassthroughRequest_t *)mf;
mf               2890 drivers/message/fusion/mptsas.c 		(((int *) mf) + (offsetof(SmpPassthroughRequest_t, SGL) / 4));
mf               2912 drivers/message/fusion/mptsas.c 	mpt_put_msg_frame(mptsasMgmtCtx, ioc, mf);
mf               2917 drivers/message/fusion/mptsas.c 		mpt_free_msg_frame(ioc, mf);
mf               2918 drivers/message/fusion/mptsas.c 		mf = NULL;
mf               2926 drivers/message/fusion/mptsas.c 	mf = NULL;
mf               2963 drivers/message/fusion/mptsas.c 	if (mf)
mf               2964 drivers/message/fusion/mptsas.c 		mpt_free_msg_frame(ioc, mf);
mf               4763 drivers/message/fusion/mptsas.c 	MPT_FRAME_HDR	*mf;
mf               4769 drivers/message/fusion/mptsas.c 	mf = mpt_get_msg_frame(mptsasDeviceResetCtx, ioc);
mf               4770 drivers/message/fusion/mptsas.c 	if (mf == NULL) {
mf               4779 drivers/message/fusion/mptsas.c 	    "fw_id = %d, lun = %lld,\n\t task_context = 0x%x\n", ioc->name, mf,
mf               4783 drivers/message/fusion/mptsas.c 	pScsiTm = (SCSITaskMgmt_t *) mf;
mf               4799 drivers/message/fusion/mptsas.c 	mpt_put_msg_frame_hi_pri(mptsasDeviceResetCtx, ioc, mf);
mf               4807 drivers/message/fusion/mptsas.c 		    "TaskMgmt request: TIMED OUT!(mr=%p)\n", ioc->name, mf));
mf               4808 drivers/message/fusion/mptsas.c 		mpt_free_msg_frame(ioc, mf);
mf               4837 drivers/message/fusion/mptsas.c 	MPT_FRAME_HDR	*mf;
mf               4871 drivers/message/fusion/mptsas.c 		mf = MPT_INDEX_2_MFPTR(ioc, ii);
mf               4872 drivers/message/fusion/mptsas.c 		if (!mf)
mf               4874 drivers/message/fusion/mptsas.c 		task_context = mf->u.frame.hwhdr.msgctxu.MsgContext;
mf                 88 drivers/message/fusion/mptscsih.c int		mptscsih_io_done(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, MPT_FRAME_HDR *r);
mf                 90 drivers/message/fusion/mptscsih.c int		mptscsih_taskmgmt_complete(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, MPT_FRAME_HDR *r);
mf                 95 drivers/message/fusion/mptscsih.c static void	mptscsih_copy_sense_data(struct scsi_cmnd *sc, MPT_SCSI_HOST *hd, MPT_FRAME_HDR *mf, SCSIIOReply_t *pScsiReply);
mf                107 drivers/message/fusion/mptscsih.c int		mptscsih_scandv_complete(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, MPT_FRAME_HDR *r);
mf                395 drivers/message/fusion/mptscsih.c 	MPT_FRAME_HDR *mf;
mf                406 drivers/message/fusion/mptscsih.c 	if ((mf = mpt_get_msg_frame(ioc->InternalCtx, ioc)) == NULL) {
mf                412 drivers/message/fusion/mptscsih.c 	SEPMsg = (SEPRequest_t *)mf;
mf                421 drivers/message/fusion/mptscsih.c 	mpt_put_msg_frame(ioc->DoneCtx, ioc, mf);
mf                588 drivers/message/fusion/mptscsih.c mptscsih_io_done(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, MPT_FRAME_HDR *mr)
mf                599 drivers/message/fusion/mptscsih.c 	req_idx = le16_to_cpu(mf->u.frame.hwhdr.msgctxu.fld.req_idx);
mf                608 drivers/message/fusion/mptscsih.c 	    (le32_to_cpu(mf->u.frame.linkage.arg1) == 0xdeadbeaf))
mf                613 drivers/message/fusion/mptscsih.c 		MPIHeader_t *hdr = (MPIHeader_t *)mf;
mf                627 drivers/message/fusion/mptscsih.c 	if ((unsigned char *)mf != sc->host_scribble) {
mf                644 drivers/message/fusion/mptscsih.c 	pScsiReq = (SCSIIORequest_t *) mf;
mf                650 drivers/message/fusion/mptscsih.c 			ioc->name, mf, mr, sc, req_idx, pScsiReply->TaskTag));
mf                654 drivers/message/fusion/mptscsih.c 			ioc->name, mf, mr, sc, req_idx));
mf                688 drivers/message/fusion/mptscsih.c 			mptscsih_copy_sense_data(sc, hd, mf, pScsiReply);
mf               1036 drivers/message/fusion/mptscsih.c 	SCSIIORequest_t	*mf = NULL;
mf               1044 drivers/message/fusion/mptscsih.c 		mf = (SCSIIORequest_t *)MPT_INDEX_2_MFPTR(ioc, ii);
mf               1045 drivers/message/fusion/mptscsih.c 		if (!mf)
mf               1047 drivers/message/fusion/mptscsih.c 		channel = mf->Bus;
mf               1048 drivers/message/fusion/mptscsih.c 		id = mf->TargetID;
mf               1050 drivers/message/fusion/mptscsih.c 		mpt_free_msg_frame(ioc, (MPT_FRAME_HDR *)mf);
mf               1051 drivers/message/fusion/mptscsih.c 		if ((unsigned char *)mf != sc->host_scribble)
mf               1058 drivers/message/fusion/mptscsih.c 		    "idx=%x\n", ioc->name, channel, id, sc, mf, ii));
mf               1081 drivers/message/fusion/mptscsih.c 	SCSIIORequest_t	*mf = NULL;
mf               1092 drivers/message/fusion/mptscsih.c 			mf = (SCSIIORequest_t *)MPT_INDEX_2_MFPTR(ioc, ii);
mf               1093 drivers/message/fusion/mptscsih.c 			if (mf == NULL)
mf               1099 drivers/message/fusion/mptscsih.c 			    MPT_TARGET_FLAGS_RAID_COMPONENT && mf->Function !=
mf               1104 drivers/message/fusion/mptscsih.c 			if ((mf->Bus != vdevice->vtarget->channel) ||
mf               1105 drivers/message/fusion/mptscsih.c 			    (mf->TargetID != vdevice->vtarget->id) ||
mf               1106 drivers/message/fusion/mptscsih.c 			    memcmp(lun.scsi_lun, mf->LUN, 8))
mf               1109 drivers/message/fusion/mptscsih.c 			if ((unsigned char *)mf != sc->host_scribble)
mf               1114 drivers/message/fusion/mptscsih.c 			mpt_free_msg_frame(ioc, (MPT_FRAME_HDR *)mf);
mf               1122 drivers/message/fusion/mptscsih.c 			   sc, mf, ii));
mf               1316 drivers/message/fusion/mptscsih.c 	MPT_FRAME_HDR		*mf;
mf               1339 drivers/message/fusion/mptscsih.c 	if ((mf = mpt_get_msg_frame(ioc->DoneCtx, ioc)) == NULL) {
mf               1345 drivers/message/fusion/mptscsih.c 	pScsiReq = (SCSIIORequest_t *) mf;
mf               1347 drivers/message/fusion/mptscsih.c 	my_idx = le16_to_cpu(mf->u.frame.hwhdr.msgctxu.fld.req_idx);
mf               1423 drivers/message/fusion/mptscsih.c 	SCpnt->host_scribble = (unsigned char *)mf;
mf               1426 drivers/message/fusion/mptscsih.c 	mpt_put_msg_frame(ioc->DoneCtx, ioc, mf);
mf               1428 drivers/message/fusion/mptscsih.c 			ioc->name, SCpnt, mf, my_idx));
mf               1429 drivers/message/fusion/mptscsih.c 	DBG_DUMP_REQUEST_FRAME(ioc, (u32 *)mf);
mf               1434 drivers/message/fusion/mptscsih.c 	mpt_free_msg_frame(ioc, mf);
mf               1516 drivers/message/fusion/mptscsih.c 	MPT_FRAME_HDR	*mf;
mf               1557 drivers/message/fusion/mptscsih.c 		mf = NULL;
mf               1564 drivers/message/fusion/mptscsih.c 	if ((mf = mpt_get_msg_frame(ioc->TaskCtx, ioc)) == NULL) {
mf               1572 drivers/message/fusion/mptscsih.c 			ioc->name, mf));
mf               1576 drivers/message/fusion/mptscsih.c 	pScsiTm = (SCSITaskMgmt_t *) mf;
mf               1605 drivers/message/fusion/mptscsih.c 		mpt_put_msg_frame_hi_pri(ioc->TaskCtx, ioc, mf);
mf               1612 drivers/message/fusion/mptscsih.c 				ioc->name, mf, retval));
mf               1613 drivers/message/fusion/mptscsih.c 			mpt_free_msg_frame(ioc, mf);
mf               1624 drivers/message/fusion/mptscsih.c 		    "TaskMgmt TIMED OUT!(mf=%p)\n", ioc->name, mf));
mf               1649 drivers/message/fusion/mptscsih.c 		mpt_free_msg_frame(ioc, mf);
mf               1685 drivers/message/fusion/mptscsih.c 	MPT_FRAME_HDR	*mf;
mf               1767 drivers/message/fusion/mptscsih.c 	mf = MPT_INDEX_2_MFPTR(ioc, scpnt_idx);
mf               1768 drivers/message/fusion/mptscsih.c 	ctx2abort = mf->u.frame.hwhdr.msgctxu.MsgContext;
mf               2054 drivers/message/fusion/mptscsih.c mptscsih_taskmgmt_complete(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf,
mf               2058 drivers/message/fusion/mptscsih.c 		"TaskMgmt completed (mf=%p, mr=%p)\n", ioc->name, mf, mr));
mf               2406 drivers/message/fusion/mptscsih.c mptscsih_copy_sense_data(struct scsi_cmnd *sc, MPT_SCSI_HOST *hd, MPT_FRAME_HDR *mf, SCSIIOReply_t *pScsiReply)
mf               2415 drivers/message/fusion/mptscsih.c 	pReq = (SCSIIORequest_t *) mf;
mf               2423 drivers/message/fusion/mptscsih.c 		req_index = le16_to_cpu(mf->u.frame.hwhdr.msgctxu.fld.req_idx);
mf               2778 drivers/message/fusion/mptscsih.c 	MPT_FRAME_HDR	*mf;
mf               2900 drivers/message/fusion/mptscsih.c 	if ((mf = mpt_get_msg_frame(ioc->InternalCtx, ioc)) == NULL) {
mf               2907 drivers/message/fusion/mptscsih.c 	pScsiReq = (SCSIIORequest_t *) mf;
mf               2910 drivers/message/fusion/mptscsih.c 	my_idx = le16_to_cpu(mf->u.frame.hwhdr.msgctxu.fld.req_idx);
mf               2965 drivers/message/fusion/mptscsih.c 	mpt_put_msg_frame(ioc->InternalCtx, ioc, mf);
mf               2974 drivers/message/fusion/mptscsih.c 			mpt_free_msg_frame(ioc, mf);
mf               2984 drivers/message/fusion/mptscsih.c 			mpt_free_msg_frame(ioc, mf);
mf                126 drivers/message/fusion/mptscsih.h extern int mptscsih_io_done(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, MPT_FRAME_HDR *r);
mf                127 drivers/message/fusion/mptscsih.h extern int mptscsih_taskmgmt_complete(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, MPT_FRAME_HDR *r);
mf                128 drivers/message/fusion/mptscsih.h extern int mptscsih_scandv_complete(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, MPT_FRAME_HDR *r);
mf                259 drivers/message/fusion/mptspi.c 	MPT_FRAME_HDR		*mf;
mf                266 drivers/message/fusion/mptspi.c 	if ((mf = mpt_get_msg_frame(ioc->DoneCtx, ioc)) == NULL) {
mf                275 drivers/message/fusion/mptspi.c 	pReq = (Config_t *)mf;
mf                309 drivers/message/fusion/mptspi.c 	mpt_put_msg_frame(ioc->DoneCtx, ioc, mf);
mf                622 drivers/message/fusion/mptspi.c 	MPT_FRAME_HDR		*mf;
mf                630 drivers/message/fusion/mptspi.c 	if ((mf = mpt_get_msg_frame(ioc->InternalCtx, ioc)) == NULL) {
mf                636 drivers/message/fusion/mptspi.c 	pReq = (MpiRaidActionRequest_t *)mf;
mf                658 drivers/message/fusion/mptspi.c 	mpt_put_msg_frame(ioc->InternalCtx, ioc, mf);
mf                670 drivers/message/fusion/mptspi.c 			mpt_free_msg_frame(ioc, mf);
mf                635 drivers/net/ethernet/apple/macmace.c static void mace_dma_rx_frame(struct net_device *dev, struct mace_frame *mf)
mf                638 drivers/net/ethernet/apple/macmace.c 	unsigned int frame_status = mf->rcvsts;
mf                651 drivers/net/ethernet/apple/macmace.c 		unsigned int frame_length = mf->rcvcnt + ((frame_status & 0x0F) << 8 );
mf                659 drivers/net/ethernet/apple/macmace.c 		skb_put_data(skb, mf->data, frame_length);
mf               4894 drivers/net/ethernet/sfc/ef10.c 	int mf;
mf               4899 drivers/net/ethernet/sfc/ef10.c 		mf = efx_ef10_filter_match_flags_from_mcdi(encap,
mf               4901 drivers/net/ethernet/sfc/ef10.c 		if (mf == match_flags)
mf                469 drivers/net/usb/kaweth.c static void kaweth_resubmit_int_urb(struct kaweth_device *kaweth, gfp_t mf)
mf                473 drivers/net/usb/kaweth.c 	status = usb_submit_urb (kaweth->irq_urb, mf);
mf                130 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h 	u32 mf:1;
mf                186 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h 	u32 mf:1;
mf                322 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h 	u32 mf:1;
mf                134 drivers/phy/ti/phy-ti-pipe3.c 	u32	mf;
mf                430 drivers/phy/ti/phy-ti-pipe3.c 	val |= dpll_params->mf << PLL_REGM_F_SHIFT;
mf                646 drivers/scsi/mpt3sas/mpt3sas_ctl.c 	void __user *mf)
mf                694 drivers/scsi/mpt3sas/mpt3sas_ctl.c 	if (copy_from_user(mpi_request, mf, karg.data_sge_offset*4)) {
mf               2288 drivers/scsi/mpt3sas/mpt3sas_ctl.c 	return _ctl_do_mpt_command(ioc, karg, &uarg->mf);
mf               2375 drivers/scsi/mpt3sas/mpt3sas_ctl.c 			ret = _ctl_do_mpt_command(ioc, karg, &uarg->mf);
mf                265 drivers/scsi/mpt3sas/mpt3sas_ctl.h 	uint8_t mf[1];
mf                281 drivers/scsi/mpt3sas/mpt3sas_ctl.h 	uint8_t mf[1];
mf                600 drivers/soc/fsl/qbman/qman.c static inline void qm_dqrr_set_maxfill(struct qm_portal *portal, u8 mf)
mf                603 drivers/soc/fsl/qbman/qman.c 				   ((mf & (QM_DQRR_SIZE - 1)) << 20));
mf               1140 drivers/staging/media/imx/imx7-media-csi.c 	struct v4l2_mbus_framefmt *mf;
mf               1145 drivers/staging/media/imx/imx7-media-csi.c 		mf = v4l2_subdev_get_try_format(sd, cfg, i);
mf               1147 drivers/staging/media/imx/imx7-media-csi.c 		ret = imx_media_init_mbus_fmt(mf, 800, 600, 0, V4L2_FIELD_NONE,
mf                392 drivers/staging/media/imx/imx7-mipi-csis.c 	struct v4l2_mbus_framefmt *mf = &state->format_mbus;
mf                401 drivers/staging/media/imx/imx7-mipi-csis.c 	val = mf->width | (mf->height << 16);
mf                643 drivers/staging/media/imx/imx7-mipi-csis.c 	struct v4l2_mbus_framefmt *mf;
mf                648 drivers/staging/media/imx/imx7-mipi-csis.c 		mf = v4l2_subdev_get_try_format(mipi_sd, cfg, i);
mf                650 drivers/staging/media/imx/imx7-mipi-csis.c 		ret = imx_media_init_mbus_fmt(mf, MIPI_CSIS_DEF_PIX_HEIGHT,
mf                661 drivers/staging/media/imx/imx7-mipi-csis.c mipi_csis_try_format(struct v4l2_subdev *mipi_sd, struct v4l2_mbus_framefmt *mf)
mf                666 drivers/staging/media/imx/imx7-mipi-csis.c 	csis_fmt = find_csis_format(mf->code);
mf                670 drivers/staging/media/imx/imx7-mipi-csis.c 	v4l_bound_align_image(&mf->width, 1, CSIS_MAX_PIX_WIDTH,
mf                672 drivers/staging/media/imx/imx7-mipi-csis.c 			      &mf->height, 1, CSIS_MAX_PIX_HEIGHT, 1,
mf                676 drivers/staging/media/imx/imx7-mipi-csis.c 	state->format_mbus.width = mf->width;
mf                677 drivers/staging/media/imx/imx7-mipi-csis.c 	state->format_mbus.height = mf->height;
mf                127 drivers/staging/media/ipu3/ipu3-v4l2.c 	struct v4l2_mbus_framefmt *mf;
mf                139 drivers/staging/media/ipu3/ipu3-v4l2.c 		mf = v4l2_subdev_get_try_format(sd, cfg, pad);
mf                140 drivers/staging/media/ipu3/ipu3-v4l2.c 		fmt->format = *mf;
mf                156 drivers/staging/media/ipu3/ipu3-v4l2.c 	struct v4l2_mbus_framefmt *mf;
mf                165 drivers/staging/media/ipu3/ipu3-v4l2.c 		mf = v4l2_subdev_get_try_format(sd, cfg, pad);
mf                167 drivers/staging/media/ipu3/ipu3-v4l2.c 		mf = &imgu_pipe->nodes[pad].pad_fmt;
mf                169 drivers/staging/media/ipu3/ipu3-v4l2.c 	fmt->format.code = mf->code;
mf                187 drivers/staging/media/ipu3/ipu3-v4l2.c 	*mf = fmt->format;
mf                156 drivers/staging/media/soc_camera/imx074.c 	struct v4l2_mbus_framefmt *mf = &format->format;
mf                157 drivers/staging/media/soc_camera/imx074.c 	const struct imx074_datafmt *fmt = imx074_find_datafmt(mf->code);
mf                164 drivers/staging/media/soc_camera/imx074.c 	dev_dbg(sd->v4l2_dev->dev, "%s(%u)\n", __func__, mf->code);
mf                170 drivers/staging/media/soc_camera/imx074.c 		mf->code	= imx074_colour_fmts[0].code;
mf                171 drivers/staging/media/soc_camera/imx074.c 		mf->colorspace	= imx074_colour_fmts[0].colorspace;
mf                174 drivers/staging/media/soc_camera/imx074.c 	mf->width	= IMX074_WIDTH;
mf                175 drivers/staging/media/soc_camera/imx074.c 	mf->height	= IMX074_HEIGHT;
mf                176 drivers/staging/media/soc_camera/imx074.c 	mf->field	= V4L2_FIELD_NONE;
mf                181 drivers/staging/media/soc_camera/imx074.c 		cfg->try_fmt = *mf;
mf                190 drivers/staging/media/soc_camera/imx074.c 	struct v4l2_mbus_framefmt *mf = &format->format;
mf                199 drivers/staging/media/soc_camera/imx074.c 	mf->code	= fmt->code;
mf                200 drivers/staging/media/soc_camera/imx074.c 	mf->colorspace	= fmt->colorspace;
mf                201 drivers/staging/media/soc_camera/imx074.c 	mf->width	= IMX074_WIDTH;
mf                202 drivers/staging/media/soc_camera/imx074.c 	mf->height	= IMX074_HEIGHT;
mf                203 drivers/staging/media/soc_camera/imx074.c 	mf->field	= V4L2_FIELD_NONE;
mf                346 drivers/staging/media/soc_camera/mt9t031.c 	struct v4l2_mbus_framefmt *mf = &format->format;
mf                353 drivers/staging/media/soc_camera/mt9t031.c 	mf->width	= mt9t031->rect.width / mt9t031->xskip;
mf                354 drivers/staging/media/soc_camera/mt9t031.c 	mf->height	= mt9t031->rect.height / mt9t031->yskip;
mf                355 drivers/staging/media/soc_camera/mt9t031.c 	mf->code	= MEDIA_BUS_FMT_SBGGR10_1X10;
mf                356 drivers/staging/media/soc_camera/mt9t031.c 	mf->colorspace	= V4L2_COLORSPACE_SRGB;
mf                357 drivers/staging/media/soc_camera/mt9t031.c 	mf->field	= V4L2_FIELD_NONE;
mf                370 drivers/staging/media/soc_camera/mt9t031.c 	struct v4l2_mbus_framefmt *mf = &format->format;
mf                379 drivers/staging/media/soc_camera/mt9t031.c 	mf->code	= MEDIA_BUS_FMT_SBGGR10_1X10;
mf                380 drivers/staging/media/soc_camera/mt9t031.c 	mf->colorspace	= V4L2_COLORSPACE_SRGB;
mf                382 drivers/staging/media/soc_camera/mt9t031.c 			&mf->width, MT9T031_MIN_WIDTH, MT9T031_MAX_WIDTH, 1,
mf                383 drivers/staging/media/soc_camera/mt9t031.c 			&mf->height, MT9T031_MIN_HEIGHT, MT9T031_MAX_HEIGHT, 1, 0);
mf                386 drivers/staging/media/soc_camera/mt9t031.c 		cfg->try_fmt = *mf;
mf                394 drivers/staging/media/soc_camera/mt9t031.c 	xskip = mt9t031_skip(&rect.width, mf->width, MT9T031_MAX_WIDTH);
mf                395 drivers/staging/media/soc_camera/mt9t031.c 	yskip = mt9t031_skip(&rect.height, mf->height, MT9T031_MAX_HEIGHT);
mf                397 drivers/staging/media/soc_camera/mt9t031.c 	mf->code	= MEDIA_BUS_FMT_SBGGR10_1X10;
mf                398 drivers/staging/media/soc_camera/mt9t031.c 	mf->colorspace	= V4L2_COLORSPACE_SRGB;
mf               1170 drivers/staging/media/soc_camera/soc_camera.c 	struct v4l2_mbus_framefmt *mf = &fmt.format;
mf               1202 drivers/staging/media/soc_camera/soc_camera.c 		icd->user_width		= mf->width;
mf               1203 drivers/staging/media/soc_camera/soc_camera.c 		icd->user_height	= mf->height;
mf               1204 drivers/staging/media/soc_camera/soc_camera.c 		icd->colorspace		= mf->colorspace;
mf               1205 drivers/staging/media/soc_camera/soc_camera.c 		icd->field		= mf->field;
mf                384 drivers/staging/media/soc_camera/soc_mediabus.c int soc_mbus_samples_per_pixel(const struct soc_mbus_pixelfmt *mf,
mf                387 drivers/staging/media/soc_camera/soc_mediabus.c 	switch (mf->packing) {
mf                415 drivers/staging/media/soc_camera/soc_mediabus.c s32 soc_mbus_bytes_per_line(u32 width, const struct soc_mbus_pixelfmt *mf)
mf                417 drivers/staging/media/soc_camera/soc_mediabus.c 	if (mf->layout != SOC_MBUS_LAYOUT_PACKED)
mf                418 drivers/staging/media/soc_camera/soc_mediabus.c 		return width * mf->bits_per_sample / 8;
mf                420 drivers/staging/media/soc_camera/soc_mediabus.c 	switch (mf->packing) {
mf                422 drivers/staging/media/soc_camera/soc_mediabus.c 		return width * mf->bits_per_sample / 8;
mf                438 drivers/staging/media/soc_camera/soc_mediabus.c s32 soc_mbus_image_size(const struct soc_mbus_pixelfmt *mf,
mf                441 drivers/staging/media/soc_camera/soc_mediabus.c 	if (mf->layout == SOC_MBUS_LAYOUT_PACKED)
mf                444 drivers/staging/media/soc_camera/soc_mediabus.c 	switch (mf->packing) {
mf                384 drivers/staging/media/soc_camera/soc_mt9v022.c 	struct v4l2_mbus_framefmt *mf = &format->format;
mf                391 drivers/staging/media/soc_camera/soc_mt9v022.c 	mf->width	= mt9v022->rect.width;
mf                392 drivers/staging/media/soc_camera/soc_mt9v022.c 	mf->height	= mt9v022->rect.height;
mf                393 drivers/staging/media/soc_camera/soc_mt9v022.c 	mf->code	= mt9v022->fmt->code;
mf                394 drivers/staging/media/soc_camera/soc_mt9v022.c 	mf->colorspace	= mt9v022->fmt->colorspace;
mf                395 drivers/staging/media/soc_camera/soc_mt9v022.c 	mf->field	= V4L2_FIELD_NONE;
mf                402 drivers/staging/media/soc_camera/soc_mt9v022.c 			 struct v4l2_mbus_framefmt *mf)
mf                411 drivers/staging/media/soc_camera/soc_mt9v022.c 		.r.width = mf->width,
mf                412 drivers/staging/media/soc_camera/soc_mt9v022.c 		.r.height = mf->height,
mf                420 drivers/staging/media/soc_camera/soc_mt9v022.c 	switch (mf->code) {
mf                438 drivers/staging/media/soc_camera/soc_mt9v022.c 		mf->width	= mt9v022->rect.width;
mf                439 drivers/staging/media/soc_camera/soc_mt9v022.c 		mf->height	= mt9v022->rect.height;
mf                441 drivers/staging/media/soc_camera/soc_mt9v022.c 		mf->colorspace	= fmt->colorspace;
mf                451 drivers/staging/media/soc_camera/soc_mt9v022.c 	struct v4l2_mbus_framefmt *mf = &format->format;
mf                455 drivers/staging/media/soc_camera/soc_mt9v022.c 	int align = mf->code == MEDIA_BUS_FMT_SBGGR8_1X8 ||
mf                456 drivers/staging/media/soc_camera/soc_mt9v022.c 		mf->code == MEDIA_BUS_FMT_SBGGR10_1X10;
mf                461 drivers/staging/media/soc_camera/soc_mt9v022.c 	v4l_bound_align_image(&mf->width, MT9V022_MIN_WIDTH,
mf                463 drivers/staging/media/soc_camera/soc_mt9v022.c 		&mf->height, MT9V022_MIN_HEIGHT + mt9v022->y_skip_top,
mf                466 drivers/staging/media/soc_camera/soc_mt9v022.c 	fmt = mt9v022_find_datafmt(mf->code, mt9v022->fmts,
mf                470 drivers/staging/media/soc_camera/soc_mt9v022.c 		mf->code = fmt->code;
mf                473 drivers/staging/media/soc_camera/soc_mt9v022.c 	mf->colorspace	= fmt->colorspace;
mf                476 drivers/staging/media/soc_camera/soc_mt9v022.c 		return mt9v022_s_fmt(sd, fmt, mf);
mf                477 drivers/staging/media/soc_camera/soc_mt9v022.c 	cfg->try_fmt = *mf;
mf                791 drivers/staging/media/soc_camera/soc_ov5642.c 	struct v4l2_mbus_framefmt *mf = &format->format;
mf                794 drivers/staging/media/soc_camera/soc_ov5642.c 	const struct ov5642_datafmt *fmt = ov5642_find_datafmt(mf->code);
mf                799 drivers/staging/media/soc_camera/soc_ov5642.c 	mf->width = priv->crop_rect.width;
mf                800 drivers/staging/media/soc_camera/soc_ov5642.c 	mf->height = priv->crop_rect.height;
mf                805 drivers/staging/media/soc_camera/soc_ov5642.c 		mf->code	= ov5642_colour_fmts[0].code;
mf                806 drivers/staging/media/soc_camera/soc_ov5642.c 		mf->colorspace	= ov5642_colour_fmts[0].colorspace;
mf                809 drivers/staging/media/soc_camera/soc_ov5642.c 	mf->field	= V4L2_FIELD_NONE;
mf                814 drivers/staging/media/soc_camera/soc_ov5642.c 		cfg->try_fmt = *mf;
mf                822 drivers/staging/media/soc_camera/soc_ov5642.c 	struct v4l2_mbus_framefmt *mf = &format->format;
mf                831 drivers/staging/media/soc_camera/soc_ov5642.c 	mf->code	= fmt->code;
mf                832 drivers/staging/media/soc_camera/soc_ov5642.c 	mf->colorspace	= fmt->colorspace;
mf                833 drivers/staging/media/soc_camera/soc_ov5642.c 	mf->width	= priv->crop_rect.width;
mf                834 drivers/staging/media/soc_camera/soc_ov5642.c 	mf->height	= priv->crop_rect.height;
mf                835 drivers/staging/media/soc_camera/soc_ov5642.c 	mf->field	= V4L2_FIELD_NONE;
mf                668 drivers/staging/media/soc_camera/soc_ov9740.c 			struct v4l2_mbus_framefmt *mf)
mf                679 drivers/staging/media/soc_camera/soc_ov9740.c 	ret = ov9740_set_res(client, mf->width, mf->height);
mf                683 drivers/staging/media/soc_camera/soc_ov9740.c 	priv->current_mf = *mf;
mf                691 drivers/staging/media/soc_camera/soc_ov9740.c 	struct v4l2_mbus_framefmt *mf = &format->format;
mf                696 drivers/staging/media/soc_camera/soc_ov9740.c 	ov9740_res_roundup(&mf->width, &mf->height);
mf                698 drivers/staging/media/soc_camera/soc_ov9740.c 	mf->field = V4L2_FIELD_NONE;
mf                699 drivers/staging/media/soc_camera/soc_ov9740.c 	mf->code = MEDIA_BUS_FMT_YUYV8_2X8;
mf                700 drivers/staging/media/soc_camera/soc_ov9740.c 	mf->colorspace = V4L2_COLORSPACE_SRGB;
mf                703 drivers/staging/media/soc_camera/soc_ov9740.c 		return ov9740_s_fmt(sd, mf);
mf                704 drivers/staging/media/soc_camera/soc_ov9740.c 	cfg->try_fmt = *mf;
mf                987 drivers/staging/rtl8712/rtl8712_recv.c 	u8	frag, mf;
mf               1017 drivers/staging/rtl8712/rtl8712_recv.c 		mf = (le32_to_cpu(prxstat->rxdw1) >> 27) & 0x1;
mf               1039 drivers/staging/rtl8712/rtl8712_recv.c 		if ((mf == 1) && (frag == 0))
mf                 63 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c 		pattrib->mfrag = (u8)prxreport->mf;
mf                 44 drivers/staging/rtl8723bs/include/rtl8723b_recv.h 	u32 mf:1;
mf                116 drivers/usb/misc/usbsevseg.c static void update_display_visual(struct usb_sevsegdev *mydev, gfp_t mf)
mf                126 drivers/usb/misc/usbsevseg.c 	buffer = kzalloc(MAXLEN, mf);
mf                128 drivers/video/fbdev/omap2/omapfb/dss/dss.h 	u32 mf;
mf                 45 drivers/video/fbdev/omap2/omapfb/dss/hdmi_pll.c 	unsigned n, m, mf, m2, sd;
mf                 72 drivers/video/fbdev/omap2/omapfb/dss/hdmi_pll.c 		mf = 0;
mf                 74 drivers/video/fbdev/omap2/omapfb/dss/hdmi_pll.c 		mf = (u32)div_u64(262144ull * (target_clkdco - clkdco), fint);
mf                 76 drivers/video/fbdev/omap2/omapfb/dss/hdmi_pll.c 	if (mf > 0)
mf                 77 drivers/video/fbdev/omap2/omapfb/dss/hdmi_pll.c 		clkdco += (u32)div_u64((u64)mf * fint, 262144);
mf                 85 drivers/video/fbdev/omap2/omapfb/dss/hdmi_pll.c 		n, m, mf, m2, sd);
mf                 90 drivers/video/fbdev/omap2/omapfb/dss/hdmi_pll.c 	pi->mf = mf;
mf                362 drivers/video/fbdev/omap2/omapfb/dss/pll.c 	l = FLD_MOD(l, cinfo->mf, 17, 0);	/* PLL_REGM_F */
mf               2208 drivers/video/fbdev/sis/init.c          unsigned short mf = SiS_GetModeFlag(SiS_Pr, ModeNo, ModeIdIndex);
mf               2209 drivers/video/fbdev/sis/init.c 	 if(mf & HalfDCLK) {
mf                 20 include/linux/phy/omap_usb.h 	u32	mf;
mf                 99 include/media/drv-intf/soc_mediabus.h s32 soc_mbus_bytes_per_line(u32 width, const struct soc_mbus_pixelfmt *mf);
mf                100 include/media/drv-intf/soc_mediabus.h s32 soc_mbus_image_size(const struct soc_mbus_pixelfmt *mf,
mf                102 include/media/drv-intf/soc_mediabus.h int soc_mbus_samples_per_pixel(const struct soc_mbus_pixelfmt *mf,