4sphinx.addnodesdocument)}( rawsourcechildren]( translations LanguagesNode)}(hhh](h pending_xref)}(hhh]docutils.nodesTextChinese (Simplified)}parenthsba attributes}(ids]classes]names]dupnames]backrefs] refdomainstdreftypedoc reftarget./translations/zh_CN/driver-api/media/dtv-demuxmodnameN classnameN refexplicitutagnamehhh ubh)}(hhh]hChinese (Traditional)}hh2sbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget./translations/zh_TW/driver-api/media/dtv-demuxmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hItalian}hhFsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget./translations/it_IT/driver-api/media/dtv-demuxmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hJapanese}hhZsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget./translations/ja_JP/driver-api/media/dtv-demuxmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hKorean}hhnsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget./translations/ko_KR/driver-api/media/dtv-demuxmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hSpanish}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget./translations/sp_SP/driver-api/media/dtv-demuxmodnameN classnameN refexplicituh1hhh ubeh}(h]h ]h"]h$]h&]current_languageEnglishuh1h hh _documenthsourceNlineNubhcomment)}(h SPDX-License-Identifier: GPL-2.0h]h SPDX-License-Identifier: GPL-2.0}hhsbah}(h]h ]h"]h$]h&] xml:spacepreserveuh1hhhhhhH/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux.rsthKubhsection)}(hhh](htitle)}(hDigital TV Demux kABIh]hDigital TV Demux kABI}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hDigital TV Demuxh]hDigital TV Demux}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhKubh paragraph)}(hX1The Kernel Digital TV Demux kABI defines a driver-internal interface for registering low-level, hardware specific driver to a hardware independent demux layer. It is only of interest for Digital TV device driver writers. The header file for this kABI is named ``demux.h`` and located in ``include/media``.h](hXThe Kernel Digital TV Demux kABI defines a driver-internal interface for registering low-level, hardware specific driver to a hardware independent demux layer. It is only of interest for Digital TV device driver writers. The header file for this kABI is named }(hhhhhNhNubhliteral)}(h ``demux.h``h]hdemux.h}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhubh and located in }(hhhhhNhNubh)}(h``include/media``h]h include/media}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhubh.}(hhhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK hhhhubh)}(hXThe demux kABI should be implemented for each demux in the system. It is used to select the TS source of a demux and to manage the demux resources. When the demux client allocates a resource via the demux kABI, it receives a pointer to the kABI of that resource.h]hXThe demux kABI should be implemented for each demux in the system. It is used to select the TS source of a demux and to manage the demux resources. When the demux client allocates a resource via the demux kABI, it receives a pointer to the kABI of that resource.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhhhhubh)}(hX Each demux receives its TS input from a DVB front-end or from memory, as set via this demux kABI. In a system with more than one front-end, the kABI can be used to select one of the DVB front-ends as a TS source for a demux, unless this is fixed in the HW platform.h]hX Each demux receives its TS input from a DVB front-end or from memory, as set via this demux kABI. In a system with more than one front-end, the kABI can be used to select one of the DVB front-ends as a TS source for a demux, unless this is fixed in the HW platform.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhhhhubh)}(hThe demux kABI only controls front-ends regarding to their connections with demuxes; the kABI used to set the other front-end parameters, such as tuning, are defined via the Digital TV Frontend kABI.h]hThe demux kABI only controls front-ends regarding to their connections with demuxes; the kABI used to set the other front-end parameters, such as tuning, are defined via the Digital TV Frontend kABI.}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhhhhubh)}(hXThe functions that implement the abstract interface demux should be defined static or module private and registered to the Demux core for external access. It is not necessary to implement every function in the struct :c:type:`dmx_demux`. For example, a demux interface might support Section filtering, but not PES filtering. The kABI client is expected to check the value of any function pointer before calling the function: the value of ``NULL`` means that the function is not available.h](hThe functions that implement the abstract interface demux should be defined static or module private and registered to the Demux core for external access. It is not necessary to implement every function in the struct }(hj:hhhNhNubh)}(h:c:type:`dmx_demux`h]h)}(hjDh]h dmx_demux}(hjFhhhNhNubah}(h]h ](xrefcc-typeeh"]h$]h&]uh1hhjBubah}(h]h ]h"]h$]h&]refdocdriver-api/media/dtv-demux refdomainjQreftypetype refexplicitrefwarn reftarget dmx_demuxuh1hhhhKhj:ubh. For example, a demux interface might support Section filtering, but not PES filtering. The kABI client is expected to check the value of any function pointer before calling the function: the value of }(hj:hhhNhNubh)}(h``NULL``h]hNULL}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhj:ubh* means that the function is not available.}(hj:hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhhhhubh)}(hWhenever the functions of the demux API modify shared data, the possibilities of lost update and race condition problems should be addressed, e.g. by protecting parts of code with mutexes.h]hWhenever the functions of the demux API modify shared data, the possibilities of lost update and race condition problems should be addressed, e.g. by protecting parts of code with mutexes.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK%hhhhubh)}(hXNote that functions called from a bottom half context must not sleep. Even a simple memory allocation without using ``GFP_ATOMIC`` can result in a kernel thread being put to sleep if swapping is needed. For example, the Linux Kernel calls the functions of a network device interface from a bottom half context. Thus, if a demux kABI function is called from network device code, the function must not sleep.h](htNote that functions called from a bottom half context must not sleep. Even a simple memory allocation without using }(hjhhhNhNubh)}(h``GFP_ATOMIC``h]h GFP_ATOMIC}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubhX can result in a kernel thread being put to sleep if swapping is needed. For example, the Linux Kernel calls the functions of a network device interface from a bottom half context. Thus, if a demux kABI function is called from network device code, the function must not sleep.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK)hhhhubeh}(h]digital-tv-demuxah ]h"]digital tv demuxah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hDemux Callback APIh]hDemux Callback API}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhK1ubh)}(hThis kernel-space API comprises the callback functions that deliver filtered data to the demux client. Unlike the other DVB kABIs, these functions are provided by the client and called from the demux code.h]hThis kernel-space API comprises the callback functions that deliver filtered data to the demux client. Unlike the other DVB kABIs, these functions are provided by the client and called from the demux code.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK3hjhhubh)}(hX\The function pointers of this abstract interface are not packed into a structure as in the other demux APIs, because the callback functions are registered and used independent of each other. As an example, it is possible for the API client to provide several callback functions for receiving TS packets and no callbacks for PES packets or sections.h]hX\The function pointers of this abstract interface are not packed into a structure as in the other demux APIs, because the callback functions are registered and used independent of each other. As an example, it is possible for the API client to provide several callback functions for receiving TS packets and no callbacks for PES packets or sections.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK7hjhhubh)}(hXThe functions that implement the callback API need not be re-entrant: when a demux driver calls one of these functions, the driver is not allowed to call the function again before the original call returns. If a callback is triggered by a hardware interrupt, it is recommended to use the Linux bottom half mechanism or start a tasklet instead of making the callback function call directly from a hardware interrupt.h]hXThe functions that implement the callback API need not be re-entrant: when a demux driver calls one of these functions, the driver is not allowed to call the function again before the original call returns. If a callback is triggered by a hardware interrupt, it is recommended to use the Linux bottom half mechanism or start a tasklet instead of making the callback function call directly from a hardware interrupt.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK=hjhhubh)}(h`This mechanism is implemented by :c:func:`dmx_ts_cb()` and :c:func:`dmx_section_cb()` callbacks.h](h!This mechanism is implemented by }(hjhhhNhNubh)}(h:c:func:`dmx_ts_cb()`h]h)}(hjh]h dmx_ts_cb()}(hjhhhNhNubah}(h]h ](jPjQc-funceh"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]refdocj] refdomainjQreftypefunc refexplicitrefwarnjc dmx_ts_cbuh1hhhhKDhjubh and }(hjhhhNhNubh)}(h:c:func:`dmx_section_cb()`h]h)}(hjh]hdmx_section_cb()}(hj!hhhNhNubah}(h]h ](jPjQc-funceh"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]refdocj] refdomainjQreftypefunc refexplicitrefwarnjcdmx_section_cbuh1hhhhKDhjubh callbacks.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKDhjhhubeh}(h]demux-callback-apiah ]h"]demux callback apiah$]h&]uh1hhhhhhhhK1ubh)}(hhh](h)}(hBDigital TV Demux device registration functions and data structuresh]hBDigital TV Demux device registration functions and data structures}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjNhhhhhKHubhindex)}(hhh]h}(h]h ]h"]h$]h&]entries](singledmxdev_type (C enum) c.dmxdev_typehNtauh1j_hjNhhhNhNubhdesc)}(hhh](hdesc_signature)}(h dmxdev_typeh]hdesc_signature_line)}(henum dmxdev_typeh](hdesc_sig_keyword)}(henumh]henum}(hjhhhNhNubah}(h]h ]kah"]h$]h&]uh1jhj}hhha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKubhdesc_sig_space)}(h h]h }(hjhhhNhNubah}(h]h ]wah"]h$]h&]uh1jhj}hhhjhKubh desc_name)}(h dmxdev_typeh]h desc_sig_name)}(hjyh]h dmxdev_type}(hjhhhNhNubah}(h]h ]nah"]h$]h&]uh1jhjubah}(h]h ](sig-namedescnameeh"]h$]h&]hhuh1jhj}hhhjhKubeh}(h]h ]h"]h$]h&]hh add_permalinkuh1j{sphinx_line_type declaratorhjwhhhjhKubah}(h]jnah ](sig sig-objecteh"]h$]h&] is_multiline _toc_parts) _toc_namehuh1juhjhKhjrhhubh desc_content)}(hhh]h)}(htype of demux filter type.h]htype of demux filter type.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhK(hjhhubah}(h]h ]h"]h$]h&]uh1jhjrhhhjhKubeh}(h]h ](jQenumeh"]h$]h&]domainjQobjtypejdesctypejnoindex noindexentrynocontentsentryuh1jphhhjNhNhNubh container)}(h**Constants** ``DMXDEV_TYPE_NONE`` no filter set. ``DMXDEV_TYPE_SEC`` section filter. ``DMXDEV_TYPE_PES`` Program Elementary Stream (PES) filter.h](h)}(h **Constants**h]hstrong)}(hjh]h Constants}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhK,hjubhdefinition_list)}(hhh](hdefinition_list_item)}(h$``DMXDEV_TYPE_NONE`` no filter set. h](hterm)}(h``DMXDEV_TYPE_NONE``h]h)}(hj,h]hDMXDEV_TYPE_NONE}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj*ubah}(h]h ]h"]h$]h&]uh1j(ha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhK/hj$ubh definition)}(hhh]h)}(hno filter set.h]hno filter set.}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjAhK/hjDubah}(h]h ]h"]h$]h&]uh1jBhj$ubeh}(h]h ]h"]h$]h&]uh1j"hjAhK/hjubj#)}(h$``DMXDEV_TYPE_SEC`` section filter. h](j))}(h``DMXDEV_TYPE_SEC``h]h)}(hjgh]hDMXDEV_TYPE_SEC}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhjeubah}(h]h ]h"]h$]h&]uh1j(ha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhK2hjaubjC)}(hhh]h)}(hsection filter.h]hsection filter.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj|hK2hj}ubah}(h]h ]h"]h$]h&]uh1jBhjaubeh}(h]h ]h"]h$]h&]uh1j"hj|hK2hjubj#)}(h;``DMXDEV_TYPE_PES`` Program Elementary Stream (PES) filter.h](j))}(h``DMXDEV_TYPE_PES``h]h)}(hjh]hDMXDEV_TYPE_PES}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j(ha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhK4hjubjC)}(hhh]h)}(h'Program Elementary Stream (PES) filter.h]h'Program Elementary Stream (PES) filter.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhK5hjubah}(h]h ]h"]h$]h&]uh1jBhjubeh}(h]h ]h"]h$]h&]uh1j"hjhK4hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjNhhhNhNubj`)}(hhh]h}(h]h ]h"]h$]h&]entries](jldmxdev_state (C enum)c.dmxdev_statehNtauh1j_hjNhhhNhNubjq)}(hhh](jv)}(h dmxdev_stateh]j|)}(henum dmxdev_stateh](j)}(hjh]henum}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhK;ubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhK;ubj)}(h dmxdev_stateh]j)}(hjh]h dmxdev_state}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](jjeh"]h$]h&]hhuh1jhjhhhjhK;ubeh}(h]h ]h"]h$]h&]hhjuh1j{jjhjhhhjhK;ubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1juhjhK;hjhhubj)}(hhh]h)}(hstate machine for the dmxdev.h]hstate machine for the dmxdev.}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhK5hj9hhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhK;ubeh}(h]h ](jQenumeh"]h$]h&]jjQjjTjjTjjjuh1jphhhjNhNhNubj)}(hX **Constants** ``DMXDEV_STATE_FREE`` indicates that the filter is freed. ``DMXDEV_STATE_ALLOCATED`` indicates that the filter was allocated to be used. ``DMXDEV_STATE_SET`` indicates that the filter parameters are set. ``DMXDEV_STATE_GO`` indicates that the filter is running. ``DMXDEV_STATE_DONE`` indicates that a packet was already filtered and the filter is now disabled. Set only if ``DMX_ONESHOT``. See :c:type:`dmx_sct_filter_params`. ``DMXDEV_STATE_TIMEDOUT`` Indicates a timeout condition.h](h)}(h **Constants**h]j)}(hj^h]h Constants}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhK9hjXubj)}(hhh](j#)}(h:``DMXDEV_STATE_FREE`` indicates that the filter is freed. h](j))}(h``DMXDEV_STATE_FREE``h]h)}(hj}h]hDMXDEV_STATE_FREE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj{ubah}(h]h ]h"]h$]h&]uh1j(ha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKhKFhj?ubah}(h]h ]h"]h$]h&]uh1jBhj#ubeh}(h]h ]h"]h$]h&]uh1j"hj>hKFhjtubj#)}(h``DMXDEV_STATE_DONE`` indicates that a packet was already filtered and the filter is now disabled. Set only if ``DMX_ONESHOT``. See :c:type:`dmx_sct_filter_params`. h](j))}(h``DMXDEV_STATE_DONE``h]h)}(hjbh]hDMXDEV_STATE_DONE}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj`ubah}(h]h ]h"]h$]h&]uh1j(ha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKLhj\ubjC)}(hhh]h)}(hindicates that a packet was already filtered and the filter is now disabled. Set only if ``DMX_ONESHOT``. See :c:type:`dmx_sct_filter_params`.h](hYindicates that a packet was already filtered and the filter is now disabled. Set only if }(hj{hhhNhNubh)}(h``DMX_ONESHOT``h]h DMX_ONESHOT}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj{ubh. See }(hj{hhhNhNubh)}(h:c:type:`dmx_sct_filter_params`h]h)}(hjh]hdmx_sct_filter_params}(hjhhhNhNubah}(h]h ](jPjQc-typeeh"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]refdocj] refdomainjQreftypetype refexplicitrefwarn c:parent_keysphinx.domains.c LookupKey)}data]sbjcdmx_sct_filter_paramsuh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKIhj{ubh.}(hj{hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhKIhjxubah}(h]h ]h"]h$]h&]uh1jBhj\ubeh}(h]h ]h"]h$]h&]uh1j"hjwhKLhjtubj#)}(h8``DMXDEV_STATE_TIMEDOUT`` Indicates a timeout condition.h](j))}(h``DMXDEV_STATE_TIMEDOUT``h]h)}(hjh]hDMXDEV_STATE_TIMEDOUT}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j(ha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKNhjubjC)}(hhh]h)}(hIndicates a timeout condition.h]hIndicates a timeout condition.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKOhjubah}(h]h ]h"]h$]h&]uh1jBhjubeh}(h]h ]h"]h$]h&]uh1j"hjhKNhjtubeh}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjNhhhNhNubj`)}(hhh]h}(h]h ]h"]h$]h&]entries](jldmxdev_feed (C struct) c.dmxdev_feedhNtauh1j_hjNhhhNhNubjq)}(hhh](jv)}(h dmxdev_feedh]j|)}(hstruct dmxdev_feedh](j)}(hstructh]hstruct}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/hhha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKUubj)}(h h]h }(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/hhhjAhKUubj)}(h dmxdev_feedh]j)}(hj-h]h dmxdev_feed}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPubah}(h]h ](jjeh"]h$]h&]hhuh1jhj/hhhjAhKUubeh}(h]h ]h"]h$]h&]hhjuh1j{jjhj+hhhjAhKUubah}(h]j&ah ](jjeh"]h$]h&]jj)jhuh1juhjAhKUhj(hhubj)}(hhh]h)}(hdigital TV dmxdev feedh]hdigital TV dmxdev feed}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKLhjshhubah}(h]h ]h"]h$]h&]uh1jhj(hhhjAhKUubeh}(h]h ](jQstructeh"]h$]h&]jjQjjjjjjjuh1jphhhjNhNhNubj)}(hX7**Definition**:: struct dmxdev_feed { u16 pid; struct dmx_ts_feed *ts; struct list_head next; }; **Members** ``pid`` Program ID to be filtered ``ts`` pointer to :c:type:`struct dmx_ts_feed ` ``next`` :c:type:`struct list_head ` pointing to the next feed.h](h)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKPhjubh literal_block)}(h[struct dmxdev_feed { u16 pid; struct dmx_ts_feed *ts; struct list_head next; };h]h[struct dmxdev_feed { u16 pid; struct dmx_ts_feed *ts; struct list_head next; };}hjsbah}(h]h ]h"]h$]h&]hhuh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKRhjubh)}(h **Members**h]j)}(hjh]hMembers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKXhjubj)}(hhh](j#)}(h"``pid`` Program ID to be filtered h](j))}(h``pid``h]h)}(hjh]hpid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j(ha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKOhjubjC)}(hhh]h)}(hProgram ID to be filteredh]hProgram ID to be filtered}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKOhjubah}(h]h ]h"]h$]h&]uh1jBhjubeh}(h]h ]h"]h$]h&]uh1j"hjhKOhjubj#)}(h=``ts`` pointer to :c:type:`struct dmx_ts_feed ` h](j))}(h``ts``h]h)}(hjh]hts}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j(ha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKPhjubjC)}(hhh]h)}(h5pointer to :c:type:`struct dmx_ts_feed `h](h pointer to }(hj7hhhNhNubh)}(h*:c:type:`struct dmx_ts_feed `h]h)}(hjAh]hstruct dmx_ts_feed}(hjChhhNhNubah}(h]h ](jPjQc-typeeh"]h$]h&]uh1hhj?ubah}(h]h ]h"]h$]h&]refdocj] refdomainjQreftypetype refexplicitrefwarnjjjc dmx_ts_feeduh1hhj3hKPhj7ubeh}(h]h ]h"]h$]h&]uh1hhj3hKPhj4ubah}(h]h ]h"]h$]h&]uh1jBhjubeh}(h]h ]h"]h$]h&]uh1j"hj3hKPhjubj#)}(hJ``next`` :c:type:`struct list_head ` pointing to the next feed.h](j))}(h``next``h]h)}(hjvh]hnext}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjtubah}(h]h ]h"]h$]h&]uh1j(ha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKPhjpubjC)}(hhh]h)}(hA:c:type:`struct list_head ` pointing to the next feed.h](h)}(h&:c:type:`struct list_head `h]h)}(hjh]hstruct list_head}(hjhhhNhNubah}(h]h ](jPjQc-typeeh"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]refdocj] refdomainjQreftypetype refexplicitrefwarnjjjc list_headuh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKQhjubh pointing to the next feed.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhKQhjubah}(h]h ]h"]h$]h&]uh1jBhjpubeh}(h]h ]h"]h$]h&]uh1j"hjhKPhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjNhhhNhNubj`)}(hhh]h}(h]h ]h"]h$]h&]entries](jldmxdev_filter (C struct)c.dmxdev_filterhNtauh1j_hjNhhhNhNubjq)}(hhh](jv)}(h dmxdev_filterh]j|)}(hstruct dmxdev_filterh](j)}(hj5h]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKWubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhKWubj)}(h dmxdev_filterh]j)}(hjh]h dmxdev_filter}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubah}(h]h ](jjeh"]h$]h&]hhuh1jhjhhhjhKWubeh}(h]h ]h"]h$]h&]hhjuh1j{jjhjhhhjhKWubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1juhjhKWhjhhubj)}(hhh]h)}(hdigital TV dmxdev filterh]hdigital TV dmxdev filter}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKZhj.hhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhKWubeh}(h]h ](jQstructeh"]h$]h&]jjQjjIjjIjjjuh1jphhhjNhNhNubj)}(hX**Definition**:: struct dmxdev_filter { union { struct dmx_section_filter *sec; } filter; union { struct list_head ts; struct dmx_section_feed *sec; } feed; union { struct dmx_sct_filter_params sec; struct dmx_pes_filter_params pes; } params; enum dmxdev_type type; enum dmxdev_state state; struct dmxdev *dev; struct dvb_ringbuffer buffer; struct dvb_vb2_ctx vb2_ctx; struct mutex mutex; struct timer_list timer; int todo; u8 secheader[3]; }; **Members** ``filter`` a union describing a dmxdev filter. Currently used only for section filters. ``filter.sec`` a :c:type:`struct dmx_section_filter ` pointer. For section filter only. ``feed`` a union describing a dmxdev feed. Depending on the filter type, it can be either **feed.ts** or **feed.sec**. ``feed.ts`` a :c:type:`struct list_head ` list. For TS and PES feeds. ``feed.sec`` a :c:type:`struct dmx_section_feed ` pointer. For section feed only. ``params`` a union describing dmxdev filter parameters. Depending on the filter type, it can be either **params.sec** or **params.pes**. ``params.sec`` a :c:type:`struct dmx_sct_filter_params ` embedded struct. For section filter only. ``params.pes`` a :c:type:`struct dmx_pes_filter_params ` embedded struct. For PES filter only. ``type`` type of the dmxdev filter, as defined by :c:type:`enum dmxdev_type `. ``state`` state of the dmxdev filter, as defined by :c:type:`enum dmxdev_state `. ``dev`` pointer to :c:type:`struct dmxdev `. ``buffer`` an embedded :c:type:`struct dvb_ringbuffer ` buffer. ``vb2_ctx`` control struct for VB2 handler ``mutex`` protects the access to :c:type:`struct dmxdev_filter `. ``timer`` :c:type:`struct timer_list ` embedded timer, used to check for feed timeouts. Only for section filter. ``todo`` index for the **secheader**. Only for section filter. ``secheader`` buffer cache to parse the section header. Only for section filter.h](h)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubh:}(hjQhhhNhNubeh}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhK^hjMubj)}(hXstruct dmxdev_filter { union { struct dmx_section_filter *sec; } filter; union { struct list_head ts; struct dmx_section_feed *sec; } feed; union { struct dmx_sct_filter_params sec; struct dmx_pes_filter_params pes; } params; enum dmxdev_type type; enum dmxdev_state state; struct dmxdev *dev; struct dvb_ringbuffer buffer; struct dvb_vb2_ctx vb2_ctx; struct mutex mutex; struct timer_list timer; int todo; u8 secheader[3]; };h]hXstruct dmxdev_filter { union { struct dmx_section_filter *sec; } filter; union { struct list_head ts; struct dmx_section_feed *sec; } feed; union { struct dmx_sct_filter_params sec; struct dmx_pes_filter_params pes; } params; enum dmxdev_type type; enum dmxdev_state state; struct dmxdev *dev; struct dvb_ringbuffer buffer; struct dvb_vb2_ctx vb2_ctx; struct mutex mutex; struct timer_list timer; int todo; u8 secheader[3]; };}hjnsbah}(h]h ]h"]h$]h&]hhuh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhK`hjMubh)}(h **Members**h]j)}(hjh]hMembers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKwhjMubj)}(hhh](j#)}(hX``filter`` a union describing a dmxdev filter. Currently used only for section filters. h](j))}(h ``filter``h]h)}(hjh]hfilter}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j(ha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhK^hjubjC)}(hhh]h)}(hLa union describing a dmxdev filter. Currently used only for section filters.h]hLa union describing a dmxdev filter. Currently used only for section filters.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhK]hjubah}(h]h ]h"]h$]h&]uh1jBhjubeh}(h]h ]h"]h$]h&]uh1j"hjhK^hjubj#)}(hl``filter.sec`` a :c:type:`struct dmx_section_filter ` pointer. For section filter only. h](j))}(h``filter.sec``h]h)}(hjh]h filter.sec}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j(ha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhK`hjubjC)}(hhh]h)}(h\a :c:type:`struct dmx_section_filter ` pointer. For section filter only.h](ha }(hjhhhNhNubh)}(h8:c:type:`struct dmx_section_filter `h]h)}(hjh]hstruct dmx_section_filter}(hjhhhNhNubah}(h]h ](jPjQc-typeeh"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]refdocj] refdomainjQreftypetype refexplicitrefwarnjjjcdmx_section_filteruh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhK_hjubh" pointer. For section filter only.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj hK_hjubah}(h]h ]h"]h$]h&]uh1jBhjubeh}(h]h ]h"]h$]h&]uh1j"hjhK`hjubj#)}(hw``feed`` a union describing a dmxdev feed. Depending on the filter type, it can be either **feed.ts** or **feed.sec**. h](j))}(h``feed``h]h)}(hj5 h]hfeed}(hj7 hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3 ubah}(h]h ]h"]h$]h&]uh1j(ha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKchj/ ubjC)}(hhh]h)}(hma union describing a dmxdev feed. Depending on the filter type, it can be either **feed.ts** or **feed.sec**.h](hQa union describing a dmxdev feed. Depending on the filter type, it can be either }(hjN hhhNhNubj)}(h **feed.ts**h]hfeed.ts}(hjV hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjN ubh or }(hjN hhhNhNubj)}(h **feed.sec**h]hfeed.sec}(hjh hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjN ubh.}(hjN hhhNhNubeh}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKahjK ubah}(h]h ]h"]h$]h&]uh1jBhj/ ubeh}(h]h ]h"]h$]h&]uh1j"hjJ hKchjubj#)}(hQ``feed.ts`` a :c:type:`struct list_head ` list. For TS and PES feeds. h](j))}(h ``feed.ts``h]h)}(hj h]hfeed.ts}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj ubah}(h]h ]h"]h$]h&]uh1j(ha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKehj ubjC)}(hhh]h)}(hDa :c:type:`struct list_head ` list. For TS and PES feeds.h](ha }(hj hhhNhNubh)}(h&:c:type:`struct list_head `h]h)}(hj h]hstruct list_head}(hj hhhNhNubah}(h]h ](jPjQc-typeeh"]h$]h&]uh1hhj ubah}(h]h ]h"]h$]h&]refdocj] refdomainjQreftypetype refexplicitrefwarnjjjc list_headuh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKdhj ubh list. For TS and PES feeds.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj hKdhj ubah}(h]h ]h"]h$]h&]uh1jBhj ubeh}(h]h ]h"]h$]h&]uh1j"hj hKehjubj#)}(hd``feed.sec`` a :c:type:`struct dmx_section_feed ` pointer. For section feed only. h](j))}(h ``feed.sec``h]h)}(hj h]hfeed.sec}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj ubah}(h]h ]h"]h$]h&]uh1j(ha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKghj ubjC)}(hhh]h)}(hVa :c:type:`struct dmx_section_feed ` pointer. For section feed only.h](ha }(hj hhhNhNubh)}(h4:c:type:`struct dmx_section_feed `h]h)}(hj h]hstruct dmx_section_feed}(hj hhhNhNubah}(h]h ](jPjQc-typeeh"]h$]h&]uh1hhj ubah}(h]h ]h"]h$]h&]refdocj] refdomainjQreftypetype refexplicitrefwarnjjjcdmx_section_feeduh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKfhj ubh pointer. For section feed only.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj0 hKfhj ubah}(h]h ]h"]h$]h&]uh1jBhj ubeh}(h]h ]h"]h$]h&]uh1j"hj hKghjubj#)}(h``params`` a union describing dmxdev filter parameters. Depending on the filter type, it can be either **params.sec** or **params.pes**. h](j))}(h ``params``h]h)}(hjM h]hparams}(hjO hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjK ubah}(h]h ]h"]h$]h&]uh1j(ha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKjhjG ubjC)}(hhh]h)}(h}a union describing dmxdev filter parameters. Depending on the filter type, it can be either **params.sec** or **params.pes**.h](h\a union describing dmxdev filter parameters. Depending on the filter type, it can be either }(hjf hhhNhNubj)}(h**params.sec**h]h params.sec}(hjn hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjf ubh or }(hjf hhhNhNubj)}(h**params.pes**h]h params.pes}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjf ubh.}(hjf hhhNhNubeh}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKhhjc ubah}(h]h ]h"]h$]h&]uh1jBhjG ubeh}(h]h ]h"]h$]h&]uh1j"hjb hKjhjubj#)}(hz``params.sec`` a :c:type:`struct dmx_sct_filter_params ` embedded struct. For section filter only. h](j))}(h``params.sec``h]h)}(hj h]h params.sec}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj ubah}(h]h ]h"]h$]h&]uh1j(ha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKlhj ubjC)}(hhh]h)}(hja :c:type:`struct dmx_sct_filter_params ` embedded struct. For section filter only.h](ha }(hj hhhNhNubh)}(h>:c:type:`struct dmx_sct_filter_params `h]h)}(hj h]hstruct dmx_sct_filter_params}(hj hhhNhNubah}(h]h ](jPjQc-typeeh"]h$]h&]uh1hhj ubah}(h]h ]h"]h$]h&]refdocj] refdomainjQreftypetype refexplicitrefwarnjjjcdmx_sct_filter_paramsuh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKkhj ubh* embedded struct. For section filter only.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj hKkhj ubah}(h]h ]h"]h$]h&]uh1jBhj ubeh}(h]h ]h"]h$]h&]uh1j"hj hKlhjubj#)}(hv``params.pes`` a :c:type:`struct dmx_pes_filter_params ` embedded struct. For PES filter only. h](j))}(h``params.pes``h]h)}(hj h]h params.pes}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj ubah}(h]h ]h"]h$]h&]uh1j(ha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKnhj ubjC)}(hhh]h)}(hfa :c:type:`struct dmx_pes_filter_params ` embedded struct. For PES filter only.h](ha }(hj! hhhNhNubh)}(h>:c:type:`struct dmx_pes_filter_params `h]h)}(hj+ h]hstruct dmx_pes_filter_params}(hj- hhhNhNubah}(h]h ](jPjQc-typeeh"]h$]h&]uh1hhj) ubah}(h]h ]h"]h$]h&]refdocj] refdomainjQreftypetype refexplicitrefwarnjjjcdmx_pes_filter_paramsuh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKmhj! ubh& embedded struct. For PES filter only.}(hj! hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjH hKmhj ubah}(h]h ]h"]h$]h&]uh1jBhj ubeh}(h]h ]h"]h$]h&]uh1j"hj hKnhjubj#)}(h\``type`` type of the dmxdev filter, as defined by :c:type:`enum dmxdev_type `. h](j))}(h``type``h]h)}(hje h]htype}(hjg hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjc ubah}(h]h ]h"]h$]h&]uh1j(ha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKohj_ ubjC)}(hhh]h)}(hRtype of the dmxdev filter, as defined by :c:type:`enum dmxdev_type `.h](h)type of the dmxdev filter, as defined by }(hj~ hhhNhNubh)}(h(:c:type:`enum dmxdev_type `h]h)}(hj h]henum dmxdev_type}(hj hhhNhNubah}(h]h ](jPjQc-typeeh"]h$]h&]uh1hhj ubah}(h]h ]h"]h$]h&]refdocj] refdomainjQreftypetype refexplicitrefwarnjjjc dmxdev_typeuh1hhjz hKohj~ ubh.}(hj~ hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjz hKohj{ ubah}(h]h ]h"]h$]h&]uh1jBhj_ ubeh}(h]h ]h"]h$]h&]uh1j"hjz hKohjubj#)}(h```state`` state of the dmxdev filter, as defined by :c:type:`enum dmxdev_state `. h](j))}(h ``state``h]h)}(hj h]hstate}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj ubah}(h]h ]h"]h$]h&]uh1j(ha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKphj ubjC)}(hhh]h)}(hUstate of the dmxdev filter, as defined by :c:type:`enum dmxdev_state `.h](h*state of the dmxdev filter, as defined by }(hj hhhNhNubh)}(h*:c:type:`enum dmxdev_state `h]h)}(hj h]henum dmxdev_state}(hj hhhNhNubah}(h]h ](jPjQc-typeeh"]h$]h&]uh1hhj ubah}(h]h ]h"]h$]h&]refdocj] refdomainjQreftypetype refexplicitrefwarnjjjc dmxdev_stateuh1hhj hKphj ubh.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj hKphj ubah}(h]h ]h"]h$]h&]uh1jBhj ubeh}(h]h ]h"]h$]h&]uh1j"hj hKphjubj#)}(h5``dev`` pointer to :c:type:`struct dmxdev `. h](j))}(h``dev``h]h)}(hj h]hdev}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj ubah}(h]h ]h"]h$]h&]uh1j(ha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKqhj ubjC)}(hhh]h)}(h,pointer to :c:type:`struct dmxdev `.h](h pointer to }(hj6 hhhNhNubh)}(h :c:type:`struct dmxdev `h]h)}(hj@ h]h struct dmxdev}(hjB hhhNhNubah}(h]h ](jPjQc-typeeh"]h$]h&]uh1hhj> ubah}(h]h ]h"]h$]h&]refdocj] refdomainjQreftypetype refexplicitrefwarnjjjcdmxdevuh1hhj2 hKqhj6 ubh.}(hj6 hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj2 hKqhj3 ubah}(h]h ]h"]h$]h&]uh1jBhj ubeh}(h]h ]h"]h$]h&]uh1j"hj2 hKqhjubj#)}(hP``buffer`` an embedded :c:type:`struct dvb_ringbuffer ` buffer. h](j))}(h ``buffer``h]h)}(hjy h]hbuffer}(hj{ hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjw ubah}(h]h ]h"]h$]h&]uh1j(ha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKrhjs ubjC)}(hhh]h)}(hDan embedded :c:type:`struct dvb_ringbuffer ` buffer.h](h an embedded }(hj hhhNhNubh)}(h0:c:type:`struct dvb_ringbuffer `h]h)}(hj h]hstruct dvb_ringbuffer}(hj hhhNhNubah}(h]h ](jPjQc-typeeh"]h$]h&]uh1hhj ubah}(h]h ]h"]h$]h&]refdocj] refdomainjQreftypetype refexplicitrefwarnjjjcdvb_ringbufferuh1hhj hKrhj ubh buffer.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj hKrhj ubah}(h]h ]h"]h$]h&]uh1jBhjs ubeh}(h]h ]h"]h$]h&]uh1j"hj hKrhjubj#)}(h+``vb2_ctx`` control struct for VB2 handler h](j))}(h ``vb2_ctx``h]h)}(hj h]hvb2_ctx}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj ubah}(h]h ]h"]h$]h&]uh1j(ha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKshj ubjC)}(hhh]h)}(hcontrol struct for VB2 handlerh]hcontrol struct for VB2 handler}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hKshj ubah}(h]h ]h"]h$]h&]uh1jBhj ubeh}(h]h ]h"]h$]h&]uh1j"hj hKshjubj#)}(hQ``mutex`` protects the access to :c:type:`struct dmxdev_filter `. h](j))}(h ``mutex``h]h)}(hj h]hmutex}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj ubah}(h]h ]h"]h$]h&]uh1j(ha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKthj ubjC)}(hhh]h)}(hFprotects the access to :c:type:`struct dmxdev_filter `.h](hprotects the access to }(hj' hhhNhNubh)}(h.:c:type:`struct dmxdev_filter `h]h)}(hj1 h]hstruct dmxdev_filter}(hj3 hhhNhNubah}(h]h ](jPjQc-typeeh"]h$]h&]uh1hhj/ ubah}(h]h ]h"]h$]h&]refdocj] refdomainjQreftypetype refexplicitrefwarnjjjc dmxdev_filteruh1hhj# hKthj' ubh.}(hj' hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj# hKthj$ ubah}(h]h ]h"]h$]h&]uh1jBhj ubeh}(h]h ]h"]h$]h&]uh1j"hj# hKthjubj#)}(h}``timer`` :c:type:`struct timer_list ` embedded timer, used to check for feed timeouts. Only for section filter. h](j))}(h ``timer``h]h)}(hjj h]htimer}(hjl hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjh ubah}(h]h ]h"]h$]h&]uh1j(ha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKwhjd ubjC)}(hhh]h)}(hr:c:type:`struct timer_list ` embedded timer, used to check for feed timeouts. Only for section filter.h](h)}(h(:c:type:`struct timer_list `h]h)}(hj h]hstruct timer_list}(hj hhhNhNubah}(h]h ](jPjQc-typeeh"]h$]h&]uh1hhj ubah}(h]h ]h"]h$]h&]refdocj] refdomainjQreftypetype refexplicitrefwarnjjjc timer_listuh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKuhj ubhJ embedded timer, used to check for feed timeouts. Only for section filter.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj hKuhj ubah}(h]h ]h"]h$]h&]uh1jBhjd ubeh}(h]h ]h"]h$]h&]uh1j"hj hKwhjubj#)}(h?``todo`` index for the **secheader**. Only for section filter. h](j))}(h``todo``h]h)}(hj h]htodo}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj ubah}(h]h ]h"]h$]h&]uh1j(ha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKyhj ubjC)}(hhh]h)}(h5index for the **secheader**. Only for section filter.h](hindex for the }(hj hhhNhNubj)}(h **secheader**h]h secheader}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh. Only for section filter.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKxhj ubah}(h]h ]h"]h$]h&]uh1jBhj ubeh}(h]h ]h"]h$]h&]uh1j"hj hKyhjubj#)}(hP``secheader`` buffer cache to parse the section header. Only for section filter.h](j))}(h ``secheader``h]h)}(hjh]h secheader}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj ubah}(h]h ]h"]h$]h&]uh1j(ha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKzhj ubjC)}(hhh]h)}(hBbuffer cache to parse the section header. Only for section filter.h]hBbuffer cache to parse the section header. Only for section filter.}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj$hKzhj%ubah}(h]h ]h"]h$]h&]uh1jBhj ubeh}(h]h ]h"]h$]h&]uh1j"hj$hKzhjubeh}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjNhhhNhNubj`)}(hhh]h}(h]h ]h"]h$]h&]entries](jldmxdev (C struct)c.dmxdevhNtauh1j_hjNhhhNhNubjq)}(hhh](jv)}(hdmxdevh]j|)}(h struct dmxdevh](j)}(hj5h]hstruct}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdhhha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKubj)}(h h]h }(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdhhhjuhKubj)}(hdmxdevh]j)}(hjbh]hdmxdev}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](jjeh"]h$]h&]hhuh1jhjdhhhjuhKubeh}(h]h ]h"]h$]h&]hhjuh1j{jjhj`hhhjuhKubah}(h]j[ah ](jjeh"]h$]h&]jj)jhuh1juhjuhKhj]hhubj)}(hhh]h)}(h$Describes a digital TV demux device.h]h$Describes a digital TV demux device.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKhjhhubah}(h]h ]h"]h$]h&]uh1jhj]hhhjuhKubeh}(h]h ](jQstructeh"]h$]h&]jjQjjjjjjjuh1jphhhjNhNhNubj)}(hX**Definition**:: struct dmxdev { struct dvb_device *dvbdev; struct dvb_device *dvr_dvbdev; struct dmxdev_filter *filter; struct dmx_demux *demux; int filternum; int capabilities; unsigned int may_do_mmap:1; unsigned int exit:1; #define DMXDEV_CAP_DUPLEX 1; struct dmx_frontend *dvr_orig_fe; struct dvb_ringbuffer dvr_buffer; #define DVR_BUFFER_SIZE (10*188*1024); struct dvb_vb2_ctx dvr_vb2_ctx; struct mutex mutex; spinlock_t lock; }; **Members** ``dvbdev`` pointer to :c:type:`struct dvb_device ` associated with the demux device node. ``dvr_dvbdev`` pointer to :c:type:`struct dvb_device ` associated with the dvr device node. ``filter`` pointer to :c:type:`struct dmxdev_filter `. ``demux`` pointer to :c:type:`struct dmx_demux `. ``filternum`` number of filters. ``capabilities`` demux capabilities as defined by :c:type:`enum dmx_demux_caps `. ``may_do_mmap`` flag used to indicate if the device may do mmap. ``exit`` flag to indicate that the demux is being released. ``dvr_orig_fe`` pointer to :c:type:`struct dmx_frontend `. ``dvr_buffer`` embedded :c:type:`struct dvb_ringbuffer ` for DVB output. ``dvr_vb2_ctx`` control struct for VB2 handler ``mutex`` protects the usage of this structure. ``lock`` protects access to :c:type:`dmxdev->filter `->data.h](h)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKhjubj)}(hXstruct dmxdev { struct dvb_device *dvbdev; struct dvb_device *dvr_dvbdev; struct dmxdev_filter *filter; struct dmx_demux *demux; int filternum; int capabilities; unsigned int may_do_mmap:1; unsigned int exit:1; #define DMXDEV_CAP_DUPLEX 1; struct dmx_frontend *dvr_orig_fe; struct dvb_ringbuffer dvr_buffer; #define DVR_BUFFER_SIZE (10*188*1024); struct dvb_vb2_ctx dvr_vb2_ctx; struct mutex mutex; spinlock_t lock; };h]hXstruct dmxdev { struct dvb_device *dvbdev; struct dvb_device *dvr_dvbdev; struct dmxdev_filter *filter; struct dmx_demux *demux; int filternum; int capabilities; unsigned int may_do_mmap:1; unsigned int exit:1; #define DMXDEV_CAP_DUPLEX 1; struct dmx_frontend *dvr_orig_fe; struct dvb_ringbuffer dvr_buffer; #define DVR_BUFFER_SIZE (10*188*1024); struct dvb_vb2_ctx dvr_vb2_ctx; struct mutex mutex; spinlock_t lock; };}hjsbah}(h]h ]h"]h$]h&]hhuh1jha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKhjubh)}(h **Members**h]j)}(hjh]hMembers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKhjubj)}(hhh](j#)}(hf``dvbdev`` pointer to :c:type:`struct dvb_device ` associated with the demux device node. h](j))}(h ``dvbdev``h]h)}(hjh]hdvbdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j(ha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKhjubjC)}(hhh]h)}(hZpointer to :c:type:`struct dvb_device ` associated with the demux device node.h](h pointer to }(hj0hhhNhNubh)}(h(:c:type:`struct dvb_device `h]h)}(hj:h]hstruct dvb_device}(hj<hhhNhNubah}(h]h ](jPjQc-typeeh"]h$]h&]uh1hhj8ubah}(h]h ]h"]h$]h&]refdocj] refdomainjQreftypetype refexplicitrefwarnjjjc dvb_deviceuh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKhj0ubh' associated with the demux device node.}(hj0hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjWhKhj-ubah}(h]h ]h"]h$]h&]uh1jBhjubeh}(h]h ]h"]h$]h&]uh1j"hj,hKhjubj#)}(hh``dvr_dvbdev`` pointer to :c:type:`struct dvb_device ` associated with the dvr device node. h](j))}(h``dvr_dvbdev``h]h)}(hjth]h dvr_dvbdev}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjrubah}(h]h ]h"]h$]h&]uh1j(ha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKhjnubjC)}(hhh]h)}(hXpointer to :c:type:`struct dvb_device ` associated with the dvr device node.h](h pointer to }(hjhhhNhNubh)}(h(:c:type:`struct dvb_device `h]h)}(hjh]hstruct dvb_device}(hjhhhNhNubah}(h]h ](jPjQc-typeeh"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]refdocj] refdomainjQreftypetype refexplicitrefwarnjjjc dvb_deviceuh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKhjubh% associated with the dvr device node.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jBhjnubeh}(h]h ]h"]h$]h&]uh1j"hjhKhjubj#)}(hF``filter`` pointer to :c:type:`struct dmxdev_filter `. h](j))}(h ``filter``h]h)}(hjh]hfilter}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j(ha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKhjubjC)}(hhh]h)}(h:pointer to :c:type:`struct dmxdev_filter `.h](h pointer to }(hjhhhNhNubh)}(h.:c:type:`struct dmxdev_filter `h]h)}(hjh]hstruct dmxdev_filter}(hjhhhNhNubah}(h]h ](jPjQc-typeeh"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]refdocj] refdomainjQreftypetype refexplicitrefwarnjjjc dmxdev_filteruh1hhjhKhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jBhjubeh}(h]h ]h"]h$]h&]uh1j"hjhKhjubj#)}(h=``demux`` pointer to :c:type:`struct dmx_demux `. h](j))}(h ``demux``h]h)}(hj-h]hdemux}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj+ubah}(h]h ]h"]h$]h&]uh1j(ha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKhj'ubjC)}(hhh]h)}(h2pointer to :c:type:`struct dmx_demux `.h](h pointer to }(hjFhhhNhNubh)}(h&:c:type:`struct dmx_demux `h]h)}(hjPh]hstruct dmx_demux}(hjRhhhNhNubah}(h]h ](jPjQc-typeeh"]h$]h&]uh1hhjNubah}(h]h ]h"]h$]h&]refdocj] refdomainjQreftypetype refexplicitrefwarnjjjc dmx_demuxuh1hhjBhKhjFubh.}(hjFhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjBhKhjCubah}(h]h ]h"]h$]h&]uh1jBhj'ubeh}(h]h ]h"]h$]h&]uh1j"hjBhKhjubj#)}(h!``filternum`` number of filters. h](j))}(h ``filternum``h]h)}(hjh]h filternum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j(ha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKhjubjC)}(hhh]h)}(hnumber of filters.h]hnumber of filters.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jBhjubeh}(h]h ]h"]h$]h&]uh1j"hjhKhjubj#)}(hb``capabilities`` demux capabilities as defined by :c:type:`enum dmx_demux_caps `. h](j))}(h``capabilities``h]h)}(hjh]h capabilities}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j(ha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKhjubjC)}(hhh]h)}(hPdemux capabilities as defined by :c:type:`enum dmx_demux_caps `.h](h!demux capabilities as defined by }(hjhhhNhNubh)}(h.:c:type:`enum dmx_demux_caps `h]h)}(hjh]henum dmx_demux_caps}(hjhhhNhNubah}(h]h ](jPjQc-typeeh"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]refdocj] refdomainjQreftypetype refexplicitrefwarnjjjcdmx_demux_capsuh1hhjhKhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jBhjubeh}(h]h ]h"]h$]h&]uh1j"hjhKhjubj#)}(hA``may_do_mmap`` flag used to indicate if the device may do mmap. h](j))}(h``may_do_mmap``h]h)}(hjh]h may_do_mmap}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j(ha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKhjubjC)}(hhh]h)}(h0flag used to indicate if the device may do mmap.h]h0flag used to indicate if the device may do mmap.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3hKhj4ubah}(h]h ]h"]h$]h&]uh1jBhjubeh}(h]h ]h"]h$]h&]uh1j"hj3hKhjubj#)}(h<``exit`` flag to indicate that the demux is being released. h](j))}(h``exit``h]h)}(hjWh]hexit}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjUubah}(h]h ]h"]h$]h&]uh1j(ha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKhjQubjC)}(hhh]h)}(h2flag to indicate that the demux is being released.h]h2flag to indicate that the demux is being released.}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhjlhKhjmubah}(h]h ]h"]h$]h&]uh1jBhjQubeh}(h]h ]h"]h$]h&]uh1j"hjlhKhjubj#)}(hI``dvr_orig_fe`` pointer to :c:type:`struct dmx_frontend `. h](j))}(h``dvr_orig_fe``h]h)}(hjh]h dvr_orig_fe}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j(ha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.h^hKhjubjC)}(hhh]h)}(h8pointer to :c:type:`struct dmx_frontend `.h](h pointer to }(hjhhhNhNubh)}(h,:c:type:`struct dmx_frontend `h]h)}(hjh]hstruct dmx_frontend}(hjhhhNhNubah}(h]h ](jPjQc-typeeh"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]refdocj] refdomainjQreftypetype refexplicitrefwarnjjjc dmx_frontenduh1hhjhKhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jBhjubeh}(h]h ]h"]h$]h&]uh1j"hjhKhjubj#)}(hY``dvr_buffer`` embedded :c:type:`struct dvb_ringbuffer ` for DVB output. h](j))}(h``dvr_buffer``h]h)}(hjh]h dvr_buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j(ha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKhjubjC)}(hhh]h)}(hIembedded :c:type:`struct dvb_ringbuffer ` for DVB output.h](h embedded }(hjhhhNhNubh)}(h0:c:type:`struct dvb_ringbuffer `h]h)}(hjh]hstruct dvb_ringbuffer}(hjhhhNhNubah}(h]h ](jPjQc-typeeh"]h$]h&]uh1hhj ubah}(h]h ]h"]h$]h&]refdocj] refdomainjQreftypetype refexplicitrefwarnjjjcdvb_ringbufferuh1hhjhKhjubh for DVB output.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jBhjubeh}(h]h ]h"]h$]h&]uh1j"hjhKhjubj#)}(h/``dvr_vb2_ctx`` control struct for VB2 handler h](j))}(h``dvr_vb2_ctx``h]h)}(hjHh]h dvr_vb2_ctx}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjFubah}(h]h ]h"]h$]h&]uh1j(ha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKhjBubjC)}(hhh]h)}(hcontrol struct for VB2 handlerh]hcontrol struct for VB2 handler}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhj]hKhj^ubah}(h]h ]h"]h$]h&]uh1jBhjBubeh}(h]h ]h"]h$]h&]uh1j"hj]hKhjubj#)}(h0``mutex`` protects the usage of this structure. h](j))}(h ``mutex``h]h)}(hjh]hmutex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j(ha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKhj{ubjC)}(hhh]h)}(h%protects the usage of this structure.h]h%protects the usage of this structure.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jBhj{ubeh}(h]h ]h"]h$]h&]uh1j"hjhKhjubj#)}(hD``lock`` protects access to :c:type:`dmxdev->filter `->data.h](j))}(h``lock``h]h)}(hjh]hlock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j(ha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKhjubjC)}(hhh]h)}(h;protects access to :c:type:`dmxdev->filter `->data.h](hprotects access to }(hjhhhNhNubh)}(h!:c:type:`dmxdev->filter `h]h)}(hjh]hdmxdev->filter}(hjhhhNhNubah}(h]h ](jPjQc-typeeh"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]refdocj] refdomainjQreftypetype refexplicitrefwarnjjjcdmxdevuh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKhjubh->data.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jBhjubeh}(h]h ]h"]h$]h&]uh1j"hjhKhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjNhhhNhNubj`)}(hhh]h}(h]h ]h"]h$]h&]entries](jldvb_dmxdev_init (C function)c.dvb_dmxdev_inithNtauh1j_hjNhhhNhNubjq)}(hhh](jv)}(hEint dvb_dmxdev_init (struct dmxdev *dmxdev, struct dvb_adapter *adap)h]j|)}(hDint dvb_dmxdev_init(struct dmxdev *dmxdev, struct dvb_adapter *adap)h](hdesc_sig_keyword_type)}(hinth]hint}(hj9hhhNhNubah}(h]h ]ktah"]h$]h&]uh1j7hj3hhha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKubj)}(h h]h }(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3hhhjHhKubj)}(hdvb_dmxdev_inith]j)}(hdvb_dmxdev_inith]hdvb_dmxdev_init}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWubah}(h]h ](jjeh"]h$]h&]hhuh1jhj3hhhjHhKubhdesc_parameterlist)}(h1(struct dmxdev *dmxdev, struct dvb_adapter *adap)h](hdesc_parameter)}(hstruct dmxdev *dmxdevh](j)}(hj5h]hstruct}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwubh)}(hhh]j)}(hdmxdevh]hdmxdev}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjQreftype identifier reftargetjmodnameN classnameNjj)}j]j ASTIdentifier)}jj]sbc.dvb_dmxdev_initasbuh1hhjwubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwubhdesc_sig_punctuation)}(h*h]h*}(hjhhhNhNubah}(h]h ]pah"]h$]h&]uh1jhjwubj)}(hdmxdevh]hdmxdev}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]noemphhhuh1juhjqubjv)}(hstruct dvb_adapter *adaph](j)}(hj5h]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(h dvb_adapterh]h dvb_adapter}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjQreftypej reftargetjmodnameN classnameNjj)}j]jc.dvb_dmxdev_initasbuh1hhjubj)}(h h]h }(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hadaph]hadap}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphhhuh1juhjqubeh}(h]h ]h"]h$]h&]hhuh1johj3hhhjHhKubeh}(h]h ]h"]h$]h&]hhjuh1j{jjhj/hhhjHhKubah}(h]j*ah ](jjeh"]h$]h&]jj)jhuh1juhjHhKhj,hhubj)}(hhh]h)}(hHinitializes a digital TV demux and registers both demux and DVR devices.h]hHinitializes a digital TV demux and registers both demux and DVR devices.}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKhjrhhubah}(h]h ]h"]h$]h&]uh1jhj,hhhjHhKubeh}(h]h ](jQfunctioneh"]h$]h&]jjQjjjjjjjuh1jphhhjNhNhNubj)}(h**Parameters** ``struct dmxdev *dmxdev`` pointer to :c:type:`struct dmxdev `. ``struct dvb_adapter *adap`` pointer to :c:type:`struct dvb_adapter `.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKhjubj)}(hhh](j#)}(hG``struct dmxdev *dmxdev`` pointer to :c:type:`struct dmxdev `. h](j))}(h``struct dmxdev *dmxdev``h]h)}(hjh]hstruct dmxdev *dmxdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j(ha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKhjubjC)}(hhh]h)}(h,pointer to :c:type:`struct dmxdev `.h](h pointer to }(hjhhhNhNubh)}(h :c:type:`struct dmxdev `h]h)}(hjh]h struct dmxdev}(hjhhhNhNubah}(h]h ](jPjQc-typeeh"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]refdocj] refdomainjQreftypetype refexplicitrefwarnjjjcdmxdevuh1hhjhKhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jBhjubeh}(h]h ]h"]h$]h&]uh1j"hjhKhjubj#)}(hS``struct dvb_adapter *adap`` pointer to :c:type:`struct dvb_adapter `.h](j))}(h``struct dvb_adapter *adap``h]h)}(hjh]hstruct dvb_adapter *adap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j(ha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKhj ubjC)}(hhh]h)}(h6pointer to :c:type:`struct dvb_adapter `.h](h pointer to }(hj+hhhNhNubh)}(h*:c:type:`struct dvb_adapter `h]h)}(hj5h]hstruct dvb_adapter}(hj7hhhNhNubah}(h]h ](jPjQc-typeeh"]h$]h&]uh1hhj3ubah}(h]h ]h"]h$]h&]refdocj] refdomainjQreftypetype refexplicitrefwarnjjjc dvb_adapteruh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKhj+ubh.}(hj+hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjRhKhj(ubah}(h]h ]h"]h$]h&]uh1jBhj ubeh}(h]h ]h"]h$]h&]uh1j"hj'hKhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjNhhhNhNubj`)}(hhh]h}(h]h ]h"]h$]h&]entries](jldvb_dmxdev_release (C function)c.dvb_dmxdev_releasehNtauh1j_hjNhhhNhNubjq)}(hhh](jv)}(h/void dvb_dmxdev_release (struct dmxdev *dmxdev)h]j|)}(h.void dvb_dmxdev_release(struct dmxdev *dmxdev)h](j8)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jDah"]h$]h&]uh1j7hjhhha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhKubj)}(hdvb_dmxdev_releaseh]j)}(hdvb_dmxdev_releaseh]hdvb_dmxdev_release}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](jjeh"]h$]h&]hhuh1jhjhhhjhKubjp)}(h(struct dmxdev *dmxdev)h]jv)}(hstruct dmxdev *dmxdevh](j)}(hj5h]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubh)}(hhh]j)}(hdmxdevh]hdmxdev}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&] refdomainjQreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.dvb_dmxdev_releaseasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hdmxdevh]hdmxdev}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphhhuh1juhjubah}(h]h ]h"]h$]h&]hhuh1johjhhhjhKubeh}(h]h ]h"]h$]h&]hhjuh1j{jjhjhhhjhKubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1juhjhKhjhhubj)}(hhh]h)}(h/releases a digital TV demux and unregisters it.h]h/releases a digital TV demux and unregisters it.}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKhjLhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhKubeh}(h]h ](jQfunctioneh"]h$]h&]jjQjjgjjgjjjuh1jphhhjNhNhNubj)}(hX**Parameters** ``struct dmxdev *dmxdev`` pointer to :c:type:`struct dmxdev `.h](h)}(h**Parameters**h]j)}(hjqh]h Parameters}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKhjkubj)}(hhh]j#)}(hF``struct dmxdev *dmxdev`` pointer to :c:type:`struct dmxdev `.h](j))}(h``struct dmxdev *dmxdev``h]h)}(hjh]hstruct dmxdev *dmxdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j(ha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKhjubjC)}(hhh]h)}(h,pointer to :c:type:`struct dmxdev `.h](h pointer to }(hjhhhNhNubh)}(h :c:type:`struct dmxdev `h]h)}(hjh]h struct dmxdev}(hjhhhNhNubah}(h]h ](jPjQc-typeeh"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]refdocj] refdomainjQreftypetype refexplicitrefwarnjjjcdmxdevuh1hha/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:74: ./include/media/dmxdev.hhKhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jBhjubeh}(h]h ]h"]h$]h&]uh1j"hjhKhjubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjNhhhNhNubeh}(h]Bdigital-tv-demux-device-registration-functions-and-data-structuresah ]h"]Bdigital tv demux device registration functions and data structuresah$]h&]uh1hhhhhhhhKHubh)}(hhh](h)}(h%High-level Digital TV demux interfaceh]h%High-level Digital TV demux interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKMubj`)}(hhh]h}(h]h ]h"]h$]h&]entries](jldvb_dmx_filter_type (C enum)c.dvb_dmx_filter_typehNtauh1j_hjhhhNhNubjq)}(hhh](jv)}(hdvb_dmx_filter_typeh]j|)}(henum dvb_dmx_filter_typeh](j)}(hjh]henum}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"hhhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKubj)}(h h]h }(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"hhhj3hKubj)}(hdvb_dmx_filter_typeh]j)}(hj h]hdvb_dmx_filter_type}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBubah}(h]h ](jjeh"]h$]h&]hhuh1jhj"hhhj3hKubeh}(h]h ]h"]h$]h&]hhjuh1j{jjhjhhhj3hKubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1juhj3hKhjhhubj)}(hhh]h)}(htype of demux feed.h]htype of demux feed.}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKhjehhubah}(h]h ]h"]h$]h&]uh1jhjhhhj3hKubeh}(h]h ](jQenumeh"]h$]h&]jjQjjjjjjjuh1jphhhjhNhNubj)}(ha**Constants** ``DMX_TYPE_TS`` feed is in TS mode. ``DMX_TYPE_SEC`` feed is in Section mode.h](h)}(h **Constants**h]j)}(hjh]h Constants}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhK"hjubj)}(hhh](j#)}(h$``DMX_TYPE_TS`` feed is in TS mode. h](j))}(h``DMX_TYPE_TS``h]h)}(hjh]h DMX_TYPE_TS}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhK%hjubjC)}(hhh]h)}(hfeed is in TS mode.h]hfeed is in TS mode.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhK%hjubah}(h]h ]h"]h$]h&]uh1jBhjubeh}(h]h ]h"]h$]h&]uh1j"hjhK%hjubj#)}(h)``DMX_TYPE_SEC`` feed is in Section mode.h](j))}(h``DMX_TYPE_SEC``h]h)}(hjh]h DMX_TYPE_SEC}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhK'hjubjC)}(hhh]h)}(hfeed is in Section mode.h]hfeed is in Section mode.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhK(hjubah}(h]h ]h"]h$]h&]uh1jBhjubeh}(h]h ]h"]h$]h&]uh1j"hjhK'hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubj`)}(hhh]h}(h]h ]h"]h$]h&]entries](jldvb_dmx_state (C enum)c.dvb_dmx_statehNtauh1j_hjhhhNhNubjq)}(hhh](jv)}(h dvb_dmx_stateh]j|)}(henum dvb_dmx_stateh](j)}(hjh]henum}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8hhhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhK.ubj)}(h h]h }(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8hhhjIhK.ubj)}(h dvb_dmx_stateh]j)}(hj6h]h dvb_dmx_state}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubah}(h]h ](jjeh"]h$]h&]hhuh1jhj8hhhjIhK.ubeh}(h]h ]h"]h$]h&]hhjuh1j{jjhj4hhhjIhK.ubah}(h]j/ah ](jjeh"]h$]h&]jj)jhuh1juhjIhK.hj1hhubj)}(hhh]h)}(h!state machine for a demux filter.h]h!state machine for a demux filter.}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhK)hj{hhubah}(h]h ]h"]h$]h&]uh1jhj1hhhjIhK.ubeh}(h]h ](jQenumeh"]h$]h&]jjQjjjjjjjuh1jphhhjhNhNubj)}(hX**Constants** ``DMX_STATE_FREE`` indicates that the filter is freed. ``DMX_STATE_ALLOCATED`` indicates that the filter was allocated to be used. ``DMX_STATE_READY`` indicates that the filter is ready to be used. ``DMX_STATE_GO`` indicates that the filter is running.h](h)}(h **Constants**h]j)}(hjh]h Constants}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhK-hjubj)}(hhh](j#)}(h7``DMX_STATE_FREE`` indicates that the filter is freed. h](j))}(h``DMX_STATE_FREE``h]h)}(hjh]hDMX_STATE_FREE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhK0hjubjC)}(hhh]h)}(h#indicates that the filter is freed.h]h#indicates that the filter is freed.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhK0hjubah}(h]h ]h"]h$]h&]uh1jBhjubeh}(h]h ]h"]h$]h&]uh1j"hjhK0hjubj#)}(hL``DMX_STATE_ALLOCATED`` indicates that the filter was allocated to be used. h](j))}(h``DMX_STATE_ALLOCATED``h]h)}(hjh]hDMX_STATE_ALLOCATED}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhK4hjubjC)}(hhh]h)}(h3indicates that the filter was allocated to be used.h]h3indicates that the filter was allocated to be used.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhK3hjubah}(h]h ]h"]h$]h&]uh1jBhjubeh}(h]h ]h"]h$]h&]uh1j"hj hK4hjubj#)}(hC``DMX_STATE_READY`` indicates that the filter is ready to be used. h](j))}(h``DMX_STATE_READY``h]h)}(hj2h]hDMX_STATE_READY}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj0ubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhK8hj,ubjC)}(hhh]h)}(h.indicates that the filter is ready to be used.h]h.indicates that the filter is ready to be used.}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhK7hjHubah}(h]h ]h"]h$]h&]uh1jBhj,ubeh}(h]h ]h"]h$]h&]uh1j"hjGhK8hjubj#)}(h6``DMX_STATE_GO`` indicates that the filter is running.h](j))}(h``DMX_STATE_GO``h]h)}(hjlh]h DMX_STATE_GO}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjjubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhK:hjfubjC)}(hhh]h)}(h%indicates that the filter is running.h]h%indicates that the filter is running.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhK;hjubah}(h]h ]h"]h$]h&]uh1jBhjfubeh}(h]h ]h"]h$]h&]uh1j"hjhK:hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubj`)}(hhh]h}(h]h ]h"]h$]h&]entries](jldvb_demux_filter (C struct)c.dvb_demux_filterhNtauh1j_hjhhhNhNubjq)}(hhh](jv)}(hdvb_demux_filterh]j|)}(hstruct dvb_demux_filterh](j)}(hj5h]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKAubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhKAubj)}(hdvb_demux_filterh]j)}(hjh]hdvb_demux_filter}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubah}(h]h ](jjeh"]h$]h&]hhuh1jhjhhhjhKAubeh}(h]h ]h"]h$]h&]hhjuh1j{jjhjhhhjhKAubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1juhjhKAhjhhubj)}(hhh]h)}(h%Describes a DVB demux section filter.h]h%Describes a DVB demux section filter.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhK@hjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhKAubeh}(h]h ](jQstructeh"]h$]h&]jjQjj jj jjjuh1jphhhjhNhNubj)}(hX**Definition**:: struct dvb_demux_filter { struct dmx_section_filter filter; u8 maskandmode[DMX_MAX_FILTER_SIZE]; u8 maskandnotmode[DMX_MAX_FILTER_SIZE]; bool doneq; struct dvb_demux_filter *next; struct dvb_demux_feed *feed; int index; enum dvb_dmx_state state; enum dvb_dmx_filter_type type; }; **Members** ``filter`` Section filter as defined by :c:type:`struct dmx_section_filter `. ``maskandmode`` logical ``and`` bit mask. ``maskandnotmode`` logical ``and not`` bit mask. ``doneq`` flag that indicates when a filter is ready. ``next`` pointer to the next section filter. ``feed`` :c:type:`struct dvb_demux_feed ` pointer. ``index`` index of the used demux filter. ``state`` state of the filter as described by :c:type:`enum dvb_dmx_state `. ``type`` type of the filter as described by :c:type:`enum dvb_dmx_filter_type `.h](h)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubh:}(hj(hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKDhj$ubj)}(hX;struct dvb_demux_filter { struct dmx_section_filter filter; u8 maskandmode[DMX_MAX_FILTER_SIZE]; u8 maskandnotmode[DMX_MAX_FILTER_SIZE]; bool doneq; struct dvb_demux_filter *next; struct dvb_demux_feed *feed; int index; enum dvb_dmx_state state; enum dvb_dmx_filter_type type; };h]hX;struct dvb_demux_filter { struct dmx_section_filter filter; u8 maskandmode[DMX_MAX_FILTER_SIZE]; u8 maskandnotmode[DMX_MAX_FILTER_SIZE]; bool doneq; struct dvb_demux_filter *next; struct dvb_demux_feed *feed; int index; enum dvb_dmx_state state; enum dvb_dmx_filter_type type; };}hjEsbah}(h]h ]h"]h$]h&]hhuh1jhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKFhj$ubh)}(h **Members**h]j)}(hjVh]hMembers}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKRhj$ubj)}(hhh](j#)}(hb``filter`` Section filter as defined by :c:type:`struct dmx_section_filter `. h](j))}(h ``filter``h]h)}(hjuh]hfilter}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjsubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKChjoubjC)}(hhh]h)}(hVSection filter as defined by :c:type:`struct dmx_section_filter `.h](hSection filter as defined by }(hjhhhNhNubh)}(h8:c:type:`struct dmx_section_filter `h]h)}(hjh]hstruct dmx_section_filter}(hjhhhNhNubah}(h]h ](jPjQc-typeeh"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]refdocj] refdomainjQreftypetype refexplicitrefwarnjjjcdmx_section_filteruh1hhjhKChjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhKChjubah}(h]h ]h"]h$]h&]uh1jBhjoubeh}(h]h ]h"]h$]h&]uh1j"hjhKChjlubj#)}(h*``maskandmode`` logical ``and`` bit mask. h](j))}(h``maskandmode``h]h)}(hjh]h maskandmode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKDhjubjC)}(hhh]h)}(hlogical ``and`` bit mask.h](hlogical }(hjhhhNhNubh)}(h``and``h]hand}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubh bit mask.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhKDhjubah}(h]h ]h"]h$]h&]uh1jBhjubeh}(h]h ]h"]h$]h&]uh1j"hjhKDhjlubj#)}(h1``maskandnotmode`` logical ``and not`` bit mask. h](j))}(h``maskandnotmode``h]h)}(hjh]hmaskandnotmode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKEhjubjC)}(hhh]h)}(hlogical ``and not`` bit mask.h](hlogical }(hj5hhhNhNubh)}(h ``and not``h]hand not}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj5ubh bit mask.}(hj5hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj1hKEhj2ubah}(h]h ]h"]h$]h&]uh1jBhjubeh}(h]h ]h"]h$]h&]uh1j"hj1hKEhjlubj#)}(h6``doneq`` flag that indicates when a filter is ready. h](j))}(h ``doneq``h]h)}(hjgh]hdoneq}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhjeubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKFhjaubjC)}(hhh]h)}(h+flag that indicates when a filter is ready.h]h+flag that indicates when a filter is ready.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj|hKFhj}ubah}(h]h ]h"]h$]h&]uh1jBhjaubeh}(h]h ]h"]h$]h&]uh1j"hj|hKFhjlubj#)}(h-``next`` pointer to the next section filter. h](j))}(h``next``h]h)}(hjh]hnext}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKGhjubjC)}(hhh]h)}(h#pointer to the next section filter.h]h#pointer to the next section filter.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKGhjubah}(h]h ]h"]h$]h&]uh1jBhjubeh}(h]h ]h"]h$]h&]uh1j"hjhKGhjlubj#)}(hC``feed`` :c:type:`struct dvb_demux_feed ` pointer. h](j))}(h``feed``h]h)}(hjh]hfeed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKHhjubjC)}(hhh]h)}(h9:c:type:`struct dvb_demux_feed ` pointer.h](h)}(h0:c:type:`struct dvb_demux_feed `h]h)}(hjh]hstruct dvb_demux_feed}(hjhhhNhNubah}(h]h ](jPjQc-typeeh"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]refdocj] refdomainjQreftypetype refexplicitrefwarnjjjcdvb_demux_feeduh1hhjhKHhjubh pointer.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhKHhjubah}(h]h ]h"]h$]h&]uh1jBhjubeh}(h]h ]h"]h$]h&]uh1j"hjhKHhjlubj#)}(h*``index`` index of the used demux filter. h](j))}(h ``index``h]h)}(hj1h]hindex}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj/ubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKIhj+ubjC)}(hhh]h)}(hindex of the used demux filter.h]hindex of the used demux filter.}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjFhKIhjGubah}(h]h ]h"]h$]h&]uh1jBhj+ubeh}(h]h ]h"]h$]h&]uh1j"hjFhKIhjlubj#)}(h\``state`` state of the filter as described by :c:type:`enum dvb_dmx_state `. h](j))}(h ``state``h]h)}(hjjh]hstate}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKJhjdubjC)}(hhh]h)}(hQstate of the filter as described by :c:type:`enum dvb_dmx_state `.h](h$state of the filter as described by }(hjhhhNhNubh)}(h,:c:type:`enum dvb_dmx_state `h]h)}(hjh]henum dvb_dmx_state}(hjhhhNhNubah}(h]h ](jPjQc-typeeh"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]refdocj] refdomainjQreftypetype refexplicitrefwarnjjjc dvb_dmx_stateuh1hhjhKJhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhKJhjubah}(h]h ]h"]h$]h&]uh1jBhjdubeh}(h]h ]h"]h$]h&]uh1j"hjhKJhjlubj#)}(he``type`` type of the filter as described by :c:type:`enum dvb_dmx_filter_type `.h](j))}(h``type``h]h)}(hjh]htype}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKKhjubjC)}(hhh]h)}(h\type of the filter as described by :c:type:`enum dvb_dmx_filter_type `.h](h#type of the filter as described by }(hjhhhNhNubh)}(h8:c:type:`enum dvb_dmx_filter_type `h]h)}(hjh]henum dvb_dmx_filter_type}(hjhhhNhNubah}(h]h ](jPjQc-typeeh"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]refdocj] refdomainjQreftypetype refexplicitrefwarnjjjcdvb_dmx_filter_typeuh1hhjhKKhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhKKhjubah}(h]h ]h"]h$]h&]uh1jBhjubeh}(h]h ]h"]h$]h&]uh1j"hjhKKhjlubeh}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubj`)}(hhh]h}(h]h ]h"]h$]h&]entries](jldvb_demux_feed (C struct)c.dvb_demux_feedhNtauh1j_hjhhhNhNubjq)}(hhh](jv)}(hdvb_demux_feedh]j|)}(hstruct dvb_demux_feedh](j)}(hj5h]hstruct}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>hhhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKRubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>hhhjOhKRubj)}(hdvb_demux_feedh]j)}(hj<h]hdvb_demux_feed}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^ubah}(h]h ](jjeh"]h$]h&]hhuh1jhj>hhhjOhKRubeh}(h]h ]h"]h$]h&]hhjuh1j{jjhj:hhhjOhKRubah}(h]j5ah ](jjeh"]h$]h&]jj)jhuh1juhjOhKRhj7hhubj)}(hhh]h)}(hdescribes a DVB fieldh]hdescribes a DVB field}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhK_hjhhubah}(h]h ]h"]h$]h&]uh1jhj7hhhjOhKRubeh}(h]h ](jQstructeh"]h$]h&]jjQjjjjjjjuh1jphhhjhNhNubj)}(hX **Definition**:: struct dvb_demux_feed { union { struct dmx_ts_feed ts; struct dmx_section_feed sec; } feed; union { dmx_ts_cb ts; dmx_section_cb sec; } cb; struct dvb_demux *demux; void *priv; enum dvb_dmx_filter_type type; enum dvb_dmx_state state; u16 pid; ktime_t timeout; struct dvb_demux_filter *filter; u32 buffer_flags; enum ts_filter_type ts_type; enum dmx_ts_pes pes_type; int cc; bool pusi_seen; u16 peslen; struct list_head list_head; unsigned int index; }; **Members** ``feed`` a union describing a digital TV feed. Depending on the feed type, it can be either **feed.ts** or **feed.sec**. ``feed.ts`` a :c:type:`struct dmx_ts_feed ` pointer. For TS feed only. ``feed.sec`` a :c:type:`struct dmx_section_feed ` pointer. For section feed only. ``cb`` a union describing digital TV callbacks. Depending on the feed type, it can be either **cb.ts** or **cb.sec**. ``cb.ts`` a dmx_ts_cb() calback function pointer. For TS feed only. ``cb.sec`` a dmx_section_cb() callback function pointer. For section feed only. ``demux`` pointer to :c:type:`struct dvb_demux `. ``priv`` private data that can optionally be used by a DVB driver. ``type`` type of the filter, as defined by :c:type:`enum dvb_dmx_filter_type `. ``state`` state of the filter as defined by :c:type:`enum dvb_dmx_state `. ``pid`` PID to be filtered. ``timeout`` feed timeout. ``filter`` pointer to :c:type:`struct dvb_demux_filter `. ``buffer_flags`` Buffer flags used to report discontinuity users via DVB memory mapped API, as defined by :c:type:`enum dmx_buffer_flags `. ``ts_type`` type of TS, as defined by :c:type:`enum ts_filter_type `. ``pes_type`` type of PES, as defined by :c:type:`enum dmx_ts_pes `. ``cc`` MPEG-TS packet continuity counter ``pusi_seen`` if true, indicates that a discontinuity was detected. it is used to prevent feeding of garbage from previous section. ``peslen`` length of the PES (Packet Elementary Stream). ``list_head`` head for the list of digital TV demux feeds. ``index`` a unique index for each feed. Can be used as hardware pid filter index.h](h)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKchjubj)}(hX0struct dvb_demux_feed { union { struct dmx_ts_feed ts; struct dmx_section_feed sec; } feed; union { dmx_ts_cb ts; dmx_section_cb sec; } cb; struct dvb_demux *demux; void *priv; enum dvb_dmx_filter_type type; enum dvb_dmx_state state; u16 pid; ktime_t timeout; struct dvb_demux_filter *filter; u32 buffer_flags; enum ts_filter_type ts_type; enum dmx_ts_pes pes_type; int cc; bool pusi_seen; u16 peslen; struct list_head list_head; unsigned int index; };h]hX0struct dvb_demux_feed { union { struct dmx_ts_feed ts; struct dmx_section_feed sec; } feed; union { dmx_ts_cb ts; dmx_section_cb sec; } cb; struct dvb_demux *demux; void *priv; enum dvb_dmx_filter_type type; enum dvb_dmx_state state; u16 pid; ktime_t timeout; struct dvb_demux_filter *filter; u32 buffer_flags; enum ts_filter_type ts_type; enum dmx_ts_pes pes_type; int cc; bool pusi_seen; u16 peslen; struct list_head list_head; unsigned int index; };}hjsbah}(h]h ]h"]h$]h&]hhuh1jhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKehjubh)}(h **Members**h]j)}(hjh]hMembers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKhjubj)}(hhh](j#)}(hy``feed`` a union describing a digital TV feed. Depending on the feed type, it can be either **feed.ts** or **feed.sec**. h](j))}(h``feed``h]h)}(hjh]hfeed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKdhjubjC)}(hhh]h)}(hoa union describing a digital TV feed. Depending on the feed type, it can be either **feed.ts** or **feed.sec**.h](hSa union describing a digital TV feed. Depending on the feed type, it can be either }(hj hhhNhNubj)}(h **feed.ts**h]hfeed.ts}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh or }(hj hhhNhNubj)}(h **feed.sec**h]hfeed.sec}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKbhjubah}(h]h ]h"]h$]h&]uh1jBhjubeh}(h]h ]h"]h$]h&]uh1j"hjhKdhjubj#)}(hT``feed.ts`` a :c:type:`struct dmx_ts_feed ` pointer. For TS feed only. h](j))}(h ``feed.ts``h]h)}(hjOh]hfeed.ts}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjMubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKfhjIubjC)}(hhh]h)}(hGa :c:type:`struct dmx_ts_feed ` pointer. For TS feed only.h](ha }(hjhhhhNhNubh)}(h*:c:type:`struct dmx_ts_feed `h]h)}(hjrh]hstruct dmx_ts_feed}(hjthhhNhNubah}(h]h ](jPjQc-typeeh"]h$]h&]uh1hhjpubah}(h]h ]h"]h$]h&]refdocj] refdomainjQreftypetype refexplicitrefwarnjjjc dmx_ts_feeduh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKehjhubh pointer. For TS feed only.}(hjhhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhKehjeubah}(h]h ]h"]h$]h&]uh1jBhjIubeh}(h]h ]h"]h$]h&]uh1j"hjdhKfhjubj#)}(hd``feed.sec`` a :c:type:`struct dmx_section_feed ` pointer. For section feed only. h](j))}(h ``feed.sec``h]h)}(hjh]hfeed.sec}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKhhjubjC)}(hhh]h)}(hVa :c:type:`struct dmx_section_feed ` pointer. For section feed only.h](ha }(hjhhhNhNubh)}(h4:c:type:`struct dmx_section_feed `h]h)}(hjh]hstruct dmx_section_feed}(hjhhhNhNubah}(h]h ](jPjQc-typeeh"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]refdocj] refdomainjQreftypetype refexplicitrefwarnjjjcdmx_section_feeduh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKghjubh pointer. For section feed only.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhKghjubah}(h]h ]h"]h$]h&]uh1jBhjubeh}(h]h ]h"]h$]h&]uh1j"hjhKhhjubj#)}(hv``cb`` a union describing digital TV callbacks. Depending on the feed type, it can be either **cb.ts** or **cb.sec**. h](j))}(h``cb``h]h)}(hj h]hcb}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKkhjubjC)}(hhh]h)}(hna union describing digital TV callbacks. Depending on the feed type, it can be either **cb.ts** or **cb.sec**.h](hVa union describing digital TV callbacks. Depending on the feed type, it can be either }(hj"hhhNhNubj)}(h **cb.ts**h]hcb.ts}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubh or }(hj"hhhNhNubj)}(h **cb.sec**h]hcb.sec}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubh.}(hj"hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKihjubah}(h]h ]h"]h$]h&]uh1jBhjubeh}(h]h ]h"]h$]h&]uh1j"hjhKkhjubj#)}(hD``cb.ts`` a dmx_ts_cb() calback function pointer. For TS feed only. h](j))}(h ``cb.ts``h]h)}(hjgh]hcb.ts}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhjeubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKmhjaubjC)}(hhh]h)}(h9a dmx_ts_cb() calback function pointer. For TS feed only.h]h9a dmx_ts_cb() calback function pointer. For TS feed only.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKlhj}ubah}(h]h ]h"]h$]h&]uh1jBhjaubeh}(h]h ]h"]h$]h&]uh1j"hj|hKmhjubj#)}(hP``cb.sec`` a dmx_section_cb() callback function pointer. For section feed only. h](j))}(h ``cb.sec``h]h)}(hjh]hcb.sec}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKohjubjC)}(hhh]h)}(hDa dmx_section_cb() callback function pointer. For section feed only.h]hDa dmx_section_cb() callback function pointer. For section feed only.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKnhjubah}(h]h ]h"]h$]h&]uh1jBhjubeh}(h]h ]h"]h$]h&]uh1j"hjhKohjubj#)}(h=``demux`` pointer to :c:type:`struct dvb_demux `. h](j))}(h ``demux``h]h)}(hjh]hdemux}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKphjubjC)}(hhh]h)}(h2pointer to :c:type:`struct dvb_demux `.h](h pointer to }(hjhhhNhNubh)}(h&:c:type:`struct dvb_demux `h]h)}(hjh]hstruct dvb_demux}(hj hhhNhNubah}(h]h ](jPjQc-typeeh"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]refdocj] refdomainjQreftypetype refexplicitrefwarnjjjc dvb_demuxuh1hhjhKphjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhKphjubah}(h]h ]h"]h$]h&]uh1jBhjubeh}(h]h ]h"]h$]h&]uh1j"hjhKphjubj#)}(hC``priv`` private data that can optionally be used by a DVB driver. h](j))}(h``priv``h]h)}(hj7 h]hpriv}(hj9 hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj5 ubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKqhj1 ubjC)}(hhh]h)}(h9private data that can optionally be used by a DVB driver.h]h9private data that can optionally be used by a DVB driver.}(hjP hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjL hKqhjM ubah}(h]h ]h"]h$]h&]uh1jBhj1 ubeh}(h]h ]h"]h$]h&]uh1j"hjL hKqhjubj#)}(he``type`` type of the filter, as defined by :c:type:`enum dvb_dmx_filter_type `. h](j))}(h``type``h]h)}(hjp h]htype}(hjr hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjn ubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKrhjj ubjC)}(hhh]h)}(h[type of the filter, as defined by :c:type:`enum dvb_dmx_filter_type `.h](h"type of the filter, as defined by }(hj hhhNhNubh)}(h8:c:type:`enum dvb_dmx_filter_type `h]h)}(hj h]henum dvb_dmx_filter_type}(hj hhhNhNubah}(h]h ](jPjQc-typeeh"]h$]h&]uh1hhj ubah}(h]h ]h"]h$]h&]refdocj] refdomainjQreftypetype refexplicitrefwarnjjjcdvb_dmx_filter_typeuh1hhj hKrhj ubh.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj hKrhj ubah}(h]h ]h"]h$]h&]uh1jBhjj ubeh}(h]h ]h"]h$]h&]uh1j"hj hKrhjubj#)}(hZ``state`` state of the filter as defined by :c:type:`enum dvb_dmx_state `. h](j))}(h ``state``h]h)}(hj h]hstate}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj ubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKshj ubjC)}(hhh]h)}(hOstate of the filter as defined by :c:type:`enum dvb_dmx_state `.h](h"state of the filter as defined by }(hj hhhNhNubh)}(h,:c:type:`enum dvb_dmx_state `h]h)}(hj h]henum dvb_dmx_state}(hj hhhNhNubah}(h]h ](jPjQc-typeeh"]h$]h&]uh1hhj ubah}(h]h ]h"]h$]h&]refdocj] refdomainjQreftypetype refexplicitrefwarnjjjc dvb_dmx_stateuh1hhj hKshj ubh.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj hKshj ubah}(h]h ]h"]h$]h&]uh1jBhj ubeh}(h]h ]h"]h$]h&]uh1j"hj hKshjubj#)}(h``pid`` PID to be filtered. h](j))}(h``pid``h]h)}(hj(!h]hpid}(hj*!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj&!ubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKthj"!ubjC)}(hhh]h)}(hPID to be filtered.h]hPID to be filtered.}(hjA!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj=!hKthj>!ubah}(h]h ]h"]h$]h&]uh1jBhj"!ubeh}(h]h ]h"]h$]h&]uh1j"hj=!hKthjubj#)}(h``timeout`` feed timeout. h](j))}(h ``timeout``h]h)}(hja!h]htimeout}(hjc!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj_!ubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKuhj[!ubjC)}(hhh]h)}(h feed timeout.h]h feed timeout.}(hjz!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjv!hKuhjw!ubah}(h]h ]h"]h$]h&]uh1jBhj[!ubeh}(h]h ]h"]h$]h&]uh1j"hjv!hKuhjubj#)}(hL``filter`` pointer to :c:type:`struct dvb_demux_filter `. h](j))}(h ``filter``h]h)}(hj!h]hfilter}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj!ubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKvhj!ubjC)}(hhh]h)}(h@pointer to :c:type:`struct dvb_demux_filter `.h](h pointer to }(hj!hhhNhNubh)}(h4:c:type:`struct dvb_demux_filter `h]h)}(hj!h]hstruct dvb_demux_filter}(hj!hhhNhNubah}(h]h ](jPjQc-typeeh"]h$]h&]uh1hhj!ubah}(h]h ]h"]h$]h&]refdocj] refdomainjQreftypetype refexplicitrefwarnjjjcdvb_demux_filteruh1hhj!hKvhj!ubh.}(hj!hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj!hKvhj!ubah}(h]h ]h"]h$]h&]uh1jBhj!ubeh}(h]h ]h"]h$]h&]uh1j"hj!hKvhjubj#)}(h``buffer_flags`` Buffer flags used to report discontinuity users via DVB memory mapped API, as defined by :c:type:`enum dmx_buffer_flags `. h](j))}(h``buffer_flags``h]h)}(hj!h]h buffer_flags}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj!ubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKxhj!ubjC)}(hhh]h)}(hBuffer flags used to report discontinuity users via DVB memory mapped API, as defined by :c:type:`enum dmx_buffer_flags `.h](hYBuffer flags used to report discontinuity users via DVB memory mapped API, as defined by }(hj"hhhNhNubh)}(h2:c:type:`enum dmx_buffer_flags `h]h)}(hj"h]henum dmx_buffer_flags}(hj"hhhNhNubah}(h]h ](jPjQc-typeeh"]h$]h&]uh1hhj"ubah}(h]h ]h"]h$]h&]refdocj] refdomainjQreftypetype refexplicitrefwarnjjjcdmx_buffer_flagsuh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKwhj"ubh.}(hj"hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj6"hKwhj "ubah}(h]h ]h"]h$]h&]uh1jBhj!ubeh}(h]h ]h"]h$]h&]uh1j"hj "hKxhjubj#)}(hV``ts_type`` type of TS, as defined by :c:type:`enum ts_filter_type `. h](j))}(h ``ts_type``h]h)}(hjS"h]hts_type}(hjU"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjQ"ubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKyhjM"ubjC)}(hhh]h)}(hItype of TS, as defined by :c:type:`enum ts_filter_type `.h](htype of TS, as defined by }(hjl"hhhNhNubh)}(h.:c:type:`enum ts_filter_type `h]h)}(hjv"h]henum ts_filter_type}(hjx"hhhNhNubah}(h]h ](jPjQc-typeeh"]h$]h&]uh1hhjt"ubah}(h]h ]h"]h$]h&]refdocj] refdomainjQreftypetype refexplicitrefwarnjjjcts_filter_typeuh1hhjh"hKyhjl"ubh.}(hjl"hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjh"hKyhji"ubah}(h]h ]h"]h$]h&]uh1jBhjM"ubeh}(h]h ]h"]h$]h&]uh1j"hjh"hKyhjubj#)}(hP``pes_type`` type of PES, as defined by :c:type:`enum dmx_ts_pes `. h](j))}(h ``pes_type``h]h)}(hj"h]hpes_type}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj"ubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKzhj"ubjC)}(hhh]h)}(hBtype of PES, as defined by :c:type:`enum dmx_ts_pes `.h](htype of PES, as defined by }(hj"hhhNhNubh)}(h&:c:type:`enum dmx_ts_pes `h]h)}(hj"h]henum dmx_ts_pes}(hj"hhhNhNubah}(h]h ](jPjQc-typeeh"]h$]h&]uh1hhj"ubah}(h]h ]h"]h$]h&]refdocj] refdomainjQreftypetype refexplicitrefwarnjjjc dmx_ts_pesuh1hhj"hKzhj"ubh.}(hj"hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj"hKzhj"ubah}(h]h ]h"]h$]h&]uh1jBhj"ubeh}(h]h ]h"]h$]h&]uh1j"hj"hKzhjubj#)}(h)``cc`` MPEG-TS packet continuity counter h](j))}(h``cc``h]h)}(hj #h]hcc}(hj #hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj #ubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhK{hj#ubjC)}(hhh]h)}(h!MPEG-TS packet continuity counterh]h!MPEG-TS packet continuity counter}(hj$#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj #hK{hj!#ubah}(h]h ]h"]h$]h&]uh1jBhj#ubeh}(h]h ]h"]h$]h&]uh1j"hj #hK{hjubj#)}(h``pusi_seen`` if true, indicates that a discontinuity was detected. it is used to prevent feeding of garbage from previous section. h](j))}(h ``pusi_seen``h]h)}(hjD#h]h pusi_seen}(hjF#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjB#ubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhK}hj>#ubjC)}(hhh]h)}(huif true, indicates that a discontinuity was detected. it is used to prevent feeding of garbage from previous section.h]huif true, indicates that a discontinuity was detected. it is used to prevent feeding of garbage from previous section.}(hj]#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhK|hjZ#ubah}(h]h ]h"]h$]h&]uh1jBhj>#ubeh}(h]h ]h"]h$]h&]uh1j"hjY#hK}hjubj#)}(h9``peslen`` length of the PES (Packet Elementary Stream). h](j))}(h ``peslen``h]h)}(hj~#h]hpeslen}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj|#ubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhK~hjx#ubjC)}(hhh]h)}(h-length of the PES (Packet Elementary Stream).h]h-length of the PES (Packet Elementary Stream).}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj#hK~hj#ubah}(h]h ]h"]h$]h&]uh1jBhjx#ubeh}(h]h ]h"]h$]h&]uh1j"hj#hK~hjubj#)}(h;``list_head`` head for the list of digital TV demux feeds. h](j))}(h ``list_head``h]h)}(hj#h]h list_head}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj#ubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKhj#ubjC)}(hhh]h)}(h,head for the list of digital TV demux feeds.h]h,head for the list of digital TV demux feeds.}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj#hKhj#ubah}(h]h ]h"]h$]h&]uh1jBhj#ubeh}(h]h ]h"]h$]h&]uh1j"hj#hKhjubj#)}(hQ``index`` a unique index for each feed. Can be used as hardware pid filter index.h](j))}(h ``index``h]h)}(hj#h]hindex}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj#ubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKhj#ubjC)}(hhh]h)}(hGa unique index for each feed. Can be used as hardware pid filter index.h]hGa unique index for each feed. Can be used as hardware pid filter index.}(hj $hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj$hKhj$ubah}(h]h ]h"]h$]h&]uh1jBhj#ubeh}(h]h ]h"]h$]h&]uh1j"hj$hKhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubj`)}(hhh]h}(h]h ]h"]h$]h&]entries](jldvb_demux (C struct) c.dvb_demuxhNtauh1j_hjhhhNhNubjq)}(hhh](jv)}(h dvb_demuxh]j|)}(hstruct dvb_demuxh](j)}(hj5h]hstruct}(hjI$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjE$hhhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKubj)}(h h]h }(hjW$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjE$hhhjV$hKubj)}(h dvb_demuxh]j)}(hjC$h]h dvb_demux}(hji$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhje$ubah}(h]h ](jjeh"]h$]h&]hhuh1jhjE$hhhjV$hKubeh}(h]h ]h"]h$]h&]hhjuh1j{jjhjA$hhhjV$hKubah}(h]j<$ah ](jjeh"]h$]h&]jj)jhuh1juhjV$hKhj>$hhubj)}(hhh]h)}(hrepresents a digital TV demuxh]hrepresents a digital TV demux}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKhj$hhubah}(h]h ]h"]h$]h&]uh1jhj>$hhhjV$hKubeh}(h]h ](jQstructeh"]h$]h&]jjQjj$jj$jjjuh1jphhhjhNhNubj)}(hX= **Definition**:: struct dvb_demux { struct dmx_demux dmx; void *priv; int filternum; int feednum; int (*start_feed)(struct dvb_demux_feed *feed); int (*stop_feed)(struct dvb_demux_feed *feed); int (*write_to_decoder)(struct dvb_demux_feed *feed, const u8 *buf, size_t len); u32 (*check_crc32)(struct dvb_demux_feed *feed, const u8 *buf, size_t len); void (*memcopy)(struct dvb_demux_feed *feed, u8 *dst, const u8 *src, size_t len); int users; #define MAX_DVB_DEMUX_USERS 10; struct dvb_demux_filter *filter; struct dvb_demux_feed *feed; struct list_head frontend_list; struct dvb_demux_feed *pesfilter[DMX_PES_OTHER]; u16 pids[DMX_PES_OTHER]; #define DMX_MAX_PID 0x2000; struct list_head feed_list; u8 tsbuf[204]; int tsbufp; struct mutex mutex; spinlock_t lock; uint8_t *cnt_storage; ktime_t speed_last_time; uint32_t speed_pkts_cnt; }; **Members** ``dmx`` embedded :c:type:`struct dmx_demux ` with demux capabilities and callbacks. ``priv`` private data that can optionally be used by a DVB driver. ``filternum`` maximum amount of DVB filters. ``feednum`` maximum amount of DVB feeds. ``start_feed`` callback routine to be called in order to start a DVB feed. ``stop_feed`` callback routine to be called in order to stop a DVB feed. ``write_to_decoder`` callback routine to be called if the feed is TS and it is routed to an A/V decoder, when a new TS packet is received. Used only on av7110-av.c. ``check_crc32`` callback routine to check CRC. If not initialized, dvb_demux will use an internal one. ``memcopy`` callback routine to memcopy received data. If not initialized, dvb_demux will default to memcpy(). ``users`` counter for the number of demux opened file descriptors. Currently, it is limited to 10 users. ``filter`` pointer to :c:type:`struct dvb_demux_filter `. ``feed`` pointer to :c:type:`struct dvb_demux_feed `. ``frontend_list`` :c:type:`struct list_head ` with frontends used by the demux. ``pesfilter`` array of :c:type:`struct dvb_demux_feed ` with the PES types that will be filtered. ``pids`` list of filtered program IDs. ``feed_list`` :c:type:`struct list_head ` with feeds. ``tsbuf`` temporary buffer used internally to store TS packets. ``tsbufp`` temporary buffer index used internally. ``mutex`` pointer to :c:type:`struct mutex ` used to protect feed set logic. ``lock`` pointer to :c:type:`spinlock_t`, used to protect buffer handling. ``cnt_storage`` buffer used for TS/TEI continuity check. ``speed_last_time`` :c:type:`ktime_t` used for TS speed check. ``speed_pkts_cnt`` packets count used for TS speed check.h](h)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubh:}(hj$hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKhj$ubj)}(hXstruct dvb_demux { struct dmx_demux dmx; void *priv; int filternum; int feednum; int (*start_feed)(struct dvb_demux_feed *feed); int (*stop_feed)(struct dvb_demux_feed *feed); int (*write_to_decoder)(struct dvb_demux_feed *feed, const u8 *buf, size_t len); u32 (*check_crc32)(struct dvb_demux_feed *feed, const u8 *buf, size_t len); void (*memcopy)(struct dvb_demux_feed *feed, u8 *dst, const u8 *src, size_t len); int users; #define MAX_DVB_DEMUX_USERS 10; struct dvb_demux_filter *filter; struct dvb_demux_feed *feed; struct list_head frontend_list; struct dvb_demux_feed *pesfilter[DMX_PES_OTHER]; u16 pids[DMX_PES_OTHER]; #define DMX_MAX_PID 0x2000; struct list_head feed_list; u8 tsbuf[204]; int tsbufp; struct mutex mutex; spinlock_t lock; uint8_t *cnt_storage; ktime_t speed_last_time; uint32_t speed_pkts_cnt; };h]hXstruct dvb_demux { struct dmx_demux dmx; void *priv; int filternum; int feednum; int (*start_feed)(struct dvb_demux_feed *feed); int (*stop_feed)(struct dvb_demux_feed *feed); int (*write_to_decoder)(struct dvb_demux_feed *feed, const u8 *buf, size_t len); u32 (*check_crc32)(struct dvb_demux_feed *feed, const u8 *buf, size_t len); void (*memcopy)(struct dvb_demux_feed *feed, u8 *dst, const u8 *src, size_t len); int users; #define MAX_DVB_DEMUX_USERS 10; struct dvb_demux_filter *filter; struct dvb_demux_feed *feed; struct list_head frontend_list; struct dvb_demux_feed *pesfilter[DMX_PES_OTHER]; u16 pids[DMX_PES_OTHER]; #define DMX_MAX_PID 0x2000; struct list_head feed_list; u8 tsbuf[204]; int tsbufp; struct mutex mutex; spinlock_t lock; uint8_t *cnt_storage; ktime_t speed_last_time; uint32_t speed_pkts_cnt; };}hj$sbah}(h]h ]h"]h$]h&]hhuh1jhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKhj$ubh)}(h **Members**h]j)}(hj$h]hMembers}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKhj$ubj)}(hhh](j#)}(h_``dmx`` embedded :c:type:`struct dmx_demux ` with demux capabilities and callbacks. h](j))}(h``dmx``h]h)}(hj$h]hdmx}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj$ubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKhj$ubjC)}(hhh]h)}(hVembedded :c:type:`struct dmx_demux ` with demux capabilities and callbacks.h](h embedded }(hj%hhhNhNubh)}(h&:c:type:`struct dmx_demux `h]h)}(hj%h]hstruct dmx_demux}(hj%hhhNhNubah}(h]h ](jPjQc-typeeh"]h$]h&]uh1hhj%ubah}(h]h ]h"]h$]h&]refdocj] refdomainjQreftypetype refexplicitrefwarnjjjc dmx_demuxuh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKhj%ubh' with demux capabilities and callbacks.}(hj%hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj8%hKhj%ubah}(h]h ]h"]h$]h&]uh1jBhj$ubeh}(h]h ]h"]h$]h&]uh1j"hj %hKhj$ubj#)}(hC``priv`` private data that can optionally be used by a DVB driver. h](j))}(h``priv``h]h)}(hjU%h]hpriv}(hjW%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjS%ubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKhjO%ubjC)}(hhh]h)}(h9private data that can optionally be used by a DVB driver.h]h9private data that can optionally be used by a DVB driver.}(hjn%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKhjk%ubah}(h]h ]h"]h$]h&]uh1jBhjO%ubeh}(h]h ]h"]h$]h&]uh1j"hjj%hKhj$ubj#)}(h-``filternum`` maximum amount of DVB filters. h](j))}(h ``filternum``h]h)}(hj%h]h filternum}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj%ubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKhj%ubjC)}(hhh]h)}(hmaximum amount of DVB filters.h]hmaximum amount of DVB filters.}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj%hKhj%ubah}(h]h ]h"]h$]h&]uh1jBhj%ubeh}(h]h ]h"]h$]h&]uh1j"hj%hKhj$ubj#)}(h)``feednum`` maximum amount of DVB feeds. h](j))}(h ``feednum``h]h)}(hj%h]hfeednum}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj%ubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKhj%ubjC)}(hhh]h)}(hmaximum amount of DVB feeds.h]hmaximum amount of DVB feeds.}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj%hKhj%ubah}(h]h ]h"]h$]h&]uh1jBhj%ubeh}(h]h ]h"]h$]h&]uh1j"hj%hKhj$ubj#)}(hK``start_feed`` callback routine to be called in order to start a DVB feed. h](j))}(h``start_feed``h]h)}(hj&h]h start_feed}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj%ubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKhj%ubjC)}(hhh]h)}(h;callback routine to be called in order to start a DVB feed.h]h;callback routine to be called in order to start a DVB feed.}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKhj&ubah}(h]h ]h"]h$]h&]uh1jBhj%ubeh}(h]h ]h"]h$]h&]uh1j"hj&hKhj$ubj#)}(hI``stop_feed`` callback routine to be called in order to stop a DVB feed. h](j))}(h ``stop_feed``h]h)}(hj;&h]h stop_feed}(hj=&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj9&ubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKhj5&ubjC)}(hhh]h)}(h:callback routine to be called in order to stop a DVB feed.h]h:callback routine to be called in order to stop a DVB feed.}(hjT&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKhjQ&ubah}(h]h ]h"]h$]h&]uh1jBhj5&ubeh}(h]h ]h"]h$]h&]uh1j"hjP&hKhj$ubj#)}(h``write_to_decoder`` callback routine to be called if the feed is TS and it is routed to an A/V decoder, when a new TS packet is received. Used only on av7110-av.c. h](j))}(h``write_to_decoder``h]h)}(hju&h]hwrite_to_decoder}(hjw&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjs&ubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKhjo&ubjC)}(hhh]h)}(hcallback routine to be called if the feed is TS and it is routed to an A/V decoder, when a new TS packet is received. Used only on av7110-av.c.h]hcallback routine to be called if the feed is TS and it is routed to an A/V decoder, when a new TS packet is received. Used only on av7110-av.c.}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKhj&ubah}(h]h ]h"]h$]h&]uh1jBhjo&ubeh}(h]h ]h"]h$]h&]uh1j"hj&hKhj$ubj#)}(hg``check_crc32`` callback routine to check CRC. If not initialized, dvb_demux will use an internal one. h](j))}(h``check_crc32``h]h)}(hj&h]h check_crc32}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj&ubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKhj&ubjC)}(hhh]h)}(hVcallback routine to check CRC. If not initialized, dvb_demux will use an internal one.h]hVcallback routine to check CRC. If not initialized, dvb_demux will use an internal one.}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKhj&ubah}(h]h ]h"]h$]h&]uh1jBhj&ubeh}(h]h ]h"]h$]h&]uh1j"hj&hKhj$ubj#)}(ho``memcopy`` callback routine to memcopy received data. If not initialized, dvb_demux will default to memcpy(). h](j))}(h ``memcopy``h]h)}(hj&h]hmemcopy}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj&ubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKhj&ubjC)}(hhh]h)}(hbcallback routine to memcopy received data. If not initialized, dvb_demux will default to memcpy().h]hbcallback routine to memcopy received data. If not initialized, dvb_demux will default to memcpy().}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKhj&ubah}(h]h ]h"]h$]h&]uh1jBhj&ubeh}(h]h ]h"]h$]h&]uh1j"hj&hKhj$ubj#)}(hi``users`` counter for the number of demux opened file descriptors. Currently, it is limited to 10 users. h](j))}(h ``users``h]h)}(hj#'h]husers}(hj%'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj!'ubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKhj'ubjC)}(hhh]h)}(h^counter for the number of demux opened file descriptors. Currently, it is limited to 10 users.h]h^counter for the number of demux opened file descriptors. Currently, it is limited to 10 users.}(hj<'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKhj9'ubah}(h]h ]h"]h$]h&]uh1jBhj'ubeh}(h]h ]h"]h$]h&]uh1j"hj8'hKhj$ubj#)}(hL``filter`` pointer to :c:type:`struct dvb_demux_filter `. h](j))}(h ``filter``h]h)}(hj]'h]hfilter}(hj_'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj['ubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKhjW'ubjC)}(hhh]h)}(h@pointer to :c:type:`struct dvb_demux_filter `.h](h pointer to }(hjv'hhhNhNubh)}(h4:c:type:`struct dvb_demux_filter `h]h)}(hj'h]hstruct dvb_demux_filter}(hj'hhhNhNubah}(h]h ](jPjQc-typeeh"]h$]h&]uh1hhj~'ubah}(h]h ]h"]h$]h&]refdocj] refdomainjQreftypetype refexplicitrefwarnjjjcdvb_demux_filteruh1hhjr'hKhjv'ubh.}(hjv'hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjr'hKhjs'ubah}(h]h ]h"]h$]h&]uh1jBhjW'ubeh}(h]h ]h"]h$]h&]uh1j"hjr'hKhj$ubj#)}(hF``feed`` pointer to :c:type:`struct dvb_demux_feed `. h](j))}(h``feed``h]h)}(hj'h]hfeed}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj'ubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKhj'ubjC)}(hhh]h)}(h`.h](h pointer to }(hj'hhhNhNubh)}(h0:c:type:`struct dvb_demux_feed `h]h)}(hj'h]hstruct dvb_demux_feed}(hj'hhhNhNubah}(h]h ](jPjQc-typeeh"]h$]h&]uh1hhj'ubah}(h]h ]h"]h$]h&]refdocj] refdomainjQreftypetype refexplicitrefwarnjjjcdvb_demux_feeduh1hhj'hKhj'ubh.}(hj'hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj'hKhj'ubah}(h]h ]h"]h$]h&]uh1jBhj'ubeh}(h]h ]h"]h$]h&]uh1j"hj'hKhj$ubj#)}(h[``frontend_list`` :c:type:`struct list_head ` with frontends used by the demux. h](j))}(h``frontend_list``h]h)}(hj(h]h frontend_list}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj(ubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKhj(ubjC)}(hhh]h)}(hH:c:type:`struct list_head ` with frontends used by the demux.h](h)}(h&:c:type:`struct list_head `h]h)}(hj4(h]hstruct list_head}(hj6(hhhNhNubah}(h]h ](jPjQc-typeeh"]h$]h&]uh1hhj2(ubah}(h]h ]h"]h$]h&]refdocj] refdomainjQreftypetype refexplicitrefwarnjjjc list_headuh1hhj*(hKhj.(ubh" with frontends used by the demux.}(hj.(hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj*(hKhj+(ubah}(h]h ]h"]h$]h&]uh1jBhj(ubeh}(h]h ]h"]h$]h&]uh1j"hj*(hKhj$ubj#)}(hr``pesfilter`` array of :c:type:`struct dvb_demux_feed ` with the PES types that will be filtered. h](j))}(h ``pesfilter``h]h)}(hjm(h]h pesfilter}(hjo(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjk(ubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKhjg(ubjC)}(hhh]h)}(hcarray of :c:type:`struct dvb_demux_feed ` with the PES types that will be filtered.h](h array of }(hj(hhhNhNubh)}(h0:c:type:`struct dvb_demux_feed `h]h)}(hj(h]hstruct dvb_demux_feed}(hj(hhhNhNubah}(h]h ](jPjQc-typeeh"]h$]h&]uh1hhj(ubah}(h]h ]h"]h$]h&]refdocj] refdomainjQreftypetype refexplicitrefwarnjjjcdvb_demux_feeduh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKhj(ubh* with the PES types that will be filtered.}(hj(hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj(hKhj(ubah}(h]h ]h"]h$]h&]uh1jBhjg(ubeh}(h]h ]h"]h$]h&]uh1j"hj(hKhj$ubj#)}(h'``pids`` list of filtered program IDs. h](j))}(h``pids``h]h)}(hj(h]hpids}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj(ubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKhj(ubjC)}(hhh]h)}(hlist of filtered program IDs.h]hlist of filtered program IDs.}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj(hKhj(ubah}(h]h ]h"]h$]h&]uh1jBhj(ubeh}(h]h ]h"]h$]h&]uh1j"hj(hKhj$ubj#)}(hA``feed_list`` :c:type:`struct list_head ` with feeds. h](j))}(h ``feed_list``h]h)}(hj)h]h feed_list}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj)ubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKhj(ubjC)}(hhh]h)}(h2:c:type:`struct list_head ` with feeds.h](h)}(h&:c:type:`struct list_head `h]h)}(hj")h]hstruct list_head}(hj$)hhhNhNubah}(h]h ](jPjQc-typeeh"]h$]h&]uh1hhj )ubah}(h]h ]h"]h$]h&]refdocj] refdomainjQreftypetype refexplicitrefwarnjjjc list_headuh1hhj)hKhj)ubh with feeds.}(hj)hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj)hKhj)ubah}(h]h ]h"]h$]h&]uh1jBhj(ubeh}(h]h ]h"]h$]h&]uh1j"hj)hKhj$ubj#)}(h@``tsbuf`` temporary buffer used internally to store TS packets. h](j))}(h ``tsbuf``h]h)}(hj[)h]htsbuf}(hj])hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjY)ubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKhjU)ubjC)}(hhh]h)}(h5temporary buffer used internally to store TS packets.h]h5temporary buffer used internally to store TS packets.}(hjt)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjp)hKhjq)ubah}(h]h ]h"]h$]h&]uh1jBhjU)ubeh}(h]h ]h"]h$]h&]uh1j"hjp)hKhj$ubj#)}(h3``tsbufp`` temporary buffer index used internally. h](j))}(h ``tsbufp``h]h)}(hj)h]htsbufp}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj)ubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKhj)ubjC)}(hhh]h)}(h'temporary buffer index used internally.h]h'temporary buffer index used internally.}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj)hKhj)ubah}(h]h ]h"]h$]h&]uh1jBhj)ubeh}(h]h ]h"]h$]h&]uh1j"hj)hKhj$ubj#)}(hT``mutex`` pointer to :c:type:`struct mutex ` used to protect feed set logic. h](j))}(h ``mutex``h]h)}(hj)h]hmutex}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj)ubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKhj)ubjC)}(hhh]h)}(hIpointer to :c:type:`struct mutex ` used to protect feed set logic.h](h pointer to }(hj)hhhNhNubh)}(h:c:type:`struct mutex `h]h)}(hj)h]h struct mutex}(hj)hhhNhNubah}(h]h ](jPjQc-typeeh"]h$]h&]uh1hhj)ubah}(h]h ]h"]h$]h&]refdocj] refdomainjQreftypetype refexplicitrefwarnjjjcmutexuh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKhj)ubh used to protect feed set logic.}(hj)hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj *hKhj)ubah}(h]h ]h"]h$]h&]uh1jBhj)ubeh}(h]h ]h"]h$]h&]uh1j"hj)hKhj$ubj#)}(hK``lock`` pointer to :c:type:`spinlock_t`, used to protect buffer handling. h](j))}(h``lock``h]h)}(hj**h]hlock}(hj,*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj(*ubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKhj$*ubjC)}(hhh]h)}(hApointer to :c:type:`spinlock_t`, used to protect buffer handling.h](h pointer to }(hjC*hhhNhNubh)}(h:c:type:`spinlock_t`h]h)}(hjM*h]h spinlock_t}(hjO*hhhNhNubah}(h]h ](jPjQc-typeeh"]h$]h&]uh1hhjK*ubah}(h]h ]h"]h$]h&]refdocj] refdomainjQreftypetype refexplicitrefwarnjjjc spinlock_tuh1hhj?*hKhjC*ubh", used to protect buffer handling.}(hjC*hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj?*hKhj@*ubah}(h]h ]h"]h$]h&]uh1jBhj$*ubeh}(h]h ]h"]h$]h&]uh1j"hj?*hKhj$ubj#)}(h9``cnt_storage`` buffer used for TS/TEI continuity check. h](j))}(h``cnt_storage``h]h)}(hj*h]h cnt_storage}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj*ubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKhj*ubjC)}(hhh]h)}(h(buffer used for TS/TEI continuity check.h]h(buffer used for TS/TEI continuity check.}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj*hKhj*ubah}(h]h ]h"]h$]h&]uh1jBhj*ubeh}(h]h ]h"]h$]h&]uh1j"hj*hKhj$ubj#)}(h?``speed_last_time`` :c:type:`ktime_t` used for TS speed check. h](j))}(h``speed_last_time``h]h)}(hj*h]hspeed_last_time}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj*ubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKhj*ubjC)}(hhh]h)}(h*:c:type:`ktime_t` used for TS speed check.h](h)}(h:c:type:`ktime_t`h]h)}(hj*h]hktime_t}(hj*hhhNhNubah}(h]h ](jPjQc-typeeh"]h$]h&]uh1hhj*ubah}(h]h ]h"]h$]h&]refdocj] refdomainjQreftypetype refexplicitrefwarnjjjcktime_tuh1hhj*hKhj*ubh used for TS speed check.}(hj*hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj*hKhj*ubah}(h]h ]h"]h$]h&]uh1jBhj*ubeh}(h]h ]h"]h$]h&]uh1j"hj*hKhj$ubj#)}(h9``speed_pkts_cnt`` packets count used for TS speed check.h](j))}(h``speed_pkts_cnt``h]h)}(hj+h]hspeed_pkts_cnt}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj+ubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKhj+ubjC)}(hhh]h)}(h&packets count used for TS speed check.h]h&packets count used for TS speed check.}(hj0+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKhj-+ubah}(h]h ]h"]h$]h&]uh1jBhj+ubeh}(h]h ]h"]h$]h&]uh1j"hj,+hKhj$ubeh}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubj`)}(hhh]h}(h]h ]h"]h$]h&]entries](jldvb_dmx_init (C function)c.dvb_dmx_inithNtauh1j_hjhhhNhNubjq)}(hhh](jv)}(h*int dvb_dmx_init (struct dvb_demux *demux)h]j|)}(h)int dvb_dmx_init(struct dvb_demux *demux)h](j8)}(hinth]hint}(hjq+hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j7hjm+hhhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhM ubj)}(h h]h }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjm+hhhj+hM ubj)}(h dvb_dmx_inith]j)}(h dvb_dmx_inith]h dvb_dmx_init}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+ubah}(h]h ](jjeh"]h$]h&]hhuh1jhjm+hhhj+hM ubjp)}(h(struct dvb_demux *demux)h]jv)}(hstruct dvb_demux *demuxh](j)}(hj5h]hstruct}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+ubj)}(h h]h }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+ubh)}(hhh]j)}(h dvb_demuxh]h dvb_demux}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&] refdomainjQreftypej reftargetj+modnameN classnameNjj)}j]j)}jj+sbc.dvb_dmx_initasbuh1hhj+ubj)}(h h]h }(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+ubj)}(hjh]h*}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+ubj)}(hdemuxh]hdemux}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]noemphhhuh1juhj+ubah}(h]h ]h"]h$]h&]hhuh1johjm+hhhj+hM ubeh}(h]h ]h"]h$]h&]hhjuh1j{jjhji+hhhj+hM ubah}(h]jd+ah ](jjeh"]h$]h&]jj)jhuh1juhj+hM hjf+hhubj)}(hhh]h)}(h%initialize a digital TV demux struct.h]h%initialize a digital TV demux struct.}(hj1,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKhj.,hhubah}(h]h ]h"]h$]h&]uh1jhjf+hhhj+hM ubeh}(h]h ](jQfunctioneh"]h$]h&]jjQjjI,jjI,jjjuh1jphhhjhNhNubj)}(hX**Parameters** ``struct dvb_demux *demux`` :c:type:`struct dvb_demux ` to be initialized. **Description** Before being able to register a digital TV demux struct, drivers should call this routine. On its typical usage, some fields should be initialized at the driver before calling it. A typical usecase is:: dvb->demux.dmx.capabilities = DMX_TS_FILTERING | DMX_SECTION_FILTERING | DMX_MEMORY_BASED_FILTERING; dvb->demux.priv = dvb; dvb->demux.filternum = 256; dvb->demux.feednum = 256; dvb->demux.start_feed = driver_start_feed; dvb->demux.stop_feed = driver_stop_feed; ret = dvb_dmx_init(&dvb->demux); if (ret < 0) return ret;h](h)}(h**Parameters**h]j)}(hjS,h]h Parameters}(hjU,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQ,ubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKhjM,ubj)}(hhh]j#)}(hV``struct dvb_demux *demux`` :c:type:`struct dvb_demux ` to be initialized. h](j))}(h``struct dvb_demux *demux``h]h)}(hjr,h]hstruct dvb_demux *demux}(hjt,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjp,ubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKhjl,ubjC)}(hhh]h)}(h9:c:type:`struct dvb_demux ` to be initialized.h](h)}(h&:c:type:`struct dvb_demux `h]h)}(hj,h]hstruct dvb_demux}(hj,hhhNhNubah}(h]h ](jPjQc-typeeh"]h$]h&]uh1hhj,ubah}(h]h ]h"]h$]h&]refdocj] refdomainjQreftypetype refexplicitrefwarnjjjc dvb_demuxuh1hhj,hKhj,ubh to be initialized.}(hj,hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj,hKhj,ubah}(h]h ]h"]h$]h&]uh1jBhjl,ubeh}(h]h ]h"]h$]h&]uh1j"hj,hKhji,ubah}(h]h ]h"]h$]h&]uh1jhjM,ubh)}(h**Description**h]j)}(hj,h]h Description}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKhjM,ubh)}(hBefore being able to register a digital TV demux struct, drivers should call this routine. On its typical usage, some fields should be initialized at the driver before calling it.h]hBefore being able to register a digital TV demux struct, drivers should call this routine. On its typical usage, some fields should be initialized at the driver before calling it.}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKhjM,ubh)}(hA typical usecase is::h]hA typical usecase is:}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKhjM,ubj)}(hXbdvb->demux.dmx.capabilities = DMX_TS_FILTERING | DMX_SECTION_FILTERING | DMX_MEMORY_BASED_FILTERING; dvb->demux.priv = dvb; dvb->demux.filternum = 256; dvb->demux.feednum = 256; dvb->demux.start_feed = driver_start_feed; dvb->demux.stop_feed = driver_stop_feed; ret = dvb_dmx_init(&dvb->demux); if (ret < 0) return ret;h]hXbdvb->demux.dmx.capabilities = DMX_TS_FILTERING | DMX_SECTION_FILTERING | DMX_MEMORY_BASED_FILTERING; dvb->demux.priv = dvb; dvb->demux.filternum = 256; dvb->demux.feednum = 256; dvb->demux.start_feed = driver_start_feed; dvb->demux.stop_feed = driver_stop_feed; ret = dvb_dmx_init(&dvb->demux); if (ret < 0) return ret;}hj-sbah}(h]h ]h"]h$]h&]hhuh1jhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhKhjM,ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubj`)}(hhh]h}(h]h ]h"]h$]h&]entries](jldvb_dmx_release (C function)c.dvb_dmx_releasehNtauh1j_hjhhhNhNubjq)}(hhh](jv)}(h.void dvb_dmx_release (struct dvb_demux *demux)h]j|)}(h-void dvb_dmx_release(struct dvb_demux *demux)h](j8)}(hvoidh]hvoid}(hj/-hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j7hj+-hhhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhMubj)}(h h]h }(hj>-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+-hhhj=-hMubj)}(hdvb_dmx_releaseh]j)}(hdvb_dmx_releaseh]hdvb_dmx_release}(hjP-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjL-ubah}(h]h ](jjeh"]h$]h&]hhuh1jhj+-hhhj=-hMubjp)}(h(struct dvb_demux *demux)h]jv)}(hstruct dvb_demux *demuxh](j)}(hj5h]hstruct}(hjl-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjh-ubj)}(h h]h }(hjy-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjh-ubh)}(hhh]j)}(h dvb_demuxh]h dvb_demux}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&] refdomainjQreftypej reftargetj-modnameN classnameNjj)}j]j)}jjR-sbc.dvb_dmx_releaseasbuh1hhjh-ubj)}(h h]h }(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjh-ubj)}(hjh]h*}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjh-ubj)}(hdemuxh]hdemux}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjh-ubeh}(h]h ]h"]h$]h&]noemphhhuh1juhjd-ubah}(h]h ]h"]h$]h&]hhuh1johj+-hhhj=-hMubeh}(h]h ]h"]h$]h&]hhjuh1j{jjhj'-hhhj=-hMubah}(h]j"-ah ](jjeh"]h$]h&]jj)jhuh1juhj=-hMhj$-hhubj)}(hhh]h)}(h-releases a digital TV demux internal buffers.h]h-releases a digital TV demux internal buffers.}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhMhj-hhubah}(h]h ]h"]h$]h&]uh1jhj$-hhhj=-hMubeh}(h]h ](jQfunctioneh"]h$]h&]jjQjj.jj.jjjuh1jphhhjhNhNubj)}(hX***Parameters** ``struct dvb_demux *demux`` :c:type:`struct dvb_demux ` to be released. **Description** The DVB core internally allocates data at **demux**. This routine releases those data. Please notice that the struct itelf is not released, as it can be embedded on other structs.h](h)}(h**Parameters**h]j)}(hj.h]h Parameters}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhMhj .ubj)}(hhh]j#)}(hS``struct dvb_demux *demux`` :c:type:`struct dvb_demux ` to be released. h](j))}(h``struct dvb_demux *demux``h]h)}(hj0.h]hstruct dvb_demux *demux}(hj2.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj..ubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhMhj*.ubjC)}(hhh]h)}(h6:c:type:`struct dvb_demux ` to be released.h](h)}(h&:c:type:`struct dvb_demux `h]h)}(hjO.h]hstruct dvb_demux}(hjQ.hhhNhNubah}(h]h ](jPjQc-typeeh"]h$]h&]uh1hhjM.ubah}(h]h ]h"]h$]h&]refdocj] refdomainjQreftypetype refexplicitrefwarnjjjc dvb_demuxuh1hhjE.hMhjI.ubh to be released.}(hjI.hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjE.hMhjF.ubah}(h]h ]h"]h$]h&]uh1jBhj*.ubeh}(h]h ]h"]h$]h&]uh1j"hjE.hMhj'.ubah}(h]h ]h"]h$]h&]uh1jhj .ubh)}(h**Description**h]j)}(hj.h]h Description}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhMhj .ubh)}(hThe DVB core internally allocates data at **demux**. This routine releases those data. Please notice that the struct itelf is not released, as it can be embedded on other structs.h](h*The DVB core internally allocates data at }(hj.hhhNhNubj)}(h **demux**h]hdemux}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubh. This routine releases those data. Please notice that the struct itelf is not released, as it can be embedded on other structs.}(hj.hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhMhj .ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubj`)}(hhh]h}(h]h ]h"]h$]h&]entries](jl%dvb_dmx_swfilter_packets (C function)c.dvb_dmx_swfilter_packetshNtauh1j_hjhhhNhNubjq)}(hhh](jv)}(hTvoid dvb_dmx_swfilter_packets (struct dvb_demux *demux, const u8 *buf, size_t count)h]j|)}(hSvoid dvb_dmx_swfilter_packets(struct dvb_demux *demux, const u8 *buf, size_t count)h](j8)}(hvoidh]hvoid}(hj.hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j7hj.hhhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhM'ubj)}(h h]h }(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.hhhj.hM'ubj)}(hdvb_dmx_swfilter_packetsh]j)}(hdvb_dmx_swfilter_packetsh]hdvb_dmx_swfilter_packets}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.ubah}(h]h ](jjeh"]h$]h&]hhuh1jhj.hhhj.hM'ubjp)}(h6(struct dvb_demux *demux, const u8 *buf, size_t count)h](jv)}(hstruct dvb_demux *demuxh](j)}(hj5h]hstruct}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubj)}(h h]h }(hj+/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubh)}(hhh]j)}(h dvb_demuxh]h dvb_demux}(hj/modnameN classnameNjj)}j]j)}jj/sbc.dvb_dmx_swfilter_packetsasbuh1hhj/ubj)}(h h]h }(hj\/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubj)}(hjh]h*}(hjj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubj)}(hdemuxh]hdemux}(hjw/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]noemphhhuh1juhj/ubjv)}(h const u8 *bufh](j)}(hconsth]hconst}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubh)}(hhh]j)}(hu8h]hu8}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&] refdomainjQreftypej reftargetj/modnameN classnameNjj)}j]jX/c.dvb_dmx_swfilter_packetsasbuh1hhj/ubj)}(h h]h }(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubj)}(hjh]h*}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubj)}(hbufh]hbuf}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]noemphhhuh1juhj/ubjv)}(h size_t counth](h)}(hhh]j)}(hsize_th]hsize_t}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&] refdomainjQreftypej reftargetj0modnameN classnameNjj)}j]jX/c.dvb_dmx_swfilter_packetsasbuh1hhj/ubj)}(h h]h }(hj"0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubj)}(hcounth]hcount}(hj00hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]noemphhhuh1juhj/ubeh}(h]h ]h"]h$]h&]hhuh1johj.hhhj.hM'ubeh}(h]h ]h"]h$]h&]hhjuh1j{jjhj.hhhj.hM'ubah}(h]j.ah ](jjeh"]h$]h&]jj)jhuh1juhj.hM'hj.hhubj)}(hhh]h)}(hWuse dvb software filter for a buffer with multiple MPEG-TS packets with 188 bytes each.h]hWuse dvb software filter for a buffer with multiple MPEG-TS packets with 188 bytes each.}(hjZ0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhMhjW0hhubah}(h]h ]h"]h$]h&]uh1jhj.hhhj.hM'ubeh}(h]h ](jQfunctioneh"]h$]h&]jjQjjr0jjr0jjjuh1jphhhjhNhNubj)}(hX**Parameters** ``struct dvb_demux *demux`` pointer to :c:type:`struct dvb_demux ` ``const u8 *buf`` buffer with data to be filtered ``size_t count`` number of MPEG-TS packets with size of 188. **Description** The routine will discard a DVB packet that don't start with 0x47. Use this routine if the DVB demux fills MPEG-TS buffers that are already aligned. **NOTE** The **buf** size should have size equal to ``count * 188``.h](h)}(h**Parameters**h]j)}(hj|0h]h Parameters}(hj~0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjz0ubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhMhjv0ubj)}(hhh](j#)}(hN``struct dvb_demux *demux`` pointer to :c:type:`struct dvb_demux ` h](j))}(h``struct dvb_demux *demux``h]h)}(hj0h]hstruct dvb_demux *demux}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj0ubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhMhj0ubjC)}(hhh]h)}(h1pointer to :c:type:`struct dvb_demux `h](h pointer to }(hj0hhhNhNubh)}(h&:c:type:`struct dvb_demux `h]h)}(hj0h]hstruct dvb_demux}(hj0hhhNhNubah}(h]h ](jPjQc-typeeh"]h$]h&]uh1hhj0ubah}(h]h ]h"]h$]h&]refdocj] refdomainjQreftypetype refexplicitrefwarnjjjc dvb_demuxuh1hhj0hMhj0ubeh}(h]h ]h"]h$]h&]uh1hhj0hMhj0ubah}(h]h ]h"]h$]h&]uh1jBhj0ubeh}(h]h ]h"]h$]h&]uh1j"hj0hMhj0ubj#)}(h2``const u8 *buf`` buffer with data to be filtered h](j))}(h``const u8 *buf``h]h)}(hj0h]h const u8 *buf}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj0ubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhMhj0ubjC)}(hhh]h)}(hbuffer with data to be filteredh]hbuffer with data to be filtered}(hj 1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj1hMhj 1ubah}(h]h ]h"]h$]h&]uh1jBhj0ubeh}(h]h ]h"]h$]h&]uh1j"hj1hMhj0ubj#)}(h=``size_t count`` number of MPEG-TS packets with size of 188. h](j))}(h``size_t count``h]h)}(hj,1h]h size_t count}(hj.1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj*1ubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhMhj&1ubjC)}(hhh]h)}(h+number of MPEG-TS packets with size of 188.h]h+number of MPEG-TS packets with size of 188.}(hjE1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjA1hMhjB1ubah}(h]h ]h"]h$]h&]uh1jBhj&1ubeh}(h]h ]h"]h$]h&]uh1j"hjA1hMhj0ubeh}(h]h ]h"]h$]h&]uh1jhjv0ubh)}(h**Description**h]j)}(hjg1h]h Description}(hji1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhje1ubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhM hjv0ubh)}(hAThe routine will discard a DVB packet that don't start with 0x47.h]hCThe routine will discard a DVB packet that don’t start with 0x47.}(hj}1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhM hjv0ubh)}(hQUse this routine if the DVB demux fills MPEG-TS buffers that are already aligned.h]hQUse this routine if the DVB demux fills MPEG-TS buffers that are already aligned.}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhM"hjv0ubh)}(h**NOTE**h]j)}(hj1h]hNOTE}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhM%hjv0ubh)}(h;The **buf** size should have size equal to ``count * 188``.h](hThe }(hj1hhhNhNubj)}(h**buf**h]hbuf}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubh size should have size equal to }(hj1hhhNhNubh)}(h``count * 188``h]h count * 188}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj1ubh.}(hj1hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhM%hjv0ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubj`)}(hhh]h}(h]h ]h"]h$]h&]entries](jldvb_dmx_swfilter (C function)c.dvb_dmx_swfilterhNtauh1j_hjhhhNhNubjq)}(hhh](jv)}(hLvoid dvb_dmx_swfilter (struct dvb_demux *demux, const u8 *buf, size_t count)h]j|)}(hKvoid dvb_dmx_swfilter(struct dvb_demux *demux, const u8 *buf, size_t count)h](j8)}(hvoidh]hvoid}(hj2hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j7hj2hhhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhM:ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2hhhj2hM:ubj)}(hdvb_dmx_swfilterh]j)}(hdvb_dmx_swfilterh]hdvb_dmx_swfilter}(hj'2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#2ubah}(h]h ](jjeh"]h$]h&]hhuh1jhj2hhhj2hM:ubjp)}(h6(struct dvb_demux *demux, const u8 *buf, size_t count)h](jv)}(hstruct dvb_demux *demuxh](j)}(hj5h]hstruct}(hjC2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?2ubj)}(h h]h }(hjP2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?2ubh)}(hhh]j)}(h dvb_demuxh]h dvb_demux}(hja2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^2ubah}(h]h ]h"]h$]h&] refdomainjQreftypej reftargetjc2modnameN classnameNjj)}j]j)}jj)2sbc.dvb_dmx_swfilterasbuh1hhj?2ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?2ubj)}(hjh]h*}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?2ubj)}(hdemuxh]hdemux}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?2ubeh}(h]h ]h"]h$]h&]noemphhhuh1juhj;2ubjv)}(h const u8 *bufh](j)}(hj/h]hconst}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubh)}(hhh]j)}(hu8h]hu8}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&] refdomainjQreftypej reftargetj2modnameN classnameNjj)}j]j}2c.dvb_dmx_swfilterasbuh1hhj2ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubj)}(hjh]h*}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubj)}(hbufh]hbuf}(hj 3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]noemphhhuh1juhj;2ubjv)}(h size_t counth](h)}(hhh]j)}(hsize_th]hsize_t}(hj(3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%3ubah}(h]h ]h"]h$]h&] refdomainjQreftypej reftargetj*3modnameN classnameNjj)}j]j}2c.dvb_dmx_swfilterasbuh1hhj!3ubj)}(h h]h }(hjF3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!3ubj)}(hcounth]hcount}(hjT3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!3ubeh}(h]h ]h"]h$]h&]noemphhhuh1juhj;2ubeh}(h]h ]h"]h$]h&]hhuh1johj2hhhj2hM:ubeh}(h]h ]h"]h$]h&]hhjuh1j{jjhj1hhhj2hM:ubah}(h]j1ah ](jjeh"]h$]h&]jj)jhuh1juhj2hM:hj1hhubj)}(hhh]h)}(hWuse dvb software filter for a buffer with multiple MPEG-TS packets with 188 bytes each.h]hWuse dvb software filter for a buffer with multiple MPEG-TS packets with 188 bytes each.}(hj~3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhM+hj{3hhubah}(h]h ]h"]h$]h&]uh1jhj1hhhj2hM:ubeh}(h]h ](jQfunctioneh"]h$]h&]jjQjj3jj3jjjuh1jphhhjhNhNubj)}(hX**Parameters** ``struct dvb_demux *demux`` pointer to :c:type:`struct dvb_demux ` ``const u8 *buf`` buffer with data to be filtered ``size_t count`` number of MPEG-TS packets with size of 188. **Description** If a DVB packet doesn't start with 0x47, it will seek for the first byte that starts with 0x47. Use this routine if the DVB demux fill buffers that may not start with a packet start mark (0x47). **NOTE** The **buf** size should have size equal to ``count * 188``.h](h)}(h**Parameters**h]j)}(hj3h]h Parameters}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhM/hj3ubj)}(hhh](j#)}(hN``struct dvb_demux *demux`` pointer to :c:type:`struct dvb_demux ` h](j))}(h``struct dvb_demux *demux``h]h)}(hj3h]hstruct dvb_demux *demux}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3ubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhM.hj3ubjC)}(hhh]h)}(h1pointer to :c:type:`struct dvb_demux `h](h pointer to }(hj3hhhNhNubh)}(h&:c:type:`struct dvb_demux `h]h)}(hj3h]hstruct dvb_demux}(hj3hhhNhNubah}(h]h ](jPjQc-typeeh"]h$]h&]uh1hhj3ubah}(h]h ]h"]h$]h&]refdocj] refdomainjQreftypetype refexplicitrefwarnjjjc dvb_demuxuh1hhj3hM.hj3ubeh}(h]h ]h"]h$]h&]uh1hhj3hM.hj3ubah}(h]h ]h"]h$]h&]uh1jBhj3ubeh}(h]h ]h"]h$]h&]uh1j"hj3hM.hj3ubj#)}(h2``const u8 *buf`` buffer with data to be filtered h](j))}(h``const u8 *buf``h]h)}(hj4h]h const u8 *buf}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj4ubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhM/hj4ubjC)}(hhh]h)}(hbuffer with data to be filteredh]hbuffer with data to be filtered}(hj04hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj,4hM/hj-4ubah}(h]h ]h"]h$]h&]uh1jBhj4ubeh}(h]h ]h"]h$]h&]uh1j"hj,4hM/hj3ubj#)}(h=``size_t count`` number of MPEG-TS packets with size of 188. h](j))}(h``size_t count``h]h)}(hjP4h]h size_t count}(hjR4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjN4ubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhM0hjJ4ubjC)}(hhh]h)}(h+number of MPEG-TS packets with size of 188.h]h+number of MPEG-TS packets with size of 188.}(hji4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhje4hM0hjf4ubah}(h]h ]h"]h$]h&]uh1jBhjJ4ubeh}(h]h ]h"]h$]h&]uh1j"hje4hM0hj3ubeh}(h]h ]h"]h$]h&]uh1jhj3ubh)}(h**Description**h]j)}(hj4h]h Description}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhM2hj3ubh)}(h_If a DVB packet doesn't start with 0x47, it will seek for the first byte that starts with 0x47.h]haIf a DVB packet doesn’t start with 0x47, it will seek for the first byte that starts with 0x47.}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhM2hj3ubh)}(hbUse this routine if the DVB demux fill buffers that may not start with a packet start mark (0x47).h]hbUse this routine if the DVB demux fill buffers that may not start with a packet start mark (0x47).}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhM5hj3ubh)}(h**NOTE**h]j)}(hj4h]hNOTE}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhM8hj3ubh)}(h;The **buf** size should have size equal to ``count * 188``.h](hThe }(hj4hhhNhNubj)}(h**buf**h]hbuf}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubh size should have size equal to }(hj4hhhNhNubh)}(h``count * 188``h]h count * 188}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj4ubh.}(hj4hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhM8hj3ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubj`)}(hhh]h}(h]h ]h"]h$]h&]entries](jl!dvb_dmx_swfilter_204 (C function)c.dvb_dmx_swfilter_204hNtauh1j_hjhhhNhNubjq)}(hhh](jv)}(hPvoid dvb_dmx_swfilter_204 (struct dvb_demux *demux, const u8 *buf, size_t count)h]j|)}(hOvoid dvb_dmx_swfilter_204(struct dvb_demux *demux, const u8 *buf, size_t count)h](j8)}(hvoidh]hvoid}(hj*5hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j7hj&5hhhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhMLubj)}(h h]h }(hj95hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&5hhhj85hMLubj)}(hdvb_dmx_swfilter_204h]j)}(hdvb_dmx_swfilter_204h]hdvb_dmx_swfilter_204}(hjK5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjG5ubah}(h]h ](jjeh"]h$]h&]hhuh1jhj&5hhhj85hMLubjp)}(h6(struct dvb_demux *demux, const u8 *buf, size_t count)h](jv)}(hstruct dvb_demux *demuxh](j)}(hj5h]hstruct}(hjg5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjc5ubj)}(h h]h }(hjt5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjc5ubh)}(hhh]j)}(h dvb_demuxh]h dvb_demux}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&] refdomainjQreftypej reftargetj5modnameN classnameNjj)}j]j)}jjM5sbc.dvb_dmx_swfilter_204asbuh1hhjc5ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjc5ubj)}(hjh]h*}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjc5ubj)}(hdemuxh]hdemux}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjc5ubeh}(h]h ]h"]h$]h&]noemphhhuh1juhj_5ubjv)}(h const u8 *bufh](j)}(hj/h]hconst}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5ubh)}(hhh]j)}(hu8h]hu8}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&] refdomainjQreftypej reftargetj5modnameN classnameNjj)}j]j5c.dvb_dmx_swfilter_204asbuh1hhj5ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5ubj)}(hjh]h*}(hj#6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5ubj)}(hbufh]hbuf}(hj06hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]noemphhhuh1juhj_5ubjv)}(h size_t counth](h)}(hhh]j)}(hsize_th]hsize_t}(hjL6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjI6ubah}(h]h ]h"]h$]h&] refdomainjQreftypej reftargetjN6modnameN classnameNjj)}j]j5c.dvb_dmx_swfilter_204asbuh1hhjE6ubj)}(h h]h }(hjj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjE6ubj)}(hcounth]hcount}(hjx6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjE6ubeh}(h]h ]h"]h$]h&]noemphhhuh1juhj_5ubeh}(h]h ]h"]h$]h&]hhuh1johj&5hhhj85hMLubeh}(h]h ]h"]h$]h&]hhjuh1j{jjhj"5hhhj85hMLubah}(h]j5ah ](jjeh"]h$]h&]jj)jhuh1juhj85hMLhj5hhubj)}(hhh]h)}(hWuse dvb software filter for a buffer with multiple MPEG-TS packets with 204 bytes each.h]hWuse dvb software filter for a buffer with multiple MPEG-TS packets with 204 bytes each.}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhM=hj6hhubah}(h]h ]h"]h$]h&]uh1jhj5hhhj85hMLubeh}(h]h ](jQfunctioneh"]h$]h&]jjQjj6jj6jjjuh1jphhhjhNhNubj)}(hX**Parameters** ``struct dvb_demux *demux`` pointer to :c:type:`struct dvb_demux ` ``const u8 *buf`` buffer with data to be filtered ``size_t count`` number of MPEG-TS packets with size of 204. **Description** If a DVB packet doesn't start with 0x47, it will seek for the first byte that starts with 0x47. Use this routine if the DVB demux fill buffers that may not start with a packet start mark (0x47). **NOTE** The **buf** size should have size equal to ``count * 204``.h](h)}(h**Parameters**h]j)}(hj6h]h Parameters}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhMAhj6ubj)}(hhh](j#)}(hN``struct dvb_demux *demux`` pointer to :c:type:`struct dvb_demux ` h](j))}(h``struct dvb_demux *demux``h]h)}(hj6h]hstruct dvb_demux *demux}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj6ubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhM@hj6ubjC)}(hhh]h)}(h1pointer to :c:type:`struct dvb_demux `h](h pointer to }(hj6hhhNhNubh)}(h&:c:type:`struct dvb_demux `h]h)}(hj7h]hstruct dvb_demux}(hj7hhhNhNubah}(h]h ](jPjQc-typeeh"]h$]h&]uh1hhj7ubah}(h]h ]h"]h$]h&]refdocj] refdomainjQreftypetype refexplicitrefwarnjjjc dvb_demuxuh1hhj6hM@hj6ubeh}(h]h ]h"]h$]h&]uh1hhj6hM@hj6ubah}(h]h ]h"]h$]h&]uh1jBhj6ubeh}(h]h ]h"]h$]h&]uh1j"hj6hM@hj6ubj#)}(h2``const u8 *buf`` buffer with data to be filtered h](j))}(h``const u8 *buf``h]h)}(hj;7h]h const u8 *buf}(hj=7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj97ubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhMAhj57ubjC)}(hhh]h)}(hbuffer with data to be filteredh]hbuffer with data to be filtered}(hjT7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjP7hMAhjQ7ubah}(h]h ]h"]h$]h&]uh1jBhj57ubeh}(h]h ]h"]h$]h&]uh1j"hjP7hMAhj6ubj#)}(h=``size_t count`` number of MPEG-TS packets with size of 204. h](j))}(h``size_t count``h]h)}(hjt7h]h size_t count}(hjv7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjr7ubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhMBhjn7ubjC)}(hhh]h)}(h+number of MPEG-TS packets with size of 204.h]h+number of MPEG-TS packets with size of 204.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj7hMBhj7ubah}(h]h ]h"]h$]h&]uh1jBhjn7ubeh}(h]h ]h"]h$]h&]uh1j"hj7hMBhj6ubeh}(h]h ]h"]h$]h&]uh1jhj6ubh)}(h**Description**h]j)}(hj7h]h Description}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhMDhj6ubh)}(h_If a DVB packet doesn't start with 0x47, it will seek for the first byte that starts with 0x47.h]haIf a DVB packet doesn’t start with 0x47, it will seek for the first byte that starts with 0x47.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhMDhj6ubh)}(hbUse this routine if the DVB demux fill buffers that may not start with a packet start mark (0x47).h]hbUse this routine if the DVB demux fill buffers that may not start with a packet start mark (0x47).}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhMGhj6ubh)}(h**NOTE**h]j)}(hj7h]hNOTE}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhMJhj6ubh)}(h;The **buf** size should have size equal to ``count * 204``.h](hThe }(hj7hhhNhNubj)}(h**buf**h]hbuf}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubh size should have size equal to }(hj7hhhNhNubh)}(h``count * 204``h]h count * 204}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj7ubh.}(hj7hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhMJhj6ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubj`)}(hhh]h}(h]h ]h"]h$]h&]entries](jl!dvb_dmx_swfilter_raw (C function)c.dvb_dmx_swfilter_rawhNtauh1j_hjhhhNhNubjq)}(hhh](jv)}(hPvoid dvb_dmx_swfilter_raw (struct dvb_demux *demux, const u8 *buf, size_t count)h]j|)}(hOvoid dvb_dmx_swfilter_raw(struct dvb_demux *demux, const u8 *buf, size_t count)h](j8)}(hvoidh]hvoid}(hjN8hhhNhNubah}(h]h ]jDah"]h$]h&]uh1j7hjJ8hhhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhM_ubj)}(h h]h }(hj]8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJ8hhhj\8hM_ubj)}(hdvb_dmx_swfilter_rawh]j)}(hdvb_dmx_swfilter_rawh]hdvb_dmx_swfilter_raw}(hjo8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjk8ubah}(h]h ](jjeh"]h$]h&]hhuh1jhjJ8hhhj\8hM_ubjp)}(h6(struct dvb_demux *demux, const u8 *buf, size_t count)h](jv)}(hstruct dvb_demux *demuxh](j)}(hj5h]hstruct}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubh)}(hhh]j)}(h dvb_demuxh]h dvb_demux}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&] refdomainjQreftypej reftargetj8modnameN classnameNjj)}j]j)}jjq8sbc.dvb_dmx_swfilter_rawasbuh1hhj8ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubj)}(hjh]h*}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubj)}(hdemuxh]hdemux}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]noemphhhuh1juhj8ubjv)}(h const u8 *bufh](j)}(hj/h]hconst}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubj)}(h h]h }(hj 9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubh)}(hhh]j)}(hu8h]hu8}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&] refdomainjQreftypej reftargetj9modnameN classnameNjj)}j]j8c.dvb_dmx_swfilter_rawasbuh1hhj8ubj)}(h h]h }(hj99hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubj)}(hjh]h*}(hjG9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubj)}(hbufh]hbuf}(hjT9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]noemphhhuh1juhj8ubjv)}(h size_t counth](h)}(hhh]j)}(hsize_th]hsize_t}(hjp9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjm9ubah}(h]h ]h"]h$]h&] refdomainjQreftypej reftargetjr9modnameN classnameNjj)}j]j8c.dvb_dmx_swfilter_rawasbuh1hhji9ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhji9ubj)}(hcounth]hcount}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhji9ubeh}(h]h ]h"]h$]h&]noemphhhuh1juhj8ubeh}(h]h ]h"]h$]h&]hhuh1johjJ8hhhj\8hM_ubeh}(h]h ]h"]h$]h&]hhjuh1j{jjhjF8hhhj\8hM_ubah}(h]jA8ah ](jjeh"]h$]h&]jj)jhuh1juhj\8hM_hjC8hhubj)}(hhh]h)}(h:make the raw data available to userspace without filteringh]h:make the raw data available to userspace without filtering}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhMPhj9hhubah}(h]h ]h"]h$]h&]uh1jhjC8hhhj\8hM_ubeh}(h]h ](jQfunctioneh"]h$]h&]jjQjj9jj9jjjuh1jphhhjhNhNubj)}(hXN**Parameters** ``struct dvb_demux *demux`` pointer to :c:type:`struct dvb_demux ` ``const u8 *buf`` buffer with data ``size_t count`` number of packets to be passed. The actual size of each packet depends on the :c:type:`dvb_demux->feed `->cb.ts logic. **Description** Use it if the driver needs to deliver the raw payload to userspace without passing through the kernel demux. That is meant to support some delivery systems that aren't based on MPEG-TS. This function relies on :c:type:`dvb_demux->feed `->cb.ts to actually handle the buffer.h](h)}(h**Parameters**h]j)}(hj9h]h Parameters}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhMThj9ubj)}(hhh](j#)}(hN``struct dvb_demux *demux`` pointer to :c:type:`struct dvb_demux ` h](j))}(h``struct dvb_demux *demux``h]h)}(hj:h]hstruct dvb_demux *demux}(hj :hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj:ubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhMShj:ubjC)}(hhh]h)}(h1pointer to :c:type:`struct dvb_demux `h](h pointer to }(hj :hhhNhNubh)}(h&:c:type:`struct dvb_demux `h]h)}(hj*:h]hstruct dvb_demux}(hj,:hhhNhNubah}(h]h ](jPjQc-typeeh"]h$]h&]uh1hhj(:ubah}(h]h ]h"]h$]h&]refdocj] refdomainjQreftypetype refexplicitrefwarnjjjc dvb_demuxuh1hhj:hMShj :ubeh}(h]h ]h"]h$]h&]uh1hhj:hMShj:ubah}(h]h ]h"]h$]h&]uh1jBhj:ubeh}(h]h ]h"]h$]h&]uh1j"hj:hMShj9ubj#)}(h#``const u8 *buf`` buffer with data h](j))}(h``const u8 *buf``h]h)}(hj_:h]h const u8 *buf}(hja:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj]:ubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhMThjY:ubjC)}(hhh]h)}(hbuffer with datah]hbuffer with data}(hjx:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjt:hMThju:ubah}(h]h ]h"]h$]h&]uh1jBhjY:ubeh}(h]h ]h"]h$]h&]uh1j"hjt:hMThj9ubj#)}(h``size_t count`` number of packets to be passed. The actual size of each packet depends on the :c:type:`dvb_demux->feed `->cb.ts logic. h](j))}(h``size_t count``h]h)}(hj:h]h size_t count}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj:ubah}(h]h ]h"]h$]h&]uh1j(hd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhMVhj:ubjC)}(hhh]h)}(hnumber of packets to be passed. The actual size of each packet depends on the :c:type:`dvb_demux->feed `->cb.ts logic.h](hNnumber of packets to be passed. The actual size of each packet depends on the }(hj:hhhNhNubh)}(h%:c:type:`dvb_demux->feed `h]h)}(hj:h]hdvb_demux->feed}(hj:hhhNhNubah}(h]h ](jPjQc-typeeh"]h$]h&]uh1hhj:ubah}(h]h ]h"]h$]h&]refdocj] refdomainjQreftypetype refexplicitrefwarnjjjc dvb_demuxuh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhMUhj:ubh->cb.ts logic.}(hj:hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj:hMUhj:ubah}(h]h ]h"]h$]h&]uh1jBhj:ubeh}(h]h ]h"]h$]h&]uh1j"hj:hMVhj9ubeh}(h]h ]h"]h$]h&]uh1jhj9ubh)}(h**Description**h]j)}(hj:h]h Description}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhMXhj9ubh)}(hUse it if the driver needs to deliver the raw payload to userspace without passing through the kernel demux. That is meant to support some delivery systems that aren't based on MPEG-TS.h]hUse it if the driver needs to deliver the raw payload to userspace without passing through the kernel demux. That is meant to support some delivery systems that aren’t based on MPEG-TS.}(hj ;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhMXhj9ubh)}(hcThis function relies on :c:type:`dvb_demux->feed `->cb.ts to actually handle the buffer.h](hThis function relies on }(hj;hhhNhNubh)}(h%:c:type:`dvb_demux->feed `h]h)}(hj&;h]hdvb_demux->feed}(hj(;hhhNhNubah}(h]h ](jPjQc-typeeh"]h$]h&]uh1hhj$;ubah}(h]h ]h"]h$]h&]refdocj] refdomainjQreftypetype refexplicitrefwarnjjjc dvb_demuxuh1hhd/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:79: ./include/media/dvb_demux.hhM\hj;ubh&->cb.ts to actually handle the buffer.}(hj;hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjC;hM\hj9ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubeh}(h]%high-level-digital-tv-demux-interfaceah ]h"]%high-level digital tv demux interfaceah$]h&]uh1hhhhhhhhKMubh)}(hhh](h)}(hBDriver-internal low-level hardware specific driver demux interfaceh]hBDriver-internal low-level hardware specific driver demux interface}(hj`;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj];hhhhhKRubj`)}(hhh]h}(h]h ]h"]h$]h&]entries](jlts_filter_type (C enum)c.ts_filter_typehNtauh1j_hj];hhhNhNubjq)}(hhh](jv)}(hts_filter_typeh]j|)}(henum ts_filter_typeh](j)}(hjh]henum}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;hhh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKubj)}(h h]h }(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;hhhj;hKubj)}(hts_filter_typeh]j)}(hj;h]hts_filter_type}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;ubah}(h]h ](jjeh"]h$]h&]hhuh1jhj;hhhj;hKubeh}(h]h ]h"]h$]h&]hhjuh1j{jjhj;hhhj;hKubah}(h]jz;ah ](jjeh"]h$]h&]jj)jhuh1juhj;hKhj|;hhubj)}(hhh]h)}(h*filter type bitmap for dmx_ts_feed.set\(\)h]h*filter type bitmap for dmx_ts_feed.set()}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhK@hj;hhubah}(h]h ]h"]h$]h&]uh1jhj|;hhhj;hKubeh}(h]h ](jQenumeh"]h$]h&]jjQjj;jj;jjjuh1jphhhj];hNhNubj)}(hXe**Constants** ``TS_PACKET`` Send TS packets (188 bytes) to callback (default). ``TS_PAYLOAD_ONLY`` In case TS_PACKET is set, only send the TS payload (<=184 bytes per packet) to callback ``TS_DECODER`` Send stream to built-in decoder (if present). ``TS_DEMUX`` In case TS_PACKET is set, send the TS to the demux device, not to the dvr deviceh](h)}(h **Constants**h]j)}(hj;h]h Constants}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKDhj;ubj)}(hhh](j#)}(hA``TS_PACKET`` Send TS packets (188 bytes) to callback (default). h](j))}(h ``TS_PACKET``h]h)}(hj <h]h TS_PACKET}(hj <hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj<ubah}(h]h ]h"]h$]h&]uh1j(h`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKGhj<ubjC)}(hhh]h)}(h2Send TS packets (188 bytes) to callback (default).h]h2Send TS packets (188 bytes) to callback (default).}(hj#<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj<hKGhj <ubah}(h]h ]h"]h$]h&]uh1jBhj<ubeh}(h]h ]h"]h$]h&]uh1j"hj<hKGhj<ubj#)}(hl``TS_PAYLOAD_ONLY`` In case TS_PACKET is set, only send the TS payload (<=184 bytes per packet) to callback h](j))}(h``TS_PAYLOAD_ONLY``h]h)}(hjC<h]hTS_PAYLOAD_ONLY}(hjE<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjA<ubah}(h]h ]h"]h$]h&]uh1j(h`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKKhj=<ubjC)}(hhh]h)}(hWIn case TS_PACKET is set, only send the TS payload (<=184 bytes per packet) to callbackh]hWIn case TS_PACKET is set, only send the TS payload (<=184 bytes per packet) to callback}(hj\<hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKJhjY<ubah}(h]h ]h"]h$]h&]uh1jBhj=<ubeh}(h]h ]h"]h$]h&]uh1j"hjX<hKKhj<ubj#)}(h=``TS_DECODER`` Send stream to built-in decoder (if present). h](j))}(h``TS_DECODER``h]h)}(hj}<h]h TS_DECODER}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj{<ubah}(h]h ]h"]h$]h&]uh1j(h`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKNhjw<ubjC)}(hhh]h)}(h-Send stream to built-in decoder (if present).h]h-Send stream to built-in decoder (if present).}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj<hKNhj<ubah}(h]h ]h"]h$]h&]uh1jBhjw<ubeh}(h]h ]h"]h$]h&]uh1j"hj<hKNhj<ubj#)}(h]``TS_DEMUX`` In case TS_PACKET is set, send the TS to the demux device, not to the dvr deviceh](j))}(h ``TS_DEMUX``h]h)}(hj<h]hTS_DEMUX}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj<ubah}(h]h ]h"]h$]h&]uh1j(h`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKQhj<ubjC)}(hhh]h)}(hPIn case TS_PACKET is set, send the TS to the demux device, not to the dvr deviceh]hPIn case TS_PACKET is set, send the TS to the demux device, not to the dvr device}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj<hKQhj<ubah}(h]h ]h"]h$]h&]uh1jBhj<ubeh}(h]h ]h"]h$]h&]uh1j"hj<hKQhj<ubeh}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj];hhhNhNubj`)}(hhh]h}(h]h ]h"]h$]h&]entries](jldmx_ts_feed (C struct) c.dmx_ts_feedhNtauh1j_hj];hhhNhNubjq)}(hhh](jv)}(h dmx_ts_feedh]j|)}(hstruct dmx_ts_feedh](j)}(hj5h]hstruct}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj =hhh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKXubj)}(h h]h }(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj =hhhj=hKXubj)}(h dmx_ts_feedh]j)}(hj =h]h dmx_ts_feed}(hj/=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+=ubah}(h]h ](jjeh"]h$]h&]hhuh1jhj =hhhj=hKXubeh}(h]h ]h"]h$]h&]hhjuh1j{jjhj=hhhj=hKXubah}(h]j=ah ](jjeh"]h$]h&]jj)jhuh1juhj=hKXhj=hhubj)}(hhh]h)}(h(Structure that contains a TS feed filterh]h(Structure that contains a TS feed filter}(hjQ=hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKQhjN=hhubah}(h]h ]h"]h$]h&]uh1jhj=hhhj=hKXubeh}(h]h ](jQstructeh"]h$]h&]jjQjji=jji=jjjuh1jphhhj];hNhNubj)}(hXk**Definition**:: struct dmx_ts_feed { int is_filtering; struct dmx_demux *parent; void *priv; int (*set)(struct dmx_ts_feed *feed,u16 pid,int type,enum dmx_ts_pes pes_type, ktime_t timeout); int (*start_filtering)(struct dmx_ts_feed *feed); int (*stop_filtering)(struct dmx_ts_feed *feed); }; **Members** ``is_filtering`` Set to non-zero when filtering in progress ``parent`` pointer to struct dmx_demux ``priv`` pointer to private data of the API client ``set`` sets the TS filter ``start_filtering`` starts TS filtering ``stop_filtering`` stops TS filteringh](h)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hju=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjq=ubh:}(hjq=hhhNhNubeh}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKUhjm=ubj)}(hX+struct dmx_ts_feed { int is_filtering; struct dmx_demux *parent; void *priv; int (*set)(struct dmx_ts_feed *feed,u16 pid,int type,enum dmx_ts_pes pes_type, ktime_t timeout); int (*start_filtering)(struct dmx_ts_feed *feed); int (*stop_filtering)(struct dmx_ts_feed *feed); };h]hX+struct dmx_ts_feed { int is_filtering; struct dmx_demux *parent; void *priv; int (*set)(struct dmx_ts_feed *feed,u16 pid,int type,enum dmx_ts_pes pes_type, ktime_t timeout); int (*start_filtering)(struct dmx_ts_feed *feed); int (*stop_filtering)(struct dmx_ts_feed *feed); };}hj=sbah}(h]h ]h"]h$]h&]hhuh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKWhjm=ubh)}(h **Members**h]j)}(hj=h]hMembers}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhK`hjm=ubj)}(hhh](j#)}(h<``is_filtering`` Set to non-zero when filtering in progress h](j))}(h``is_filtering``h]h)}(hj=h]h is_filtering}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj=ubah}(h]h ]h"]h$]h&]uh1j(h`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKThj=ubjC)}(hhh]h)}(h*Set to non-zero when filtering in progressh]h*Set to non-zero when filtering in progress}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj=hKThj=ubah}(h]h ]h"]h$]h&]uh1jBhj=ubeh}(h]h ]h"]h$]h&]uh1j"hj=hKThj=ubj#)}(h'``parent`` pointer to struct dmx_demux h](j))}(h ``parent``h]h)}(hj=h]hparent}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj=ubah}(h]h ]h"]h$]h&]uh1j(h`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKUhj=ubjC)}(hhh]h)}(hpointer to struct dmx_demuxh]hpointer to struct dmx_demux}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj >hKUhj >ubah}(h]h ]h"]h$]h&]uh1jBhj=ubeh}(h]h ]h"]h$]h&]uh1j"hj >hKUhj=ubj#)}(h3``priv`` pointer to private data of the API client h](j))}(h``priv``h]h)}(hj0>h]hpriv}(hj2>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj.>ubah}(h]h ]h"]h$]h&]uh1j(h`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKVhj*>ubjC)}(hhh]h)}(h)pointer to private data of the API clienth]h)pointer to private data of the API client}(hjI>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjE>hKVhjF>ubah}(h]h ]h"]h$]h&]uh1jBhj*>ubeh}(h]h ]h"]h$]h&]uh1j"hjE>hKVhj=ubj#)}(h``set`` sets the TS filter h](j))}(h``set``h]h)}(hji>h]hset}(hjk>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjg>ubah}(h]h ]h"]h$]h&]uh1j(h`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKWhjc>ubjC)}(hhh]h)}(hsets the TS filterh]hsets the TS filter}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj~>hKWhj>ubah}(h]h ]h"]h$]h&]uh1jBhjc>ubeh}(h]h ]h"]h$]h&]uh1j"hj~>hKWhj=ubj#)}(h(``start_filtering`` starts TS filtering h](j))}(h``start_filtering``h]h)}(hj>h]hstart_filtering}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj>ubah}(h]h ]h"]h$]h&]uh1j(h`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKXhj>ubjC)}(hhh]h)}(hstarts TS filteringh]hstarts TS filtering}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj>hKXhj>ubah}(h]h ]h"]h$]h&]uh1jBhj>ubeh}(h]h ]h"]h$]h&]uh1j"hj>hKXhj=ubj#)}(h%``stop_filtering`` stops TS filteringh](j))}(h``stop_filtering``h]h)}(hj>h]hstop_filtering}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj>ubah}(h]h ]h"]h$]h&]uh1j(h`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKXhj>ubjC)}(hhh]h)}(hstops TS filteringh]hstops TS filtering}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKYhj>ubah}(h]h ]h"]h$]h&]uh1jBhj>ubeh}(h]h ]h"]h$]h&]uh1j"hj>hKXhj=ubeh}(h]h ]h"]h$]h&]uh1jhjm=ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj];hhhNhNubh)}(h**Description**h]j)}(hj?h]h Description}(hj ?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhK\hj];hhubh)}(hA TS feed is typically mapped to a hardware PID filter on the demux chip. Using this API, the client can set the filtering properties to start/stop filtering TS packets on a particular TS feed.h]hA TS feed is typically mapped to a hardware PID filter on the demux chip. Using this API, the client can set the filtering properties to start/stop filtering TS packets on a particular TS feed.}(hj4?hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKZhj];hhubj`)}(hhh]h}(h]h ]h"]h$]h&]entries](jldmx_section_filter (C struct)c.dmx_section_filterhNtauh1j_hj];hhhNhNubjq)}(hhh](jv)}(hdmx_section_filterh]j|)}(hstruct dmx_section_filterh](j)}(hj5h]hstruct}(hj\?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjX?hhh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKaubj)}(h h]h }(hjj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjX?hhhji?hKaubj)}(hdmx_section_filterh]j)}(hjV?h]hdmx_section_filter}(hj|?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjx?ubah}(h]h ](jjeh"]h$]h&]hhuh1jhjX?hhhji?hKaubeh}(h]h ]h"]h$]h&]hhjuh1j{jjhjT?hhhji?hKaubah}(h]jO?ah ](jjeh"]h$]h&]jj)jhuh1juhji?hKahjQ?hhubj)}(hhh]h)}(h)Structure that describes a section filterh]h)Structure that describes a section filter}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKphj?hhubah}(h]h ]h"]h$]h&]uh1jhjQ?hhhji?hKaubeh}(h]h ](jQstructeh"]h$]h&]jjQjj?jj?jjjuh1jphhhj];hNhNubj)}(hX**Definition**:: struct dmx_section_filter { u8 filter_value[DMX_MAX_FILTER_SIZE]; u8 filter_mask[DMX_MAX_FILTER_SIZE]; u8 filter_mode[DMX_MAX_FILTER_SIZE]; struct dmx_section_feed *parent; void *priv; }; **Members** ``filter_value`` Contains up to 16 bytes (128 bits) of the TS section header that will be matched by the section filter ``filter_mask`` Contains a 16 bytes (128 bits) filter mask with the bits specified by **filter_value** that will be used on the filter match logic. ``filter_mode`` Contains a 16 bytes (128 bits) filter mode. ``parent`` Back-pointer to struct dmx_section_feed. ``priv`` Pointer to private data of the API client.h](h)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubh:}(hj?hhhNhNubeh}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKthj?ubj)}(hstruct dmx_section_filter { u8 filter_value[DMX_MAX_FILTER_SIZE]; u8 filter_mask[DMX_MAX_FILTER_SIZE]; u8 filter_mode[DMX_MAX_FILTER_SIZE]; struct dmx_section_feed *parent; void *priv; };h]hstruct dmx_section_filter { u8 filter_value[DMX_MAX_FILTER_SIZE]; u8 filter_mask[DMX_MAX_FILTER_SIZE]; u8 filter_mode[DMX_MAX_FILTER_SIZE]; struct dmx_section_feed *parent; void *priv; };}hj?sbah}(h]h ]h"]h$]h&]hhuh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKvhj?ubh)}(h **Members**h]j)}(hj?h]hMembers}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhK~hj?ubj)}(hhh](j#)}(hx``filter_value`` Contains up to 16 bytes (128 bits) of the TS section header that will be matched by the section filter h](j))}(h``filter_value``h]h)}(hj @h]h filter_value}(hj @hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj @ubah}(h]h ]h"]h$]h&]uh1j(h`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKthj@ubjC)}(hhh]h)}(hfContains up to 16 bytes (128 bits) of the TS section header that will be matched by the section filterh]hfContains up to 16 bytes (128 bits) of the TS section header that will be matched by the section filter}(hj$@hhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKshj!@ubah}(h]h ]h"]h$]h&]uh1jBhj@ubeh}(h]h ]h"]h$]h&]uh1j"hj @hKthj@ubj#)}(h``filter_mask`` Contains a 16 bytes (128 bits) filter mask with the bits specified by **filter_value** that will be used on the filter match logic. h](j))}(h``filter_mask``h]h)}(hjE@h]h filter_mask}(hjG@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjC@ubah}(h]h ]h"]h$]h&]uh1j(h`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKwhj?@ubjC)}(hhh]h)}(hContains a 16 bytes (128 bits) filter mask with the bits specified by **filter_value** that will be used on the filter match logic.h](hFContains a 16 bytes (128 bits) filter mask with the bits specified by }(hj^@hhhNhNubj)}(h**filter_value**h]h filter_value}(hjf@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^@ubh- that will be used on the filter match logic.}(hj^@hhhNhNubeh}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKuhj[@ubah}(h]h ]h"]h$]h&]uh1jBhj?@ubeh}(h]h ]h"]h$]h&]uh1j"hjZ@hKwhj@ubj#)}(h<``filter_mode`` Contains a 16 bytes (128 bits) filter mode. h](j))}(h``filter_mode``h]h)}(hj@h]h filter_mode}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj@ubah}(h]h ]h"]h$]h&]uh1j(h`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKxhj@ubjC)}(hhh]h)}(h+Contains a 16 bytes (128 bits) filter mode.h]h+Contains a 16 bytes (128 bits) filter mode.}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj@hKxhj@ubah}(h]h ]h"]h$]h&]uh1jBhj@ubeh}(h]h ]h"]h$]h&]uh1j"hj@hKxhj@ubj#)}(h4``parent`` Back-pointer to struct dmx_section_feed. h](j))}(h ``parent``h]h)}(hj@h]hparent}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj@ubah}(h]h ]h"]h$]h&]uh1j(h`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKyhj@ubjC)}(hhh]h)}(h(Back-pointer to struct dmx_section_feed.h]h(Back-pointer to struct dmx_section_feed.}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj@hKyhj@ubah}(h]h ]h"]h$]h&]uh1jBhj@ubeh}(h]h ]h"]h$]h&]uh1j"hj@hKyhj@ubj#)}(h3``priv`` Pointer to private data of the API client.h](j))}(h``priv``h]h)}(hjAh]hpriv}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjAubah}(h]h ]h"]h$]h&]uh1j(h`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKyhj@ubjC)}(hhh]h)}(h*Pointer to private data of the API client.h]h*Pointer to private data of the API client.}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKzhjAubah}(h]h ]h"]h$]h&]uh1jBhj@ubeh}(h]h ]h"]h$]h&]uh1j"hjAhKyhj@ubeh}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj];hhhNhNubh)}(h**Description**h]j)}(hjFAh]h Description}(hjHAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDAubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhK}hj];hhubh)}(hXThe **filter_mask** controls which bits of **filter_value** are compared with the section headers/payload. On a binary value of 1 in filter_mask, the corresponding bits are compared. The filter only accepts sections that are equal to filter_value in all the tested bit positions.h](hThe }(hj\AhhhNhNubj)}(h**filter_mask**h]h filter_mask}(hjdAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\Aubh controls which bits of }(hj\AhhhNhNubj)}(h**filter_value**h]h filter_value}(hjvAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\Aubh are compared with the section headers/payload. On a binary value of 1 in filter_mask, the corresponding bits are compared. The filter only accepts sections that are equal to filter_value in all the tested bit positions.}(hj\AhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhK|hj];hhubj`)}(hhh]h}(h]h ]h"]h$]h&]entries](jldmx_section_feed (C struct)c.dmx_section_feedhNtauh1j_hj];hhhNhNubjq)}(hhh](jv)}(hdmx_section_feedh]j|)}(hstruct dmx_section_feedh](j)}(hj5h]hstruct}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAhhh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKubj)}(h h]h }(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAhhhjAhKubj)}(hdmx_section_feedh]j)}(hjAh]hdmx_section_feed}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAubah}(h]h ](jjeh"]h$]h&]hhuh1jhjAhhhjAhKubeh}(h]h ]h"]h$]h&]hhjuh1j{jjhjAhhhjAhKubah}(h]jAah ](jjeh"]h$]h&]jj)jhuh1juhjAhKhjAhhubj)}(hhh]h)}(h-Structure that contains a section feed filterh]h-Structure that contains a section feed filter}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKhjAhhubah}(h]h ]h"]h$]h&]uh1jhjAhhhjAhKubeh}(h]h ](jQstructeh"]h$]h&]jjQjjBjjBjjjuh1jphhhj];hNhNubj)}(hX**Definition**:: struct dmx_section_feed { int is_filtering; struct dmx_demux *parent; void *priv; int check_crc; int (*set)(struct dmx_section_feed *feed,u16 pid, int check_crc); int (*allocate_filter)(struct dmx_section_feed *feed, struct dmx_section_filter **filter); int (*release_filter)(struct dmx_section_feed *feed, struct dmx_section_filter *filter); int (*start_filtering)(struct dmx_section_feed *feed); int (*stop_filtering)(struct dmx_section_feed *feed); }; **Members** ``is_filtering`` Set to non-zero when filtering in progress ``parent`` pointer to struct dmx_demux ``priv`` pointer to private data of the API client ``check_crc`` If non-zero, check the CRC values of filtered sections. ``set`` sets the section filter ``allocate_filter`` This function is used to allocate a section filter on the demux. It should only be called when no filtering is in progress on this section feed. If a filter cannot be allocated, the function fails with -ENOSPC. ``release_filter`` This function releases all the resources of a previously allocated section filter. The function should not be called while filtering is in progress on this section feed. After calling this function, the caller should not try to dereference the filter pointer. ``start_filtering`` starts section filtering ``stop_filtering`` stops section filteringh](h)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Bubh:}(hj BhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKhjBubj)}(hXstruct dmx_section_feed { int is_filtering; struct dmx_demux *parent; void *priv; int check_crc; int (*set)(struct dmx_section_feed *feed,u16 pid, int check_crc); int (*allocate_filter)(struct dmx_section_feed *feed, struct dmx_section_filter **filter); int (*release_filter)(struct dmx_section_feed *feed, struct dmx_section_filter *filter); int (*start_filtering)(struct dmx_section_feed *feed); int (*stop_filtering)(struct dmx_section_feed *feed); };h]hXstruct dmx_section_feed { int is_filtering; struct dmx_demux *parent; void *priv; int check_crc; int (*set)(struct dmx_section_feed *feed,u16 pid, int check_crc); int (*allocate_filter)(struct dmx_section_feed *feed, struct dmx_section_filter **filter); int (*release_filter)(struct dmx_section_feed *feed, struct dmx_section_filter *filter); int (*start_filtering)(struct dmx_section_feed *feed); int (*stop_filtering)(struct dmx_section_feed *feed); };}hj'Bsbah}(h]h ]h"]h$]h&]hhuh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKhjBubh)}(h **Members**h]j)}(hj8Bh]hMembers}(hj:BhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6Bubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKhjBubj)}(hhh](j#)}(h<``is_filtering`` Set to non-zero when filtering in progress h](j))}(h``is_filtering``h]h)}(hjWBh]h is_filtering}(hjYBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjUBubah}(h]h ]h"]h$]h&]uh1j(h`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKhjQBubjC)}(hhh]h)}(h*Set to non-zero when filtering in progressh]h*Set to non-zero when filtering in progress}(hjpBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjlBhKhjmBubah}(h]h ]h"]h$]h&]uh1jBhjQBubeh}(h]h ]h"]h$]h&]uh1j"hjlBhKhjNBubj#)}(h'``parent`` pointer to struct dmx_demux h](j))}(h ``parent``h]h)}(hjBh]hparent}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjBubah}(h]h ]h"]h$]h&]uh1j(h`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKhjBubjC)}(hhh]h)}(hpointer to struct dmx_demuxh]hpointer to struct dmx_demux}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjBhKhjBubah}(h]h ]h"]h$]h&]uh1jBhjBubeh}(h]h ]h"]h$]h&]uh1j"hjBhKhjNBubj#)}(h3``priv`` pointer to private data of the API client h](j))}(h``priv``h]h)}(hjBh]hpriv}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjBubah}(h]h ]h"]h$]h&]uh1j(h`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKhjBubjC)}(hhh]h)}(h)pointer to private data of the API clienth]h)pointer to private data of the API client}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjBhKhjBubah}(h]h ]h"]h$]h&]uh1jBhjBubeh}(h]h ]h"]h$]h&]uh1j"hjBhKhjNBubj#)}(hF``check_crc`` If non-zero, check the CRC values of filtered sections. h](j))}(h ``check_crc``h]h)}(hjCh]h check_crc}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhjCubah}(h]h ]h"]h$]h&]uh1j(h`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKhjBubjC)}(hhh]h)}(h7If non-zero, check the CRC values of filtered sections.h]h7If non-zero, check the CRC values of filtered sections.}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhjChKhjCubah}(h]h ]h"]h$]h&]uh1jBhjBubeh}(h]h ]h"]h$]h&]uh1j"hjChKhjNBubj#)}(h ``set`` sets the section filter h](j))}(h``set``h]h)}(hj;Ch]hset}(hj=ChhhNhNubah}(h]h ]h"]h$]h&]uh1hhj9Cubah}(h]h ]h"]h$]h&]uh1j(h`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKhj5CubjC)}(hhh]h)}(hsets the section filterh]hsets the section filter}(hjTChhhNhNubah}(h]h ]h"]h$]h&]uh1hhjPChKhjQCubah}(h]h ]h"]h$]h&]uh1jBhj5Cubeh}(h]h ]h"]h$]h&]uh1j"hjPChKhjNBubj#)}(h``allocate_filter`` This function is used to allocate a section filter on the demux. It should only be called when no filtering is in progress on this section feed. If a filter cannot be allocated, the function fails with -ENOSPC. h](j))}(h``allocate_filter``h]h)}(hjtCh]hallocate_filter}(hjvChhhNhNubah}(h]h ]h"]h$]h&]uh1hhjrCubah}(h]h ]h"]h$]h&]uh1j(h`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKhjnCubjC)}(hhh]h)}(hThis function is used to allocate a section filter on the demux. It should only be called when no filtering is in progress on this section feed. If a filter cannot be allocated, the function fails with -ENOSPC.h]hThis function is used to allocate a section filter on the demux. It should only be called when no filtering is in progress on this section feed. If a filter cannot be allocated, the function fails with -ENOSPC.}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKhjCubah}(h]h ]h"]h$]h&]uh1jBhjnCubeh}(h]h ]h"]h$]h&]uh1j"hjChKhjNBubj#)}(hX``release_filter`` This function releases all the resources of a previously allocated section filter. The function should not be called while filtering is in progress on this section feed. After calling this function, the caller should not try to dereference the filter pointer. h](j))}(h``release_filter``h]h)}(hjCh]hrelease_filter}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhjCubah}(h]h ]h"]h$]h&]uh1j(h`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKhjCubjC)}(hhh]h)}(hXThis function releases all the resources of a previously allocated section filter. The function should not be called while filtering is in progress on this section feed. After calling this function, the caller should not try to dereference the filter pointer.h]hXThis function releases all the resources of a previously allocated section filter. The function should not be called while filtering is in progress on this section feed. After calling this function, the caller should not try to dereference the filter pointer.}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKhjCubah}(h]h ]h"]h$]h&]uh1jBhjCubeh}(h]h ]h"]h$]h&]uh1j"hjChKhjNBubj#)}(h-``start_filtering`` starts section filtering h](j))}(h``start_filtering``h]h)}(hjCh]hstart_filtering}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhjCubah}(h]h ]h"]h$]h&]uh1j(h`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKhjCubjC)}(hhh]h)}(hstarts section filteringh]hstarts section filtering}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjChKhjCubah}(h]h ]h"]h$]h&]uh1jBhjCubeh}(h]h ]h"]h$]h&]uh1j"hjChKhjNBubj#)}(h*``stop_filtering`` stops section filteringh](j))}(h``stop_filtering``h]h)}(hj!Dh]hstop_filtering}(hj#DhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjDubah}(h]h ]h"]h$]h&]uh1j(h`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKhjDubjC)}(hhh]h)}(hstops section filteringh]hstops section filtering}(hj:DhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKhj7Dubah}(h]h ]h"]h$]h&]uh1jBhjDubeh}(h]h ]h"]h$]h&]uh1j"hj6DhKhjNBubeh}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj];hhhNhNubh)}(h**Description**h]j)}(hjdDh]h Description}(hjfDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbDubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKhj];hhubh)}(hA TS feed is typically mapped to a hardware PID filter on the demux chip. Using this API, the client can set the filtering properties to start/stop filtering TS packets on a particular TS feed.h]hA TS feed is typically mapped to a hardware PID filter on the demux chip. Using this API, the client can set the filtering properties to start/stop filtering TS packets on a particular TS feed.}(hjzDhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKhj];hhubj`)}(hhh]h}(h]h ]h"]h$]h&]entries](jldmx_ts_cb (C macro) c.dmx_ts_cbhNtauh1j_hj];hhhNhNubjq)}(hhh](jv)}(h dmx_ts_cbh]j|)}(h dmx_ts_cbh]j)}(h dmx_ts_cbh]j)}(hjDh]h dmx_ts_cb}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDubah}(h]h ](jjeh"]h$]h&]hhuh1jhjDhhh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKubah}(h]h ]h"]h$]h&]hhjuh1j{jjhjDhhhjDhKubah}(h]jDah ](jjeh"]h$]h&]jj)jhuh1juhjDhKhjDhhubj)}(hhh]h)}(h<**Typedef**: DVB demux TS filter callback function prototypeh](j)}(h **Typedef**h]hTypedef}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubh1: DVB demux TS filter callback function prototype}(hjDhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKhjDhhubah}(h]h ]h"]h$]h&]uh1jhjDhhhjDhKubeh}(h]h ](jQmacroeh"]h$]h&]jjQjjDjjDjjjuh1jphhhj];hNhNubh)}(h **Syntax**h]j)}(hjDh]hSyntax}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKhj];hhubh block_quote)}(h``int dmx_ts_cb (const u8 *buffer1, size_t buffer1_length, const u8 *buffer2, size_t buffer2_length, struct dmx_ts_feed *source, u32 *buffer_flags)`` h]h)}(h``int dmx_ts_cb (const u8 *buffer1, size_t buffer1_length, const u8 *buffer2, size_t buffer2_length, struct dmx_ts_feed *source, u32 *buffer_flags)``h]h)}(hjEh]hint dmx_ts_cb (const u8 *buffer1, size_t buffer1_length, const u8 *buffer2, size_t buffer2_length, struct dmx_ts_feed *source, u32 *buffer_flags)}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjEubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKhj Eubah}(h]h ]h"]h$]h&]uh1j Ehj(EhKhj];hhubj)}(hXt **Parameters** ``const u8 *buffer1`` Pointer to the start of the filtered TS packets. ``size_t buffer1_length`` Length of the TS data in buffer1. ``const u8 *buffer2`` Pointer to the tail of the filtered TS packets, or NULL. ``size_t buffer2_length`` Length of the TS data in buffer2. ``struct dmx_ts_feed *source`` Indicates which TS feed is the source of the callback. ``u32 *buffer_flags`` Address where buffer flags are stored. Those are used to report discontinuity users via DVB memory mapped API, as defined by :c:type:`enum dmx_buffer_flags `. **Description** This function callback prototype, provided by the client of the demux API, is called from the demux code. The function is only called when filtering on a TS feed has been enabled using the start_filtering\(\) function at the :c:type:`dmx_demux`. Any TS packets that match the filter settings are copied to a circular buffer. The filtered TS packets are delivered to the client using this callback function. It is expected that the **buffer1** and **buffer2** callback parameters point to addresses within the circular buffer, but other implementations are also possible. Note that the called party should not try to free the memory the **buffer1** and **buffer2** parameters point to. When this function is called, the **buffer1** parameter typically points to the start of the first undelivered TS packet within a circular buffer. The **buffer2** buffer parameter is normally NULL, except when the received TS packets have crossed the last address of the circular buffer and "wrapped" to the beginning of the buffer. In the latter case the **buffer1** parameter would contain an address within the circular buffer, while the **buffer2** parameter would contain the first address of the circular buffer. The number of bytes delivered with this function (i.e. **buffer1_length** + **buffer2_length**) is usually equal to the value of callback_length parameter given in the set() function, with one exception: if a timeout occurs before receiving callback_length bytes of TS data, any undelivered packets are immediately delivered to the client by calling this function. The timeout duration is controlled by the set() function in the TS Feed API. If a TS packet is received with errors that could not be fixed by the TS-level forward error correction (FEC), the Transport_error_indicator flag of the TS packet header should be set. The TS packet should not be discarded, as the error can possibly be corrected by a higher layer protocol. If the called party is slow in processing the callback, it is possible that the circular buffer eventually fills up. If this happens, the demux driver should discard any TS packets received while the buffer is full and return -EOVERFLOW. The type of data returned to the callback can be selected by the :c:type:`dmx_ts_feed`.**set** function. The type parameter decides if the raw TS packet (TS_PACKET) or just the payload (TS_PACKET|TS_PAYLOAD_ONLY) should be returned. If additionally the TS_DECODER bit is set the stream will also be sent to the hardware MPEG decoder. - 0, on success; - -EOVERFLOW, on buffer overflow. **Return**h](h)}(h**Parameters**h]j)}(hj5Eh]h Parameters}(hj7EhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3Eubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKhj/Eubj)}(hhh](j#)}(hG``const u8 *buffer1`` Pointer to the start of the filtered TS packets. h](j))}(h``const u8 *buffer1``h]h)}(hjTEh]hconst u8 *buffer1}(hjVEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjREubah}(h]h ]h"]h$]h&]uh1j(h`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKhjNEubjC)}(hhh]h)}(h0Pointer to the start of the filtered TS packets.h]h0Pointer to the start of the filtered TS packets.}(hjmEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjiEhKhjjEubah}(h]h ]h"]h$]h&]uh1jBhjNEubeh}(h]h ]h"]h$]h&]uh1j"hjiEhKhjKEubj#)}(h<``size_t buffer1_length`` Length of the TS data in buffer1. h](j))}(h``size_t buffer1_length``h]h)}(hjEh]hsize_t buffer1_length}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjEubah}(h]h ]h"]h$]h&]uh1j(h`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKhjEubjC)}(hhh]h)}(h!Length of the TS data in buffer1.h]h!Length of the TS data in buffer1.}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjEhKhjEubah}(h]h ]h"]h$]h&]uh1jBhjEubeh}(h]h ]h"]h$]h&]uh1j"hjEhKhjKEubj#)}(hO``const u8 *buffer2`` Pointer to the tail of the filtered TS packets, or NULL. h](j))}(h``const u8 *buffer2``h]h)}(hjEh]hconst u8 *buffer2}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjEubah}(h]h ]h"]h$]h&]uh1j(h`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKhjEubjC)}(hhh]h)}(h8Pointer to the tail of the filtered TS packets, or NULL.h]h8Pointer to the tail of the filtered TS packets, or NULL.}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjEhKhjEubah}(h]h ]h"]h$]h&]uh1jBhjEubeh}(h]h ]h"]h$]h&]uh1j"hjEhKhjKEubj#)}(h<``size_t buffer2_length`` Length of the TS data in buffer2. h](j))}(h``size_t buffer2_length``h]h)}(hjEh]hsize_t buffer2_length}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjEubah}(h]h ]h"]h$]h&]uh1j(h`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKhjEubjC)}(hhh]h)}(h!Length of the TS data in buffer2.h]h!Length of the TS data in buffer2.}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjFhKhjFubah}(h]h ]h"]h$]h&]uh1jBhjEubeh}(h]h ]h"]h$]h&]uh1j"hjFhKhjKEubj#)}(hV``struct dmx_ts_feed *source`` Indicates which TS feed is the source of the callback. h](j))}(h``struct dmx_ts_feed *source``h]h)}(hj8Fh]hstruct dmx_ts_feed *source}(hj:FhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj6Fubah}(h]h ]h"]h$]h&]uh1j(h`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKhj2FubjC)}(hhh]h)}(h6Indicates which TS feed is the source of the callback.h]h6Indicates which TS feed is the source of the callback.}(hjQFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjMFhKhjNFubah}(h]h ]h"]h$]h&]uh1jBhj2Fubeh}(h]h ]h"]h$]h&]uh1j"hjMFhKhjKEubj#)}(h``u32 *buffer_flags`` Address where buffer flags are stored. Those are used to report discontinuity users via DVB memory mapped API, as defined by :c:type:`enum dmx_buffer_flags `. h](j))}(h``u32 *buffer_flags``h]h)}(hjqFh]hu32 *buffer_flags}(hjsFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjoFubah}(h]h ]h"]h$]h&]uh1j(h`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKhjkFubjC)}(hhh]h)}(hAddress where buffer flags are stored. Those are used to report discontinuity users via DVB memory mapped API, as defined by :c:type:`enum dmx_buffer_flags `.h](h}Address where buffer flags are stored. Those are used to report discontinuity users via DVB memory mapped API, as defined by }(hjFhhhNhNubh)}(h2:c:type:`enum dmx_buffer_flags `h]h)}(hjFh]henum dmx_buffer_flags}(hjFhhhNhNubah}(h]h ](jPjQc-typeeh"]h$]h&]uh1hhjFubah}(h]h ]h"]h$]h&]refdocj] refdomainjQreftypetype refexplicitrefwarnjjjcdmx_buffer_flagsuh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKhjFubh.}(hjFhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjFhKhjFubah}(h]h ]h"]h$]h&]uh1jBhjkFubeh}(h]h ]h"]h$]h&]uh1j"hjFhKhjKEubeh}(h]h ]h"]h$]h&]uh1jhj/Eubh)}(h**Description**h]j)}(hjFh]h Description}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKhj/Eubh)}(hXThis function callback prototype, provided by the client of the demux API, is called from the demux code. The function is only called when filtering on a TS feed has been enabled using the start_filtering\(\) function at the :c:type:`dmx_demux`. Any TS packets that match the filter settings are copied to a circular buffer. The filtered TS packets are delivered to the client using this callback function. It is expected that the **buffer1** and **buffer2** callback parameters point to addresses within the circular buffer, but other implementations are also possible. Note that the called party should not try to free the memory the **buffer1** and **buffer2** parameters point to.h](hThis function callback prototype, provided by the client of the demux API, is called from the demux code. The function is only called when filtering on a TS feed has been enabled using the start_filtering() function at the }(hjFhhhNhNubh)}(h:c:type:`dmx_demux`h]h)}(hjFh]h dmx_demux}(hjFhhhNhNubah}(h]h ](jPjQc-typeeh"]h$]h&]uh1hhjFubah}(h]h ]h"]h$]h&]refdocj] refdomainjQreftypetype refexplicitrefwarnjjjc dmx_demuxuh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKhjFubh. Any TS packets that match the filter settings are copied to a circular buffer. The filtered TS packets are delivered to the client using this callback function. It is expected that the }(hjFhhhNhNubj)}(h **buffer1**h]hbuffer1}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubh and }(hjFhhhNhNubj)}(h **buffer2**h]hbuffer2}(hj$GhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubh callback parameters point to addresses within the circular buffer, but other implementations are also possible. Note that the called party should not try to free the memory the }(hjFhhhNhNubj)}(h **buffer1**h]hbuffer1}(hj6GhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubh and }hjFsbj)}(h **buffer2**h]hbuffer2}(hjHGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubh parameters point to.}(hjFhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj GhKhj/Eubh)}(hXWhen this function is called, the **buffer1** parameter typically points to the start of the first undelivered TS packet within a circular buffer. The **buffer2** buffer parameter is normally NULL, except when the received TS packets have crossed the last address of the circular buffer and "wrapped" to the beginning of the buffer. In the latter case the **buffer1** parameter would contain an address within the circular buffer, while the **buffer2** parameter would contain the first address of the circular buffer. The number of bytes delivered with this function (i.e. **buffer1_length** + **buffer2_length**) is usually equal to the value of callback_length parameter given in the set() function, with one exception: if a timeout occurs before receiving callback_length bytes of TS data, any undelivered packets are immediately delivered to the client by calling this function. The timeout duration is controlled by the set() function in the TS Feed API.h](h"When this function is called, the }(hj`GhhhNhNubj)}(h **buffer1**h]hbuffer1}(hjhGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`Gubhj parameter typically points to the start of the first undelivered TS packet within a circular buffer. The }(hj`GhhhNhNubj)}(h **buffer2**h]hbuffer2}(hjzGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`Gubh buffer parameter is normally NULL, except when the received TS packets have crossed the last address of the circular buffer and “wrapped” to the beginning of the buffer. In the latter case the }(hj`GhhhNhNubj)}(h **buffer1**h]hbuffer1}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`GubhJ parameter would contain an address within the circular buffer, while the }(hj`GhhhNhNubj)}(h **buffer2**h]hbuffer2}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`Gubhz parameter would contain the first address of the circular buffer. The number of bytes delivered with this function (i.e. }(hj`GhhhNhNubj)}(h**buffer1_length**h]hbuffer1_length}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`Gubh + }(hj`GhhhNhNubj)}(h**buffer2_length**h]hbuffer2_length}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`GubhX[) is usually equal to the value of callback_length parameter given in the set() function, with one exception: if a timeout occurs before receiving callback_length bytes of TS data, any undelivered packets are immediately delivered to the client by calling this function. The timeout duration is controlled by the set() function in the TS Feed API.}(hj`GhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKhj/Eubh)}(hXIf a TS packet is received with errors that could not be fixed by the TS-level forward error correction (FEC), the Transport_error_indicator flag of the TS packet header should be set. The TS packet should not be discarded, as the error can possibly be corrected by a higher layer protocol. If the called party is slow in processing the callback, it is possible that the circular buffer eventually fills up. If this happens, the demux driver should discard any TS packets received while the buffer is full and return -EOVERFLOW.h]hXIf a TS packet is received with errors that could not be fixed by the TS-level forward error correction (FEC), the Transport_error_indicator flag of the TS packet header should be set. The TS packet should not be discarded, as the error can possibly be corrected by a higher layer protocol. If the called party is slow in processing the callback, it is possible that the circular buffer eventually fills up. If this happens, the demux driver should discard any TS packets received while the buffer is full and return -EOVERFLOW.}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKhj/Eubh)}(hXMThe type of data returned to the callback can be selected by the :c:type:`dmx_ts_feed`.**set** function. The type parameter decides if the raw TS packet (TS_PACKET) or just the payload (TS_PACKET|TS_PAYLOAD_ONLY) should be returned. If additionally the TS_DECODER bit is set the stream will also be sent to the hardware MPEG decoder.h](hAThe type of data returned to the callback can be selected by the }(hjGhhhNhNubh)}(h:c:type:`dmx_ts_feed`h]h)}(hjGh]h dmx_ts_feed}(hjGhhhNhNubah}(h]h ](jPjQc-typeeh"]h$]h&]uh1hhjGubah}(h]h ]h"]h$]h&]refdocj] refdomainjQreftypetype refexplicitrefwarnjjjc dmx_ts_feeduh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKhjGubh.**set** function. The type parameter decides if the raw TS packet (TS_PACKET) or just the payload (TS_PACKET|TS_PAYLOAD_ONLY) should be returned. If additionally the TS_DECODER bit is set the stream will also be sent to the hardware MPEG decoder.}(hjGhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjHhKhj/Eubh bullet_list)}(hhh](h list_item)}(h0, on success; h]h)}(h0, on success;h]h0, on success;}(hj'HhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKhj#Hubah}(h]h ]h"]h$]h&]uh1j!HhjHubj"H)}(h -EOVERFLOW, on buffer overflow. h]h)}(h-EOVERFLOW, on buffer overflow.h]h-EOVERFLOW, on buffer overflow.}(hj@HhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhKhj`. **Description** This function callback prototype, provided by the client of the demux API, is called from the demux code. The function is only called when filtering of sections has been enabled using the function :c:type:`dmx_ts_feed`.**start_filtering**. When the demux driver has received a complete section that matches at least one section filter, the client is notified via this callback function. Normally this function is called for each received section; however, it is also possible to deliver multiple sections with one callback, for example when the system load is high. If an error occurs while receiving a section, this function should be called with the corresponding error type set in the success field, whether or not there is data to deliver. The Section Feed implementation should maintain a circular buffer for received sections. However, this is not necessary if the Section Feed API is implemented as a client of the TS Feed API, because the TS Feed implementation then buffers the received data. The size of the circular buffer can be configured using the :c:type:`dmx_ts_feed`.**set** function in the Section Feed API. If there is no room in the circular buffer when a new section is received, the section must be discarded. If this happens, the value of the success parameter should be DMX_OVERRUN_ERROR on the next callback.h](h)}(h**Parameters**h]j)}(hj&Ih]h Parameters}(hj(IhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$Iubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhM hj Iubj)}(hhh](j#)}(hy``const u8 *buffer1`` Pointer to the start of the filtered section, e.g. within the circular buffer of the demux driver. h](j))}(h``const u8 *buffer1``h]h)}(hjEIh]hconst u8 *buffer1}(hjGIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjCIubah}(h]h ]h"]h$]h&]uh1j(h`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhMhj?IubjC)}(hhh]h)}(hbPointer to the start of the filtered section, e.g. within the circular buffer of the demux driver.h]hbPointer to the start of the filtered section, e.g. within the circular buffer of the demux driver.}(hj^IhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhMhj[Iubah}(h]h ]h"]h$]h&]uh1jBhj?Iubeh}(h]h ]h"]h$]h&]uh1j"hjZIhMhj`. h](j))}(h``u32 *buffer_flags``h]h)}(hjJh]hu32 *buffer_flags}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjJubah}(h]h ]h"]h$]h&]uh1j(h`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhMhjJubjC)}(hhh]h)}(hAddress where buffer flags are stored. Those are used to report discontinuity users via DVB memory mapped API, as defined by :c:type:`enum dmx_buffer_flags `.h](h}Address where buffer flags are stored. Those are used to report discontinuity users via DVB memory mapped API, as defined by }(hjJhhhNhNubh)}(h2:c:type:`enum dmx_buffer_flags `h]h)}(hjJh]henum dmx_buffer_flags}(hjJhhhNhNubah}(h]h ](jPjQc-typeeh"]h$]h&]uh1hhjJubah}(h]h ]h"]h$]h&]refdocj] refdomainjQreftypetype refexplicitrefwarnjjjcdmx_buffer_flagsuh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhMhjJubh.}(hjJhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjJhMhjJubah}(h]h ]h"]h$]h&]uh1jBhjJubeh}(h]h ]h"]h$]h&]uh1j"hjJhMhj` fieldh](hThose flags are OR’ed in the }(hjnOhhhNhNubh)}(h,:c:type:`dmx_demux.capabilities `h]h)}(hjxOh]hdmx_demux.capabilities}(hjzOhhhNhNubah}(h]h ](jPjQc-typeeh"]h$]h&]uh1hhjvOubah}(h]h ]h"]h$]h&]refdocj] refdomainjQreftypetype refexplicitrefwarnjjjc dmx_demuxuh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhM\hjnOubh field}(hjnOhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjOhM\hj];hhubj`)}(hhh]h}(h]h ]h"]h$]h&]entries](jlDMX_FE_ENTRY (C macro)c.DMX_FE_ENTRYhNtauh1j_hj];hhhNhNubjq)}(hhh](jv)}(h DMX_FE_ENTRYh]j|)}(h DMX_FE_ENTRYh]j)}(h DMX_FE_ENTRYh]j)}(hjOh]h DMX_FE_ENTRY}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOubah}(h]h ](jjeh"]h$]h&]hhuh1jhjOhhh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhMoubah}(h]h ]h"]h$]h&]hhjuh1j{jjhjOhhhjOhMoubah}(h]jOah ](jjeh"]h$]h&]jj)jhuh1juhjOhMohjOhhubj)}(hhh]h}(h]h ]h"]h$]h&]uh1jhjOhhhjOhMoubeh}(h]h ](jQmacroeh"]h$]h&]jjQjjOjjOjjjuh1jphhhj];hNhNubh)}(h``DMX_FE_ENTRY (list)``h]h)}(hjOh]hDMX_FE_ENTRY (list)}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjOubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhMqhj];hhubj E)}(h}Casts elements in the list of registered front-ends from the generic type struct list_head to the type * struct dmx_frontend h]h)}(h|Casts elements in the list of registered front-ends from the generic type struct list_head to the type * struct dmx_frontendh]h|Casts elements in the list of registered front-ends from the generic type struct list_head to the type * struct dmx_frontend}(hj PhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhMihjPubah}(h]h ]h"]h$]h&]uh1j EhjPhMihj];hhubj)}(h6**Parameters** ``list`` list of struct dmx_frontendh](h)}(h**Parameters**h]j)}(hj$Ph]h Parameters}(hj&PhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"Pubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhMmhjPubj)}(hhh]j#)}(h$``list`` list of struct dmx_frontendh](j))}(h``list``h]h)}(hjCPh]hlist}(hjEPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjAPubah}(h]h ]h"]h$]h&]uh1j(h`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhMohj=PubjC)}(hhh]h)}(hlist of struct dmx_frontendh]hlist of struct dmx_frontend}(hj\PhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhMmhjYPubah}(h]h ]h"]h$]h&]uh1jBhj=Pubeh}(h]h ]h"]h$]h&]uh1j"hjXPhMohj:Pubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj];hhhNhNubj`)}(hhh]h}(h]h ]h"]h$]h&]entries](jldmx_demux (C struct) c.dmx_demuxhNtauh1j_hj];hhhNhNubjq)}(hhh](jv)}(h dmx_demuxh]j|)}(hstruct dmx_demuxh](j)}(hj5h]hstruct}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPhhh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhMrubj)}(h h]h }(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPhhhjPhMrubj)}(h dmx_demuxh]j)}(hjPh]h dmx_demux}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPubah}(h]h ](jjeh"]h$]h&]hhuh1jhjPhhhjPhMrubeh}(h]h ]h"]h$]h&]hhjuh1j{jjhjPhhhjPhMrubah}(h]jPah ](jjeh"]h$]h&]jj)jhuh1juhjPhMrhjPhhubj)}(hhh]h)}(h=Structure that contains the demux capabilities and callbacks.h]h=Structure that contains the demux capabilities and callbacks.}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhMshjPhhubah}(h]h ]h"]h$]h&]uh1jhjPhhhjPhMrubeh}(h]h ](jQstructeh"]h$]h&]jjQjjPjjPjjjuh1jphhhj];hNhNubj)}(hX%**Definition**:: struct dmx_demux { enum dmx_demux_caps capabilities; struct dmx_frontend *frontend; void *priv; int (*open)(struct dmx_demux *demux); int (*close)(struct dmx_demux *demux); int (*write)(struct dmx_demux *demux, const char __user *buf, size_t count); int (*allocate_ts_feed)(struct dmx_demux *demux,struct dmx_ts_feed **feed, dmx_ts_cb callback); int (*release_ts_feed)(struct dmx_demux *demux, struct dmx_ts_feed *feed); int (*allocate_section_feed)(struct dmx_demux *demux,struct dmx_section_feed **feed, dmx_section_cb callback); int (*release_section_feed)(struct dmx_demux *demux, struct dmx_section_feed *feed); int (*add_frontend)(struct dmx_demux *demux, struct dmx_frontend *frontend); int (*remove_frontend)(struct dmx_demux *demux, struct dmx_frontend *frontend); struct list_head *(*get_frontends)(struct dmx_demux *demux); int (*connect_frontend)(struct dmx_demux *demux, struct dmx_frontend *frontend); int (*disconnect_frontend)(struct dmx_demux *demux); int (*get_pes_pids)(struct dmx_demux *demux, u16 *pids); }; **Members** ``capabilities`` Bitfield of capability flags. ``frontend`` Front-end connected to the demux ``priv`` Pointer to private data of the API client ``open`` This function reserves the demux for use by the caller and, if necessary, initializes the demux. When the demux is no longer needed, the function **close** should be called. It should be possible for multiple clients to access the demux at the same time. Thus, the function implementation should increment the demux usage count when **open** is called and decrement it when **close** is called. The **demux** function parameter contains a pointer to the demux API and instance data. It returns: 0 on success; -EUSERS, if maximum usage count was reached; -EINVAL, on bad parameter. ``close`` This function reserves the demux for use by the caller and, if necessary, initializes the demux. When the demux is no longer needed, the function **close** should be called. It should be possible for multiple clients to access the demux at the same time. Thus, the function implementation should increment the demux usage count when **open** is called and decrement it when **close** is called. The **demux** function parameter contains a pointer to the demux API and instance data. It returns: 0 on success; -ENODEV, if demux was not in use (e. g. no users); -EINVAL, on bad parameter. ``write`` This function provides the demux driver with a memory buffer containing TS packets. Instead of receiving TS packets from the DVB front-end, the demux driver software will read packets from memory. Any clients of this demux with active TS, PES or Section filters will receive filtered data via the Demux callback API (see 0). The function returns when all the data in the buffer has been consumed by the demux. Demux hardware typically cannot read TS from memory. If this is the case, memory-based filtering has to be implemented entirely in software. The **demux** function parameter contains a pointer to the demux API and instance data. The **buf** function parameter contains a pointer to the TS data in kernel-space memory. The **count** function parameter contains the length of the TS data. It returns: 0 on success; -ERESTARTSYS, if mutex lock was interrupted; -EINTR, if a signal handling is pending; -ENODEV, if demux was removed; -EINVAL, on bad parameter. ``allocate_ts_feed`` Allocates a new TS feed, which is used to filter the TS packets carrying a certain PID. The TS feed normally corresponds to a hardware PID filter on the demux chip. The **demux** function parameter contains a pointer to the demux API and instance data. The **feed** function parameter contains a pointer to the TS feed API and instance data. The **callback** function parameter contains a pointer to the callback function for passing received TS packet. It returns: 0 on success; -ERESTARTSYS, if mutex lock was interrupted; -EBUSY, if no more TS feeds is available; -EINVAL, on bad parameter. ``release_ts_feed`` Releases the resources allocated with **allocate_ts_feed**. Any filtering in progress on the TS feed should be stopped before calling this function. The **demux** function parameter contains a pointer to the demux API and instance data. The **feed** function parameter contains a pointer to the TS feed API and instance data. It returns: 0 on success; -EINVAL on bad parameter. ``allocate_section_feed`` Allocates a new section feed, i.e. a demux resource for filtering and receiving sections. On platforms with hardware support for section filtering, a section feed is directly mapped to the demux HW. On other platforms, TS packets are first PID filtered in hardware and a hardware section filter then emulated in software. The caller obtains an API pointer of type dmx_section_feed_t as an out parameter. Using this API the caller can set filtering parameters and start receiving sections. The **demux** function parameter contains a pointer to the demux API and instance data. The **feed** function parameter contains a pointer to the TS feed API and instance data. The **callback** function parameter contains a pointer to the callback function for passing received TS packet. It returns: 0 on success; -EBUSY, if no more TS feeds is available; -EINVAL, on bad parameter. ``release_section_feed`` Releases the resources allocated with **allocate_section_feed**, including allocated filters. Any filtering in progress on the section feed should be stopped before calling this function. The **demux** function parameter contains a pointer to the demux API and instance data. The **feed** function parameter contains a pointer to the TS feed API and instance data. It returns: 0 on success; -EINVAL, on bad parameter. ``add_frontend`` Registers a connectivity between a demux and a front-end, i.e., indicates that the demux can be connected via a call to **connect_frontend** to use the given front-end as a TS source. The client of this function has to allocate dynamic or static memory for the frontend structure and initialize its fields before calling this function. This function is normally called during the driver initialization. The caller must not free the memory of the frontend struct before successfully calling **remove_frontend**. The **demux** function parameter contains a pointer to the demux API and instance data. The **frontend** function parameter contains a pointer to the front-end instance data. It returns: 0 on success; -EINVAL, on bad parameter. ``remove_frontend`` Indicates that the given front-end, registered by a call to **add_frontend**, can no longer be connected as a TS source by this demux. The function should be called when a front-end driver or a demux driver is removed from the system. If the front-end is in use, the function fails with the return value of -EBUSY. After successfully calling this function, the caller can free the memory of the frontend struct if it was dynamically allocated before the **add_frontend** operation. The **demux** function parameter contains a pointer to the demux API and instance data. The **frontend** function parameter contains a pointer to the front-end instance data. It returns: 0 on success; -ENODEV, if the front-end was not found, -EINVAL, on bad parameter. ``get_frontends`` Provides the APIs of the front-ends that have been registered for this demux. Any of the front-ends obtained with this call can be used as a parameter for **connect_frontend**. The include file demux.h contains the macro DMX_FE_ENTRY() for converting an element of the generic type struct :c:type:`list_head` * to the type struct :c:type:`dmx_frontend` *. The caller must not free the memory of any of the elements obtained via this function call. The **demux** function parameter contains a pointer to the demux API and instance data. It returns a struct list_head pointer to the list of front-end interfaces, or NULL in the case of an empty list. ``connect_frontend`` Connects the TS output of the front-end to the input of the demux. A demux can only be connected to a front-end registered to the demux with the function **add_frontend**. It may or may not be possible to connect multiple demuxes to the same front-end, depending on the capabilities of the HW platform. When not used, the front-end should be released by calling **disconnect_frontend**. The **demux** function parameter contains a pointer to the demux API and instance data. The **frontend** function parameter contains a pointer to the front-end instance data. It returns: 0 on success; -EINVAL, on bad parameter. ``disconnect_frontend`` Disconnects the demux and a front-end previously connected by a **connect_frontend** call. The **demux** function parameter contains a pointer to the demux API and instance data. It returns: 0 on success; -EINVAL on bad parameter. ``get_pes_pids`` Get the PIDs for DMX_PES_AUDIO0, DMX_PES_VIDEO0, DMX_PES_TELETEXT0, DMX_PES_SUBTITLE0 and DMX_PES_PCR0. The **demux** function parameter contains a pointer to the demux API and instance data. The **pids** function parameter contains an array with five u16 elements where the PIDs will be stored. It returns: 0 on success; -EINVAL on bad parameter.h](h)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubh:}(hjPhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhMwhjPubj)}(hXDstruct dmx_demux { enum dmx_demux_caps capabilities; struct dmx_frontend *frontend; void *priv; int (*open)(struct dmx_demux *demux); int (*close)(struct dmx_demux *demux); int (*write)(struct dmx_demux *demux, const char __user *buf, size_t count); int (*allocate_ts_feed)(struct dmx_demux *demux,struct dmx_ts_feed **feed, dmx_ts_cb callback); int (*release_ts_feed)(struct dmx_demux *demux, struct dmx_ts_feed *feed); int (*allocate_section_feed)(struct dmx_demux *demux,struct dmx_section_feed **feed, dmx_section_cb callback); int (*release_section_feed)(struct dmx_demux *demux, struct dmx_section_feed *feed); int (*add_frontend)(struct dmx_demux *demux, struct dmx_frontend *frontend); int (*remove_frontend)(struct dmx_demux *demux, struct dmx_frontend *frontend); struct list_head *(*get_frontends)(struct dmx_demux *demux); int (*connect_frontend)(struct dmx_demux *demux, struct dmx_frontend *frontend); int (*disconnect_frontend)(struct dmx_demux *demux); int (*get_pes_pids)(struct dmx_demux *demux, u16 *pids); };h]hXDstruct dmx_demux { enum dmx_demux_caps capabilities; struct dmx_frontend *frontend; void *priv; int (*open)(struct dmx_demux *demux); int (*close)(struct dmx_demux *demux); int (*write)(struct dmx_demux *demux, const char __user *buf, size_t count); int (*allocate_ts_feed)(struct dmx_demux *demux,struct dmx_ts_feed **feed, dmx_ts_cb callback); int (*release_ts_feed)(struct dmx_demux *demux, struct dmx_ts_feed *feed); int (*allocate_section_feed)(struct dmx_demux *demux,struct dmx_section_feed **feed, dmx_section_cb callback); int (*release_section_feed)(struct dmx_demux *demux, struct dmx_section_feed *feed); int (*add_frontend)(struct dmx_demux *demux, struct dmx_frontend *frontend); int (*remove_frontend)(struct dmx_demux *demux, struct dmx_frontend *frontend); struct list_head *(*get_frontends)(struct dmx_demux *demux); int (*connect_frontend)(struct dmx_demux *demux, struct dmx_frontend *frontend); int (*disconnect_frontend)(struct dmx_demux *demux); int (*get_pes_pids)(struct dmx_demux *demux, u16 *pids); };}hjQsbah}(h]h ]h"]h$]h&]hhuh1jh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhMyhjPubh)}(h **Members**h]j)}(hj-Qh]hMembers}(hj/QhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+Qubah}(h]h ]h"]h$]h&]uh1hh`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhMhjPubj)}(hhh](j#)}(h/``capabilities`` Bitfield of capability flags. h](j))}(h``capabilities``h]h)}(hjLQh]h capabilities}(hjNQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjJQubah}(h]h ]h"]h$]h&]uh1j(h`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhMwhjFQubjC)}(hhh]h)}(hBitfield of capability flags.h]hBitfield of capability flags.}(hjeQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjaQhMwhjbQubah}(h]h ]h"]h$]h&]uh1jBhjFQubeh}(h]h ]h"]h$]h&]uh1j"hjaQhMwhjCQubj#)}(h.``frontend`` Front-end connected to the demux h](j))}(h ``frontend``h]h)}(hjQh]hfrontend}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjQubah}(h]h ]h"]h$]h&]uh1j(h`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhMyhjQubjC)}(hhh]h)}(h Front-end connected to the demuxh]h Front-end connected to the demux}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjQhMyhjQubah}(h]h ]h"]h$]h&]uh1jBhjQubeh}(h]h ]h"]h$]h&]uh1j"hjQhMyhjCQubj#)}(h3``priv`` Pointer to private data of the API client h](j))}(h``priv``h]h)}(hjQh]hpriv}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjQubah}(h]h ]h"]h$]h&]uh1j(h`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhM{hjQubjC)}(hhh]h)}(h)Pointer to private data of the API clienth]h)Pointer to private data of the API client}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjQhM{hjQubah}(h]h ]h"]h$]h&]uh1jBhjQubeh}(h]h ]h"]h$]h&]uh1j"hjQhM{hjCQubj#)}(hXN``open`` This function reserves the demux for use by the caller and, if necessary, initializes the demux. When the demux is no longer needed, the function **close** should be called. It should be possible for multiple clients to access the demux at the same time. Thus, the function implementation should increment the demux usage count when **open** is called and decrement it when **close** is called. The **demux** function parameter contains a pointer to the demux API and instance data. It returns: 0 on success; -EUSERS, if maximum usage count was reached; -EINVAL, on bad parameter. h](j))}(h``open``h]h)}(hjQh]hopen}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjQubah}(h]h ]h"]h$]h&]uh1j(h`/var/lib/git/docbuild/linux/Documentation/driver-api/media/dtv-demux:84: ./include/media/demux.hhMhjQubjC)}(hhh]h)}(hXDThis function reserves the demux for use by the caller and, if necessary, initializes the demux. When the demux is no longer needed, the function **close** should be called. It should be possible for multiple clients to access the demux at the same time. Thus, the function implementation should increment the demux usage count when **open** is called and decrement it when **close** is called. The **demux** function parameter contains a pointer to the demux API and instance data. It returns: 0 on success; -EUSERS, if maximum usage count was reached; -EINVAL, on bad parameter.h](hThis function reserves the demux for use by the caller and, if necessary, initializes the demux. When the demux is no longer needed, the function }(hjRhhhNhNubj)}(h **close**h]hclose}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubh should be called. It should be possible for multiple clients to access the demux at the same time. Thus, the function implementation should increment the demux usage count when }(hjRhhhNhNubj)}(h**open**h]hopen}(hj*RhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubh! is called and decrement it when }(hjRhhhNhNubj)}(h **close**h]hclose}(hj