Lines Matching refs:code
371 static void ov9640_alter_regs(u32 code,
374 switch (code) {
396 u32 code, struct ov9640_reg_alt *alts)
440 if (code == MEDIA_BUS_FMT_UYVY8_2X8) {
510 ov9640_alter_regs(mf->code, &alts);
518 return ov9640_write_regs(client, mf->width, mf->code, &alts);
534 switch (mf->code) {
540 mf->code = MEDIA_BUS_FMT_UYVY8_2X8;
555 struct v4l2_subdev_mbus_code_enum *code)
557 if (code->pad || code->index >= ARRAY_SIZE(ov9640_codes))
560 code->code = ov9640_codes[code->index];