Lines Matching refs:code
28 /* Print Four-character-code (FOURCC) */
31 static char code[5];
33 code[0] = (unsigned char)(fmt & 0xff);
34 code[1] = (unsigned char)((fmt >> 8) & 0xff);
35 code[2] = (unsigned char)((fmt >> 16) & 0xff);
36 code[3] = (unsigned char)((fmt >> 24) & 0xff);
37 code[4] = '\0';
39 return code;
87 u32 code)
94 if (fmtinfo->code == code)
133 ctx_dbg(1, ctx, "%s %dx%d code:%04X\n", __func__,
134 fmt->width, fmt->height, fmt->code);
155 ctx_dbg(1, ctx, "%s %dx%d code:%04X\n", __func__,
156 fmt->width, fmt->height, fmt->code);
214 fse.code = fmtinfo->code;
274 v4l2_fill_mbus_format(&sd_fmt.format, &f->fmt.pix, fmtinfo->code);
281 if (sd_fmt.format.code != fmtinfo->code) {
317 ctx_dbg(3, ctx, "Invalid pixel code: %x\n",
322 fse.code = fmtinfo->code;
329 ctx_dbg(1, ctx, "%s: index: %d code: %x W:[%d,%d] H:[%d,%d]\n",
330 __func__, fse.index, fse.code, fse.min_width, fse.max_width,
380 fie.code = fmtinfo->code;
449 if (f->mbus_code && cal_formats[i].code != f->mbus_code)
472 * Default to the first format if the requested pixel format code isn't
707 if (ctx->fmtinfo->code != format->code ||
862 "subdev %s: code: %04x idx: %u\n",
863 ctx->phy->source->name, mbus_code.code, j);
868 if (mbus_code.code == fmtinfo->code) {
871 "matched fourcc: %s: code: %04x idx: %u\n",
873 fmtinfo->code, i);
889 fmtinfo = find_format_by_code(ctx, mbus_fmt.code);
891 ctx_dbg(3, ctx, "mbus code format (0x%08x) not found.\n",
892 mbus_fmt.code);