Lines Matching refs:code

36 	u32 code;
131 * @code: media bus format code
136 unsigned int nformats, u32 code)
141 if (code == formats[i].code)
149 static u32 vfe_find_code(u32 *code, unsigned int n_code,
159 if (req_code == code[i])
163 return code[i];
166 return code[0];
435 * Return 0 on success or a negative error code otherwise
531 * Return 0 on success or a negative error code otherwise
565 l->fmt[MSM_VFE_PAD_SINK].code);
613 * or a negative error code otherwise
646 l->fmt[MSM_VFE_PAD_SINK].code);
669 * Return 0 on success or a negative error code otherwise
764 * Return 0 on success or a negative error code otherwise
801 * Return 0 on success or a negative error code otherwise
827 * Return 0 on success or a negative error code otherwise
926 u32 code;
933 if (fmt->code == line->formats[i].code)
938 fmt->code = MEDIA_BUS_FMT_UYVY8_1X16;
950 code = fmt->code;
955 fmt->code = vfe_src_pad_code(line, fmt->code, 0, code);
1058 * @code: pointer to v4l2_subdev_mbus_code_enum structure
1064 struct v4l2_subdev_mbus_code_enum *code)
1068 if (code->pad == MSM_VFE_PAD_SINK) {
1069 if (code->index >= line->nformats)
1072 code->code = line->formats[code->index].code;
1077 code->which);
1079 code->code = vfe_src_pad_code(line, sink_fmt->code,
1080 code->index, 0);
1081 if (!code->code)
1106 format.code = fse->code;
1113 if (format.code != fse->code)
1116 format.code = fse->code;
1346 * Return 0 on success or a negative error code otherwise
1355 .code = MEDIA_BUS_FMT_UYVY8_1X16,
1369 * Return 0 on success or a negative error code otherwise
1627 * Return 0 on success or a negative error code otherwise