Searched refs:cfmt (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/media/i2c/soc_camera/
H A Dov772x.c398 const struct ov772x_color_format *cfmt; member in struct:ov772x_priv
569 priv->cfmt->code, priv->win->name); ov772x_s_stream()
681 const struct ov772x_color_format **cfmt, ov772x_select_params()
687 *cfmt = &ov772x_cfmts[0]; ov772x_select_params()
691 *cfmt = &ov772x_cfmts[i]; ov772x_select_params()
701 const struct ov772x_color_format *cfmt, ov772x_set_params()
795 val = cfmt->dsp3; ov772x_set_params()
804 if (cfmt->dsp4) { ov772x_set_params()
805 ret = ov772x_write(client, DSP_CTRL4, cfmt->dsp4); ov772x_set_params()
813 val = cfmt->com3; ov772x_set_params()
829 ret = ov772x_write(client, COM7, win->com7_bit | cfmt->com7); ov772x_set_params()
886 mf->code = priv->cfmt->code; ov772x_g_fmt()
887 mf->colorspace = priv->cfmt->colorspace; ov772x_g_fmt()
896 const struct ov772x_color_format *cfmt; ov772x_s_fmt() local
900 ov772x_select_params(mf, &cfmt, &win); ov772x_s_fmt()
902 ret = ov772x_set_params(priv, cfmt, win); ov772x_s_fmt()
907 priv->cfmt = cfmt; ov772x_s_fmt()
909 mf->code = cfmt->code; ov772x_s_fmt()
913 mf->colorspace = cfmt->colorspace; ov772x_s_fmt()
921 const struct ov772x_color_format *cfmt; ov772x_try_fmt() local
924 ov772x_select_params(mf, &cfmt, &win); ov772x_try_fmt()
926 mf->code = cfmt->code; ov772x_try_fmt()
930 mf->colorspace = cfmt->colorspace; ov772x_try_fmt()
1087 priv->cfmt = &ov772x_cfmts[0]; ov772x_probe()
680 ov772x_select_params(const struct v4l2_mbus_framefmt *mf, const struct ov772x_color_format **cfmt, const struct ov772x_win_size **win) ov772x_select_params() argument
700 ov772x_set_params(struct ov772x_priv *priv, const struct ov772x_color_format *cfmt, const struct ov772x_win_size *win) ov772x_set_params() argument
H A Dov2640.c786 dev_dbg(&client->dev, "%s: Selected cfmt RGB565 BE", __func__); ov2640_set_params()
790 dev_dbg(&client->dev, "%s: Selected cfmt RGB565 LE", __func__); ov2640_set_params()
794 dev_dbg(&client->dev, "%s: Selected cfmt YUYV (YUV422)", __func__); ov2640_set_params()
799 dev_dbg(&client->dev, "%s: Selected cfmt UYVY", __func__); ov2640_set_params()
823 /* cfmt preamble */ ov2640_set_params()
824 dev_dbg(&client->dev, "%s: Set cfmt", __func__); ov2640_set_params()
829 /* set cfmt */ ov2640_set_params()

Completed in 88 milliseconds