Lines Matching defs:format
326 * This table MUST contain 4 entries per format, to cover the various flip
602 struct v4l2_mbus_framefmt *format;
605 /* Initialize the format. */
606 format = v4l2_subdev_get_pad_format(sd, state, 0);
607 imx219_update_pad_format(imx219, &supported_modes[0], format,
663 struct v4l2_mbus_framefmt *format;
669 fmt->format.width, fmt->format.height);
671 imx219_update_pad_format(imx219, mode, &fmt->format, fmt->format.code);
673 format = v4l2_subdev_get_pad_format(sd, sd_state, 0);
676 *format = fmt->format;
709 const struct v4l2_mbus_framefmt *format)
711 switch (format->code) {
731 const struct v4l2_mbus_framefmt *format)
737 switch (format->code) {
798 const struct v4l2_mbus_framefmt *format;
830 format = v4l2_subdev_get_pad_format(&imx219->sd, state, 0);
831 ret = imx219_set_framefmt(imx219, format);
833 dev_err(&client->dev, "%s failed to set frame format: %d\n",
838 ret = imx219_set_binning(imx219, format);