Lines Matching +full:c +full:- +full:version +full:- +full:name

1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
2 .. c:namespace:: MC
10 Name chapter
13 MEDIA_IOC_DEVICE_INFO - Query device information
18 .. c:macro:: MEDIA_IOC_DEVICE_INFO
26 File descriptor returned by :c:func:`open()`.
29 Pointer to struct :c:type:`media_device_info`.
36 a struct :c:type:`media_device_info`. The driver
40 .. c:type:: media_device_info
44 .. flat-table:: struct media_device_info
45 :header-rows: 0
46 :stub-columns: 0
49 * - char
50 - ``driver``\ [16]
51 - Name of the driver implementing the media API as a NUL-terminated
52 ASCII string. The driver version is stored in the
59 * - char
60 - ``model``\ [32]
61 - Device model name as a NUL-terminated UTF-8 string. The device
62 version is stored in the ``device_version`` field and is not be
63 appended to the model name.
65 * - char
66 - ``serial``\ [40]
67 - Serial number as a NUL-terminated ASCII string.
69 * - char
70 - ``bus_info``\ [32]
71 - Location of the device in the system as a NUL-terminated ASCII
72 string. This includes the bus type name (PCI, USB, ...) and a
73 bus-specific identifier.
75 * - __u32
76 - ``media_version``
77 - Media API version, formatted with the ``KERNEL_VERSION()`` macro.
79 * - __u32
80 - ``hw_revision``
81 - Hardware device revision in a driver-specific format.
83 * - __u32
84 - ``driver_version``
85 - Media device driver version, formatted with the
89 * - __u32
90 - ``reserved``\ [31]
91 - Reserved for future extensions. Drivers and applications must set
104 On success 0 is returned, on error -1 and the ``errno`` variable is set
106 :ref:`Generic Error Codes <gen-errors>` chapter.