- ``id``
- -
- -
+ -
+ -
- Entity id, set by the application. When the id is or'ed with
- ``MEDIA_ENT_ID_FLAG_NEXT``, the driver clears the flag and returns
- the first entity with a larger id.
+ ``MEDIA_ENT_ID_FLAG_NEXT``, the driver clears the flag and returns
+ the first entity with a larger id.
- .. row 2
- ``name``\ [32]
- -
- -
+ -
+ -
- Entity name as an UTF-8 NULL-terminated string.
- .. row 3
- ``type``
- -
- -
+ -
+ -
- Entity type, see :ref:`media-entity-type` for details.
- .. row 4
- ``revision``
- -
- -
+ -
+ -
- Entity revision. Always zero (obsolete)
- .. row 5
- ``flags``
- -
- -
+ -
+ -
- Entity flags, see :ref:`media-entity-flag` for details.
- .. row 6
- ``group_id``
- -
- -
+ -
+ -
- Entity group ID. Always zero (obsolete)
- .. row 7
- ``pads``
- -
- -
+ -
+ -
- Number of pads
- .. row 8
- ``links``
- -
- -
+ -
+ -
- Total number of outbound links. Inbound links are not counted in
- this field.
+ this field.
- .. row 9
- .. row 10
- -
+ -
- struct
- ``dev``
- -
+ -
- Valid for (sub-)devices that create a single device node.
- .. row 11
- -
- -
+ -
+ -
- __u32
- ``major``
- .. row 12
- -
- -
+ -
+ -
- __u32
- ``minor``
- .. row 13
- -
+ -
- __u8
- ``raw``\ [184]
- -
- -
+ -
+ -