sdformat 347 drivers/media/i2c/adv748x/adv748x-afe.c struct v4l2_subdev_format *sdformat) sdformat 353 drivers/media/i2c/adv748x/adv748x-afe.c if (sdformat->pad != ADV748X_AFE_SOURCE) sdformat 356 drivers/media/i2c/adv748x/adv748x-afe.c if (sdformat->which == V4L2_SUBDEV_FORMAT_TRY) { sdformat 357 drivers/media/i2c/adv748x/adv748x-afe.c mbusformat = v4l2_subdev_get_try_format(sd, cfg, sdformat->pad); sdformat 358 drivers/media/i2c/adv748x/adv748x-afe.c sdformat->format = *mbusformat; sdformat 360 drivers/media/i2c/adv748x/adv748x-afe.c adv748x_afe_fill_format(afe, &sdformat->format); sdformat 369 drivers/media/i2c/adv748x/adv748x-afe.c struct v4l2_subdev_format *sdformat) sdformat 374 drivers/media/i2c/adv748x/adv748x-afe.c if (sdformat->pad != ADV748X_AFE_SOURCE) sdformat 377 drivers/media/i2c/adv748x/adv748x-afe.c if (sdformat->which == V4L2_SUBDEV_FORMAT_ACTIVE) sdformat 378 drivers/media/i2c/adv748x/adv748x-afe.c return adv748x_afe_get_format(sd, cfg, sdformat); sdformat 380 drivers/media/i2c/adv748x/adv748x-afe.c mbusformat = v4l2_subdev_get_try_format(sd, cfg, sdformat->pad); sdformat 381 drivers/media/i2c/adv748x/adv748x-afe.c *mbusformat = sdformat->format; sdformat 158 drivers/media/i2c/adv748x/adv748x-csi2.c struct v4l2_subdev_format *sdformat) sdformat 164 drivers/media/i2c/adv748x/adv748x-csi2.c mbusformat = adv748x_csi2_get_pad_format(sd, cfg, sdformat->pad, sdformat 165 drivers/media/i2c/adv748x/adv748x-csi2.c sdformat->which); sdformat 171 drivers/media/i2c/adv748x/adv748x-csi2.c sdformat->format = *mbusformat; sdformat 180 drivers/media/i2c/adv748x/adv748x-csi2.c struct v4l2_subdev_format *sdformat) sdformat 187 drivers/media/i2c/adv748x/adv748x-csi2.c mbusformat = adv748x_csi2_get_pad_format(sd, cfg, sdformat->pad, sdformat 188 drivers/media/i2c/adv748x/adv748x-csi2.c sdformat->which); sdformat 194 drivers/media/i2c/adv748x/adv748x-csi2.c if (sdformat->pad == ADV748X_CSI2_SOURCE) { sdformat 199 drivers/media/i2c/adv748x/adv748x-csi2.c sdformat->which); sdformat 206 drivers/media/i2c/adv748x/adv748x-csi2.c sdformat->format = *sink_fmt; sdformat 209 drivers/media/i2c/adv748x/adv748x-csi2.c *mbusformat = sdformat->format; sdformat 425 drivers/media/i2c/adv748x/adv748x-hdmi.c struct v4l2_subdev_format *sdformat) sdformat 430 drivers/media/i2c/adv748x/adv748x-hdmi.c if (sdformat->pad != ADV748X_HDMI_SOURCE) sdformat 433 drivers/media/i2c/adv748x/adv748x-hdmi.c if (sdformat->which == V4L2_SUBDEV_FORMAT_TRY) { sdformat 434 drivers/media/i2c/adv748x/adv748x-hdmi.c mbusformat = v4l2_subdev_get_try_format(sd, cfg, sdformat->pad); sdformat 435 drivers/media/i2c/adv748x/adv748x-hdmi.c sdformat->format = *mbusformat; sdformat 437 drivers/media/i2c/adv748x/adv748x-hdmi.c adv748x_hdmi_fill_format(hdmi, &sdformat->format); sdformat 446 drivers/media/i2c/adv748x/adv748x-hdmi.c struct v4l2_subdev_format *sdformat) sdformat 450 drivers/media/i2c/adv748x/adv748x-hdmi.c if (sdformat->pad != ADV748X_HDMI_SOURCE) sdformat 453 drivers/media/i2c/adv748x/adv748x-hdmi.c if (sdformat->which == V4L2_SUBDEV_FORMAT_ACTIVE) sdformat 454 drivers/media/i2c/adv748x/adv748x-hdmi.c return adv748x_hdmi_get_format(sd, cfg, sdformat); sdformat 456 drivers/media/i2c/adv748x/adv748x-hdmi.c mbusformat = v4l2_subdev_get_try_format(sd, cfg, sdformat->pad); sdformat 457 drivers/media/i2c/adv748x/adv748x-hdmi.c *mbusformat = sdformat->format; sdformat 151 drivers/media/platform/video-mux.c struct v4l2_subdev_format *sdformat) sdformat 157 drivers/media/platform/video-mux.c sdformat->format = *__video_mux_get_pad_format(sd, cfg, sdformat->pad, sdformat 158 drivers/media/platform/video-mux.c sdformat->which); sdformat 167 drivers/media/platform/video-mux.c struct v4l2_subdev_format *sdformat) sdformat 171 drivers/media/platform/video-mux.c struct media_pad *pad = &vmux->pads[sdformat->pad]; sdformat 174 drivers/media/platform/video-mux.c mbusformat = __video_mux_get_pad_format(sd, cfg, sdformat->pad, sdformat 175 drivers/media/platform/video-mux.c sdformat->which); sdformat 180 drivers/media/platform/video-mux.c sdformat->which); sdformat 185 drivers/media/platform/video-mux.c v4l_bound_align_image(&sdformat->format.width, 1, 65536, 0, sdformat 186 drivers/media/platform/video-mux.c &sdformat->format.height, 1, 65536, 0, 0); sdformat 189 drivers/media/platform/video-mux.c switch (sdformat->format.code) { sdformat 280 drivers/media/platform/video-mux.c sdformat->format.code = MEDIA_BUS_FMT_Y8_1X8; sdformat 283 drivers/media/platform/video-mux.c if (sdformat->format.field == V4L2_FIELD_ANY) sdformat 284 drivers/media/platform/video-mux.c sdformat->format.field = V4L2_FIELD_NONE; sdformat 290 drivers/media/platform/video-mux.c sdformat->format = vmux->format_mbus[vmux->active]; sdformat 292 drivers/media/platform/video-mux.c *mbusformat = sdformat->format; sdformat 296 drivers/media/platform/video-mux.c *source_mbusformat = sdformat->format; sdformat 131 drivers/staging/media/imx/imx-ic-prp.c struct v4l2_subdev_format *sdformat) sdformat 137 drivers/staging/media/imx/imx-ic-prp.c if (sdformat->pad >= PRP_NUM_PADS) sdformat 142 drivers/staging/media/imx/imx-ic-prp.c fmt = __prp_get_fmt(priv, cfg, sdformat->pad, sdformat->which); sdformat 148 drivers/staging/media/imx/imx-ic-prp.c sdformat->format = *fmt; sdformat 156 drivers/staging/media/imx/imx-ic-prp.c struct v4l2_subdev_format *sdformat) sdformat 164 drivers/staging/media/imx/imx-ic-prp.c if (sdformat->pad >= PRP_NUM_PADS) sdformat 174 drivers/staging/media/imx/imx-ic-prp.c infmt = __prp_get_fmt(priv, cfg, PRP_SINK_PAD, sdformat->which); sdformat 176 drivers/staging/media/imx/imx-ic-prp.c switch (sdformat->pad) { sdformat 178 drivers/staging/media/imx/imx-ic-prp.c v4l_bound_align_image(&sdformat->format.width, MIN_W, MAX_W, sdformat 179 drivers/staging/media/imx/imx-ic-prp.c W_ALIGN, &sdformat->format.height, sdformat 182 drivers/staging/media/imx/imx-ic-prp.c cc = imx_media_find_ipu_format(sdformat->format.code, sdformat 187 drivers/staging/media/imx/imx-ic-prp.c sdformat->format.code = cc->codes[0]; sdformat 190 drivers/staging/media/imx/imx-ic-prp.c if (sdformat->format.field == V4L2_FIELD_ANY) sdformat 191 drivers/staging/media/imx/imx-ic-prp.c sdformat->format.field = V4L2_FIELD_NONE; sdformat 196 drivers/staging/media/imx/imx-ic-prp.c sdformat->format = *infmt; sdformat 200 drivers/staging/media/imx/imx-ic-prp.c imx_media_try_colorimetry(&sdformat->format, true); sdformat 202 drivers/staging/media/imx/imx-ic-prp.c fmt = __prp_get_fmt(priv, cfg, sdformat->pad, sdformat->which); sdformat 203 drivers/staging/media/imx/imx-ic-prp.c *fmt = sdformat->format; sdformat 858 drivers/staging/media/imx/imx-ic-prpencvf.c struct v4l2_subdev_format *sdformat) sdformat 864 drivers/staging/media/imx/imx-ic-prpencvf.c if (sdformat->pad >= PRPENCVF_NUM_PADS) sdformat 869 drivers/staging/media/imx/imx-ic-prpencvf.c fmt = __prp_get_fmt(priv, cfg, sdformat->pad, sdformat->which); sdformat 875 drivers/staging/media/imx/imx-ic-prpencvf.c sdformat->format = *fmt; sdformat 883 drivers/staging/media/imx/imx-ic-prpencvf.c struct v4l2_subdev_format *sdformat, sdformat 888 drivers/staging/media/imx/imx-ic-prpencvf.c *cc = imx_media_find_ipu_format(sdformat->format.code, CS_SEL_ANY); sdformat 894 drivers/staging/media/imx/imx-ic-prpencvf.c sdformat->format.code = (*cc)->codes[0]; sdformat 897 drivers/staging/media/imx/imx-ic-prpencvf.c infmt = __prp_get_fmt(priv, cfg, PRPENCVF_SINK_PAD, sdformat->which); sdformat 899 drivers/staging/media/imx/imx-ic-prpencvf.c if (sdformat->pad == PRPENCVF_SRC_PAD) { sdformat 900 drivers/staging/media/imx/imx-ic-prpencvf.c sdformat->format.field = infmt->field; sdformat 902 drivers/staging/media/imx/imx-ic-prpencvf.c prp_bound_align_output(&sdformat->format, infmt, sdformat 906 drivers/staging/media/imx/imx-ic-prpencvf.c sdformat->format.colorspace = infmt->colorspace; sdformat 907 drivers/staging/media/imx/imx-ic-prpencvf.c sdformat->format.xfer_func = infmt->xfer_func; sdformat 909 drivers/staging/media/imx/imx-ic-prpencvf.c v4l_bound_align_image(&sdformat->format.width, sdformat 911 drivers/staging/media/imx/imx-ic-prpencvf.c &sdformat->format.height, sdformat 915 drivers/staging/media/imx/imx-ic-prpencvf.c if (sdformat->format.field == V4L2_FIELD_ANY) sdformat 916 drivers/staging/media/imx/imx-ic-prpencvf.c sdformat->format.field = V4L2_FIELD_NONE; sdformat 919 drivers/staging/media/imx/imx-ic-prpencvf.c imx_media_try_colorimetry(&sdformat->format, true); sdformat 924 drivers/staging/media/imx/imx-ic-prpencvf.c struct v4l2_subdev_format *sdformat) sdformat 931 drivers/staging/media/imx/imx-ic-prpencvf.c if (sdformat->pad >= PRPENCVF_NUM_PADS) sdformat 941 drivers/staging/media/imx/imx-ic-prpencvf.c prp_try_fmt(priv, cfg, sdformat, &cc); sdformat 943 drivers/staging/media/imx/imx-ic-prpencvf.c fmt = __prp_get_fmt(priv, cfg, sdformat->pad, sdformat->which); sdformat 944 drivers/staging/media/imx/imx-ic-prpencvf.c *fmt = sdformat->format; sdformat 947 drivers/staging/media/imx/imx-ic-prpencvf.c if (sdformat->pad == PRPENCVF_SINK_PAD) { sdformat 953 drivers/staging/media/imx/imx-ic-prpencvf.c format.which = sdformat->which; sdformat 954 drivers/staging/media/imx/imx-ic-prpencvf.c format.format = sdformat->format; sdformat 958 drivers/staging/media/imx/imx-ic-prpencvf.c sdformat->which); sdformat 960 drivers/staging/media/imx/imx-ic-prpencvf.c if (sdformat->which == V4L2_SUBDEV_FORMAT_ACTIVE) sdformat 964 drivers/staging/media/imx/imx-ic-prpencvf.c if (sdformat->which == V4L2_SUBDEV_FORMAT_ACTIVE) sdformat 965 drivers/staging/media/imx/imx-ic-prpencvf.c priv->cc[sdformat->pad] = cc; sdformat 1346 drivers/staging/media/imx/imx-media-csi.c struct v4l2_subdev_format *sdformat) sdformat 1352 drivers/staging/media/imx/imx-media-csi.c if (sdformat->pad >= CSI_NUM_PADS) sdformat 1357 drivers/staging/media/imx/imx-media-csi.c fmt = __csi_get_fmt(priv, cfg, sdformat->pad, sdformat->which); sdformat 1363 drivers/staging/media/imx/imx-media-csi.c sdformat->format = *fmt; sdformat 1371 drivers/staging/media/imx/imx-media-csi.c struct v4l2_subdev_format *sdformat) sdformat 1374 drivers/staging/media/imx/imx-media-csi.c __csi_get_fmt(priv, cfg, CSI_SINK_PAD, sdformat->which); sdformat 1380 drivers/staging/media/imx/imx-media-csi.c if (sdformat->pad == CSI_SINK_PAD) { sdformat 1381 drivers/staging/media/imx/imx-media-csi.c if (sdformat->format.field == V4L2_FIELD_ANY) sdformat 1382 drivers/staging/media/imx/imx-media-csi.c sdformat->format.field = V4L2_FIELD_NONE; sdformat 1394 drivers/staging/media/imx/imx-media-csi.c if (!V4L2_FIELD_IS_SEQUENTIAL(sdformat->format.field)) sdformat 1395 drivers/staging/media/imx/imx-media-csi.c sdformat->format.field = infmt->field; sdformat 1407 drivers/staging/media/imx/imx-media-csi.c if (!V4L2_FIELD_IS_SEQUENTIAL(sdformat->format.field)) sdformat 1408 drivers/staging/media/imx/imx-media-csi.c sdformat->format.field = (infmt->height == 480 / 2) ? sdformat 1413 drivers/staging/media/imx/imx-media-csi.c sdformat->format.field = infmt->field; sdformat 1421 drivers/staging/media/imx/imx-media-csi.c struct v4l2_subdev_format *sdformat, sdformat 1430 drivers/staging/media/imx/imx-media-csi.c infmt = __csi_get_fmt(priv, cfg, CSI_SINK_PAD, sdformat->which); sdformat 1432 drivers/staging/media/imx/imx-media-csi.c switch (sdformat->pad) { sdformat 1438 drivers/staging/media/imx/imx-media-csi.c sdformat->format.width = compose->width; sdformat 1439 drivers/staging/media/imx/imx-media-csi.c sdformat->format.height = compose->height; sdformat 1442 drivers/staging/media/imx/imx-media-csi.c sdformat->format.code = infmt->code; sdformat 1448 drivers/staging/media/imx/imx-media-csi.c *cc = imx_media_find_ipu_format(sdformat->format.code, sdformat 1453 drivers/staging/media/imx/imx-media-csi.c sdformat->format.code = (*cc)->codes[0]; sdformat 1457 drivers/staging/media/imx/imx-media-csi.c csi_try_field(priv, cfg, sdformat); sdformat 1460 drivers/staging/media/imx/imx-media-csi.c sdformat->format.colorspace = infmt->colorspace; sdformat 1461 drivers/staging/media/imx/imx-media-csi.c sdformat->format.xfer_func = infmt->xfer_func; sdformat 1465 drivers/staging/media/imx/imx-media-csi.c v4l_bound_align_image(&sdformat->format.width, MIN_W, MAX_W, sdformat 1466 drivers/staging/media/imx/imx-media-csi.c W_ALIGN, &sdformat->format.height, sdformat 1469 drivers/staging/media/imx/imx-media-csi.c *cc = imx_media_find_mbus_format(sdformat->format.code, sdformat 1476 drivers/staging/media/imx/imx-media-csi.c sdformat->format.code = (*cc)->codes[0]; sdformat 1479 drivers/staging/media/imx/imx-media-csi.c csi_try_field(priv, cfg, sdformat); sdformat 1484 drivers/staging/media/imx/imx-media-csi.c crop->width = sdformat->format.width; sdformat 1485 drivers/staging/media/imx/imx-media-csi.c crop->height = sdformat->format.height; sdformat 1486 drivers/staging/media/imx/imx-media-csi.c if (sdformat->format.field == V4L2_FIELD_ALTERNATE) sdformat 1488 drivers/staging/media/imx/imx-media-csi.c csi_try_crop(priv, crop, cfg, &sdformat->format, upstream_ep); sdformat 1497 drivers/staging/media/imx/imx-media-csi.c imx_media_try_colorimetry(&sdformat->format, sdformat 1503 drivers/staging/media/imx/imx-media-csi.c struct v4l2_subdev_format *sdformat) sdformat 1512 drivers/staging/media/imx/imx-media-csi.c if (sdformat->pad >= CSI_NUM_PADS) sdformat 1528 drivers/staging/media/imx/imx-media-csi.c crop = __csi_get_crop(priv, cfg, sdformat->which); sdformat 1529 drivers/staging/media/imx/imx-media-csi.c compose = __csi_get_compose(priv, cfg, sdformat->which); sdformat 1531 drivers/staging/media/imx/imx-media-csi.c csi_try_fmt(priv, &upstream_ep, cfg, sdformat, crop, compose, &cc); sdformat 1533 drivers/staging/media/imx/imx-media-csi.c fmt = __csi_get_fmt(priv, cfg, sdformat->pad, sdformat->which); sdformat 1534 drivers/staging/media/imx/imx-media-csi.c *fmt = sdformat->format; sdformat 1536 drivers/staging/media/imx/imx-media-csi.c if (sdformat->pad == CSI_SINK_PAD) { sdformat 1546 drivers/staging/media/imx/imx-media-csi.c format.which = sdformat->which; sdformat 1547 drivers/staging/media/imx/imx-media-csi.c format.format = sdformat->format; sdformat 1551 drivers/staging/media/imx/imx-media-csi.c outfmt = __csi_get_fmt(priv, cfg, pad, sdformat->which); sdformat 1554 drivers/staging/media/imx/imx-media-csi.c if (sdformat->which == V4L2_SUBDEV_FORMAT_ACTIVE) sdformat 1559 drivers/staging/media/imx/imx-media-csi.c if (sdformat->which == V4L2_SUBDEV_FORMAT_ACTIVE) sdformat 1560 drivers/staging/media/imx/imx-media-csi.c priv->cc[sdformat->pad] = cc; sdformat 556 drivers/staging/media/imx/imx-media-vdic.c struct v4l2_subdev_format *sdformat) sdformat 562 drivers/staging/media/imx/imx-media-vdic.c if (sdformat->pad >= VDIC_NUM_PADS) sdformat 567 drivers/staging/media/imx/imx-media-vdic.c fmt = __vdic_get_fmt(priv, cfg, sdformat->pad, sdformat->which); sdformat 573 drivers/staging/media/imx/imx-media-vdic.c sdformat->format = *fmt; sdformat 581 drivers/staging/media/imx/imx-media-vdic.c struct v4l2_subdev_format *sdformat, sdformat 586 drivers/staging/media/imx/imx-media-vdic.c *cc = imx_media_find_ipu_format(sdformat->format.code, CS_SEL_YUV); sdformat 592 drivers/staging/media/imx/imx-media-vdic.c sdformat->format.code = (*cc)->codes[0]; sdformat 596 drivers/staging/media/imx/imx-media-vdic.c sdformat->which); sdformat 598 drivers/staging/media/imx/imx-media-vdic.c switch (sdformat->pad) { sdformat 600 drivers/staging/media/imx/imx-media-vdic.c sdformat->format = *infmt; sdformat 602 drivers/staging/media/imx/imx-media-vdic.c sdformat->format.field = V4L2_FIELD_NONE; sdformat 606 drivers/staging/media/imx/imx-media-vdic.c v4l_bound_align_image(&sdformat->format.width, sdformat 608 drivers/staging/media/imx/imx-media-vdic.c &sdformat->format.height, sdformat 612 drivers/staging/media/imx/imx-media-vdic.c if (!V4L2_FIELD_HAS_BOTH(sdformat->format.field)) sdformat 613 drivers/staging/media/imx/imx-media-vdic.c sdformat->format.field = V4L2_FIELD_SEQ_TB; sdformat 617 drivers/staging/media/imx/imx-media-vdic.c imx_media_try_colorimetry(&sdformat->format, true); sdformat 622 drivers/staging/media/imx/imx-media-vdic.c struct v4l2_subdev_format *sdformat) sdformat 629 drivers/staging/media/imx/imx-media-vdic.c if (sdformat->pad >= VDIC_NUM_PADS) sdformat 639 drivers/staging/media/imx/imx-media-vdic.c vdic_try_fmt(priv, cfg, sdformat, &cc); sdformat 641 drivers/staging/media/imx/imx-media-vdic.c fmt = __vdic_get_fmt(priv, cfg, sdformat->pad, sdformat->which); sdformat 642 drivers/staging/media/imx/imx-media-vdic.c *fmt = sdformat->format; sdformat 645 drivers/staging/media/imx/imx-media-vdic.c if (sdformat->pad == VDIC_SINK_PAD_DIRECT || sdformat 646 drivers/staging/media/imx/imx-media-vdic.c sdformat->pad == VDIC_SINK_PAD_IDMAC) { sdformat 652 drivers/staging/media/imx/imx-media-vdic.c format.which = sdformat->which; sdformat 653 drivers/staging/media/imx/imx-media-vdic.c format.format = sdformat->format; sdformat 657 drivers/staging/media/imx/imx-media-vdic.c sdformat->which); sdformat 659 drivers/staging/media/imx/imx-media-vdic.c if (sdformat->which == V4L2_SUBDEV_FORMAT_ACTIVE) sdformat 663 drivers/staging/media/imx/imx-media-vdic.c if (sdformat->which == V4L2_SUBDEV_FORMAT_ACTIVE) sdformat 664 drivers/staging/media/imx/imx-media-vdic.c priv->cc[sdformat->pad] = cc; sdformat 454 drivers/staging/media/imx/imx6-mipi-csi2.c struct v4l2_subdev_format *sdformat) sdformat 461 drivers/staging/media/imx/imx6-mipi-csi2.c fmt = __csi2_get_fmt(csi2, cfg, sdformat->pad, sdformat->which); sdformat 463 drivers/staging/media/imx/imx6-mipi-csi2.c sdformat->format = *fmt; sdformat 472 drivers/staging/media/imx/imx6-mipi-csi2.c struct v4l2_subdev_format *sdformat) sdformat 478 drivers/staging/media/imx/imx6-mipi-csi2.c if (sdformat->pad >= CSI2_NUM_PADS) sdformat 489 drivers/staging/media/imx/imx6-mipi-csi2.c if (sdformat->pad != CSI2_SINK_PAD) sdformat 490 drivers/staging/media/imx/imx6-mipi-csi2.c sdformat->format = csi2->format_mbus; sdformat 492 drivers/staging/media/imx/imx6-mipi-csi2.c fmt = __csi2_get_fmt(csi2, cfg, sdformat->pad, sdformat->which); sdformat 494 drivers/staging/media/imx/imx6-mipi-csi2.c *fmt = sdformat->format; sdformat 968 drivers/staging/media/imx/imx7-media-csi.c struct v4l2_subdev_format *sdformat) sdformat 976 drivers/staging/media/imx/imx7-media-csi.c fmt = imx7_csi_get_format(csi, cfg, sdformat->pad, sdformat->which); sdformat 982 drivers/staging/media/imx/imx7-media-csi.c sdformat->format = *fmt; sdformat 992 drivers/staging/media/imx/imx7-media-csi.c struct v4l2_subdev_format *sdformat, sdformat 1000 drivers/staging/media/imx/imx7-media-csi.c sdformat->which); sdformat 1004 drivers/staging/media/imx/imx7-media-csi.c switch (sdformat->pad) { sdformat 1009 drivers/staging/media/imx/imx7-media-csi.c sdformat->format.width = in_fmt->width; sdformat 1010 drivers/staging/media/imx/imx7-media-csi.c sdformat->format.height = in_fmt->height; sdformat 1011 drivers/staging/media/imx/imx7-media-csi.c sdformat->format.code = in_fmt->code; sdformat 1012 drivers/staging/media/imx/imx7-media-csi.c sdformat->format.field = in_fmt->field; sdformat 1015 drivers/staging/media/imx/imx7-media-csi.c sdformat->format.colorspace = in_fmt->colorspace; sdformat 1016 drivers/staging/media/imx/imx7-media-csi.c sdformat->format.xfer_func = in_fmt->xfer_func; sdformat 1019 drivers/staging/media/imx/imx7-media-csi.c *cc = imx_media_find_mbus_format(sdformat->format.code, sdformat 1025 drivers/staging/media/imx/imx7-media-csi.c sdformat->format.code = (*cc)->codes[0]; sdformat 1028 drivers/staging/media/imx/imx7-media-csi.c if (sdformat->format.field != V4L2_FIELD_INTERLACED) sdformat 1029 drivers/staging/media/imx/imx7-media-csi.c sdformat->format.field = V4L2_FIELD_NONE; sdformat 1035 drivers/staging/media/imx/imx7-media-csi.c imx_media_try_colorimetry(&sdformat->format, false); sdformat 1042 drivers/staging/media/imx/imx7-media-csi.c struct v4l2_subdev_format *sdformat) sdformat 1052 drivers/staging/media/imx/imx7-media-csi.c if (sdformat->pad >= IMX7_CSI_PADS_NUM) sdformat 1062 drivers/staging/media/imx/imx7-media-csi.c ret = imx7_csi_try_fmt(csi, cfg, sdformat, &cc); sdformat 1066 drivers/staging/media/imx/imx7-media-csi.c fmt = imx7_csi_get_format(csi, cfg, sdformat->pad, sdformat->which); sdformat 1072 drivers/staging/media/imx/imx7-media-csi.c *fmt = sdformat->format; sdformat 1074 drivers/staging/media/imx/imx7-media-csi.c if (sdformat->pad == IMX7_CSI_PAD_SINK) { sdformat 1077 drivers/staging/media/imx/imx7-media-csi.c format.which = sdformat->which; sdformat 1078 drivers/staging/media/imx/imx7-media-csi.c format.format = sdformat->format; sdformat 1084 drivers/staging/media/imx/imx7-media-csi.c sdformat->which); sdformat 1087 drivers/staging/media/imx/imx7-media-csi.c if (sdformat->which == V4L2_SUBDEV_FORMAT_ACTIVE) sdformat 1091 drivers/staging/media/imx/imx7-media-csi.c if (sdformat->which == V4L2_SUBDEV_FORMAT_ACTIVE) sdformat 1092 drivers/staging/media/imx/imx7-media-csi.c csi->cc[sdformat->pad] = cc; sdformat 696 drivers/staging/media/imx/imx7-mipi-csis.c struct v4l2_subdev_format *sdformat) sdformat 702 drivers/staging/media/imx/imx7-mipi-csis.c if (sdformat->pad >= CSIS_PADS_NUM) sdformat 705 drivers/staging/media/imx/imx7-mipi-csis.c fmt = mipi_csis_get_format(state, cfg, sdformat->which, sdformat->pad); sdformat 708 drivers/staging/media/imx/imx7-mipi-csis.c if (sdformat->pad == CSIS_PAD_SOURCE) { sdformat 709 drivers/staging/media/imx/imx7-mipi-csis.c sdformat->format = *fmt; sdformat 713 drivers/staging/media/imx/imx7-mipi-csis.c csis_fmt = mipi_csis_try_format(mipi_sd, &sdformat->format); sdformat 715 drivers/staging/media/imx/imx7-mipi-csis.c sdformat->format = *fmt; sdformat 717 drivers/staging/media/imx/imx7-mipi-csis.c if (csis_fmt && sdformat->which == V4L2_SUBDEV_FORMAT_ACTIVE) sdformat 720 drivers/staging/media/imx/imx7-mipi-csis.c cfg->try_fmt = sdformat->format; sdformat 730 drivers/staging/media/imx/imx7-mipi-csis.c struct v4l2_subdev_format *sdformat) sdformat 737 drivers/staging/media/imx/imx7-mipi-csis.c fmt = mipi_csis_get_format(state, cfg, sdformat->which, sdformat->pad); sdformat 739 drivers/staging/media/imx/imx7-mipi-csis.c sdformat->format = *fmt;