Lines Matching +full:ref +full:- +full:pad
1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
13 MEDIA_IOC_ENUM_LINKS - Enumerate all pads and links for a given entity
45 with :ref:`MEDIA_IOC_ENUM_ENTITIES`.
50 outbound links can be retrieved with :ref:`MEDIA_IOC_ENUM_ENTITIES`.
59 .. flat-table:: struct media_links_enum
60 :header-rows: 0
61 :stub-columns: 0
64 * - __u32
65 - ``entity``
66 - Entity id, set by the application.
68 * - struct :c:type:`media_pad_desc`
69 - \*\ ``pads``
70 - Pointer to a pads array allocated by the application. Ignored if
73 * - struct :c:type:`media_link_desc`
74 - \*\ ``links``
75 - Pointer to a links array allocated by the application. Ignored if
78 * - __u32
79 - ``reserved[4]``
80 - Reserved for future extensions. Drivers and applications must set
87 .. flat-table:: struct media_pad_desc
88 :header-rows: 0
89 :stub-columns: 0
92 * - __u32
93 - ``entity``
94 - ID of the entity this pad belongs to.
96 * - __u16
97 - ``index``
98 - Pad index, starts at 0.
100 * - __u32
101 - ``flags``
102 - Pad flags, see :ref:`media-pad-flag` for more details.
104 * - __u32
105 - ``reserved[2]``
106 - Reserved for future extensions. Drivers and applications must set
114 .. flat-table:: struct media_link_desc
115 :header-rows: 0
116 :stub-columns: 0
119 * - struct :c:type:`media_pad_desc`
120 - ``source``
121 - Pad at the origin of this link.
123 * - struct :c:type:`media_pad_desc`
124 - ``sink``
125 - Pad at the target of this link.
127 * - __u32
128 - ``flags``
129 - Link flags, see :ref:`media-link-flag` for more details.
131 * - __u32
132 - ``reserved[2]``
133 - Reserved for future extensions. Drivers and applications must set
139 On success 0 is returned, on error -1 and the ``errno`` variable is set
141 :ref:`Generic Error Codes <gen-errors>` chapter.
145 references a non-existing entity.