Lines Matching refs:code
56 u32 fourcc; /* Four character code. */
57 u32 code; /* Mbus code. */
115 .code = MEDIA_BUS_FMT_YUYV8_1X16,
121 .code = MEDIA_BUS_FMT_UYVY8_1X16,
127 .code = MEDIA_BUS_FMT_YVYU8_1X16,
133 .code = MEDIA_BUS_FMT_VYUY8_1X16,
139 .code = MEDIA_BUS_FMT_SBGGR8_1X8,
145 .code = MEDIA_BUS_FMT_SGBRG8_1X8,
151 .code = MEDIA_BUS_FMT_SGRBG8_1X8,
157 .code = MEDIA_BUS_FMT_SRGGB8_1X8,
163 .code = MEDIA_BUS_FMT_Y8_1X8,
169 .code = MEDIA_BUS_FMT_SBGGR10_1X10,
175 .code = MEDIA_BUS_FMT_SGBRG10_1X10,
181 .code = MEDIA_BUS_FMT_SGRBG10_1X10,
187 .code = MEDIA_BUS_FMT_SRGGB10_1X10,
193 .code = MEDIA_BUS_FMT_RGB565_1X16,
199 .code = MEDIA_BUS_FMT_RGB888_1X24,
205 .code = MEDIA_BUS_FMT_BGR888_1X24,
230 static const struct ti_csi2rx_fmt *find_format_by_code(u32 code)
235 if (ti_csi2rx_formats[i].code == code)
318 * Default to the first format if the requested pixel format code isn't
947 ti_fmt = find_format_by_code(source_fmt.format.code);
950 source_fmt.format.code);