Lines Matching refs:mbus_code

44 #define ISC_IS_FORMAT_RAW(mbus_code) \  argument
45 (((mbus_code) & 0xf000) == 0x3000)
47 #define ISC_IS_FORMAT_GREY(mbus_code) \ argument
48 (((mbus_code) == MEDIA_BUS_FMT_Y10_1X10) | \
49 (((mbus_code) == MEDIA_BUS_FMT_Y8_1X8)))
149 if (!ISC_IS_FORMAT_RAW(isc->config.sd_format->mbus_code)) { in isc_crop_pfe()
328 ISC_IS_FORMAT_RAW(isc->config.sd_format->mbus_code)) in isc_configure()
383 if (ISC_IS_FORMAT_RAW(isc->config.sd_format->mbus_code)) in isc_start_streaming()
518 if (!ISC_IS_FORMAT_RAW(isc->formats_list[i].mbus_code) || in isc_enum_fmt_vid_cap()
600 if ((bayer) && !ISC_IS_FORMAT_RAW(isc->try_config.sd_format->mbus_code)) in isc_try_validate_formats()
604 if (grey && !ISC_IS_FORMAT_RAW(isc->try_config.sd_format->mbus_code) && in isc_try_validate_formats()
605 !ISC_IS_FORMAT_GREY(isc->try_config.sd_format->mbus_code)) in isc_try_validate_formats()
759 if (ISC_IS_FORMAT_RAW(isc->try_config.sd_format->mbus_code)) { in isc_try_configure_pipeline()
769 if (ISC_IS_FORMAT_RAW(isc->try_config.sd_format->mbus_code)) { in isc_try_configure_pipeline()
780 if (ISC_IS_FORMAT_RAW(isc->try_config.sd_format->mbus_code)) { in isc_try_configure_pipeline()
792 if (ISC_IS_FORMAT_RAW(isc->try_config.sd_format->mbus_code)) { in isc_try_configure_pipeline()
803 if (ISC_IS_FORMAT_RAW(isc->try_config.sd_format->mbus_code)) { in isc_try_configure_pipeline()
812 if (ISC_IS_FORMAT_RAW(isc->try_config.sd_format->mbus_code)) in isc_try_configure_pipeline()
837 fse.code = isc->try_config.sd_format->mbus_code; in isc_try_fse()
868 u32 mbus_code; in isc_try_fmt() local
877 if (ISC_IS_FORMAT_RAW(isc->user_formats[i]->mbus_code)) { in isc_try_fmt()
937 mbus_code = sd_fmt->mbus_code; in isc_try_fmt()
964 v4l2_fill_mbus_format(&format.format, pixfmt, mbus_code); in isc_try_fmt()
984 *code = mbus_code; in isc_try_fmt()
1001 u32 mbus_code = 0; in isc_set_fmt() local
1004 ret = isc_try_fmt(isc, f, &mbus_code); in isc_set_fmt()
1008 v4l2_fill_mbus_format(&format.format, &f->fmt.pix, mbus_code); in isc_set_fmt()
1575 ISC_IS_FORMAT_RAW(isc->config.sd_format->mbus_code)) in isc_s_awb_ctrl()
1765 if (fmt->mbus_code == code) { in find_format_by_code()
1782 struct v4l2_subdev_mbus_code_enum mbus_code = { in isc_formats_init() local
1788 NULL, &mbus_code)) { in isc_formats_init()
1789 mbus_code.index++; in isc_formats_init()
1791 fmt = find_format_by_code(isc, mbus_code.code, &i); in isc_formats_init()
1794 mbus_code.code); in isc_formats_init()