Lines Matching +full:cm +full:- +full:name
1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
10 Name chapter
13 VIDIOC_DBG_G_REGISTER - VIDIOC_DBG_S_REGISTER - Read or write hardware registers
55 ``match.type`` and ``match.addr`` or ``match.name`` fields select a chip
60 ``match.addr`` or ``match.name`` and ``reg`` fields, and call
66 selects the nth non-sub-device chip on the TV card. The number zero
72 selects the nth sub-device.
83 We recommended the v4l2-dbg utility over calling these ioctls directly.
84 It is available from the LinuxTV v4l-dvb repository; see
88 .. tabularcolumns:: |p{3.5cm}|p{3.5cm}|p{3.5cm}|p{6.6cm}|
92 .. flat-table:: struct v4l2_dbg_match
93 :header-rows: 0
94 :stub-columns: 0
97 * - __u32
98 - ``type``
99 - See :ref:`chip-match-types` for a list of possible types.
100 * - union {
101 - (anonymous)
102 * - __u32
103 - ``addr``
104 - Match a chip by this number, interpreted according to the ``type``
106 * - char
107 - ``name[32]``
108 - Match a chip by this name, interpreted according to the ``type``
110 * - }
111 -
116 .. flat-table:: struct v4l2_dbg_register
117 :header-rows: 0
118 :stub-columns: 0
120 * - struct v4l2_dbg_match
121 - ``match``
122 - How to match the chip, see :c:type:`v4l2_dbg_match`.
123 * - __u32
124 - ``size``
125 - The register size in bytes.
126 * - __u64
127 - ``reg``
128 - A register number.
129 * - __u64
130 - ``val``
131 - The value read from, or to be written into the register.
134 .. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.5cm}|
136 .. _chip-match-types:
138 .. flat-table:: Chip Match Types
139 :header-rows: 0
140 :stub-columns: 0
143 * - ``V4L2_CHIP_MATCH_BRIDGE``
144 - 0
145 - Match the nth chip on the card, zero for the bridge chip. Does not
146 match sub-devices.
147 * - ``V4L2_CHIP_MATCH_SUBDEV``
148 - 4
149 - Match the nth sub-device.
154 On success 0 is returned, on error -1 and the ``errno`` variable is set
156 :ref:`Generic Error Codes <gen-errors>` chapter.