sphinx.addnodesdocument)}( rawsourcechildren]( translations LanguagesNode)}(hhh](h pending_xref)}(hhh]docutils.nodesTextChinese (Simplified)}parenthsba attributes}(ids]classes]names]dupnames]backrefs] refdomainstdreftypedoc reftargetE/translations/zh_CN/userspace-api/media/mediactl/media-ioc-g-topologymodnameN classnameN refexplicitutagnamehhh ubh)}(hhh]hChinese (Traditional)}hh2sbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftargetE/translations/zh_TW/userspace-api/media/mediactl/media-ioc-g-topologymodnameN classnameN refexplicituh1hhh ubh)}(hhh]hItalian}hhFsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftargetE/translations/it_IT/userspace-api/media/mediactl/media-ioc-g-topologymodnameN classnameN refexplicituh1hhh ubh)}(hhh]hJapanese}hhZsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftargetE/translations/ja_JP/userspace-api/media/mediactl/media-ioc-g-topologymodnameN classnameN refexplicituh1hhh ubh)}(hhh]hKorean}hhnsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftargetE/translations/ko_KR/userspace-api/media/mediactl/media-ioc-g-topologymodnameN classnameN refexplicituh1hhh ubh)}(hhh]hPortuguese (Brazilian)}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftargetE/translations/pt_BR/userspace-api/media/mediactl/media-ioc-g-topologymodnameN classnameN refexplicituh1hhh ubh)}(hhh]hSpanish}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftargetE/translations/sp_SP/userspace-api/media/mediactl/media-ioc-g-topologymodnameN classnameN refexplicituh1hhh ubeh}(h]h ]h"]h$]h&]current_languageEnglishuh1h hh _documenthsourceNlineNubhcomment)}(h8SPDX-License-Identifier: GFDL-1.1-no-invariants-or-laterh]h8SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later}hhsbah}(h]h ]h"]h$]h&] xml:spacepreserveuh1hhhhhh_/var/lib/git/docbuild/linux/Documentation/userspace-api/media/mediactl/media-ioc-g-topology.rsthKubhtarget)}(h.. _media_ioc_g_topology:h]h}(h]h ]h"]h$]h&]refidmedia-ioc-g-topologyuh1hhKhhhhhhubhsection)}(hhh](htitle)}(hioctl MEDIA_IOC_G_TOPOLOGYh]hioctl MEDIA_IOC_G_TOPOLOGY}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hNameh]hName}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhK ubh paragraph)}(hPMEDIA_IOC_G_TOPOLOGY - Enumerate the graph topology and graph element propertiesh]hPMEDIA_IOC_G_TOPOLOGY - Enumerate the graph topology and graph element properties}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK hhhhubeh}(h]nameah ]h"]nameah$]h&]uh1hhhhhhhhK ubh)}(hhh](h)}(hSynopsish]hSynopsis}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKubhindex)}(hhh]h}(h]h ]h"]h$]h&]entries](single!MC.MEDIA_IOC_G_TOPOLOGY (C macro)c.MC.MEDIA_IOC_G_TOPOLOGYhNtauh1j%hjhhhNhNubhdesc)}(hhh](hdesc_signature)}(hMEDIA_IOC_G_TOPOLOGYh]hdesc_signature_line)}(hMEDIA_IOC_G_TOPOLOGYh]h desc_name)}(hMEDIA_IOC_G_TOPOLOGYh]h desc_sig_name)}(hj?h]hMEDIA_IOC_G_TOPOLOGY}(hjOhhhNhNubah}(h]h ]nah"]h$]h&]uh1jMhjIubah}(h]h ](sig-namedescnameeh"]h$]h&]hhuh1jGhjChhhhhKubah}(h]h ]h"]h$]h&]hhƌ add_permalinkuh1jAsphinx_line_type declaratorhj=hhhhhKubah}(h]j4ah ](sig sig-objecteh"]h$]h&] is_multiline _toc_parts) _toc_namehuh1j;hhhKhj8hhubh desc_content)}(hhh]h}(h]h ]h"]h$]h&]uh1jyhj8hhhhhKubeh}(h]h ](cmacroeh"]h$]h&]domainjobjtypejdesctypejnoindex noindexentrynocontentsentryuh1j6hhhjhNhNubh)}(hK``int ioctl(int fd, MEDIA_IOC_G_TOPOLOGY, struct media_v2_topology *argp)``h]hliteral)}(hjh]hGint ioctl(int fd, MEDIA_IOC_G_TOPOLOGY, struct media_v2_topology *argp)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKhjhhubeh}(h]synopsisah ]h"]synopsisah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(h Argumentsh]h Arguments}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKubhdefinition_list)}(hhh](hdefinition_list_item)}(h5``fd`` File descriptor returned by :c:func:`open()`. h](hterm)}(h``fd``h]j)}(hjh]hfd}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhhhKhjubh definition)}(hhh]h)}(h-File descriptor returned by :c:func:`open()`.h](hFile descriptor returned by }(hjhhhNhNubh)}(h:c:func:`open()`h]j)}(hjh]hopen()}(hjhhhNhNubah}(h]h ](xrefjc-funceh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdoc1userspace-api/media/mediactl/media-ioc-g-topology refdomainjreftypefunc refexplicitrefwarn c:parent_keysphinx.domains.c LookupKey)}data]j ASTIdentifier)} identifierMCsbNasb reftargetopenuh1hhhhKhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhhhKhjubj)}(h8``argp`` Pointer to struct :c:type:`media_v2_topology`. h](j)}(h``argp``h]j)}(hjBh]hargp}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jhhhKhj<ubj)}(hhh]h)}(h.Pointer to struct :c:type:`media_v2_topology`.h](hPointer to struct }(hjZhhhNhNubh)}(h:c:type:`media_v2_topology`h]j)}(hjdh]hmedia_v2_topology}(hjfhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnjjj$media_v2_topologyuh1hhhhKhjZubh.}(hjZhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjWubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhhhKhjhhubeh}(h]h ]h"]h$]h&]uh1jhjhhhhhNubeh}(h] argumentsah ]h"] argumentsah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(h Descriptionh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhK ubh)}(hX#The typical usage of this ioctl is to call it twice. On the first call, the structure defined at struct :c:type:`media_v2_topology` should be zeroed. At return, if no errors happen, this ioctl will return the ``topology_version`` and the total number of entities, interfaces, pads and links.h](hhThe typical usage of this ioctl is to call it twice. On the first call, the structure defined at struct }(hjhhhNhNubh)}(h:c:type:`media_v2_topology`h]j)}(hjh]hmedia_v2_topology}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnjjj$media_v2_topologyuh1hhhhK"hjubhN should be zeroed. At return, if no errors happen, this ioctl will return the }(hjhhhNhNubj)}(h``topology_version``h]htopology_version}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh> and the total number of entities, interfaces, pads and links.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK"hjhhubh)}(hBefore the second call, the userspace should allocate arrays to store the graph elements that are desired, putting the pointers to them at the ptr_entities, ptr_interfaces, ptr_links and/or ptr_pads, keeping the other values untouched.h]hBefore the second call, the userspace should allocate arrays to store the graph elements that are desired, putting the pointers to them at the ptr_entities, ptr_interfaces, ptr_links and/or ptr_pads, keeping the other values untouched.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK)hjhhubh)}(huIf the ``topology_version`` remains the same, the ioctl should fill the desired arrays with the media graph elements.h](hIf the }(hjhhhNhNubj)}(h``topology_version``h]htopology_version}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhZ remains the same, the ioctl should fill the desired arrays with the media graph elements.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK.hjhhubhtabular_col_spec)}(hhh]h}(h]h ]h"]h$]h&]spec|p{1.6cm}|p{3.4cm}|p{12.3cm}|uh1j'hhhK1hjhhubj&)}(hhh]h}(h]h ]h"]h$]h&]entries](j2MC.media_v2_topology (C type)c.MC.media_v2_topologyhNtauh1j%hjhhhNhNubj7)}(hhh](j<)}(hmedia_v2_topologyh]jB)}(htype media_v2_topologyh](hdesc_sig_keyword)}(htypeh]htype}(hjOhhhNhNubah}(h]h ]kah"]h$]h&]uh1jMhjIhhhhhK3ubhdesc_sig_space)}(h h]h }(hj`hhhNhNubah}(h]h ]wah"]h$]h&]uh1j^hjIhhhhhK3ubjH)}(hmedia_v2_topologyh]jN)}(hjGh]hmedia_v2_topology}(hjshhhNhNubah}(h]h ]jYah"]h$]h&]uh1jMhjoubah}(h]h ](j`jaeh"]h$]h&]hhuh1jGhjIhhhhhK3ubeh}(h]h ]h"]h$]h&]hhjkuh1jAjljmhjEhhhhhK3ubah}(h]j@ah ](jqjreh"]h$]h&]jvjw)jxhuh1j;hhhK3hjBhhubjz)}(hhh]h}(h]h ]h"]h$]h&]uh1jyhjBhhhhhK3ubeh}(h]h ](jtypeeh"]h$]h&]jjjjjjjjjuh1j6hhhjhNhNubhtable)}(hhh](h)}(hstruct media_v2_topologyh]hstruct media_v2_topology}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK5hjubhtgroup)}(hhh](hcolspec)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhjubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhjubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhjubhtbody)}(hhh](hrow)}(hhh](hentry)}(hhh]h)}(h__u64h]h__u64}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK:hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h``topology_version``h]j)}(hjh]htopology_version}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhK;hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hVersion of the media graph topology. When the graph is created, this field starts with zero. Every time a graph element is added or removed, this field is incremented.h]hVersion of the media graph topology. When the graph is created, this field starts with zero. Every time a graph element is added or removed, this field is incremented.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKubah}(h]h ]h"]h$]h&]uh1hhhhKuhj;ubah}(h]h ]h"]h$]h&]uh1jhj!ubj)}(hhh]h)}(hA pointer to a memory area where the links array will be stored, converted to a 64-bits integer. It can be zero. if zero, the ioctl won't store the links. It will just update ``num_links``h](hA pointer to a memory area where the links array will be stored, converted to a 64-bits integer. It can be zero. if zero, the ioctl won’t store the links. It will just update }(hj^hhhNhNubj)}(h ``num_links``h]h num_links}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1hhhhKvhj[ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]colsKuh1jhjubeh}(h]id1ah ]h"]h$]h&]uh1jhjhhhNhNubj()}(hhh]h}(h]h ]h"]h$]h&]j2|p{1.6cm}|p{3.2cm}|p{12.5cm}|uh1j'hhhKzhjhhubj&)}(hhh]h}(h]h ]h"]h$]h&]entries](j2MC.media_v2_entity (C type)c.MC.media_v2_entityhNtauh1j%hjhhhNhNubj7)}(hhh](j<)}(hmedia_v2_entityh]jB)}(htype media_v2_entityh](jN)}(hjQh]htype}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjhhhhhK|ubj_)}(h h]h }(hjhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjhhhhhK|ubjH)}(hmedia_v2_entityh]jN)}(hjh]hmedia_v2_entity}(hjhhhNhNubah}(h]h ]jYah"]h$]h&]uh1jMhjubah}(h]h ](j`jaeh"]h$]h&]hhuh1jGhjhhhhhK|ubeh}(h]h ]h"]h$]h&]hhjkuh1jAjljmhjhhhhhK|ubah}(h]jah ](jqjreh"]h$]h&]jvjw)jxhuh1j;hhhK|hjhhubjz)}(hhh]h}(h]h ]h"]h$]h&]uh1jyhjhhhhhK|ubeh}(h]h ](jtypeeh"]h$]h&]jjjj jj jjjuh1j6hhhjhNhNubj)}(hhh](h)}(hstruct media_v2_entityh]hstruct media_v2_entity}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK~hj ubj)}(hhh](j)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhj ubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhj ubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhj ubj)}(hhh](j)}(hhh](j)}(hhh]h)}(h__u32h]h__u32}(hjF hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjC ubah}(h]h ]h"]h$]h&]uh1jhj@ ubj)}(hhh]h)}(h``id``h]j)}(hj_ h]hid}(hja hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj] ubah}(h]h ]h"]h$]h&]uh1hhhhKhjZ ubah}(h]h ]h"]h$]h&]uh1jhj@ ubj)}(hhh]h)}(hUnique ID for the entity. Do not expect that the ID will always be the same for each instance of the device. In other words, do not hardcode entity IDs in an application.h]hUnique ID for the entity. Do not expect that the ID will always be the same for each instance of the device. In other words, do not hardcode entity IDs in an application.}(hj} hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjz ubah}(h]h ]h"]h$]h&]uh1jhj@ ubeh}(h]h ]h"]h$]h&]uh1jhj= ubj)}(hhh](j)}(hhh]h)}(hcharh]hchar}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(h``name``\ [64]h](j)}(h``name``h]hname}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh [64]}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(hcEntity name as an UTF-8 NULL-terminated string. This name must be unique within the media topology.h]hcEntity name as an UTF-8 NULL-terminated string. This name must be unique within the media topology.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj= ubj)}(hhh](j)}(hhh]h)}(h__u32h]h__u32}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(h ``function``h]j)}(hj h]hfunction}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(hDEntity main function, see :ref:`media-entity-functions` for details.h](hEntity main function, see }(hj0 hhhNhNubh)}(h:ref:`media-entity-functions`h]hinline)}(hj: h]hmedia-entity-functions}(hj> hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j< hj8 ubah}(h]h ]h"]h$]h&]refdocj refdomainjH reftyperef refexplicitrefwarnj$media-entity-functionsuh1hhhhKhj0 ubh for details.}(hj0 hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhj- ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj= ubj)}(hhh](j)}(hhh]h)}(h__u32h]h__u32}(hjv hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjs ubah}(h]h ]h"]h$]h&]uh1jhjp ubj)}(hhh]h)}(h ``flags``h]j)}(hj h]hflags}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhjp ubj)}(hhh]h)}(hXEntity flags, see :ref:`media-entity-flag` for details. Only valid if ``MEDIA_V2_ENTITY_HAS_FLAGS(media_version)`` returns true. The ``media_version`` is defined in struct :c:type:`media_device_info` and can be retrieved using :ref:`MEDIA_IOC_DEVICE_INFO`.h](hEntity flags, see }(hj hhhNhNubh)}(h:ref:`media-entity-flag`h]j= )}(hj h]hmedia-entity-flag}(hj hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j< hj ubah}(h]h ]h"]h$]h&]refdocj refdomainj reftyperef refexplicitrefwarnj$media-entity-flaguh1hhhhKhj ubh for details. Only valid if }(hj hhhNhNubj)}(h,``MEDIA_V2_ENTITY_HAS_FLAGS(media_version)``h]h(MEDIA_V2_ENTITY_HAS_FLAGS(media_version)}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh returns true. The }(hj hhhNhNubj)}(h``media_version``h]h media_version}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh is defined in struct }(hj hhhNhNubh)}(h:c:type:`media_device_info`h]j)}(hj h]hmedia_device_info}(hj hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnjjj$media_device_infouh1hhhhKhj ubh and can be retrieved using }(hj hhhNhNubh)}(h:ref:`MEDIA_IOC_DEVICE_INFO`h]j= )}(hj" h]hMEDIA_IOC_DEVICE_INFO}(hj$ hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j< hj ubah}(h]h ]h"]h$]h&]refdocj refdomainj. reftyperef refexplicitrefwarnj$media_ioc_device_infouh1hhhhKhj ubh.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhjp ubeh}(h]h ]h"]h$]h&]uh1jhj= ubj)}(hhh](j)}(hhh]h)}(h__u32h]h__u32}(hj\ hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjY ubah}(h]h ]h"]h$]h&]uh1jhjV ubj)}(hhh]h)}(h``reserved``\ [5]h](j)}(h ``reserved``h]hreserved}(hjw hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjs ubh [5]}(hjs hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjp ubah}(h]h ]h"]h$]h&]uh1jhjV ubj)}(hhh]h)}(hUReserved for future extensions. Drivers and applications must set this array to zero.h]hUReserved for future extensions. Drivers and applications must set this array to zero.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhjV ubeh}(h]h ]h"]h$]h&]uh1jhj= ubeh}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]colsKuh1jhj ubeh}(h]id2ah ]h"]h$]h&]uh1jhjhhhNhNubj()}(hhh]h}(h]h ]h"]h$]h&]j2|p{1.6cm}|p{3.2cm}|p{12.5cm}|uh1j'hhhKhjhhubj&)}(hhh]h}(h]h ]h"]h$]h&]entries](j2MC.media_v2_interface (C type)c.MC.media_v2_interfacehNtauh1j%hjhhhNhNubj7)}(hhh](j<)}(hmedia_v2_interfaceh]jB)}(htype media_v2_interfaceh](jN)}(hjQh]htype}(hj hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhj hhhhhKubj_)}(h h]h }(hj hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj hhhhhKubjH)}(hmedia_v2_interfaceh]jN)}(hj h]hmedia_v2_interface}(hj hhhNhNubah}(h]h ]jYah"]h$]h&]uh1jMhj ubah}(h]h ](j`jaeh"]h$]h&]hhuh1jGhj hhhhhKubeh}(h]h ]h"]h$]h&]hhjkuh1jAjljmhj hhhhhKubah}(h]j ah ](jqjreh"]h$]h&]jvjw)jxhuh1j;hhhKhj hhubjz)}(hhh]h}(h]h ]h"]h$]h&]uh1jyhj hhhhhKubeh}(h]h ](jtypeeh"]h$]h&]jjjj3 jj3 jjjuh1j6hhhjhNhNubj)}(hhh](h)}(hstruct media_v2_interfaceh]hstruct media_v2_interface}(hj: hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj7 ubj)}(hhh](j)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhjH ubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhjH ubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhjH ubj)}(hhh](j)}(hhh](j)}(hhh]h)}(h__u32h]h__u32}(hjr hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjo ubah}(h]h ]h"]h$]h&]uh1jhjl ubj)}(hhh]h)}(h``id``h]j)}(hj h]hid}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhjl ubj)}(hhh]h)}(hUnique ID for the interface. Do not expect that the ID will always be the same for each instance of the device. In other words, do not hardcode interface IDs in an application.h]hUnique ID for the interface. Do not expect that the ID will always be the same for each instance of the device. In other words, do not hardcode interface IDs in an application.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhjl ubeh}(h]h ]h"]h$]h&]uh1jhji ubj)}(hhh](j)}(hhh]h)}(h__u32h]h__u32}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(h ``intf_type``h]j)}(hj h]h intf_type}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(h7Interface type, see :ref:`media-intf-type` for details.h](hInterface type, see }(hj hhhNhNubh)}(h:ref:`media-intf-type`h]j= )}(hj h]hmedia-intf-type}(hj hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j< hj ubah}(h]h ]h"]h$]h&]refdocj refdomainj reftyperef refexplicitrefwarnj$media-intf-typeuh1hhhhKhj ubh for details.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhji ubj)}(hhh](j)}(hhh]h)}(h__u32h]h__u32}(hjD hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjA ubah}(h]h ]h"]h$]h&]uh1jhj> ubj)}(hhh]h)}(h ``flags``h]j)}(hj] h]hflags}(hj_ hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ ubah}(h]h ]h"]h$]h&]uh1hhhhKhjX ubah}(h]h ]h"]h$]h&]uh1jhj> ubj)}(hhh]h)}(h"Interface flags. Currently unused.h]h"Interface flags. Currently unused.}(hj{ hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjx ubah}(h]h ]h"]h$]h&]uh1jhj> ubeh}(h]h ]h"]h$]h&]uh1jhji ubj)}(hhh](j)}(hhh]h)}(h__u32h]h__u32}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(h``reserved``\ [9]h](j)}(h ``reserved``h]hreserved}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh [9]}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(hUReserved for future extensions. Drivers and applications must set this array to zero.h]hUReserved for future extensions. Drivers and applications must set this array to zero.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhji ubj)}(hhh](j)}(hhh]h)}(hstruct media_v2_intf_devnodeh]hstruct media_v2_intf_devnode}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(h ``devnode``h]j)}(hjh]hdevnode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(hVUsed only for device node interfaces. See :c:type:`media_v2_intf_devnode` for details.h](h*Used only for device node interfaces. See }(hj.hhhNhNubh)}(h:c:type:`media_v2_intf_devnode`h]j)}(hj8h]hmedia_v2_intf_devnode}(hj:hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnjjj$media_v2_intf_devnodeuh1hhhhKhj.ubh for details.}(hj.hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhj+ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhji ubeh}(h]h ]h"]h$]h&]uh1jhjH ubeh}(h]h ]h"]h$]h&]colsKuh1jhj7 ubeh}(h]id3ah ]h"]h$]h&]uh1jhjhhhNhNubj()}(hhh]h}(h]h ]h"]h$]h&]j2|p{1.6cm}|p{3.2cm}|p{12.5cm}|uh1j'hhhKhjhhubj&)}(hhh]h}(h]h ]h"]h$]h&]entries](j2!MC.media_v2_intf_devnode (C type)c.MC.media_v2_intf_devnodehNtauh1j%hjhhhNhNubj7)}(hhh](j<)}(hmedia_v2_intf_devnodeh]jB)}(htype media_v2_intf_devnodeh](jN)}(hjQh]htype}(hjhhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjhhhhhKubj_)}(h h]h }(hjhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjhhhhhKubjH)}(hmedia_v2_intf_devnodeh]jN)}(hjh]hmedia_v2_intf_devnode}(hjhhhNhNubah}(h]h ]jYah"]h$]h&]uh1jMhjubah}(h]h ](j`jaeh"]h$]h&]hhuh1jGhjhhhhhKubeh}(h]h ]h"]h$]h&]hhjkuh1jAjljmhjhhhhhKubah}(h]jah ](jqjreh"]h$]h&]jvjw)jxhuh1j;hhhKhjhhubjz)}(hhh]h}(h]h ]h"]h$]h&]uh1jyhjhhhhhKubeh}(h]h ](jtypeeh"]h$]h&]jjjjjjjjjuh1j6hhhjhNhNubj)}(hhh](h)}(hstruct media_v2_intf_devnodeh]hstruct media_v2_intf_devnode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubj)}(hhh](j)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhjubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhjubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhjubj)}(hhh](j)}(hhh](j)}(hhh]h)}(h__u32h]h__u32}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj(ubah}(h]h ]h"]h$]h&]uh1jhj%ubj)}(hhh]h)}(h ``major``h]j)}(hjDh]hmajor}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1hhhhKhj?ubah}(h]h ]h"]h$]h&]uh1jhj%ubj)}(hhh]h)}(hDevice node major number.h]hDevice node major number.}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj_ubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj"ubj)}(hhh](j)}(hhh]h)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhj|ubj)}(hhh]h)}(h ``minor``h]j)}(hjh]hminor}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhj|ubj)}(hhh]h)}(hDevice node minor number.h]hDevice node minor number.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]colsKuh1jhjubeh}(h]id4ah ]h"]h$]h&]uh1jhjhhhNhNubj()}(hhh]h}(h]h ]h"]h$]h&]j2|p{1.6cm}|p{3.2cm}|p{12.5cm}|uh1j'hhhKhjhhubj&)}(hhh]h}(h]h ]h"]h$]h&]entries](j2MC.media_v2_pad (C type)c.MC.media_v2_padhNtauh1j%hjhhhNhNubj7)}(hhh](j<)}(h media_v2_padh]jB)}(htype media_v2_padh](jN)}(hjQh]htype}(hj hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjhhhhhKubj_)}(h h]h }(hjhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjhhhhhKubjH)}(h media_v2_padh]jN)}(hjh]h media_v2_pad}(hj)hhhNhNubah}(h]h ]jYah"]h$]h&]uh1jMhj%ubah}(h]h ](j`jaeh"]h$]h&]hhuh1jGhjhhhhhKubeh}(h]h ]h"]h$]h&]hhjkuh1jAjljmhjhhhhhKubah}(h]jah ](jqjreh"]h$]h&]jvjw)jxhuh1j;hhhKhjhhubjz)}(hhh]h}(h]h ]h"]h$]h&]uh1jyhjhhhhhKubeh}(h]h ](jtypeeh"]h$]h&]jjjjTjjTjjjuh1j6hhhjhNhNubj)}(hhh](h)}(hstruct media_v2_padh]hstruct media_v2_pad}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjXubj)}(hhh](j)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhjiubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhjiubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhjiubj)}(hhh](j)}(hhh](j)}(hhh]h)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h``id``h]j)}(hjh]hid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hUnique ID for the pad. Do not expect that the ID will always be the same for each instance of the device. In other words, do not hardcode pad IDs in an application.h]hUnique ID for the pad. Do not expect that the ID will always be the same for each instance of the device. In other words, do not hardcode pad IDs in an application.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h ``entity_id``h]j)}(hjh]h entity_id}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h0Unique ID for the entity where this pad belongs.h]h0Unique ID for the entity where this pad belongs.}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h__u32h]h__u32}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj>ubah}(h]h ]h"]h$]h&]uh1jhj;ubj)}(hhh]h)}(h ``flags``h]j)}(hjZh]hflags}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1hhhhKhjUubah}(h]h ]h"]h$]h&]uh1jhj;ubj)}(hhh]h)}(h6Pad flags, see :ref:`media-pad-flag` for more details.h](hPad flags, see }(hjxhhhNhNubh)}(h:ref:`media-pad-flag`h]j= )}(hjh]hmedia-pad-flag}(hjhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j< hjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftyperef refexplicitrefwarnj$media-pad-flaguh1hhhhKhjxubh for more details.}(hjxhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjuubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h ``index``h]j)}(hjh]hindex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hPad index, starts at 0. Only valid if ``MEDIA_V2_PAD_HAS_INDEX(media_version)`` returns true. The ``media_version`` is defined in struct :c:type:`media_device_info` and can be retrieved using :ref:`MEDIA_IOC_DEVICE_INFO`.h](h&Pad index, starts at 0. Only valid if }(hjhhhNhNubj)}(h)``MEDIA_V2_PAD_HAS_INDEX(media_version)``h]h%MEDIA_V2_PAD_HAS_INDEX(media_version)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh returns true. The }(hjhhhNhNubj)}(h``media_version``h]h media_version}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is defined in struct }(hjhhhNhNubh)}(h:c:type:`media_device_info`h]j)}(hj!h]hmedia_device_info}(hj#hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnjjj$media_device_infouh1hhhhKhjubh and can be retrieved using }(hjhhhNhNubh)}(h:ref:`MEDIA_IOC_DEVICE_INFO`h]j= )}(hjDh]hMEDIA_IOC_DEVICE_INFO}(hjFhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j< hjBubah}(h]h ]h"]h$]h&]refdocj refdomainjPreftyperef refexplicitrefwarnj$media_ioc_device_infouh1hhhhKhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h__u32h]h__u32}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj{ubah}(h]h ]h"]h$]h&]uh1jhjxubj)}(hhh]h)}(h``reserved``\ [4]h](j)}(h ``reserved``h]hreserved}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh [4]}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjxubj)}(hhh]h)}(hUReserved for future extensions. Drivers and applications must set this array to zero.h]hUReserved for future extensions. Drivers and applications must set this array to zero.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]colsKuh1jhjXubeh}(h]id5ah ]h"]h$]h&]uh1jhjhhhNhNubj()}(hhh]h}(h]h ]h"]h$]h&]j2|p{1.6cm}|p{3.2cm}|p{12.5cm}|uh1j'hhhKhjhhubj&)}(hhh]h}(h]h ]h"]h$]h&]entries](j2MC.media_v2_link (C type)c.MC.media_v2_linkhNtauh1j%hjhhhNhNubj7)}(hhh](j<)}(h media_v2_linkh]jB)}(htype media_v2_linkh](jN)}(hjQh]htype}(hj hhhNhNubah}(h]h ]jZah"]h$]h&]uh1jMhjhhhhhKubj_)}(h h]h }(hjhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjhhhhhKubjH)}(h media_v2_linkh]jN)}(hjh]h media_v2_link}(hj*hhhNhNubah}(h]h ]jYah"]h$]h&]uh1jMhj&ubah}(h]h ](j`jaeh"]h$]h&]hhuh1jGhjhhhhhKubeh}(h]h ]h"]h$]h&]hhjkuh1jAjljmhjhhhhhKubah}(h]jah ](jqjreh"]h$]h&]jvjw)jxhuh1j;hhhKhjhhubjz)}(hhh]h}(h]h ]h"]h$]h&]uh1jyhjhhhhhKubeh}(h]h ](jtypeeh"]h$]h&]jjjjUjjUjjjuh1j6hhhjhNhNubj)}(hhh](h)}(hstruct media_v2_linkh]hstruct media_v2_link}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjYubj)}(hhh](j)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhjjubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhjjubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhjjubj)}(hhh](j)}(hhh](j)}(hhh]h)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h``id``h]j)}(hjh]hid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hUnique ID for the link. Do not expect that the ID will always be the same for each instance of the device. In other words, do not hardcode link IDs in an application.h]hUnique ID for the link. Do not expect that the ID will always be the same for each instance of the device. In other words, do not hardcode link IDs in an application.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h ``source_id``h]j)}(hjh]h source_id}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](h)}(h2On pad to pad links: unique ID for the source pad.h]h2On pad to pad links: unique ID for the source pad.}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubh)}(h:On interface to entity links: unique ID for the interface.h]h:On interface to entity links: unique ID for the interface.}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h__u32h]h__u32}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM hjMubah}(h]h ]h"]h$]h&]uh1jhjJubj)}(hhh]h)}(h ``sink_id``h]j)}(hjih]hsink_id}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1hhhhM hjdubah}(h]h ]h"]h$]h&]uh1jhjJubj)}(hhh](h)}(h0On pad to pad links: unique ID for the sink pad.h]h0On pad to pad links: unique ID for the sink pad.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM hjubh)}(h7On interface to entity links: unique ID for the entity.h]h7On interface to entity links: unique ID for the entity.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM hjubeh}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h ``flags``h]j)}(hjh]hflags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h8Link flags, see :ref:`media-link-flag` for more details.h](hLink flags, see }(hjhhhNhNubh)}(h:ref:`media-link-flag`h]j= )}(hjh]hmedia-link-flag}(hjhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j< hjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftyperef refexplicitrefwarnj$media-link-flaguh1hhhhMhjubh for more details.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h__u32h]h__u32}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj-ubah}(h]h ]h"]h$]h&]uh1jhj*ubj)}(hhh]h)}(h``reserved``\ [6]h](j)}(h ``reserved``h]hreserved}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubh [6]}(hjGhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjDubah}(h]h ]h"]h$]h&]uh1jhj*ubj)}(hhh]h)}(hUReserved for future extensions. Drivers and applications must set this array to zero.h]hUReserved for future extensions. Drivers and applications must set this array to zero.}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjiubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]colsKuh1jhjYubeh}(h]id6ah ]h"]h$]h&]uh1jhjhhhNhNubeh}(h] descriptionah ]h"] descriptionah$]h&]uh1hhhhhhhhK ubh)}(hhh](h)}(h Return Valueh]h Return Value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhMubh)}(hOn success 0 is returned, on error -1 and the ``errno`` variable is set appropriately. The generic error codes are described at the :ref:`Generic Error Codes ` chapter.h](h.On success 0 is returned, on error -1 and the }(hjhhhNhNubj)}(h ``errno``h]herrno}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhM variable is set appropriately. The generic error codes are described at the }(hjhhhNhNubh)}(h':ref:`Generic Error Codes `h]j= )}(hjh]hGeneric Error Codes}(hjhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j< hjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftyperef refexplicitrefwarnj$ gen-errorsuh1hhhhMhjubh chapter.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjhhubj)}(hhh]j)}(hXENOSPC This is returned when either one or more of the num_entities, num_interfaces, num_links or num_pads are non-zero and are smaller than the actual number of elements inside the graph. This may happen if the ``topology_version`` changed when compared to the last time this ioctl was called. Userspace should usually free the area for the pointers, zero the struct elements and call this ioctl again.h](j)}(hENOSPCh]hENOSPC}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhM%hjubj)}(hhh]h)}(hXThis is returned when either one or more of the num_entities, num_interfaces, num_links or num_pads are non-zero and are smaller than the actual number of elements inside the graph. This may happen if the ``topology_version`` changed when compared to the last time this ioctl was called. Userspace should usually free the area for the pointers, zero the struct elements and call this ioctl again.h](hThis is returned when either one or more of the num_entities, num_interfaces, num_links or num_pads are non-zero and are smaller than the actual number of elements inside the graph. This may happen if the }(hjhhhNhNubj)}(h``topology_version``h]htopology_version}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh changed when compared to the last time this ioctl was called. Userspace should usually free the area for the pointers, zero the struct elements and call this ioctl again.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhhhM%hjubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubeh}(h] return-valueah ]h"] return valueah$]h&]uh1hhhhhhhhMubeh}(h](ioctl-media-ioc-g-topologyheh ]h"](ioctl media_ioc_g_topologymedia_ioc_g_topologyeh$]h&]uh1hhhhhhhhKexpect_referenced_by_name}jOhsexpect_referenced_by_id}hhsubeh}(h]h ]h"]h$]h&]sourcehuh1hcurrent_sourceN current_lineNsettingsdocutils.frontendValues)}(hN generatorN datestampN source_linkN source_urlN toc_backlinksjfootnote_backlinksK sectnum_xformKstrip_commentsNstrip_elements_with_classesN strip_classesN report_levelK halt_levelKexit_status_levelKdebugNwarning_streamN tracebackinput_encoding utf-8-siginput_encoding_error_handlerstrictoutput_encodingutf-8output_encoding_error_handlerjxerror_encodingutf-8error_encoding_error_handlerbackslashreplace language_codeenrecord_dependenciesNconfigN id_prefixhauto_id_prefixid dump_settingsNdump_internalsNdump_transformsNdump_pseudo_xmlNexpose_internalsNstrict_visitorN_disable_configN_sourcehnj _destinationN _config_files]7/var/lib/git/docbuild/linux/Documentation/docutils.confafile_insertion_enabled raw_enabledKline_length_limitM'pep_referencesN pep_base_urlhttps://peps.python.org/pep_file_url_templatepep-%04drfc_referencesN rfc_base_url&https://datatracker.ietf.org/doc/html/ tab_widthKtrim_footnote_reference_spacesyntax_highlightlong smart_quotessmartquotes_locales]character_level_inline_markupdoctitle_xform docinfo_xformKsectsubtitle_xform image_loadinglinkembed_stylesheetcloak_email_addressessection_self_linkenvNubreporterNindirect_targets]substitution_defs}substitution_names}refnames}refids}h]hasnameids}(jOhjNjKjjjjjjjjjFjCu nametypes}(jOjNjjjjjFuh}(hhjKhjhjjj4j=jjjjj@jEjjj j jjjjjjjCjjjj j jzj7 jjjjXjjYu footnote_refs} citation_refs} autofootnotes]autofootnote_refs]symbol_footnotes]symbol_footnote_refs] footnotes] citations]autofootnote_startKsymbol_footnote_startK id_counter collectionsCounter}jKsRparse_messages]transform_messages]hsystem_message)}(hhh]h)}(hhh]h:Hyperlink target "media-ioc-g-topology" is not referenced.}hjsbah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]levelKtypeINFOsourcehnjlineKuh1juba transformerN include_log] decorationNhhub.