Lines Matching refs:code
666 struct v4l2_subdev_mbus_code_enum code = { in mx3_camera_get_formats() local
672 ret = v4l2_subdev_call(sd, pad, enum_mbus_code, NULL, &code); in mx3_camera_get_formats()
677 fmt = soc_mbus_get_fmtdesc(code.code); in mx3_camera_get_formats()
680 "Unsupported format code #%u: 0x%x\n", idx, code.code); in mx3_camera_get_formats()
689 switch (code.code) { in mx3_camera_get_formats()
694 xlate->code = code.code; in mx3_camera_get_formats()
697 mx3_camera_formats[0].name, code.code); in mx3_camera_get_formats()
704 xlate->code = code.code; in mx3_camera_get_formats()
707 mx3_camera_formats[1].name, code.code); in mx3_camera_get_formats()
719 xlate->code = code.code; in mx3_camera_get_formats()
829 if (mf->code != icd->current_fmt->code) in mx3_camera_set_crop()
889 mf->code = xlate->code; in mx3_camera_set_fmt()
895 if (mf->code != xlate->code) in mx3_camera_set_fmt()
947 mf->code = xlate->code; in mx3_camera_try_fmt()
1011 fmt = soc_mbus_get_fmtdesc(icd->current_fmt->code); in mx3_camera_set_bus_param()