Home
last modified time | relevance | path

Searched refs:cal_formats (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/media/platform/ti/cal/
Dcal.c61 const struct cal_format_info cal_formats[] = { variable
133 const unsigned int cal_num_formats = ARRAY_SIZE(cal_formats);
139 for (i = 0; i < ARRAY_SIZE(cal_formats); ++i) { in cal_format_by_fourcc()
140 if (cal_formats[i].fourcc == fourcc) in cal_format_by_fourcc()
141 return &cal_formats[i]; in cal_format_by_fourcc()
151 for (i = 0; i < ARRAY_SIZE(cal_formats); ++i) { in cal_format_by_code()
152 if (cal_formats[i].code == code) in cal_format_by_code()
153 return &cal_formats[i]; in cal_format_by_code()
Dcal-video.c449 if (f->mbus_code && cal_formats[i].code != f->mbus_code) in cal_mc_enum_fmt_vid_cap()
453 f->pixelformat = cal_formats[i].fourcc; in cal_mc_enum_fmt_vid_cap()
477 fmtinfo = &cal_formats[0]; in cal_mc_try_fmt()
866 fmtinfo = &cal_formats[k]; in cal_ctx_v4l2_init_formats()
Dcal.h315 extern const struct cal_format_info cal_formats[];
Dcal-camerarx.c638 code->code = cal_formats[code->index].code; in cal_camerarx_sd_enum_mbus_code()
698 fmtinfo = &cal_formats[0]; in cal_camerarx_sd_set_fmt()