Home
last modified time | relevance | path

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

/Linux-v5.10/Documentation/userspace-api/media/v4l/
Dvidioc-g-ext-ctrls.rst249 - ``error_idx``
251 with a particular control, then ``error_idx`` is set to the index
254 ``error_idx`` is set to ``count``. The value is undefined if the
275 ``error_idx`` to ``count`` if the validation failed. This has the
279 ``error_idx`` is less than ``count`` and only the controls up to
280 ``error_idx-1`` were read or written correctly, and the state of
285 ``error_idx`` will just be set to the control that failed the
287 :ref:`VIDIOC_S_EXT_CTRLS <VIDIOC_G_EXT_CTRLS>` fails with ``error_idx`` set to ``count``,
/Linux-v5.10/drivers/media/usb/uvc/
Duvc_v4l2.c1054 ctrls->error_idx = i; in uvc_ioctl_g_ext_ctrls()
1072 ctrls->error_idx = i; in uvc_ioctl_g_ext_ctrls()
1077 ctrls->error_idx = 0; in uvc_ioctl_g_ext_ctrls()
1103 ctrls->error_idx = commit ? ctrls->count : i; in uvc_ioctl_s_try_ext_ctrls()
1108 ctrls->error_idx = 0; in uvc_ioctl_s_try_ext_ctrls()
/Linux-v5.10/drivers/media/v4l2-core/
Dv4l2-compat-ioctl32.c1080 __u32 error_idx; member
1156 assign_in_user(&p64->error_idx, &p32->error_idx) || in get_v4l2_ext_controls32()
1222 assign_in_user(&p32->error_idx, &p64->error_idx) || in put_v4l2_ext_controls32()
Dv4l2-ctrls.c3549 cs->error_idx = i; in prepare_ext_ctrls()
3670 cs->error_idx = cs->count; in v4l2_g_ext_ctrls_common()
3687 cs->error_idx = cs->count; in v4l2_g_ext_ctrls_common()
3704 cs->error_idx = i; in v4l2_g_ext_ctrls_common()
3968 cs->error_idx = cs->count; in validate_ctrls()
3973 cs->error_idx = i; in validate_ctrls()
4035 cs->error_idx = cs->count; in try_set_ext_ctrls_common()
4065 cs->error_idx = cs->count; in try_set_ext_ctrls_common()
4073 cs->error_idx = i; in try_set_ext_ctrls_common()
Dv4l2-ioctl.c598 p->which, p->count, p->error_idx, p->request_fd); in v4l_print_ext_controls()
931 c->error_idx = i; in check_ext_ctrls()
2276 p->error_idx = p->count; in v4l_g_ext_ctrls()
2297 p->error_idx = p->count; in v4l_s_ext_ctrls()
2318 p->error_idx = p->count; in v4l_try_ext_ctrls()
/Linux-v5.10/include/soc/tegra/
Dbpmp-abi.h2912 uint32_t error_idx; member
2932 uint32_t error_idx; member
/Linux-v5.10/drivers/media/usb/pvrusb2/
Dpvrusb2-v4l2.c623 ctls->error_idx = idx; in pvr2_g_ext_ctrls()
654 ctls->error_idx = idx; in pvr2_s_ext_ctrls()
678 ctls->error_idx = idx; in pvr2_try_ext_ctrls()
/Linux-v5.10/drivers/media/common/
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-v5.10/drivers/staging/media/atomisp/pci/
Datomisp_ioctl.c2424 c->error_idx = i; in atomisp_camera_g_ext_ctrls()
2453 c->error_idx = i; in atomisp_g_ext_ctrls()
2550 c->error_idx = i; in atomisp_camera_s_ext_ctrls()
2579 c->error_idx = i; in atomisp_s_ext_ctrls()
/Linux-v5.10/include/uapi/linux/
Dvideodev2.h1746 __u32 error_idx; member