Home
last modified time | relevance | path

Searched refs:error_idx (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/media/v4l2-core/
H A Dv4l2-ctrls-api.c202 * configuration was done. The way we do that is through the error_idx field
209 * at index < error_idx), they could have failed (if a cluster member was at
210 * error_idx), or they may not have been processed yet (if the first cluster
211 * member appeared after error_idx).
214 * bail out. If error_idx == count, then it is an application bug. If
215 * error_idx < count then it is only an application bug if the error code was
221 * never modifies controls the error_idx is just set to whatever control
245 cs->error_idx = i; in prepare_ext_ctrls()
424 cs->error_idx = cs->count; in v4l2_g_ext_ctrls_common()
441 cs->error_idx in v4l2_g_ext_ctrls_common()
[all...]
H A Dv4l2-ioctl.c572 pr_cont("which=0x%x, count=%d, error_idx=%d, request_fd=%d", in v4l_print_ext_controls()
573 p->which, p->count, p->error_idx, p->request_fd); in v4l_print_ext_controls()
901 c->error_idx = c->count; in check_ext_ctrls()
908 c->error_idx = c->count; in check_ext_ctrls()
915 c->error_idx = ioctl == VIDIOC_TRY_EXT_CTRLS ? i : in check_ext_ctrls()
2424 p->error_idx = p->count; in v4l_g_ext_ctrls()
2445 p->error_idx = p->count; in v4l_s_ext_ctrls()
2466 p->error_idx = p->count; in v4l_try_ext_ctrls()
/linux/Documentation/userspace-api/media/v4l/
H A Dvidioc-g-ext-ctrls.rst380 - ``error_idx``
383 with a particular control, then ``error_idx`` is set to the index
386 ``error_idx`` is set to ``count``. The value is undefined if the
407 ``error_idx`` to ``count`` if the validation failed. This has the
411 ``error_idx`` is less than ``count`` and only the controls up to
412 ``error_idx-1`` were read or written correctly, and the state of
417 ``error_idx`` will just be set to the control that failed the
419 :ref:`VIDIOC_S_EXT_CTRLS <VIDIOC_G_EXT_CTRLS>` fails with ``error_idx`` set to ``count``,
/linux/drivers/media/usb/uvc/
H A Duvc_v4l2.c804 ctrls->error_idx = ioctl == VIDIOC_TRY_EXT_CTRLS ? i : ctrls->count; in uvc_ctrl_check_access()
845 ctrls->error_idx = i; in uvc_ioctl_g_ext_ctrls()
850 ctrls->error_idx = 0; in uvc_ioctl_g_ext_ctrls()
879 ctrls->error_idx = ioctl == VIDIOC_S_EXT_CTRLS ? in uvc_ioctl_s_try_ext_ctrls()
885 ctrls->error_idx = 0; in uvc_ioctl_s_try_ext_ctrls()
H A Duvc_ctrl.c2266 ctrls->error_idx = in __uvc_ctrl_commit()
/linux/drivers/staging/media/atomisp/pci/
H A Datomisp_ioctl.c1185 c->error_idx = i; in atomisp_camera_g_ext_ctrls()
1214 c->error_idx = i; in atomisp_g_ext_ctrls()
1248 c->error_idx = i; in atomisp_camera_s_ext_ctrls()
1277 c->error_idx = i; in atomisp_s_ext_ctrls()
/linux/include/soc/tegra/
H A Dbpmp-abi.h3567 uint32_t error_idx; member
3587 uint32_t error_idx; member
/linux/drivers/media/usb/pvrusb2/
H A Dpvrusb2-v4l2.c601 ctls->error_idx = idx; in pvr2_g_ext_ctrls()
628 ctls->error_idx = idx; in pvr2_s_ext_ctrls()
652 ctls->error_idx = idx; in pvr2_try_ext_ctrls()
/linux/drivers/media/common/
H A Dcx2341x.c962 ctrls->error_idx = i; in cx2341x_ext_ctrls()
990 ctrls->error_idx = ctrls->count; in cx2341x_ext_ctrls()
993 ctrls->error_idx = i; in cx2341x_ext_ctrls()
/linux/include/uapi/linux/
H A Dvideodev2.h1920 __u32 error_idx; member