Home
last modified time | relevance | path

Searched refs:V4L2_SUBDEV_FORMAT_TRY (Results 1 – 25 of 104) sorted by relevance

12345

/linux/drivers/staging/media/atomisp/pci/
H A Datomisp_subdev.c218 if (which == V4L2_SUBDEV_FORMAT_TRY) { in atomisp_subdev_get_rect()
244 if (which == V4L2_SUBDEV_FORMAT_TRY) in atomisp_subdev_get_ffmt()
321 which == V4L2_SUBDEV_FORMAT_TRY ? "V4L2_SUBDEV_FORMAT_TRY" in atomisp_subdev_set_selection()
365 if (which == V4L2_SUBDEV_FORMAT_TRY) in atomisp_subdev_set_selection()
487 which == V4L2_SUBDEV_FORMAT_TRY ? "V4L2_SUBDEV_FORMAT_TRY" in atomisp_subdev_set_ffmt()
H A Datomisp_csi2.c20 if (which == V4L2_SUBDEV_FORMAT_TRY) in __csi2_get_format()
/linux/Documentation/userspace-api/media/v4l/
H A Dvidioc-subdev-g-crop.rst63 to ``V4L2_SUBDEV_FORMAT_TRY``. When set, 'try' crop rectangles are not
71 ``V4L2_SUBDEV_FORMAT_TRY``, otherwise an error is returned and the errno
H A Dvidioc-subdev-g-selection.rst51 ``V4L2_SUBDEV_FORMAT_TRY``, otherwise an error is returned and the errno
H A Dvidioc-subdev-g-frame-interval.rst63 to ``V4L2_SUBDEV_FORMAT_TRY``, otherwise an error is returned and the errno
/linux/drivers/media/platform/ti/omap3isp/
H A Dispresizer.c121 if (which == V4L2_SUBDEV_FORMAT_TRY) in __resizer_get_format()
138 if (which == V4L2_SUBDEV_FORMAT_TRY) in __resizer_get_crop()
1298 __func__, sel->which == V4L2_SUBDEV_FORMAT_TRY ? "try" : "act", in resizer_set_selection()
1316 __func__, sel->which == V4L2_SUBDEV_FORMAT_TRY ? "try" : "act", in resizer_set_selection()
1321 if (sel->which == V4L2_SUBDEV_FORMAT_TRY) { in resizer_set_selection()
1576 format.which = fh ? V4L2_SUBDEV_FORMAT_TRY : V4L2_SUBDEV_FORMAT_ACTIVE; in resizer_init_formats()
/linux/drivers/media/i2c/
H A Dov6650.c477 if (sel->which == V4L2_SUBDEV_FORMAT_TRY) { in ov6650_get_selection()
533 if (sel->which == V4L2_SUBDEV_FORMAT_TRY) { in ov6650_set_selection()
592 if (format->which == V4L2_SUBDEV_FORMAT_TRY) { in ov6650_get_fmt()
724 if (format->which == V4L2_SUBDEV_FORMAT_TRY) in ov6650_set_fmt()
731 if (format->which == V4L2_SUBDEV_FORMAT_TRY) { in ov6650_set_fmt()
810 * FIXME: Implement support for V4L2_SUBDEV_FORMAT_TRY, using the V4L2 in ov6650_get_frame_interval()
834 * FIXME: Implement support for V4L2_SUBDEV_FORMAT_TRY, using the V4L2 in ov6650_set_frame_interval()
H A Dimx412.c720 if (fmt->which == V4L2_SUBDEV_FORMAT_TRY) { in imx412_get_pad_format()
755 if (fmt->which == V4L2_SUBDEV_FORMAT_TRY) { in imx412_set_pad_format()
784 fmt.which = sd_state ? V4L2_SUBDEV_FORMAT_TRY : V4L2_SUBDEV_FORMAT_ACTIVE; in imx412_init_state()
H A Dov9282.c823 if (fmt->which == V4L2_SUBDEV_FORMAT_TRY) { in ov9282_get_pad_format()
869 if (fmt->which == V4L2_SUBDEV_FORMAT_TRY) { in ov9282_set_pad_format()
900 fmt.which = sd_state ? V4L2_SUBDEV_FORMAT_TRY : V4L2_SUBDEV_FORMAT_ACTIVE; in ov9282_init_state()
913 case V4L2_SUBDEV_FORMAT_TRY: in __ov9282_get_pad_crop()
H A Dov02a10.c317 if (fmt->which == V4L2_SUBDEV_FORMAT_TRY) in ov02a10_set_fmt()
338 if (fmt->which == V4L2_SUBDEV_FORMAT_TRY) { in ov02a10_get_fmt()
518 .which = V4L2_SUBDEV_FORMAT_TRY, in ov02a10_init_state()
H A Dhi556.c953 case V4L2_SUBDEV_FORMAT_TRY: in __hi556_get_pad_crop()
1092 if (fmt->which == V4L2_SUBDEV_FORMAT_TRY) { in hi556_set_format()
1126 if (fmt->which == V4L2_SUBDEV_FORMAT_TRY) in hi556_get_format()
H A Dlt6911uxe.c395 if (fmt->which == V4L2_SUBDEV_FORMAT_TRY) in lt6911uxe_set_format()
438 .which = sd_state ? V4L2_SUBDEV_FORMAT_TRY in lt6911uxe_init_state()
H A Dimx335.c716 if (fmt->which == V4L2_SUBDEV_FORMAT_TRY) { in imx335_get_pad_format()
756 if (fmt->which == V4L2_SUBDEV_FORMAT_TRY) { in imx335_set_pad_format()
785 fmt.which = sd_state ? V4L2_SUBDEV_FORMAT_TRY : V4L2_SUBDEV_FORMAT_ACTIVE; in imx335_init_state()
H A Dov5670.c2265 if (fmt->which == V4L2_SUBDEV_FORMAT_TRY) in ov5670_do_get_pad_format()
2311 if (fmt->which == V4L2_SUBDEV_FORMAT_TRY) { in ov5670_set_pad_format()
2551 case V4L2_SUBDEV_FORMAT_TRY: in __ov5670_get_pad_crop()
H A Dimx274.c999 * @which: V4L2_SUBDEV_FORMAT_ACTIVE or V4L2_SUBDEV_FORMAT_TRY from the caller
1020 if (which == V4L2_SUBDEV_FORMAT_TRY) { in __imx274_change_compose()
1114 if (format->which == V4L2_SUBDEV_FORMAT_TRY) in imx274_set_fmt()
1145 if (sel->which == V4L2_SUBDEV_FORMAT_TRY) { in imx274_get_selection()
1217 if (sel->which == V4L2_SUBDEV_FORMAT_TRY) in imx274_set_selection_crop()
1337 * FIXME: Implement support for V4L2_SUBDEV_FORMAT_TRY, using the V4L2 in imx274_get_frame_interval()
1361 * FIXME: Implement support for V4L2_SUBDEV_FORMAT_TRY, using the V4L2 in imx274_set_frame_interval()
H A Dmt9p031.c551 case V4L2_SUBDEV_FORMAT_TRY: in __mt9p031_get_pad_format()
566 case V4L2_SUBDEV_FORMAT_TRY: in __mt9p031_get_pad_crop()
706 V4L2_SUBDEV_FORMAT_TRY; in mt9p031_init_state()
H A Dov2680.c310 if (which == V4L2_SUBDEV_FORMAT_TRY) in __ov2680_get_pad_format()
322 if (which == V4L2_SUBDEV_FORMAT_TRY) in __ov2680_get_pad_crop()
565 * FIXME: Implement support for V4L2_SUBDEV_FORMAT_TRY, using the V4L2 in ov2680_get_frame_interval()
663 if (format->which == V4L2_SUBDEV_FORMAT_TRY) { in ov2680_set_fmt()
H A Ds5k6a3.c129 if (which == V4L2_SUBDEV_FORMAT_TRY) in __s5k6a3_get_format()
/linux/include/uapi/linux/
H A Dv4l2-subdev.h22 * @V4L2_SUBDEV_FORMAT_TRY: try format, for negotiation only
26 V4L2_SUBDEV_FORMAT_TRY = 0, enumerator
161 * @which: either V4L2_SUBDEV_FORMAT_ACTIVE or V4L2_SUBDEV_FORMAT_TRY
/linux/drivers/media/v4l2-core/
H A Dv4l2-subdev.c170 if (which != V4L2_SUBDEV_FORMAT_TRY && in check_which()
208 if (which == V4L2_SUBDEV_FORMAT_TRY && (!state || !state->pads)) in check_state()
605 return which == V4L2_SUBDEV_FORMAT_TRY ? in subdev_ioctl_get_state()
778 if (format->which != V4L2_SUBDEV_FORMAT_TRY && ro_subdev) in subdev_do_ioctl()
815 if (crop->which != V4L2_SUBDEV_FORMAT_TRY && ro_subdev) in subdev_do_ioctl()
875 if (fi->which != V4L2_SUBDEV_FORMAT_TRY && ro_subdev) in subdev_do_ioctl()
907 if (sel->which != V4L2_SUBDEV_FORMAT_TRY && ro_subdev) in subdev_do_ioctl()
1016 if (routing->which != V4L2_SUBDEV_FORMAT_TRY && ro_subdev) in subdev_do_ioctl()
/linux/drivers/media/i2c/s5c73m3/
H A Ds5c73m3-core.c876 * FIXME: Implement support for V4L2_SUBDEV_FORMAT_TRY, using the V4L2 in s5c73m3_oif_get_frame_interval()
934 * FIXME: Implement support for V4L2_SUBDEV_FORMAT_TRY, using the V4L2 in s5c73m3_oif_set_frame_interval()
1005 if (fmt->which == V4L2_SUBDEV_FORMAT_TRY) { in s5c73m3_get_fmt()
1040 if (fmt->which == V4L2_SUBDEV_FORMAT_TRY) { in s5c73m3_oif_get_fmt()
1084 if (fmt->which == V4L2_SUBDEV_FORMAT_TRY) { in s5c73m3_set_fmt()
1123 if (fmt->which == V4L2_SUBDEV_FORMAT_TRY) { in s5c73m3_oif_set_fmt()
1273 if (fse->which == V4L2_SUBDEV_FORMAT_TRY) { in s5c73m3_oif_enum_frame_size()
/linux/drivers/media/platform/renesas/vsp1/
H A Dvsp1_entity.c146 case V4L2_SUBDEV_FORMAT_TRY: in vsp1_entity_get_state()
392 .which = sd_state ? V4L2_SUBDEV_FORMAT_TRY in vsp1_entity_init_state()
/linux/drivers/media/platform/samsung/exynos4-is/
H A Dfimc-lite.c574 if (format->which == V4L2_SUBDEV_FORMAT_TRY) { in fimc_lite_subdev_try_fmt()
1031 if (fmt->which == V4L2_SUBDEV_FORMAT_TRY) { in fimc_lite_subdev_get_fmt()
1079 if (fmt->which == V4L2_SUBDEV_FORMAT_TRY) { in fimc_lite_subdev_set_fmt()
1127 if (sel->which == V4L2_SUBDEV_FORMAT_TRY) { in fimc_lite_subdev_get_selection()
1164 if (sel->which == V4L2_SUBDEV_FORMAT_TRY) { in fimc_lite_subdev_set_selection()
/linux/drivers/media/platform/qcom/camss/
H A Dcamss-csiphy.c350 if (which == V4L2_SUBDEV_FORMAT_TRY) in __csiphy_get_format()
549 .which = fh ? V4L2_SUBDEV_FORMAT_TRY : in csiphy_init_formats()
/linux/drivers/staging/media/imx/
H A Dimx-media-csi.c912 * FIXME: Implement support for V4L2_SUBDEV_FORMAT_TRY, using the V4L2 in csi_get_frame_interval()
939 * FIXME: Implement support for V4L2_SUBDEV_FORMAT_TRY, using the V4L2 in csi_set_frame_interval()
1166 if (which == V4L2_SUBDEV_FORMAT_TRY) in __csi_get_fmt()
1176 if (which == V4L2_SUBDEV_FORMAT_TRY) in __csi_get_crop()
1186 if (which == V4L2_SUBDEV_FORMAT_TRY) in __csi_get_compose()
1687 if (sel->which == V4L2_SUBDEV_FORMAT_TRY) in csi_set_selection()
1708 if (sel->which == V4L2_SUBDEV_FORMAT_TRY) in csi_set_selection()

12345