Lines Matching +full:device +full:- +full:unique
1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
13 MEDIA_IOC_DEVICE_INFO - Query device information
35 query device information, applications call the ioctl with a pointer to
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
59 * - char
60 - ``model``\ [32]
61 - Device model name as a NUL-terminated UTF-8 string. The device
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
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
96 number takes precedence when provided and can be assumed to be unique.
98 used instead. The ``bus_info`` field is guaranteed to be unique, but can
99 vary across reboots or device unplug/replug.
104 On success 0 is returned, on error -1 and the ``errno`` variable is set
106 :ref:`Generic Error Codes <gen-errors>` chapter.