Home
last modified time | relevance | path

Searched refs:csis_fmt (Results 1 – 2 of 2) sorted by relevance

/drivers/media/platform/samsung/exynos4-is/
Dmipi-csis.c220 const struct csis_pix_format *csis_fmt; member
339 val = (val & ~S5PCSIS_CFG_FMT_MASK) | state->csis_fmt->fmt_reg; in __s5pcsis_set_format()
367 if (state->csis_fmt->data_alignment == 32) in s5pcsis_set_params()
553 struct csis_pix_format const *csis_fmt; in s5pcsis_try_format() local
555 csis_fmt = find_csis_format(mf); in s5pcsis_try_format()
556 if (csis_fmt == NULL) in s5pcsis_try_format()
557 csis_fmt = &s5pcsis_formats[0]; in s5pcsis_try_format()
559 mf->code = csis_fmt->code; in s5pcsis_try_format()
561 csis_fmt->pix_width_alignment, in s5pcsis_try_format()
564 return csis_fmt; in s5pcsis_try_format()
[all …]
/drivers/media/platform/nxp/
Dimx-mipi-csis.c331 const struct csis_pix_format *csis_fmt; member
586 if (csis->csis_fmt->data_type == MIPI_CSI2_DATA_TYPE_YUV422_8) in __mipi_csis_set_format()
589 val |= MIPI_CSIS_ISPCFG_FMT(csis->csis_fmt->data_type); in __mipi_csis_set_format()
604 csis->csis_fmt->width, in mipi_csis_calculate_params()
1084 struct csis_pix_format const *csis_fmt; in mipi_csis_set_fmt() local
1105 csis_fmt = find_csis_format(sdformat->format.code); in mipi_csis_set_fmt()
1106 if (!csis_fmt) in mipi_csis_set_fmt()
1107 csis_fmt = &mipi_csis_formats[0]; in mipi_csis_set_fmt()
1109 switch (csis_fmt->width % 8) { in mipi_csis_set_fmt()
1136 fmt->code = csis_fmt->code; in mipi_csis_set_fmt()
[all …]