Lines Matching refs:csi_format
496 pll->bits_per_pixel = sensor->csi_format->compressed; in ccs_pll_update()
589 to_csi_format_idx(sensor->csi_format) & ~3; in ccs_update_mbus_formats()
600 sensor->csi_format = in ccs_update_mbus_formats()
1032 sensor->csi_format->compressed - sensor->compressed_min_bpp]; in ccs_init_late_controls()
1036 int max_value = (1 << sensor->csi_format->width) - 1; in ccs_init_late_controls()
1181 if (!sensor->csi_format in ccs_get_mbus_formats()
1182 || f->width > sensor->csi_format->width in ccs_get_mbus_formats()
1183 || (f->width == sensor->csi_format->width in ccs_get_mbus_formats()
1184 && f->compressed > sensor->csi_format->compressed)) { in ccs_get_mbus_formats()
1185 sensor->csi_format = f; in ccs_get_mbus_formats()
1190 if (!sensor->csi_format) { in ccs_get_mbus_formats()
1731 (sensor->csi_format->width << 8) | in ccs_start_streaming()
1732 sensor->csi_format->compressed); in ccs_start_streaming()
2036 return sensor->csi_format->code; in __ccs_get_mbus_code()
2134 return sensor->csi_format; in ccs_validate_csi_data_format()
2142 const struct ccs_csi_data_format *csi_format, in ccs_set_format_source() local
2143 *old_csi_format = sensor->csi_format; in ccs_set_format_source()
2160 csi_format = ccs_validate_csi_data_format(sensor, code); in ccs_set_format_source()
2162 fmt->format.code = csi_format->code; in ccs_set_format_source()
2167 sensor->csi_format = csi_format; in ccs_set_format_source()
2169 if (csi_format->width != old_csi_format->width) in ccs_set_format_source()
2173 (1 << csi_format->width) - 1, 1, 0); in ccs_set_format_source()
2175 if (csi_format->compressed == old_csi_format->compressed) in ccs_set_format_source()
2179 &sensor->valid_link_freqs[sensor->csi_format->compressed in ccs_set_format_source()
3039 sensor->csi_format->code : sensor->internal_csi_format->code; in ccs_init_state()