Lines Matching refs:cfmt
398 const struct ov772x_color_format *cfmt; member
569 priv->cfmt->code, priv->win->name); in ov772x_s_stream()
681 const struct ov772x_color_format **cfmt, in ov772x_select_params() argument
687 *cfmt = &ov772x_cfmts[0]; in ov772x_select_params()
691 *cfmt = &ov772x_cfmts[i]; in ov772x_select_params()
701 const struct ov772x_color_format *cfmt, in ov772x_set_params() argument
795 val = cfmt->dsp3; in ov772x_set_params()
804 if (cfmt->dsp4) { in ov772x_set_params()
805 ret = ov772x_write(client, DSP_CTRL4, cfmt->dsp4); in ov772x_set_params()
813 val = cfmt->com3; in ov772x_set_params()
829 ret = ov772x_write(client, COM7, win->com7_bit | cfmt->com7); in ov772x_set_params()
886 mf->code = priv->cfmt->code; in ov772x_g_fmt()
887 mf->colorspace = priv->cfmt->colorspace; in ov772x_g_fmt()
896 const struct ov772x_color_format *cfmt; in ov772x_s_fmt() local
900 ov772x_select_params(mf, &cfmt, &win); in ov772x_s_fmt()
902 ret = ov772x_set_params(priv, cfmt, win); in ov772x_s_fmt()
907 priv->cfmt = cfmt; in ov772x_s_fmt()
909 mf->code = cfmt->code; in ov772x_s_fmt()
913 mf->colorspace = cfmt->colorspace; in ov772x_s_fmt()
921 const struct ov772x_color_format *cfmt; in ov772x_try_fmt() local
924 ov772x_select_params(mf, &cfmt, &win); in ov772x_try_fmt()
926 mf->code = cfmt->code; in ov772x_try_fmt()
930 mf->colorspace = cfmt->colorspace; in ov772x_try_fmt()
1087 priv->cfmt = &ov772x_cfmts[0]; in ov772x_probe()