Lines Matching refs:format
541 const struct v4l2_mbus_framefmt *format;
550 format = v4l2_subdev_get_pad_format(&sensor->subdev, state, 0);
555 vmax = format->height + sensor->vblank->cur.val;
831 const struct v4l2_mbus_framefmt *format;
833 format = v4l2_subdev_get_pad_format(sd, state, fse->pad);
835 if (fse->index > 0 || fse->code != format->code)
849 fmt->format = *v4l2_subdev_get_pad_format(sd, state, fmt->pad);
858 struct v4l2_mbus_framefmt *format;
860 format = v4l2_subdev_get_pad_format(sd, state, fmt->pad);
862 format->width = fmt->format.width;
863 format->height = fmt->format.height;
864 format->code = MEDIA_BUS_FMT_SGBRG10_1X10;
865 format->field = V4L2_FIELD_NONE;
866 format->colorspace = V4L2_COLORSPACE_RAW;
867 format->ycbcr_enc = V4L2_YCBCR_ENC_DEFAULT;
868 format->quantization = V4L2_QUANTIZATION_DEFAULT;
869 format->xfer_func = V4L2_XFER_FUNC_NONE;
871 fmt->format = *format;
897 struct v4l2_subdev_format format = {
898 .format = {
904 imx415_set_format(sd, state, &format);