Lines Matching refs:code
138 switch (format->code) {
182 info = omap4iss_video_format_info(format->code);
392 if (fmt->code == ipipeif_fmts[i])
398 fmt->code = MEDIA_BUS_FMT_SGRBG10_1X10;
443 * @code : pointer to v4l2_subdev_mbus_code_enum structure
448 struct v4l2_subdev_mbus_code_enum *code)
453 switch (code->pad) {
455 if (code->index >= ARRAY_SIZE(ipipeif_fmts))
458 code->code = ipipeif_fmts[code->index];
464 if (code->index != 0)
469 code->which);
471 code->code = format->code;
491 format.code = fse->code;
498 if (format.code != fse->code)
501 format.code = fse->code;
591 if (source_fmt->format.code != sink_fmt->format.code)
614 format.format.code = MEDIA_BUS_FMT_SGRBG10_1X10;
730 * Return 0 on success and a negative error code on failure.
807 * Return 0 on success or a negative error code otherwise.
823 * return negative error code or zero on success