Lines Matching defs:code
109 .code = MEDIA_BUS_FMT_UYVY8_2X8,
163 * Only list the media bus code here. The image sizes are freely configurable
171 u32 code;
174 .code = MEDIA_BUS_FMT_UYVY8_2X8,
177 .code = MEDIA_BUS_FMT_YUYV8_2X8,
180 .code = MEDIA_BUS_FMT_VYUY8_2X8,
183 .code = MEDIA_BUS_FMT_YVYU8_2X8,
564 switch (mt9v111->fmt.code) {
814 struct v4l2_subdev_mbus_code_enum *code)
816 if (code->pad || code->index > ARRAY_SIZE(mt9v111_formats) - 1)
819 code->code = mt9v111_formats[code->index].code;
902 /* Update mbus format code and sizes. */
904 if (format->format.code == mt9v111_formats[i].code) {
905 new_fmt.code = mt9v111_formats[i].code;
910 new_fmt.code = mt9v111_formats[0].code;
933 if (__fmt->code == new_fmt.code &&
939 __fmt->code = new_fmt.code;
947 __func__, __fmt->code, __fmt->width, __fmt->height);