Lines Matching refs:s5k5baf_formats
333 static const struct s5k5baf_pixfmt s5k5baf_formats[] = { variable
746 for (i = 0; i < ARRAY_SIZE(s5k5baf_formats); i++) { in s5k5baf_find_pixfmt()
747 if (mf->colorspace != s5k5baf_formats[i].colorspace) in s5k5baf_find_pixfmt()
749 if (mf->code == s5k5baf_formats[i].code) in s5k5baf_find_pixfmt()
919 u16 reg_fmt = s5k5baf_formats[state->pixfmt].reg_p_fmt; in s5k5baf_hw_set_config()
1216 if (code->index >= ARRAY_SIZE(s5k5baf_formats)) in s5k5baf_enum_mbus_code()
1219 code->code = s5k5baf_formats[code->index].code; in s5k5baf_enum_mbus_code()
1241 i = ARRAY_SIZE(s5k5baf_formats); in s5k5baf_enum_frame_size()
1243 if (fse->code == s5k5baf_formats[i].code) in s5k5baf_enum_frame_size()
1245 fse->code = s5k5baf_formats[i].code; in s5k5baf_enum_frame_size()
1274 mf->colorspace = s5k5baf_formats[pixfmt].colorspace; in s5k5baf_try_isp_format()
1275 mf->code = s5k5baf_formats[pixfmt].code; in s5k5baf_try_isp_format()
1301 pixfmt = &s5k5baf_formats[state->pixfmt]; in s5k5baf_get_fmt()
1339 pixfmt = &s5k5baf_formats[state->pixfmt]; in s5k5baf_set_fmt()
1713 mf->colorspace = s5k5baf_formats[0].colorspace; in s5k5baf_open()
1714 mf->code = s5k5baf_formats[0].code; in s5k5baf_open()