Lines Matching +full:sub +full:- +full:device
1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
13 VIDIOC_SUBDEV_QUERYCAP - Query sub-device capabilities
34 All V4L2 sub-devices support the ``VIDIOC_SUBDEV_QUERYCAP`` ioctl. It is used to
45 .. flat-table:: struct v4l2_subdev_capability
46 :header-rows: 0
47 :stub-columns: 0
50 * - __u32
51 - ``version``
52 - Version number of the driver.
57 distribution-modified kernel uses the V4L2 stack from a newer kernel.
61 * - :cspan:`2`
70 * - __u32
71 - ``capabilities``
72 - Sub-device capabilities of the opened device, see
73 :ref:`subdevice-capabilities`.
74 * - __u32
75 - ``reserved``\ [14]
76 - Reserved for future extensions. Set to 0 by the V4L2 core.
80 .. _subdevice-capabilities:
84 .. flat-table:: Sub-Device Capabilities Flags
85 :header-rows: 0
86 :stub-columns: 0
89 * - V4L2_SUBDEV_CAP_RO_SUBDEV
90 - 0x00000001
91 - The sub-device device node is registered in read-only mode.
92 Access to the sub-device ioctls that modify the device state is
94 for a description of which restrictions apply to a read-only sub-device.
99 On success 0 is returned, on error -1 and the ``errno`` variable is set
101 :ref:`Generic Error Codes <gen-errors>` chapter.
104 The device node is not a V4L2 sub-device.