sphinx.addnodesdocument)}( rawsourcechildren]( translations LanguagesNode)}(hhh](h pending_xref)}(hhh]docutils.nodesTextChinese (Simplified)}parenthsba attributes}(ids]classes]names]dupnames]backrefs] refdomainstdreftypedoc reftarget;/translations/zh_CN/userspace-api/media/cec/cec-ioc-dqeventmodnameN classnameN refexplicitutagnamehhh ubh)}(hhh]hChinese (Traditional)}hh2sbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget;/translations/zh_TW/userspace-api/media/cec/cec-ioc-dqeventmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hItalian}hhFsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget;/translations/it_IT/userspace-api/media/cec/cec-ioc-dqeventmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hJapanese}hhZsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget;/translations/ja_JP/userspace-api/media/cec/cec-ioc-dqeventmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hKorean}hhnsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget;/translations/ko_KR/userspace-api/media/cec/cec-ioc-dqeventmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hSpanish}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget;/translations/sp_SP/userspace-api/media/cec/cec-ioc-dqeventmodnameN 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:spacepreserveuh1hhhhhhU/var/lib/git/docbuild/linux/Documentation/userspace-api/media/cec/cec-ioc-dqevent.rsthKubhtarget)}(h.. _CEC_DQEVENT:h]h}(h]h ]h"]h$]h&]refid cec-dqeventuh1hhKhhhhhhubhsection)}(hhh](htitle)}(hioctl CEC_DQEVENTh]hioctl CEC_DQEVENT}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hNameh]hName}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhK ubh paragraph)}(h!CEC_DQEVENT - Dequeue a CEC eventh]h!CEC_DQEVENT - Dequeue a CEC event}(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](singleCEC.CEC_DQEVENT (C macro)c.CEC.CEC_DQEVENThNtauh1jhjhhhNhNubhdesc)}(hhh](hdesc_signature)}(h CEC_DQEVENTh]hdesc_signature_line)}(h CEC_DQEVENTh]h desc_name)}(h CEC_DQEVENTh]h desc_sig_name)}(hj+h]h CEC_DQEVENT}(hj;hhhNhNubah}(h]h ]nah"]h$]h&]uh1j9hj5ubah}(h]h ](sig-namedescnameeh"]h$]h&]hhuh1j3hj/hhhhhKubah}(h]h ]h"]h$]h&]hh add_permalinkuh1j-sphinx_line_type declaratorhj)hhhhhKubah}(h]j ah ](sig sig-objecteh"]h$]h&] is_multiline _toc_parts) _toc_namehuh1j'hhhKhj$hhubh desc_content)}(hhh]h}(h]h ]h"]h$]h&]uh1jehj$hhhhhKubeh}(h]h ](cmacroeh"]h$]h&]domainjsobjtypejtdesctypejtnoindex noindexentrynocontentsentryuh1j"hhhjhNhNubh)}(h:``int ioctl(int fd, CEC_DQEVENT, struct cec_event *argp)``h]hliteral)}(hjh]h6int ioctl(int fd, CEC_DQEVENT, struct cec_event *argp)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(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 ](xrefjsc-funceh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdoc'userspace-api/media/cec/cec-ioc-dqevent refdomainjsreftypefunc refexplicitrefwarn c:parent_keysphinx.domains.c LookupKey)}data]j ASTIdentifier)} identifierCECsbNasb reftargetopenuh1hhhhKhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubh)}(h``argp``h]j)}(hj0h]hargp}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1hhhhKhjhhubeh}(h] argumentsah ]h"] argumentsah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(h Descriptionh]h Description}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjMhhhhhKubh)}(hCEC devices can send asynchronous events. These can be retrieved by calling :c:func:`CEC_DQEVENT`. If the file descriptor is in non-blocking mode and no event is pending, then it will return -1 and set errno to the ``EAGAIN`` error code.h](hLCEC devices can send asynchronous events. These can be retrieved by calling }(hj^hhhNhNubh)}(h:c:func:`CEC_DQEVENT`h]j)}(hjhh]h CEC_DQEVENT()}(hjjhhhNhNubah}(h]h ](jjsc-funceh"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]refdocj refdomainjsreftypefunc refexplicitrefwarnjjj CEC_DQEVENTuh1hhhhK!hj^ubhv. If the file descriptor is in non-blocking mode and no event is pending, then it will return -1 and set errno to the }(hj^hhhNhNubj)}(h ``EAGAIN``h]hEAGAIN}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubh error code.}(hj^hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK!hjMhhubh)}(hX9The internal event queues are per-filehandle and per-event type. If there is no more room in a queue then the last event is overwritten with the new one. This means that intermediate results can be thrown away but that the latest event is always available. This also means that is it possible to read two successive events that have the same value (e.g. two :ref:`CEC_EVENT_STATE_CHANGE ` events with the same state). In that case the intermediate state changes were lost but it is guaranteed that the state did change in between the two events.h](hXfThe internal event queues are per-filehandle and per-event type. If there is no more room in a queue then the last event is overwritten with the new one. This means that intermediate results can be thrown away but that the latest event is always available. This also means that is it possible to read two successive events that have the same value (e.g. two }(hjhhhNhNubh)}(h6:ref:`CEC_EVENT_STATE_CHANGE `h]hinline)}(hjh]hCEC_EVENT_STATE_CHANGE}(hjhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftyperef refexplicitrefwarnjcec-event-state-changeuh1hhhhK&hjubh events with the same state). In that case the intermediate state changes were lost but it is guaranteed that the state did change in between the two events.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK&hjMhhubhtabular_col_spec)}(hhh]h}(h]h ]h"]h$]h&]spec|p{1.2cm}|p{2.9cm}|p{13.2cm}|uh1jhhhK/hjMhhubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j#CEC.cec_event_state_change (C type)c.CEC.cec_event_state_changehNtauh1jhjMhhhNhNubj#)}(hhh](j()}(hcec_event_state_changeh]j.)}(htype cec_event_state_changeh](hdesc_sig_keyword)}(htypeh]htype}(hjhhhNhNubah}(h]h ]kah"]h$]h&]uh1jhjhhhhhK1ubhdesc_sig_space)}(h h]h }(hjhhhNhNubah}(h]h ]wah"]h$]h&]uh1j hjhhhhhK1ubj4)}(hcec_event_state_changeh]j:)}(hjh]hcec_event_state_change}(hj!hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j9hjubah}(h]h ](jLjMeh"]h$]h&]hhuh1j3hjhhhhhK1ubeh}(h]h ]h"]h$]h&]hhjWuh1j-jXjYhjhhhhhK1ubah}(h]jah ](j]j^eh"]h$]h&]jbjc)jdhuh1j'hhhK1hjhhubjf)}(hhh]h}(h]h ]h"]h$]h&]uh1jehjhhhhhK1ubeh}(h]h ](jstypeeh"]h$]h&]jxjsjyjLjzjLj{j|j}uh1j"hhhjMhNhNubhtable)}(hhh](h)}(hstruct cec_event_state_changeh]hstruct cec_event_state_change}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK3hjRubhtgroup)}(hhh](hcolspec)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhhjeubji)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhhjeubji)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhhjeubhtbody)}(hhh](hrow)}(hhh](hentry)}(hhh]h)}(h__u16h]h__u16}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK8hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h ``phys_addr``h]j)}(hjh]h phys_addr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhK9hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hdThe current physical address. This is ``CEC_PHYS_ADDR_INVALID`` if no valid physical address is set.h](h&The current physical address. This is }(hjhhhNhNubj)}(h``CEC_PHYS_ADDR_INVALID``h]hCEC_PHYS_ADDR_INVALID}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh% if no valid physical address is set.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK:hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h__u16h]h__u16}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h__u16h]h__u16}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKBhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h``have_conn_info``h]j)}(hjh]hhave_conn_info}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKChjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hXbIf non-zero, then HDMI connector information is available. This field is only valid if ``CEC_CAP_CONNECTOR_INFO`` is set. If that capability is set and ``have_conn_info`` is zero, then that indicates that the HDMI connector device is not instantiated, either because the HDMI driver is still configuring the device or because the HDMI device was unbound.h](hWIf non-zero, then HDMI connector information is available. This field is only valid if }(hjhhhNhNubj)}(h``CEC_CAP_CONNECTOR_INFO``h]hCEC_CAP_CONNECTOR_INFO}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh' is set. If that capability is set and }(hjhhhNhNubj)}(h``have_conn_info``h]hhave_conn_info}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is zero, then that indicates that the HDMI connector device is not instantiated, either because the HDMI driver is still configuring the device or because the HDMI device was unbound.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKDhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]colsKuh1jchjRubeh}(h]id1ah ]h"]h$]h&]uh1jPhjMhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j CEC.cec_event_lost_msgs (C type)c.CEC.cec_event_lost_msgshNtauh1jhjMhhhNhNubj#)}(hhh](j()}(hcec_event_lost_msgsh]j.)}(htype cec_event_lost_msgsh](j)}(hjh]htype}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+hhhhhKKubj )}(h h]h }(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+hhhhhKKubj4)}(hcec_event_lost_msgsh]j:)}(hj)h]hcec_event_lost_msgs}(hjNhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j9hjJubah}(h]h ](jLjMeh"]h$]h&]hhuh1j3hj+hhhhhKKubeh}(h]h ]h"]h$]h&]hhjWuh1j-jXjYhj'hhhhhKKubah}(h]j"ah ](j]j^eh"]h$]h&]jbjc)jdhuh1j'hhhKKhj$hhubjf)}(hhh]h}(h]h ]h"]h$]h&]uh1jehj$hhhhhKKubeh}(h]h ](jstypeeh"]h$]h&]jxjsjyjyjzjyj{j|j}uh1j"hhhjMhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]j|p{1.0cm}|p{2.0cm}|p{14.3cm}|uh1jhhhKMhjMhhubjQ)}(hhh](h)}(hstruct cec_event_lost_msgsh]hstruct cec_event_lost_msgs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKOhjubjd)}(hhh](ji)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhhjubji)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhhjubji)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhhjubj)}(hhh]j)}(hhh](j)}(hhh]h)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKThjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h ``lost_msgs``h]j)}(hjh]h lost_msgs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKUhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hXSet to the number of lost messages since the filehandle was opened or since the last time this event was dequeued for this filehandle. The messages lost are the oldest messages. So when a new message arrives and there is no more room, then the oldest message is discarded to make room for the new one. The internal size of the message queue guarantees that all messages received in the last two seconds will be stored. Since messages should be replied to within a second according to the CEC specification, this is more than enough.h]hXSet to the number of lost messages since the filehandle was opened or since the last time this event was dequeued for this filehandle. The messages lost are the oldest messages. So when a new message arrives and there is no more room, then the oldest message is discarded to make room for the new one. The internal size of the message queue guarantees that all messages received in the last two seconds will be stored. Since messages should be replied to within a second according to the CEC specification, this is more than enough.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKVhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]colsKuh1jchjubeh}(h]id2ah ]h"]h$]h&]uh1jPhjMhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]j%|p{1.0cm}|p{4.4cm}|p{2.5cm}|p{9.2cm}|uh1jhhhK`hjMhhubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jCEC.cec_event (C type)c.CEC.cec_eventhNtauh1jhjMhhhNhNubj#)}(hhh](j()}(h cec_eventh]j.)}(htype cec_eventh](j)}(hjh]htype}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFhhhhhKbubj )}(h h]h }(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFhhhhhKbubj4)}(h cec_eventh]j:)}(hjDh]h cec_event}(hjihhhNhNubah}(h]h ]jEah"]h$]h&]uh1j9hjeubah}(h]h ](jLjMeh"]h$]h&]hhuh1j3hjFhhhhhKbubeh}(h]h ]h"]h$]h&]hhjWuh1j-jXjYhjBhhhhhKbubah}(h]j=ah ](j]j^eh"]h$]h&]jbjc)jdhuh1j'hhhKbhj?hhubjf)}(hhh]h}(h]h ]h"]h$]h&]uh1jehj?hhhhhKbubeh}(h]h ](jstypeeh"]h$]h&]jxjsjyjjzjj{j|j}uh1j"hhhjMhNhNubjQ)}(hhh](h)}(hstruct cec_eventh]hstruct cec_event}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKdhjubjd)}(hhh](ji)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhhjubji)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhhjubji)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhhjubj)}(hhh](j)}(hhh](j)}(hhh]h)}(h__u64h]h__u64}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKihjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h``ts``h]j)}(hjh]hts}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKjhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](h)}(hTimestamp of the event in ns.h]hTimestamp of the event in ns.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKkhjubh)}(h@The timestamp has been taken from the ``CLOCK_MONOTONIC`` clock.h](h&The timestamp has been taken from the }(hjhhhNhNubj)}(h``CLOCK_MONOTONIC``h]hCLOCK_MONOTONIC}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh clock.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKmhjubh)}(hDTo access the same clock from userspace use :c:func:`clock_gettime`.h](h,To access the same clock from userspace use }(hj8hhhNhNubh)}(h:c:func:`clock_gettime`h]j)}(hjBh]hclock_gettime()}(hjDhhhNhNubah}(h]h ](jjsc-funceh"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]refdocj refdomainjsreftypefunc refexplicitrefwarnjjj clock_gettimeuh1hhhhKohj8ubh.}(hj8hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKohjubeh}(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&]uh1hhhhKphjxubah}(h]h ]h"]h$]h&]uh1jhjuubj)}(hhh]h)}(h ``event``h]j)}(hjh]hevent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKqhjubah}(h]h ]h"]h$]h&]uh1jhjuubj)}(hhh]h)}(h*The CEC event type, see :ref:`cec-events`.h](hThe CEC event type, see }(hjhhhNhNubh)}(h:ref:`cec-events`h]j)}(hjh]h cec-events}(hjhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftyperef refexplicitrefwarnj cec-eventsuh1hhhhKrhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKrhjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKshjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h ``flags``h]j)}(hjh]hflags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhhhKthj ubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h(Event flags, see :ref:`cec-event-flags`.h](hEvent flags, see }(hj-hhhNhNubh)}(h:ref:`cec-event-flags`h]j)}(hj7h]hcec-event-flags}(hj9hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]refdocj refdomainjCreftyperef refexplicitrefwarnjcec-event-flagsuh1hhhhKuhj-ubh.}(hj-hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKuhj*ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(hunion {h]hunion {}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKvhjnubah}(h]h ]h"]h$]h&]uh1jhjkubj)}(hhh]h)}(h (anonymous)h]h (anonymous)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKwhjubah}(h]h ]h"]h$]h&]morecolsKuh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(hstruct cec_event_state_changeh]hstruct cec_event_state_change}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKxhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h``state_change``h]j)}(hjh]h state_change}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKyhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hbThe new adapter state as sent by the :ref:`CEC_EVENT_STATE_CHANGE ` event.h](h%The new adapter state as sent by the }(hjhhhNhNubh)}(h6:ref:`CEC_EVENT_STATE_CHANGE `h]j)}(hjh]hCEC_EVENT_STATE_CHANGE}(hjhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftyperef refexplicitrefwarnjcec-event-state-changeuh1hhhhKzhjubh event.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKzhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(hstruct cec_event_lost_msgsh]hstruct cec_event_lost_msgs}(hj$ hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK|hj! ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(h ``lost_msgs``h]j)}(hj= h]h lost_msgs}(hj? hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj; ubah}(h]h ]h"]h$]h&]uh1hhhhK}hj8 ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(hbThe number of lost messages as sent by the :ref:`CEC_EVENT_LOST_MSGS ` event.h](h+The number of lost messages as sent by the }(hj[ hhhNhNubh)}(h0:ref:`CEC_EVENT_LOST_MSGS `h]j)}(hje h]hCEC_EVENT_LOST_MSGS}(hjg hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1jhjc ubah}(h]h ]h"]h$]h&]refdocj refdomainjq reftyperef refexplicitrefwarnjcec-event-lost-msgsuh1hhhhK~hj[ ubh event.}(hj[ hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK~hjX ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h}h]h}}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h}(h]h ]h"]h$]h&]morecolsKuh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]colsKuh1jchjubeh}(h]id3ah ]h"]h$]h&]uh1jPhjMhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]j|p{5.6cm}|p{0.9cm}|p{10.8cm}|uh1jhhhKhjMhhubh)}(h.. _cec-events:h]h}(h]h ]h"]h$]h&]h cec-eventsuh1hhKhjMhhhhubjQ)}(hhh](h)}(hCEC Events Typesh]hCEC Events Types}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubjd)}(hhh](ji)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhhj ubji)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhhj ubji)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhhj ubj)}(hhh](j)}(hhh](j)}(hhh](h)}(h.. _`CEC-EVENT-STATE-CHANGE`:h]h}(h]h ]h"]h$]h&]hcec-event-state-changeuh1hhKhj)}(hhh](j' h)}(hGenerated when the CEC Adapter's state changes. When open() is called an initial event will be generated for that filehandle with the CEC Adapter's state at that time.h]hGenerated when the CEC Adapter’s state changes. When open() is called an initial event will be generated for that filehandle with the CEC Adapter’s state at that time.}(hj5 hhhNhNubah}(h]j1 ah ]h"]cec-event-state-changeah$]h&]uh1hhhhKhj2 expect_referenced_by_name}jA j' sexpect_referenced_by_id}j1 j' subeh}(h]h ]h"]h$]h&]uh1jhj! ububh)}(h``CEC_EVENT_STATE_CHANGE``h]j)}(hjP h]hCEC_EVENT_STATE_CHANGE}(hjR hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjN ubah}(h]h ]h"]h$]h&]uh1hhhhKhj$ ubeh}(h]h ]h"]h$]h&]uh1jhj! ubj)}(hhh](j' h)}(h1h]h1}(hjn hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjk ubeh}(h]h ]h"]h$]h&]uh1jhj! ubj2 eh}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh](j)}(hhh](h)}(h.. _`CEC-EVENT-LOST-MSGS`:h]h}(h]h ]h"]h$]h&]hcec-event-lost-msgsuh1hhKhj)}(hhh](j h)}(hpGenerated if one or more CEC messages were lost because the application didn't dequeue CEC messages fast enough.h]hrGenerated if one or more CEC messages were lost because the application didn’t dequeue CEC messages fast enough.}(hj hhhNhNubah}(h]j ah ]h"]cec-event-lost-msgsah$]h&]uh1hhhhKhj jD }j j sjF }j j subeh}(h]h ]h"]h$]h&]uh1jhj ububh)}(h``CEC_EVENT_LOST_MSGS``h]j)}(hj h]hCEC_EVENT_LOST_MSGS}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubeh}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh](j h)}(h2h]h2}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubeh}(h]h ]h"]h$]h&]uh1jhj ubj eh}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh](j)}(hhh](h)}(h.. _`CEC-EVENT-PIN-CEC-LOW`:h]h}(h]h ]h"]h$]h&]hcec-event-pin-cec-lowuh1hhKhj)}(hhh](j h)}(hGenerated if the CEC pin goes from a high voltage to a low voltage. Only applies to adapters that have the ``CEC_CAP_MONITOR_PIN`` capability set.h](hkGenerated if the CEC pin goes from a high voltage to a low voltage. Only applies to adapters that have the }(hj hhhNhNubj)}(h``CEC_CAP_MONITOR_PIN``h]hCEC_CAP_MONITOR_PIN}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh capability set.}(hj hhhNhNubeh}(h]j ah ]h"]cec-event-pin-cec-lowah$]h&]uh1hhhhKhj jD }j j sjF }j j subeh}(h]h ]h"]h$]h&]uh1jhj ububh)}(h``CEC_EVENT_PIN_CEC_LOW``h]j)}(hj, h]hCEC_EVENT_PIN_CEC_LOW}(hj. hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj* ubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubeh}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh](j h)}(h3h]h3}(hjJ hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjG ubeh}(h]h ]h"]h$]h&]uh1jhj ubj eh}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh](j)}(hhh](h)}(h.. _`CEC-EVENT-PIN-CEC-HIGH`:h]h}(h]h ]h"]h$]h&]hcec-event-pin-cec-highuh1hhKhj)}(hhh](jj h)}(hGenerated if the CEC pin goes from a low voltage to a high voltage. Only applies to adapters that have the ``CEC_CAP_MONITOR_PIN`` capability set.h](hkGenerated if the CEC pin goes from a low voltage to a high voltage. Only applies to adapters that have the }(hjx hhhNhNubj)}(h``CEC_CAP_MONITOR_PIN``h]hCEC_CAP_MONITOR_PIN}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjx ubh capability set.}(hjx hhhNhNubeh}(h]jt ah ]h"]cec-event-pin-cec-highah$]h&]uh1hhhhKhju jD }j jj sjF }jt jj subeh}(h]h ]h"]h$]h&]uh1jhjd ububh)}(h``CEC_EVENT_PIN_CEC_HIGH``h]j)}(hj h]hCEC_EVENT_PIN_CEC_HIGH}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhhhKhjg ubeh}(h]h ]h"]h$]h&]uh1jhjd ubj)}(hhh](jj h)}(h4h]h4}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubeh}(h]h ]h"]h$]h&]uh1jhjd ubju eh}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh](j)}(hhh](h)}(h.. _`CEC-EVENT-PIN-HPD-LOW`:h]h}(h]h ]h"]h$]h&]hcec-event-pin-hpd-lowuh1hhKhj)}(hhh](j h)}(hXGenerated if the HPD pin goes from a high voltage to a low voltage. Only applies to adapters that have the ``CEC_CAP_MONITOR_PIN`` capability set. When open() is called, the HPD pin can be read and if the HPD is low, then an initial event will be generated for that filehandle.h](hkGenerated if the HPD pin goes from a high voltage to a low voltage. Only applies to adapters that have the }(hj hhhNhNubj)}(h``CEC_CAP_MONITOR_PIN``h]hCEC_CAP_MONITOR_PIN}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh capability set. When open() is called, the HPD pin can be read and if the HPD is low, then an initial event will be generated for that filehandle.}(hj hhhNhNubeh}(h]j ah ]h"]cec-event-pin-hpd-lowah$]h&]uh1hhhhKhj jD }j j sjF }j j subeh}(h]h ]h"]h$]h&]uh1jhj ububh)}(h``CEC_EVENT_PIN_HPD_LOW``h]j)}(hj h]hCEC_EVENT_PIN_HPD_LOW}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubeh}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh](j h)}(h5h]h5}(hj8 hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj5 ubeh}(h]h ]h"]h$]h&]uh1jhj ubj eh}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh](j)}(hhh](h)}(h.. _`CEC-EVENT-PIN-HPD-HIGH`:h]h}(h]h ]h"]h$]h&]hcec-event-pin-hpd-highuh1hhKhj)}(hhh](jX h)}(hXGenerated if the HPD pin goes from a low voltage to a high voltage. Only applies to adapters that have the ``CEC_CAP_MONITOR_PIN`` capability set. When open() is called, the HPD pin can be read and if the HPD is high, then an initial event will be generated for that filehandle.h](hkGenerated if the HPD pin goes from a low voltage to a high voltage. Only applies to adapters that have the }(hjf hhhNhNubj)}(h``CEC_CAP_MONITOR_PIN``h]hCEC_CAP_MONITOR_PIN}(hjn hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjf ubh capability set. When open() is called, the HPD pin can be read and if the HPD is high, then an initial event will be generated for that filehandle.}(hjf hhhNhNubeh}(h]jb ah ]h"]cec-event-pin-hpd-highah$]h&]uh1hhhhKhjc jD }j jX sjF }jb jX subeh}(h]h ]h"]h$]h&]uh1jhjR ububh)}(h``CEC_EVENT_PIN_HPD_HIGH``h]j)}(hj h]hCEC_EVENT_PIN_HPD_HIGH}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhhhKhjU ubeh}(h]h ]h"]h$]h&]uh1jhjR ubj)}(hhh](jX h)}(h6h]h6}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubeh}(h]h ]h"]h$]h&]uh1jhjR ubjc eh}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh](j)}(hhh](h)}(h.. _`CEC-EVENT-PIN-5V-LOW`:h]h}(h]h ]h"]h$]h&]hcec-event-pin-5v-lowuh1hhKhj)}(hhh](j h)}(hXGenerated if the 5V pin goes from a high voltage to a low voltage. Only applies to adapters that have the ``CEC_CAP_MONITOR_PIN`` capability set. When open() is called, the 5V pin can be read and if the 5V is low, then an initial event will be generated for that filehandle.h](hjGenerated if the 5V pin goes from a high voltage to a low voltage. Only applies to adapters that have the }(hj hhhNhNubj)}(h``CEC_CAP_MONITOR_PIN``h]hCEC_CAP_MONITOR_PIN}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh capability set. When open() is called, the 5V pin can be read and if the 5V is low, then an initial event will be generated for that filehandle.}(hj hhhNhNubeh}(h]j ah ]h"]cec-event-pin-5v-lowah$]h&]uh1hhhhKhj jD }j j sjF }j j subeh}(h]h ]h"]h$]h&]uh1jhj ububh)}(h``CEC_EVENT_PIN_5V_LOW``h]j)}(hj h]hCEC_EVENT_PIN_5V_LOW}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubeh}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh](j h)}(hj h]h6}(hj& hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj# ubeh}(h]h ]h"]h$]h&]uh1jhj ubj eh}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh](j)}(hhh](h)}(h.. _`CEC-EVENT-PIN-5V-HIGH`:h]h}(h]h ]h"]h$]h&]hcec-event-pin-5v-highuh1hhKhj)}(hhh](jE h)}(hXGenerated if the 5V pin goes from a low voltage to a high voltage. Only applies to adapters that have the ``CEC_CAP_MONITOR_PIN`` capability set. When open() is called, the 5V pin can be read and if the 5V is high, then an initial event will be generated for that filehandle.h](hjGenerated if the 5V pin goes from a low voltage to a high voltage. Only applies to adapters that have the }(hjS hhhNhNubj)}(h``CEC_CAP_MONITOR_PIN``h]hCEC_CAP_MONITOR_PIN}(hj[ hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjS ubh capability set. When open() is called, the 5V pin can be read and if the 5V is high, then an initial event will be generated for that filehandle.}(hjS hhhNhNubeh}(h]jO ah ]h"]cec-event-pin-5v-highah$]h&]uh1hhhhKhjP jD }jq jE sjF }jO jE subeh}(h]h ]h"]h$]h&]uh1jhj? ububh)}(h``CEC_EVENT_PIN_5V_HIGH``h]j)}(hj~ h]hCEC_EVENT_PIN_5V_HIGH}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj| ubah}(h]h ]h"]h$]h&]uh1hhhhKhjB ubeh}(h]h ]h"]h$]h&]uh1jhj? ubj)}(hhh](jE h)}(h7h]h7}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubeh}(h]h ]h"]h$]h&]uh1jhj? ubjP eh}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]colsKuh1jchj ubeh}(h](id4j eh ]h"] cec-eventsah$]h&]uh1jPhjMhhhNhNjD }j j sjF }j j subj)}(hhh]h}(h]h ]h"]h$]h&]j|p{6.0cm}|p{0.6cm}|p{10.7cm}|uh1jhhhKhjMhhubh)}(h.. _cec-event-flags:h]h}(h]h ]h"]h$]h&]hcec-event-flagsuh1hhKhjMhhhhubjQ)}(hhh](h)}(hCEC Event Flagsh]hCEC Event Flags}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubjd)}(hhh](ji)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhhj ubji)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhhj ubji)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhhj ubj)}(hhh](j)}(hhh](j)}(hhh](h)}(h!.. _`CEC-EVENT-FL-INITIAL-STATE`:h]h}(h]h ]h"]h$]h&]hcec-event-fl-initial-stateuh1hhKhj)}(hhh](jh)}(hSet for the initial events that are generated when the device is opened. See the table above for which events do this. This allows applications to learn the initial state of the CEC adapter at open() time.h]hSet for the initial events that are generated when the device is opened. See the table above for which events do this. This allows applications to learn the initial state of the CEC adapter at open() time.}(hj+hhhNhNubah}(h]j'ah ]h"]cec-event-fl-initial-stateah$]h&]uh1hhhhKhj(jD }j7jsjF }j'jsubeh}(h]h ]h"]h$]h&]uh1jhjububh)}(h``CEC_EVENT_FL_INITIAL_STATE``h]j)}(hjDh]hCEC_EVENT_FL_INITIAL_STATE}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1hhhhKhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](jh)}(hjp h]h1}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj_ubeh}(h]h ]h"]h$]h&]uh1jhjubj(eh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh](h)}(h".. _`CEC-EVENT-FL-DROPPED-EVENTS`:h]h}(h]h ]h"]h$]h&]hcec-event-fl-dropped-eventsuh1hhKhj)}(hhh](jh)}(hSet if one or more events of the given event type have been dropped. This is an indication that the application cannot keep up.h]hSet if one or more events of the given event type have been dropped. This is an indication that the application cannot keep up.}(hjhhhNhNubah}(h]jah ]h"]cec-event-fl-dropped-eventsah$]h&]uh1hhhhKhjjD }jjsjF }jjsubeh}(h]h ]h"]h$]h&]uh1jhj{ububh)}(h``CEC_EVENT_FL_DROPPED_EVENTS``h]j)}(hjh]hCEC_EVENT_FL_DROPPED_EVENTS}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKhj~ubeh}(h]h ]h"]h$]h&]uh1jhj{ubj)}(hhh](jh)}(hj h]h2}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubeh}(h]h ]h"]h$]h&]uh1jhj{ubjeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]colsKuh1jchj ubeh}(h](id5j eh ]h"]cec-event-flagsah$]h&]uh1jPhjMhhhNhNjD }jj sjF }j j subeh}(h] descriptionah ]h"] descriptionah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(h Return Valueh]h Return Value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKubh)}(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)}(hj+h]hGeneric Error Codes}(hj-hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]refdocj refdomainj7reftyperef refexplicitrefwarnj gen-errorsuh1hhhhKhjubh chapter.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjhhubh)}(hPThe :ref:`ioctl CEC_DQEVENT ` can return the following error codes:h](hThe }(hjShhhNhNubh)}(h&:ref:`ioctl CEC_DQEVENT `h]j)}(hj]h]hioctl CEC_DQEVENT}(hj_hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]refdocj refdomainjireftyperef refexplicitrefwarnj cec_dqeventuh1hhhhKhjSubh& can return the following error codes:}(hjShhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjhhubj)}(hhh](j)}(heEAGAIN This is returned when the filehandle is in non-blocking mode and there are no pending events. h](j)}(hEAGAINh]hEAGAIN}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhKhjubj)}(hhh]h)}(h]This is returned when the filehandle is in non-blocking mode and there are no pending events.h]h]This is returned when the filehandle is in non-blocking mode and there are no pending events.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhhhKhjubj)}(hcERESTARTSYS An interrupt (e.g. Ctrl-C) arrived while in blocking mode waiting for events to arrive.h](j)}(h ERESTARTSYSh]h ERESTARTSYS}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhKhjubj)}(hhh]h)}(hWAn interrupt (e.g. Ctrl-C) arrived while in blocking mode waiting for events to arrive.h]hWAn interrupt (e.g. Ctrl-C) arrived while in blocking mode waiting for events to arrive.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhhhKhjhhubeh}(h]h ]h"]h$]h&]uh1jhjhhhhhNubeh}(h] return-valueah ]h"] return valueah$]h&]uh1hhhhhhhhKubeh}(h](ioctl-cec-dqeventheh ]h"](ioctl cec_dqevent cec_dqeventeh$]h&]uh1hhhhhhhhKjD }jhsjF }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_handlerj!error_encodingutf-8error_encoding_error_handlerbackslashreplace language_codeenrecord_dependenciesNconfigN id_prefixhauto_id_prefixid dump_settingsNdump_internalsNdump_transformsNdump_pseudo_xmlNexpose_internalsNstrict_visitorN_disable_configN_sourceh _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]haj ]j aj1 ]j' aj ]j aj ]j ajt ]jj aj ]j ajb ]jX aj ]j ajO ]jE aj ]j aj']jaj]jaunameids}(jhjjhhjjjJjGjjj j jA j1 j j j j j jt j j j jb j j jq jO jj j7j'jjjju nametypes}(jjhjjJjj jA j j j j j j jq jj7jjuh}(hhjhhhjjj j)jGjjjMjjj"j'j=jBj j j1 j5 j j j j jt jx j j jb jf j j jO jS j j j'j+jjjjjjRj"jj jj j jj u footnote_refs} citation_refs} autofootnotes]autofootnote_refs]symbol_footnotes]symbol_footnote_refs] footnotes] citations]autofootnote_startKsymbol_footnote_startK id_counter collectionsCounter}j/KsRparse_messages]hsystem_message)}(hhh]h)}(heUnexpected possible title overline or transition. Treating it as ordinary text because it's so short.h]hgUnexpected possible title overline or transition. Treating it as ordinary text because it’s so short.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]levelKtypeINFOlineKsourcehuh1jhj ubatransform_messages](j)}(hhh]h)}(hhh]h1Hyperlink target "cec-dqevent" is not referenced.}hjsbah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]levelKtypejsourcehlineKuh1jubj)}(hhh]h)}(hhh]h0Hyperlink target "cec-events" is not referenced.}hjsbah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]levelKtypejsourcehlineKuh1jubj)}(hhh]h)}(hhh]h