Home
last modified time | relevance | path

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

/Linux-v4.19/Documentation/media/uapi/v4l/
Dvidioc-g-ext-ctrls.rst233 - ``error_idx``
235 with a particular control, then ``error_idx`` is set to the index
238 ``error_idx`` is set to ``count``. The value is undefined if the
259 ``error_idx`` to ``count`` if the validation failed. This has the
263 ``error_idx`` is less than ``count`` and only the controls up to
264 ``error_idx-1`` were read or written correctly, and the state of
269 ``error_idx`` will just be set to the control that failed the
271 :ref:`VIDIOC_S_EXT_CTRLS <VIDIOC_G_EXT_CTRLS>` fails with ``error_idx`` set to ``count``,
/Linux-v4.19/drivers/media/v4l2-core/
Dv4l2-compat-ioctl32.c836 __u32 error_idx; member
911 assign_in_user(&p64->error_idx, &p32->error_idx) || in get_v4l2_ext_controls32()
976 assign_in_user(&p32->error_idx, &p64->error_idx) || in put_v4l2_ext_controls32()
Dv4l2-ctrls.c2881 cs->error_idx = i; in prepare_ext_ctrls()
2982 cs->error_idx = cs->count; in v4l2_g_ext_ctrls()
2999 cs->error_idx = cs->count; in v4l2_g_ext_ctrls()
3016 cs->error_idx = i; in v4l2_g_ext_ctrls()
3187 cs->error_idx = cs->count; in validate_ctrls()
3192 cs->error_idx = i; in validate_ctrls()
3245 cs->error_idx = cs->count; in try_set_ext_ctrls()
3269 cs->error_idx = cs->count; in try_set_ext_ctrls()
3277 cs->error_idx = i; in try_set_ext_ctrls()
Dv4l2-ioctl.c594 p->which, p->count, p->error_idx); in v4l_print_ext_controls()
926 c->error_idx = i; in check_ext_ctrls()
2110 p->error_idx = p->count; in v4l_g_ext_ctrls()
2129 p->error_idx = p->count; in v4l_s_ext_ctrls()
2148 p->error_idx = p->count; in v4l_try_ext_ctrls()
/Linux-v4.19/drivers/media/usb/uvc/
Duvc_v4l2.c1026 ctrls->error_idx = i; in uvc_ioctl_g_ext_ctrls()
1044 ctrls->error_idx = i; in uvc_ioctl_g_ext_ctrls()
1049 ctrls->error_idx = 0; in uvc_ioctl_g_ext_ctrls()
1075 ctrls->error_idx = commit ? ctrls->count : i; in uvc_ioctl_s_try_ext_ctrls()
1080 ctrls->error_idx = 0; in uvc_ioctl_s_try_ext_ctrls()
/Linux-v4.19/drivers/media/usb/pvrusb2/
Dpvrusb2-v4l2.c644 ctls->error_idx = idx; in pvr2_g_ext_ctrls()
675 ctls->error_idx = idx; in pvr2_s_ext_ctrls()
699 ctls->error_idx = idx; in pvr2_try_ext_ctrls()
/Linux-v4.19/drivers/media/common/
Dcx2341x.c971 ctrls->error_idx = i; in cx2341x_ext_ctrls()
999 ctrls->error_idx = ctrls->count; in cx2341x_ext_ctrls()
1002 ctrls->error_idx = i; in cx2341x_ext_ctrls()
/Linux-v4.19/include/uapi/linux/
Dvideodev2.h1601 __u32 error_idx; member