Lines Matching defs:code
585 u32 *code, u32 *fourcc, int pad)
597 if (code && ctx->s_frame.fmt && pad == FIMC_SD_PAD_SOURCE &&
599 *code = ctx->s_frame.fmt->mbus_code;
607 ffmt = fimc_find_format(fourcc, code, mask, 0);
611 if (code)
612 *code = ffmt->mbus_code;
653 dbg("pad%d: code: 0x%x, %dx%d. dst fmt: %dx%d",
654 pad, code ? *code : 0, *width, *height,
806 ffmt = fimc_find_format(NULL, mf->code != 0 ? &mf->code : NULL,
810 * Notify user-space if common pixel code for
815 mf->code = tfmt->code = ffmt->mbus_code;
828 mf->code = tfmt->code;
841 if (mf->code != tfmt->code)
852 mf->code = ffmt->mbus_code;
855 tfmt->code = mf->code;
970 mf->code = (*out_fmt)->mbus_code;
1153 sink_fmt.format.code = ff->fmt ? ff->fmt->mbus_code : 0;
1172 src_fmt.format.code != sink_fmt.format.code)
1176 fimc_user_defined_mbus_fmt(src_fmt.format.code)) {
1486 struct v4l2_subdev_mbus_code_enum *code)
1490 fmt = fimc_find_format(NULL, NULL, FMT_FLAGS_CAM, code->index);
1493 code->code = fmt->mbus_code;
1518 mf->code = ff->fmt->mbus_code;
1549 dbg("pad%d: code: 0x%x, %dx%d",
1550 fmt->pad, mf->code, mf->width, mf->height);
1557 &mf->code, NULL, fmt->pad);
1796 vid_cap->ci_fmt.code = fmt->mbus_code;
1804 vid_cap->wb_fmt.code = fmt->mbus_code;