Home
last modified time | relevance | path

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

123456

/linux-6.6.21/Documentation/userspace-api/media/v4l/
Dvidioc-subdev-g-fmt.rst57 to ``V4L2_SUBDEV_FORMAT_TRY``. When set, 'try' formats are not applied
76 ``V4L2_SUBDEV_FORMAT_TRY``, otherwise an error is returned and the errno
122 * - V4L2_SUBDEV_FORMAT_TRY
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
/linux-6.6.21/drivers/staging/media/atomisp/pci/
Datomisp_subdev.c240 if (which == V4L2_SUBDEV_FORMAT_TRY) { in atomisp_subdev_get_rect()
266 if (which == V4L2_SUBDEV_FORMAT_TRY) in atomisp_subdev_get_ffmt()
372 which == V4L2_SUBDEV_FORMAT_TRY ? "V4L2_SUBDEV_FORMAT_TRY" in atomisp_subdev_set_selection()
415 if (which == V4L2_SUBDEV_FORMAT_TRY) in atomisp_subdev_set_selection()
537 which == V4L2_SUBDEV_FORMAT_TRY ? "V4L2_SUBDEV_FORMAT_TRY" in atomisp_subdev_set_ffmt()
Datomisp_tpg.c49 if (format->which == V4L2_SUBDEV_FORMAT_TRY) { in tpg_set_fmt()
/linux-6.6.21/drivers/media/platform/microchip/
Dmicrochip-isc-scaler.c35 if (format->which == V4L2_SUBDEV_FORMAT_TRY) { in isc_scaler_get_fmt()
76 if (req_fmt->which == V4L2_SUBDEV_FORMAT_TRY) { in isc_scaler_set_fmt()
/linux-6.6.21/drivers/media/platform/ti/omap3isp/
Dispresizer.c121 if (which == V4L2_SUBDEV_FORMAT_TRY) in __resizer_get_format()
138 if (which == V4L2_SUBDEV_FORMAT_TRY) in __resizer_get_crop()
1299 __func__, sel->which == V4L2_SUBDEV_FORMAT_TRY ? "try" : "act", in resizer_set_selection()
1317 __func__, sel->which == V4L2_SUBDEV_FORMAT_TRY ? "try" : "act", in resizer_set_selection()
1322 if (sel->which == V4L2_SUBDEV_FORMAT_TRY) { in resizer_set_selection()
1577 format.which = fh ? V4L2_SUBDEV_FORMAT_TRY : V4L2_SUBDEV_FORMAT_ACTIVE; in resizer_init_formats()
/linux-6.6.21/drivers/media/i2c/
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()
590 if (format->which == V4L2_SUBDEV_FORMAT_TRY) { in ov6650_get_fmt()
719 if (format->which == V4L2_SUBDEV_FORMAT_TRY) in ov6650_set_fmt()
726 if (format->which == V4L2_SUBDEV_FORMAT_TRY) { in ov6650_set_fmt()
Dimx214.c542 case V4L2_SUBDEV_FORMAT_TRY: in __imx214_get_pad_format()
572 case V4L2_SUBDEV_FORMAT_TRY: in __imx214_get_pad_crop()
643 fmt.which = sd_state ? V4L2_SUBDEV_FORMAT_TRY : V4L2_SUBDEV_FORMAT_ACTIVE; in imx214_entity_init_cfg()
Dimx335.c571 if (fmt->which == V4L2_SUBDEV_FORMAT_TRY) { in imx335_get_pad_format()
606 if (fmt->which == V4L2_SUBDEV_FORMAT_TRY) { in imx335_set_pad_format()
635 fmt.which = sd_state ? V4L2_SUBDEV_FORMAT_TRY : V4L2_SUBDEV_FORMAT_ACTIVE; in imx335_init_pad_cfg()
Dimx412.c723 if (fmt->which == V4L2_SUBDEV_FORMAT_TRY) { in imx412_get_pad_format()
758 if (fmt->which == V4L2_SUBDEV_FORMAT_TRY) { in imx412_set_pad_format()
787 fmt.which = sd_state ? V4L2_SUBDEV_FORMAT_TRY : V4L2_SUBDEV_FORMAT_ACTIVE; in imx412_init_pad_cfg()
Dov9282.c816 if (fmt->which == V4L2_SUBDEV_FORMAT_TRY) { in ov9282_get_pad_format()
862 if (fmt->which == V4L2_SUBDEV_FORMAT_TRY) { in ov9282_set_pad_format()
893 fmt.which = sd_state ? V4L2_SUBDEV_FORMAT_TRY : V4L2_SUBDEV_FORMAT_ACTIVE; in ov9282_init_pad_cfg()
906 case V4L2_SUBDEV_FORMAT_TRY: in __ov9282_get_pad_crop()
Dov5645.c853 case V4L2_SUBDEV_FORMAT_TRY: in __ov5645_get_pad_format()
880 case V4L2_SUBDEV_FORMAT_TRY: in __ov5645_get_pad_crop()
942 fmt.which = sd_state ? V4L2_SUBDEV_FORMAT_TRY : V4L2_SUBDEV_FORMAT_ACTIVE; in ov5645_entity_init_cfg()
Dimx334.c831 if (fmt->which == V4L2_SUBDEV_FORMAT_TRY) { in imx334_get_pad_format()
872 if (fmt->which == V4L2_SUBDEV_FORMAT_TRY) { in imx334_set_pad_format()
902 fmt.which = sd_state ? V4L2_SUBDEV_FORMAT_TRY : V4L2_SUBDEV_FORMAT_ACTIVE; in imx334_init_pad_cfg()
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_entity_init_cfg()
Dhi556.c878 case V4L2_SUBDEV_FORMAT_TRY: in __hi556_get_pad_crop()
1060 if (fmt->which == V4L2_SUBDEV_FORMAT_TRY) { in hi556_set_format()
1094 if (fmt->which == V4L2_SUBDEV_FORMAT_TRY) in hi556_get_format()
/linux-6.6.21/drivers/media/platform/sunxi/sun4i-csi/
Dsun4i_v4l2.c287 if (fmt->which == V4L2_SUBDEV_FORMAT_TRY) in sun4i_csi_subdev_get_fmt()
305 if (fmt->which == V4L2_SUBDEV_FORMAT_TRY) in sun4i_csi_subdev_set_fmt()
/linux-6.6.21/include/uapi/linux/
Dv4l2-subdev.h26 V4L2_SUBDEV_FORMAT_TRY = 0, enumerator
/linux-6.6.21/drivers/media/test-drivers/vimc/
Dvimc-scaler.c140 if (which == V4L2_SUBDEV_FORMAT_TRY) in vimc_scaler_pad_format()
151 if (which == V4L2_SUBDEV_FORMAT_TRY) in vimc_scaler_pad_crop()
/linux-6.6.21/drivers/media/platform/samsung/exynos4-is/
Dfimc-isp.c128 if (fmt->which == V4L2_SUBDEV_FORMAT_TRY) { in fimc_isp_subdev_get_fmt()
174 if (fmt->which == V4L2_SUBDEV_FORMAT_TRY) in __isp_subdev_try_format()
209 if (fmt->which == V4L2_SUBDEV_FORMAT_TRY) { in fimc_isp_subdev_set_fmt()
/linux-6.6.21/drivers/staging/media/omap4iss/
Diss_ipipe.c182 if (which == V4L2_SUBDEV_FORMAT_TRY) in __ipipe_get_format()
394 format.which = fh ? V4L2_SUBDEV_FORMAT_TRY : V4L2_SUBDEV_FORMAT_ACTIVE; in ipipe_init_formats()
/linux-6.6.21/drivers/staging/media/sunxi/sun6i-isp/
Dsun6i_isp_proc.c304 if (format->which == V4L2_SUBDEV_FORMAT_TRY) in sun6i_isp_proc_get_fmt()
327 if (format->which == V4L2_SUBDEV_FORMAT_TRY) in sun6i_isp_proc_set_fmt()
/linux-6.6.21/drivers/media/v4l2-core/
Dv4l2-subdev.c152 if (which != V4L2_SUBDEV_FORMAT_TRY && in check_which()
190 if (which == V4L2_SUBDEV_FORMAT_TRY && (!state || !state->pads)) in check_state()
487 return which == V4L2_SUBDEV_FORMAT_TRY ? in subdev_ioctl_get_state()
645 if (format->which != V4L2_SUBDEV_FORMAT_TRY && ro_subdev) in subdev_do_ioctl()
681 if (crop->which != V4L2_SUBDEV_FORMAT_TRY && ro_subdev) in subdev_do_ioctl()
772 if (sel->which != V4L2_SUBDEV_FORMAT_TRY && ro_subdev) in subdev_do_ioctl()
884 if (routing->which != V4L2_SUBDEV_FORMAT_TRY && ro_subdev) in subdev_do_ioctl()
/linux-6.6.21/drivers/media/i2c/s5c73m3/
Ds5c73m3-core.c992 if (fmt->which == V4L2_SUBDEV_FORMAT_TRY) { in s5c73m3_get_fmt()
1027 if (fmt->which == V4L2_SUBDEV_FORMAT_TRY) { in s5c73m3_oif_get_fmt()
1071 if (fmt->which == V4L2_SUBDEV_FORMAT_TRY) { in s5c73m3_set_fmt()
1110 if (fmt->which == V4L2_SUBDEV_FORMAT_TRY) { in s5c73m3_oif_set_fmt()
1260 if (fse->which == V4L2_SUBDEV_FORMAT_TRY) { in s5c73m3_oif_enum_frame_size()
/linux-6.6.21/drivers/media/platform/renesas/vsp1/
Dvsp1_entity.c125 case V4L2_SUBDEV_FORMAT_TRY: in vsp1_entity_get_pad_config()
192 .which = sd_state ? V4L2_SUBDEV_FORMAT_TRY in vsp1_entity_init_cfg()
/linux-6.6.21/drivers/media/platform/sunxi/sun6i-mipi-csi2/
Dsun6i_mipi_csi2.c353 if (format->which == V4L2_SUBDEV_FORMAT_TRY) in sun6i_mipi_csi2_get_fmt()
376 if (format->which == V4L2_SUBDEV_FORMAT_TRY) in sun6i_mipi_csi2_set_fmt()

123456