Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

docs: media: dvb: fix dmx.h.rst.exceptions

There are lots of broken links on dmx. Those are mostly linked
to namespace handling.

Yet, some symbols were pointed to the wrong locations, and there
are some definitions that aren't needed.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <b2acf243771529daa925afddd2b68d07d7bbb164.1759329363.git.mchehab+huawei@kernel.org>

authored by

Mauro Carvalho Chehab and committed by
Jonathan Corbet
be63b06b c7d830d2

+39 -43
+39 -43
Documentation/userspace-api/media/dvb/dmx.h.rst.exceptions
··· 1 1 # SPDX-License-Identifier: GPL-2.0 2 2 3 + # All symbols belone to this namespace 4 + namespace DTV.dmx 5 + 3 6 # Ignore header name 4 7 ignore define _UAPI_DVBDMX_H_ 5 8 6 9 # Ignore limit constants 7 10 ignore define DMX_FILTER_SIZE 8 11 9 - # dmx_pes_type_t enum symbols 10 - replace enum dmx_ts_pes :c:type:`dmx_pes_type` 11 - replace symbol DMX_PES_AUDIO0 :c:type:`dmx_pes_type` 12 - replace symbol DMX_PES_VIDEO0 :c:type:`dmx_pes_type` 13 - replace symbol DMX_PES_TELETEXT0 :c:type:`dmx_pes_type` 14 - replace symbol DMX_PES_SUBTITLE0 :c:type:`dmx_pes_type` 15 - replace symbol DMX_PES_PCR0 :c:type:`dmx_pes_type` 16 - replace symbol DMX_PES_AUDIO1 :c:type:`dmx_pes_type` 17 - replace symbol DMX_PES_VIDEO1 :c:type:`dmx_pes_type` 18 - replace symbol DMX_PES_TELETEXT1 :c:type:`dmx_pes_type` 19 - replace symbol DMX_PES_SUBTITLE1 :c:type:`dmx_pes_type` 20 - replace symbol DMX_PES_PCR1 :c:type:`dmx_pes_type` 21 - replace symbol DMX_PES_AUDIO2 :c:type:`dmx_pes_type` 22 - replace symbol DMX_PES_VIDEO2 :c:type:`dmx_pes_type` 23 - replace symbol DMX_PES_TELETEXT2 :c:type:`dmx_pes_type` 24 - replace symbol DMX_PES_SUBTITLE2 :c:type:`dmx_pes_type` 25 - replace symbol DMX_PES_PCR2 :c:type:`dmx_pes_type` 26 - replace symbol DMX_PES_AUDIO3 :c:type:`dmx_pes_type` 27 - replace symbol DMX_PES_VIDEO3 :c:type:`dmx_pes_type` 28 - replace symbol DMX_PES_TELETEXT3 :c:type:`dmx_pes_type` 29 - replace symbol DMX_PES_SUBTITLE3 :c:type:`dmx_pes_type` 30 - replace symbol DMX_PES_PCR3 :c:type:`dmx_pes_type` 31 - replace symbol DMX_PES_OTHER :c:type:`dmx_pes_type` 12 + # dmx_ts_pes_type_t enum symbols 13 + replace symbol DMX_PES_AUDIO0 :c:type:`DTV.dmx.dmx_ts_pes` 14 + replace symbol DMX_PES_VIDEO0 :c:type:`DTV.dmx.dmx_ts_pes` 15 + replace symbol DMX_PES_TELETEXT0 :c:type:`DTV.dmx.dmx_ts_pes` 16 + replace symbol DMX_PES_SUBTITLE0 :c:type:`DTV.dmx.dmx_ts_pes` 17 + replace symbol DMX_PES_PCR0 :c:type:`DTV.dmx.dmx_ts_pes` 18 + replace symbol DMX_PES_AUDIO1 :c:type:`DTV.dmx.dmx_ts_pes` 19 + replace symbol DMX_PES_VIDEO1 :c:type:`DTV.dmx.dmx_ts_pes` 20 + replace symbol DMX_PES_TELETEXT1 :c:type:`DTV.dmx.dmx_ts_pes` 21 + replace symbol DMX_PES_SUBTITLE1 :c:type:`DTV.dmx.dmx_ts_pes` 22 + replace symbol DMX_PES_PCR1 :c:type:`DTV.dmx.dmx_ts_pes` 23 + replace symbol DMX_PES_AUDIO2 :c:type:`DTV.dmx.dmx_ts_pes` 24 + replace symbol DMX_PES_VIDEO2 :c:type:`DTV.dmx.dmx_ts_pes` 25 + replace symbol DMX_PES_TELETEXT2 :c:type:`DTV.dmx.dmx_ts_pes` 26 + replace symbol DMX_PES_SUBTITLE2 :c:type:`DTV.dmx.dmx_ts_pes` 27 + replace symbol DMX_PES_PCR2 :c:type:`DTV.dmx.dmx_ts_pes` 28 + replace symbol DMX_PES_AUDIO3 :c:type:`DTV.dmx.dmx_ts_pes` 29 + replace symbol DMX_PES_VIDEO3 :c:type:`DTV.dmx.dmx_ts_pes` 30 + replace symbol DMX_PES_TELETEXT3 :c:type:`DTV.dmx.dmx_ts_pes` 31 + replace symbol DMX_PES_SUBTITLE3 :c:type:`DTV.dmx.dmx_ts_pes` 32 + replace symbol DMX_PES_PCR3 :c:type:`DTV.dmx.dmx_ts_pes` 33 + replace symbol DMX_PES_OTHER :c:type:`DTV.dmx.dmx_ts_pes` 32 34 33 35 # Ignore obsolete symbols 34 36 ignore define DMX_PES_AUDIO ··· 40 38 ignore define DMX_PES_PCR 41 39 42 40 # dmx_input_t symbols 43 - replace enum dmx_input :c:type:`dmx_input` 44 - replace symbol DMX_IN_FRONTEND :c:type:`dmx_input` 45 - replace symbol DMX_IN_DVR :c:type:`dmx_input` 41 + replace symbol DMX_IN_FRONTEND :c:enum:`DTV.dmx.dmx_input` 42 + replace symbol DMX_IN_DVR :c:enum:`DTV.dmx.dmx_input` 46 43 47 44 # Flags for struct dmx_sct_filter_params 48 - replace define DMX_CHECK_CRC :c:type:`dmx_sct_filter_params` 49 - replace define DMX_ONESHOT :c:type:`dmx_sct_filter_params` 50 - replace define DMX_IMMEDIATE_START :c:type:`dmx_sct_filter_params` 45 + replace define DMX_CHECK_CRC :c:type:`DTV.dmx.dmx_sct_filter_params` 46 + replace define DMX_ONESHOT :c:type:`DTV.dmx.dmx_sct_filter_params` 47 + replace define DMX_IMMEDIATE_START :c:type:`DTV.dmx.dmx_sct_filter_params` 51 48 52 - # some typedefs should point to struct/enums 53 - replace typedef dmx_filter_t :c:type:`dmx_filter` 54 - replace typedef dmx_pes_type_t :c:type:`dmx_pes_type` 55 - replace typedef dmx_input_t :c:type:`dmx_input` 49 + replace symbol DMX_BUFFER_FLAG_HAD_CRC32_DISCARD :c:type:`DTV.dmx.dmx_buffer_flags` 50 + replace symbol DMX_BUFFER_FLAG_TEI :c:type:`DTV.dmx.dmx_buffer_flags` 51 + replace symbol DMX_BUFFER_PKT_COUNTER_MISMATCH :c:type:`DTV.dmx.dmx_buffer_flags` 52 + replace symbol DMX_BUFFER_FLAG_DISCONTINUITY_DETECTED :c:type:`DTV.dmx.dmx_buffer_flags` 53 + replace symbol DMX_BUFFER_FLAG_DISCONTINUITY_INDICATOR :c:type:`DTV.dmx.dmx_buffer_flags` 56 54 57 - replace symbol DMX_BUFFER_FLAG_HAD_CRC32_DISCARD :c:type:`dmx_buffer_flags` 58 - replace symbol DMX_BUFFER_FLAG_TEI :c:type:`dmx_buffer_flags` 59 - replace symbol DMX_BUFFER_PKT_COUNTER_MISMATCH :c:type:`dmx_buffer_flags` 60 - replace symbol DMX_BUFFER_FLAG_DISCONTINUITY_DETECTED :c:type:`dmx_buffer_flags` 61 - replace symbol DMX_BUFFER_FLAG_DISCONTINUITY_INDICATOR :c:type:`dmx_buffer_flags` 62 - 63 - replace symbol DMX_OUT_DECODER :c:type:`dmx_output` 64 - replace symbol DMX_OUT_TAP :c:type:`dmx_output` 65 - replace symbol DMX_OUT_TS_TAP :c:type:`dmx_output` 66 - replace symbol DMX_OUT_TSDEMUX_TAP :c:type:`dmx_output` 55 + replace symbol DMX_OUT_DECODER :c:type:`DTV.dmx.dmx_output` 56 + replace symbol DMX_OUT_TAP :c:type:`DTV.dmx.dmx_output` 57 + replace symbol DMX_OUT_TS_TAP :c:type:`DTV.dmx.dmx_output` 58 + replace symbol DMX_OUT_TSDEMUX_TAP :c:type:`DTV.dmx.dmx_output` 67 59 68 60 replace ioctl DMX_DQBUF dmx_qbuf