Lines Matching defs:code
64 .code = MEDIA_BUS_FMT_YUYV8_2X8,
68 .code = MEDIA_BUS_FMT_UYVY8_2X8,
72 .code = MEDIA_BUS_FMT_YVYU8_2X8,
76 .code = MEDIA_BUS_FMT_VYUY8_2X8,
80 .code = MEDIA_BUS_FMT_SBGGR8_1X8,
84 .code = MEDIA_BUS_FMT_SGBRG8_1X8,
88 .code = MEDIA_BUS_FMT_SGRBG8_1X8,
92 .code = MEDIA_BUS_FMT_SRGGB8_1X8,
96 .code = MEDIA_BUS_FMT_RGB565_2X8_LE,
100 .code = MEDIA_BUS_FMT_RGB565_2X8_BE,
112 unsigned int code)
119 if (fmt->code == code)
155 /* Print Four-character-code (FOURCC) */
158 static char code[5];
160 code[0] = (unsigned char)(fmt & 0xff);
161 code[1] = (unsigned char)((fmt >> 8) & 0xff);
162 code[2] = (unsigned char)((fmt >> 16) & 0xff);
163 code[3] = (unsigned char)((fmt >> 24) & 0xff);
164 code[4] = '\0';
166 return code;
986 fmt = find_format_by_code(vpfe, mbus_fmt.code);
988 vpfe_dbg(3, vpfe, "mbus code format (0x%08x) not found.\n",
989 mbus_fmt.code);
1301 vpfe_dbg(1, vpfe, "%s: %dx%d code:%04X\n", __func__,
1302 fmt->width, fmt->height, fmt->code);
1324 vpfe_dbg(1, vpfe, "%s %dx%d code:%04X\n", __func__,
1325 fmt->width, fmt->height, fmt->code);
1384 vpfe_dbg(1, vpfe, "%s: mbus index: %d code: %x pixelformat: %s\n",
1385 __func__, f->index, fmt->code, print_fourcc(fmt->fourcc));
1402 vpfe_dbg(3, vpfe, "Invalid pixel code: %x, default used instead\n",
1414 fse.code = fmt->code;
1469 v4l2_fill_mbus_format(&mbus_fmt, &fmt->fmt.pix, f->code);
1476 if (mbus_fmt.code != f->code) {
1510 vpfe_dbg(3, vpfe, "Invalid pixel code: %x\n",
1520 fse.code = fmt->code;
1526 vpfe_dbg(1, vpfe, "%s: index: %d code: %x W:[%d,%d] H:[%d,%d]\n",
1527 __func__, fse.index, fse.code, fse.min_width, fse.max_width,
2185 "subdev %s: code: %04x idx: %d\n",
2186 subdev->name, mbus_code.code, j);
2190 if (mbus_code.code != fmt->code)
2194 "matched fourcc: %s code: %04x idx: %d\n",
2195 print_fourcc(fmt->fourcc), mbus_code.code, i);