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

media: docs: make DVB documents more compatible with Sphinx 3.1+

Sphinx 3.x broke support for the cdomain.py extension, as the
c domain code was rewritten. Due to that, the c tags need to
be re-written, in order to use the new c domain notation.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>

+329 -534
+3 -4
Documentation/userspace-api/media/dvb/audio-bilingual-channel-select.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.audio 2 3 3 4 .. _AUDIO_BILINGUAL_CHANNEL_SELECT: 4 5 ··· 17 16 Synopsis 18 17 -------- 19 18 20 - .. c:function:: int ioctl(int fd, AUDIO_BILINGUAL_CHANNEL_SELECT, struct *audio_channel_select) 21 - :name: AUDIO_BILINGUAL_CHANNEL_SELECT 19 + .. c:macro:: AUDIO_BILINGUAL_CHANNEL_SELECT 22 20 21 + ``int ioctl(int fd, AUDIO_BILINGUAL_CHANNEL_SELECT, struct audio_channel_select *select)`` 23 22 24 23 Arguments 25 24 --------- ··· 40 39 41 40 - Select the output format of the audio (mono left/right, stereo). 42 41 43 - 44 42 Description 45 43 ----------- 46 44 ··· 49 49 50 50 This ioctl call asks the Audio Device to select the requested channel 51 51 for bilingual streams if possible. 52 - 53 52 54 53 Return Value 55 54 ------------
+3 -5
Documentation/userspace-api/media/dvb/audio-channel-select.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.audio 2 3 3 4 .. _AUDIO_CHANNEL_SELECT: 4 5 ··· 17 16 Synopsis 18 17 -------- 19 18 20 - .. c:function:: int ioctl(int fd, AUDIO_CHANNEL_SELECT, struct *audio_channel_select) 21 - :name: AUDIO_CHANNEL_SELECT 19 + .. c:macro:: AUDIO_CHANNEL_SELECT 22 20 21 + ``int ioctl(int fd, AUDIO_CHANNEL_SELECT, struct audio_channel_select *select)`` 23 22 24 23 Arguments 25 24 --------- ··· 27 26 .. flat-table:: 28 27 :header-rows: 0 29 28 :stub-columns: 0 30 - 31 29 32 30 - 33 31 ··· 40 40 41 41 - Select the output format of the audio (mono left/right, stereo). 42 42 43 - 44 43 Description 45 44 ----------- 46 45 ··· 48 49 49 50 This ioctl call asks the Audio Device to select the requested channel if 50 51 possible. 51 - 52 52 53 53 Return Value 54 54 ------------
+4 -4
Documentation/userspace-api/media/dvb/audio-clear-buffer.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.audio 2 3 3 4 .. _AUDIO_CLEAR_BUFFER: 4 5 ··· 17 16 Synopsis 18 17 -------- 19 18 20 - .. c:function:: int ioctl(int fd, AUDIO_CLEAR_BUFFER) 21 - :name: AUDIO_CLEAR_BUFFER 19 + .. c:macro:: AUDIO_CLEAR_BUFFER 20 + 21 + ``int ioctl(int fd, AUDIO_CLEAR_BUFFER)`` 22 22 23 23 Arguments 24 24 --------- ··· 27 25 .. flat-table:: 28 26 :header-rows: 0 29 27 :stub-columns: 0 30 - 31 28 32 29 - .. row 1 33 30 ··· 39 38 40 39 This ioctl call asks the Audio Device to clear all software and hardware 41 40 buffers of the audio decoder device. 42 - 43 41 44 42 Return Value 45 43 ------------
+3 -4
Documentation/userspace-api/media/dvb/audio-continue.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.audio 2 3 3 4 .. _AUDIO_CONTINUE: 4 5 ··· 17 16 Synopsis 18 17 -------- 19 18 20 - .. c:function:: int ioctl(int fd, AUDIO_CONTINUE) 21 - :name: AUDIO_CONTINUE 19 + .. c:macro:: AUDIO_CONTINUE 22 20 21 + ``int ioctl(int fd, AUDIO_CONTINUE)`` 23 22 24 23 Arguments 25 24 --------- ··· 27 26 .. flat-table:: 28 27 :header-rows: 0 29 28 :stub-columns: 0 30 - 31 29 32 30 - .. row 1 33 31 ··· 39 39 40 40 This ioctl restarts the decoding and playing process previously paused 41 41 with AUDIO_PAUSE command. 42 - 43 42 44 43 Return Value 45 44 ------------
+1 -6
Documentation/userspace-api/media/dvb/audio-fclose.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.audio 2 3 3 4 .. _audio_fclose: 4 5 ··· 18 17 -------- 19 18 20 19 .. c:function:: int close(int fd) 21 - :name: dvb-audio-close 22 - 23 20 24 21 Arguments 25 22 --------- ··· 26 27 :header-rows: 0 27 28 :stub-columns: 0 28 29 29 - 30 30 - .. row 1 31 31 32 32 - int fd 33 33 34 34 - File descriptor returned by a previous call to open(). 35 35 36 - 37 36 Description 38 37 ----------- 39 38 40 39 This system call closes a previously opened audio device. 41 - 42 40 43 41 Return Value 44 42 ------------ ··· 43 47 .. flat-table:: 44 48 :header-rows: 0 45 49 :stub-columns: 0 46 - 47 50 48 51 - .. row 1 49 52
+1 -6
Documentation/userspace-api/media/dvb/audio-fopen.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.audio 2 3 3 4 .. _audio_fopen: 4 5 ··· 18 17 -------- 19 18 20 19 .. c:function:: int open(const char *deviceName, int flags) 21 - :name: dvb-audio-open 22 - 23 20 24 21 Arguments 25 22 --------- ··· 25 26 .. flat-table:: 26 27 :header-rows: 0 27 28 :stub-columns: 0 28 - 29 29 30 30 - .. row 1 31 31 ··· 58 60 - 59 61 - (blocking mode is the default) 60 62 61 - 62 63 Description 63 64 ----------- 64 65 ··· 75 78 in O_RDONLY mode, the only ioctl call that can be used is 76 79 AUDIO_GET_STATUS. All other call will return with an error code. 77 80 78 - 79 81 Return Value 80 82 ------------ 81 83 ··· 83 87 .. flat-table:: 84 88 :header-rows: 0 85 89 :stub-columns: 0 86 - 87 90 88 91 - .. row 1 89 92
+1 -6
Documentation/userspace-api/media/dvb/audio-fwrite.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.audio 2 3 3 4 .. _audio_fwrite: 4 5 ··· 18 17 -------- 19 18 20 19 .. c:function:: size_t write(int fd, const void *buf, size_t count) 21 - :name: dvb-audio-write 22 - 23 20 24 21 Arguments 25 22 --------- ··· 25 26 .. flat-table:: 26 27 :header-rows: 0 27 28 :stub-columns: 0 28 - 29 29 30 30 - .. row 1 31 31 ··· 44 46 45 47 - Size of buf. 46 48 47 - 48 49 Description 49 50 ----------- 50 51 ··· 53 56 until buffer space is available. The amount of data to be transferred is 54 57 implied by count. 55 58 56 - 57 59 Return Value 58 60 ------------ 59 61 60 62 .. flat-table:: 61 63 :header-rows: 0 62 64 :stub-columns: 0 63 - 64 65 65 66 - .. row 1 66 67
+3 -5
Documentation/userspace-api/media/dvb/audio-get-capabilities.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.audio 2 3 3 4 .. _AUDIO_GET_CAPABILITIES: 4 5 ··· 17 16 Synopsis 18 17 -------- 19 18 20 - .. c:function:: int ioctl(int fd, AUDIO_GET_CAPABILITIES, unsigned int *cap) 21 - :name: AUDIO_GET_CAPABILITIES 19 + .. c:macro:: AUDIO_GET_CAPABILITIES 22 20 21 + ``int ioctl(int fd, AUDIO_GET_CAPABILITIES, unsigned int *cap)`` 23 22 24 23 Arguments 25 24 --------- ··· 27 26 .. flat-table:: 28 27 :header-rows: 0 29 28 :stub-columns: 0 30 - 31 29 32 30 - 33 31 ··· 40 40 41 41 - Returns a bit array of supported sound formats. 42 42 43 - 44 43 Description 45 44 ----------- 46 45 47 46 This ioctl call asks the Audio Device to tell us about the decoding 48 47 capabilities of the audio hardware. 49 - 50 48 51 49 Return Value 52 50 ------------
+3 -5
Documentation/userspace-api/media/dvb/audio-get-status.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.audio 2 3 3 4 .. _AUDIO_GET_STATUS: 4 5 ··· 17 16 Synopsis 18 17 -------- 19 18 20 - .. c:function:: int ioctl(int fd, AUDIO_GET_STATUS, struct audio_status *status) 21 - :name: AUDIO_GET_STATUS 19 + .. c:macro:: AUDIO_GET_STATUS 22 20 21 + ``int ioctl(int fd, AUDIO_GET_STATUS, struct audio_status *status)`` 23 22 24 23 Arguments 25 24 --------- ··· 27 26 .. flat-table:: 28 27 :header-rows: 0 29 28 :stub-columns: 0 30 - 31 29 32 30 - 33 31 ··· 40 40 41 41 - Returns the current state of Audio Device. 42 42 43 - 44 43 Description 45 44 ----------- 46 45 47 46 This ioctl call asks the Audio Device to return the current state of the 48 47 Audio Device. 49 - 50 48 51 49 Return Value 52 50 ------------
+4 -5
Documentation/userspace-api/media/dvb/audio-pause.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.audio 2 3 3 4 .. _AUDIO_PAUSE: 4 5 ··· 17 16 Synopsis 18 17 -------- 19 18 20 - .. c:function:: int ioctl(int fd, AUDIO_PAUSE) 21 - :name: AUDIO_PAUSE 19 + .. c:macro:: AUDIO_PAUSE 20 + 21 + ``int ioctl(int fd, AUDIO_PAUSE)`` 22 22 23 23 Arguments 24 24 --------- ··· 28 26 :header-rows: 0 29 27 :stub-columns: 0 30 28 31 - 32 29 - .. row 1 33 30 34 31 - int fd 35 32 36 33 - File descriptor returned by a previous call to open(). 37 - 38 34 39 35 Description 40 36 ----------- ··· 40 40 This ioctl call suspends the audio stream being played. Decoding and 41 41 playing are paused. It is then possible to restart again decoding and 42 42 playing process of the audio stream using AUDIO_CONTINUE command. 43 - 44 43 45 44 Return Value 46 45 ------------
+3 -4
Documentation/userspace-api/media/dvb/audio-play.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.audio 2 3 3 4 .. _AUDIO_PLAY: 4 5 ··· 17 16 Synopsis 18 17 -------- 19 18 20 - .. c:function:: int ioctl(int fd, AUDIO_PLAY) 21 - :name: AUDIO_PLAY 19 + .. c:macro:: AUDIO_PLAY 22 20 21 + ``int ioctl(int fd, AUDIO_PLAY)`` 23 22 24 23 Arguments 25 24 --------- ··· 27 26 .. flat-table:: 28 27 :header-rows: 0 29 28 :stub-columns: 0 30 - 31 29 32 30 - .. row 1 33 31 ··· 39 39 40 40 This ioctl call asks the Audio Device to start playing an audio stream 41 41 from the selected source. 42 - 43 42 44 43 Return Value 45 44 ------------
+3 -5
Documentation/userspace-api/media/dvb/audio-select-source.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.audio 2 3 3 4 .. _AUDIO_SELECT_SOURCE: 4 5 ··· 17 16 Synopsis 18 17 -------- 19 18 20 - .. c:function:: int ioctl(int fd, AUDIO_SELECT_SOURCE, struct audio_stream_source *source) 21 - :name: AUDIO_SELECT_SOURCE 19 + .. c:macro:: AUDIO_SELECT_SOURCE 22 20 21 + ``int ioctl(int fd, AUDIO_SELECT_SOURCE, struct audio_stream_source *source)`` 23 22 24 23 Arguments 25 24 --------- ··· 27 26 .. flat-table:: 28 27 :header-rows: 0 29 28 :stub-columns: 0 30 - 31 29 32 30 - 33 31 ··· 40 40 41 41 - Indicates the source that shall be used for the Audio stream. 42 42 43 - 44 43 Description 45 44 ----------- 46 45 ··· 47 48 the input data. The possible sources are demux or memory. If 48 49 AUDIO_SOURCE_MEMORY is selected, the data is fed to the Audio Device 49 50 through the write command. 50 - 51 51 52 52 Return Value 53 53 ------------
+3 -5
Documentation/userspace-api/media/dvb/audio-set-av-sync.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.audio 2 3 3 4 .. _AUDIO_SET_AV_SYNC: 4 5 ··· 17 16 Synopsis 18 17 -------- 19 18 20 - .. c:function:: int ioctl(int fd, AUDIO_SET_AV_SYNC, boolean state) 21 - :name: AUDIO_SET_AV_SYNC 19 + .. c:macro:: AUDIO_SET_AV_SYNC 22 20 21 + ``int ioctl(int fd, AUDIO_SET_AV_SYNC, boolean state)`` 23 22 24 23 Arguments 25 24 --------- ··· 27 26 .. flat-table:: 28 27 :header-rows: 0 29 28 :stub-columns: 0 30 - 31 29 32 30 - 33 31 ··· 44 44 45 45 FALSE: AV-sync OFF 46 46 47 - 48 47 Description 49 48 ----------- 50 49 51 50 This ioctl call asks the Audio Device to turn ON or OFF A/V 52 51 synchronization. 53 - 54 52 55 53 Return Value 56 54 ------------
+4 -5
Documentation/userspace-api/media/dvb/audio-set-bypass-mode.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.audio 2 3 3 4 .. _AUDIO_SET_BYPASS_MODE: 4 5 ··· 17 16 Synopsis 18 17 -------- 19 18 20 - .. c:function:: int ioctl(int fd, AUDIO_SET_BYPASS_MODE, boolean mode) 21 - :name: AUDIO_SET_BYPASS_MODE 19 + .. c:macro:: AUDIO_SET_BYPASS_MODE 20 + 21 + ``int ioctl(int fd, AUDIO_SET_BYPASS_MODE, boolean mode)`` 22 22 23 23 Arguments 24 24 --------- ··· 27 25 .. flat-table:: 28 26 :header-rows: 0 29 27 :stub-columns: 0 30 - 31 28 32 29 - 33 30 ··· 45 44 46 45 FALSE: Bypass is enabled 47 46 48 - 49 47 Description 50 48 ----------- 51 49 ··· 53 53 that can’t be handled by the Digital TV system shall be decoded. Dolby 54 54 DigitalTM streams are automatically forwarded by the Digital TV subsystem if 55 55 the hardware can handle it. 56 - 57 56 58 57 Return Value 59 58 ------------
+4 -5
Documentation/userspace-api/media/dvb/audio-set-id.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.audio 2 3 3 4 .. _AUDIO_SET_ID: 4 5 ··· 17 16 Synopsis 18 17 -------- 19 18 20 - .. c:function:: int ioctl(int fd, AUDIO_SET_ID, int id) 21 - :name: AUDIO_SET_ID 19 + .. c:macro:: AUDIO_SET_ID 20 + 21 + ``int ioctl(int fd, AUDIO_SET_ID, int id)`` 22 22 23 23 Arguments 24 24 --------- ··· 27 25 .. flat-table:: 28 26 :header-rows: 0 29 27 :stub-columns: 0 30 - 31 28 32 29 - 33 30 ··· 40 39 41 40 - audio sub-stream id 42 41 43 - 44 42 Description 45 43 ----------- 46 44 ··· 50 50 other stream types. If the stream type is set the id just specifies the 51 51 substream id of the audio stream and only the first 5 bits are 52 52 recognized. 53 - 54 53 55 54 Return Value 56 55 ------------
+4 -5
Documentation/userspace-api/media/dvb/audio-set-mixer.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.audio 2 3 3 4 .. _AUDIO_SET_MIXER: 4 5 ··· 17 16 Synopsis 18 17 -------- 19 18 20 - .. c:function:: int ioctl(int fd, AUDIO_SET_MIXER, struct audio_mixer *mix) 21 - :name: AUDIO_SET_MIXER 19 + .. c:macro:: AUDIO_SET_MIXER 20 + 21 + ``int ioctl(int fd, AUDIO_SET_MIXER, struct audio_mixer *mix)`` 22 22 23 23 Arguments 24 24 --------- ··· 27 25 .. flat-table:: 28 26 :header-rows: 0 29 27 :stub-columns: 0 30 - 31 28 32 29 - 33 30 ··· 40 39 41 40 - mixer settings. 42 41 43 - 44 42 Description 45 43 ----------- 46 44 47 45 This ioctl lets you adjust the mixer settings of the audio decoder. 48 - 49 46 50 47 Return Value 51 48 ------------
+3 -5
Documentation/userspace-api/media/dvb/audio-set-mute.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.audio 2 3 3 4 .. _AUDIO_SET_MUTE: 4 5 ··· 17 16 Synopsis 18 17 -------- 19 18 20 - .. c:function:: int ioctl(int fd, AUDIO_SET_MUTE, boolean state) 21 - :name: AUDIO_SET_MUTE 19 + .. c:macro:: AUDIO_SET_MUTE 22 20 21 + ``int ioctl(int fd, AUDIO_SET_MUTE, boolean state)`` 23 22 24 23 Arguments 25 24 --------- ··· 27 26 .. flat-table:: 28 27 :header-rows: 0 29 28 :stub-columns: 0 30 - 31 29 32 30 - 33 31 ··· 44 44 45 45 FALSE: Audio Un-mute 46 46 47 - 48 47 Description 49 48 ----------- 50 49 ··· 53 54 54 55 This ioctl call asks the audio device to mute the stream that is 55 56 currently being played. 56 - 57 57 58 58 Return Value 59 59 ------------
+3 -7
Documentation/userspace-api/media/dvb/audio-set-streamtype.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.audio 2 3 3 4 .. _AUDIO_SET_STREAMTYPE: 4 5 ··· 17 16 Synopsis 18 17 -------- 19 18 20 - .. c:function:: int ioctl(fd, AUDIO_SET_STREAMTYPE, int type) 21 - :name: AUDIO_SET_STREAMTYPE 19 + .. c:macro:: AUDIO_SET_STREAMTYPE 22 20 21 + ``int ioctl(fd, AUDIO_SET_STREAMTYPE, int type)`` 23 22 24 23 Arguments 25 24 --------- ··· 27 26 .. flat-table:: 28 27 :header-rows: 0 29 28 :stub-columns: 0 30 - 31 29 32 30 - 33 31 ··· 40 40 41 41 - stream type 42 42 43 - 44 43 Description 45 44 ----------- 46 45 47 46 This ioctl tells the driver which kind of audio stream to expect. This 48 47 is useful if the stream offers several audio sub-streams like LPCM and 49 48 AC3. 50 - 51 49 52 50 Return Value 53 51 ------------ ··· 55 57 :ref:`Generic Error Codes <gen-errors>` chapter. 56 58 57 59 58 - 59 60 .. flat-table:: 60 61 :header-rows: 0 61 62 :stub-columns: 0 62 - 63 63 64 64 - .. row 1 65 65
+4 -5
Documentation/userspace-api/media/dvb/audio-stop.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.audio 2 3 3 4 .. _AUDIO_STOP: 4 5 ··· 17 16 Synopsis 18 17 -------- 19 18 20 - .. c:function:: int ioctl(int fd, AUDIO_STOP) 21 - :name: AUDIO_STOP 19 + .. c:macro:: AUDIO_STOP 20 + 21 + ``int ioctl(int fd, AUDIO_STOP)`` 22 22 23 23 Arguments 24 24 --------- ··· 28 26 :header-rows: 0 29 27 :stub-columns: 0 30 28 31 - 32 29 - .. row 1 33 30 34 31 - int fd 35 32 36 33 - File descriptor returned by a previous call to open(). 37 34 38 - 39 35 Description 40 36 ----------- 41 37 42 38 This ioctl call asks the Audio Device to stop playing the current 43 39 stream. 44 - 45 40 46 41 Return Value 47 42 ------------
+2 -5
Documentation/userspace-api/media/dvb/ca-fclose.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.ca 2 3 3 4 .. _ca_fclose: 4 5 ··· 12 11 13 12 Digital TV CA close() 14 13 15 - 16 14 Synopsis 17 15 -------- 18 16 19 17 .. c:function:: int close(int fd) 20 - :name: dvb-ca-close 21 - 22 18 23 19 Arguments 24 20 --------- 25 21 26 22 ``fd`` 27 - File descriptor returned by a previous call to :c:func:`open() <dvb-ca-open>`. 23 + File descriptor returned by a previous call to :c:func:`open()`. 28 24 29 25 Description 30 26 ----------- 31 27 32 28 This system call closes a previously opened CA device. 33 - 34 29 35 30 Return Value 36 31 ------------
+1 -6
Documentation/userspace-api/media/dvb/ca-fopen.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.ca 2 3 3 4 .. _ca_fopen: 4 5 ··· 12 11 13 12 Digital TV CA open() 14 13 15 - 16 14 Synopsis 17 15 -------- 18 16 19 17 .. c:function:: int open(const char *name, int flags) 20 - :name: dvb-ca-open 21 - 22 18 23 19 Arguments 24 20 --------- ··· 43 45 - open in non-blocking mode 44 46 (blocking mode is the default) 45 47 46 - 47 48 Description 48 49 ----------- 49 50 ··· 60 63 attempts to open the device in this mode will fail, and an error code 61 64 will be returned. 62 65 63 - 64 66 Return Value 65 67 ------------ 66 - 67 68 68 69 On success 0 is returned. 69 70
+4 -4
Documentation/userspace-api/media/dvb/ca-get-cap.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.ca 2 3 3 4 .. _CA_GET_CAP: 4 5 ··· 12 11 13 12 CA_GET_CAP 14 13 15 - 16 14 Synopsis 17 15 -------- 18 16 19 - .. c:function:: int ioctl(fd, CA_GET_CAP, struct ca_caps *caps) 20 - :name: CA_GET_CAP 17 + .. c:macro:: CA_GET_CAP 21 18 19 + ``int ioctl(fd, CA_GET_CAP, struct ca_caps *caps)`` 22 20 23 21 Arguments 24 22 --------- 25 23 26 24 ``fd`` 27 - File descriptor returned by a previous call to :c:func:`open() <dvb-ca-open>`. 25 + File descriptor returned by a previous call to :c:func:`open()`. 28 26 29 27 ``caps`` 30 28 Pointer to struct :c:type:`ca_caps`.
+5 -4
Documentation/userspace-api/media/dvb/ca-get-descr-info.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.ca 2 3 3 4 .. _CA_GET_DESCR_INFO: 4 5 ··· 12 11 13 12 CA_GET_DESCR_INFO 14 13 15 - 16 14 Synopsis 17 15 -------- 18 16 19 - .. c:function:: int ioctl(fd, CA_GET_DESCR_INFO, struct ca_descr_info *desc) 20 - :name: CA_GET_DESCR_INFO 17 + .. c:macro:: CA_GET_DESCR_INFO 18 + 19 + ``int ioctl(fd, CA_GET_DESCR_INFO, struct ca_descr_info *desc)`` 21 20 22 21 Arguments 23 22 --------- 24 23 25 24 ``fd`` 26 - File descriptor returned by a previous call to :c:func:`open() <dvb-ca-open>`. 25 + File descriptor returned by a previous call to :c:func:`open()`. 27 26 28 27 ``desc`` 29 28 Pointer to struct :c:type:`ca_descr_info`.
+4 -6
Documentation/userspace-api/media/dvb/ca-get-msg.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.ca 2 3 3 4 .. _CA_GET_MSG: 4 5 ··· 12 11 13 12 CA_GET_MSG 14 13 15 - 16 14 Synopsis 17 15 -------- 18 16 19 - .. c:function:: int ioctl(fd, CA_GET_MSG, struct ca_msg *msg) 20 - :name: CA_GET_MSG 17 + .. c:macro:: CA_GET_MSG 21 18 19 + ``int ioctl(fd, CA_GET_MSG, struct ca_msg *msg)`` 22 20 23 21 Arguments 24 22 --------- 25 23 26 24 ``fd`` 27 - File descriptor returned by a previous call to :c:func:`open() <dvb-ca-open>`. 25 + File descriptor returned by a previous call to :c:func:`open()`. 28 26 29 27 ``msg`` 30 28 Pointer to struct :c:type:`ca_msg`. ··· 38 38 Please notice that, on most drivers, this is done by reading from 39 39 the /dev/adapter?/ca? device node. 40 40 41 - 42 41 Return Value 43 42 ------------ 44 - 45 43 46 44 On success 0 is returned. 47 45
+4 -5
Documentation/userspace-api/media/dvb/ca-get-slot-info.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.ca 2 3 3 4 .. _CA_GET_SLOT_INFO: 4 5 ··· 12 11 13 12 CA_GET_SLOT_INFO 14 13 15 - 16 14 Synopsis 17 15 -------- 18 16 19 - .. c:function:: int ioctl(fd, CA_GET_SLOT_INFO, struct ca_slot_info *info) 20 - :name: CA_GET_SLOT_INFO 17 + .. c:macro:: CA_GET_SLOT_INFO 21 18 19 + ``int ioctl(fd, CA_GET_SLOT_INFO, struct ca_slot_info *info)`` 22 20 23 21 Arguments 24 22 --------- 25 23 26 24 ``fd`` 27 - File descriptor returned by a previous call to :c:func:`open() <cec-open>`. 25 + File descriptor returned by a previous call to :c:func:`open()`. 28 26 29 27 ``info`` 30 28 Pointer to struct :c:type:`ca_slot_info`. ··· 33 33 34 34 Returns information about a CA slot identified by 35 35 :c:type:`ca_slot_info`.slot_num. 36 - 37 36 38 37 Return Value 39 38 ------------
+4 -5
Documentation/userspace-api/media/dvb/ca-reset.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.ca 2 3 3 4 .. _CA_RESET: 4 5 ··· 12 11 13 12 CA_RESET 14 13 15 - 16 14 Synopsis 17 15 -------- 18 16 19 - .. c:function:: int ioctl(fd, CA_RESET) 20 - :name: CA_RESET 17 + .. c:macro:: CA_RESET 21 18 19 + ``int ioctl(fd, CA_RESET)`` 22 20 23 21 Arguments 24 22 --------- 25 23 26 24 ``fd`` 27 - File descriptor returned by a previous call to :c:func:`open() <cec-open>`. 25 + File descriptor returned by a previous call to :c:func:`open()`. 28 26 29 27 Description 30 28 ----------- 31 29 32 30 Puts the Conditional Access hardware on its initial state. It should 33 31 be called before start using the CA hardware. 34 - 35 32 36 33 Return Value 37 34 ------------
+4 -5
Documentation/userspace-api/media/dvb/ca-send-msg.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.ca 2 3 3 4 .. _CA_SEND_MSG: 4 5 ··· 12 11 13 12 CA_SEND_MSG 14 13 15 - 16 14 Synopsis 17 15 -------- 18 16 19 - .. c:function:: int ioctl(fd, CA_SEND_MSG, struct ca_msg *msg) 20 - :name: CA_SEND_MSG 17 + .. c:macro:: CA_SEND_MSG 21 18 19 + ``int ioctl(fd, CA_SEND_MSG, struct ca_msg *msg)`` 22 20 23 21 Arguments 24 22 --------- 25 23 26 24 ``fd`` 27 - File descriptor returned by a previous call to :c:func:`open() <cec-open>`. 25 + File descriptor returned by a previous call to :c:func:`open()`. 28 26 29 27 ``msg`` 30 28 Pointer to struct :c:type:`ca_msg`. 31 - 32 29 33 30 Description 34 31 -----------
+4 -4
Documentation/userspace-api/media/dvb/ca-set-descr.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.ca 2 3 3 4 .. _CA_SET_DESCR: 4 5 ··· 12 11 13 12 CA_SET_DESCR 14 13 15 - 16 14 Synopsis 17 15 -------- 18 16 19 - .. c:function:: int ioctl(fd, CA_SET_DESCR, struct ca_descr *desc) 20 - :name: CA_SET_DESCR 17 + .. c:macro:: CA_SET_DESCR 21 18 19 + ``int ioctl(fd, CA_SET_DESCR, struct ca_descr *desc)`` 22 20 23 21 Arguments 24 22 --------- 25 23 26 24 ``fd`` 27 - File descriptor returned by a previous call to :c:func:`open() <cec-open>`. 25 + File descriptor returned by a previous call to :c:func:`open()`. 28 26 29 27 ``msg`` 30 28 Pointer to struct :c:type:`ca_descr`.
+4 -6
Documentation/userspace-api/media/dvb/dmx-add-pid.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.dmx 2 3 3 4 .. _DMX_ADD_PID: 4 5 ··· 12 11 13 12 DMX_ADD_PID 14 13 15 - 16 14 Synopsis 17 15 -------- 18 16 19 - .. c:function:: int ioctl(fd, DMX_ADD_PID, __u16 *pid) 20 - :name: DMX_ADD_PID 17 + .. c:macro:: DMX_ADD_PID 21 18 19 + ``int ioctl(fd, DMX_ADD_PID, __u16 *pid)`` 22 20 23 21 Arguments 24 22 --------- 25 23 26 24 ``fd`` 27 - File descriptor returned by :c:func:`open() <dvb-dmx-open>`. 25 + File descriptor returned by :c:func:`open()`. 28 26 29 27 ``pid`` 30 28 PID number to be filtered. 31 - 32 29 33 30 Description 34 31 ----------- ··· 34 35 This ioctl call allows to add multiple PIDs to a transport stream filter 35 36 previously set up with :ref:`DMX_SET_PES_FILTER` and output equal to 36 37 :c:type:`DMX_OUT_TSDEMUX_TAP <dmx_output>`. 37 - 38 38 39 39 Return Value 40 40 ------------
+4 -7
Documentation/userspace-api/media/dvb/dmx-expbuf.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.dmx 2 3 3 4 .. _DMX_EXPBUF: 4 5 ··· 14 13 15 14 .. warning:: this API is still experimental 16 15 17 - 18 16 Synopsis 19 17 ======== 20 18 21 - .. c:function:: int ioctl( int fd, DMX_EXPBUF, struct dmx_exportbuffer *argp ) 22 - :name: DMX_EXPBUF 19 + .. c:macro:: DMX_EXPBUF 23 20 21 + ``int ioctl(int fd, DMX_EXPBUF, struct dmx_exportbuffer *argp)`` 24 22 25 23 Arguments 26 24 ========= 27 25 28 26 ``fd`` 29 - File descriptor returned by :ref:`open() <dmx_fopen>`. 27 + File descriptor returned by :c:func:`open()`. 30 28 31 29 ``argp`` 32 30 Pointer to struct :c:type:`dmx_exportbuffer`. 33 - 34 31 35 32 Description 36 33 =========== ··· 53 54 pass it to other DMABUF-aware devices. It is recommended to close a DMABUF 54 55 file when it is no longer used to allow the associated memory to be reclaimed. 55 56 56 - 57 57 Examples 58 58 ======== 59 - 60 59 61 60 .. code-block:: c 62 61
+3 -6
Documentation/userspace-api/media/dvb/dmx-fclose.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.dmx 2 3 3 4 .. _dmx_fclose: 4 5 ··· 12 11 13 12 Digital TV demux close() 14 13 15 - 16 14 Synopsis 17 15 -------- 18 16 19 17 .. c:function:: int close(int fd) 20 - :name: dvb-dmx-close 21 - 22 18 23 19 Arguments 24 20 --------- 25 21 26 22 ``fd`` 27 23 File descriptor returned by a previous call to 28 - :c:func:`open() <dvb-dmx-open>`. 24 + :c:func:`open()`. 29 25 30 26 Description 31 27 ----------- 32 28 33 29 This system call deactivates and deallocates a filter that was 34 - previously allocated via the :c:func:`open() <dvb-dmx-open>` call. 35 - 30 + previously allocated via the :c:func:`open()` call. 36 31 37 32 Return Value 38 33 ------------
+1 -4
Documentation/userspace-api/media/dvb/dmx-fopen.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.dmx 2 3 3 4 .. _dmx_fopen: 4 5 ··· 12 11 13 12 Digital TV demux open() 14 13 15 - 16 14 Synopsis 17 15 -------- 18 16 19 17 .. c:function:: int open(const char *deviceName, int flags) 20 - :name: dvb-dmx-open 21 18 22 19 Arguments 23 20 --------- ··· 46 47 - open in non-blocking mode 47 48 (blocking mode is the default) 48 49 49 - 50 50 Description 51 51 ----------- 52 52 ··· 65 67 affect the semantics of the ``open()`` call itself. A device opened 66 68 in blocking mode can later be put into non-blocking mode (and vice versa) 67 69 using the ``F_SETFL`` command of the fcntl system call. 68 - 69 70 70 71 Return Value 71 72 ------------
+2 -5
Documentation/userspace-api/media/dvb/dmx-fread.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.dmx 2 3 3 4 .. _dmx_fread: 4 5 ··· 12 11 13 12 Digital TV demux read() 14 13 15 - 16 14 Synopsis 17 15 -------- 18 16 19 17 .. c:function:: size_t read(int fd, void *buf, size_t count) 20 - :name: dvb-dmx-read 21 18 22 19 Arguments 23 20 --------- 24 21 25 22 ``fd`` 26 - File descriptor returned by a previous call to :c:func:`open() <dvb-ca-open>`. 23 + File descriptor returned by a previous call to :c:func:`open()`. 27 24 28 25 ``buf`` 29 26 Buffer to be filled ··· 42 43 if a section filter created with 43 44 :c:type:`DMX_CHECK_CRC <dmx_sct_filter_params>` flag set, 44 45 data that fails on CRC check will be silently ignored. 45 - 46 46 47 47 Return Value 48 48 ------------ ··· 72 74 - - ``EFAULT`` 73 75 - The driver failed to write to the callers buffer due to an 74 76 invalid \*buf pointer. 75 - 76 77 77 78 The generic error codes are described at the 78 79 :ref:`Generic Error Codes <gen-errors>` chapter.
+2 -4
Documentation/userspace-api/media/dvb/dmx-fwrite.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.dmx 2 3 3 4 .. _dmx_fwrite: 4 5 ··· 12 11 13 12 Digital TV demux write() 14 13 15 - 16 14 Synopsis 17 15 -------- 18 16 19 17 .. c:function:: ssize_t write(int fd, const void *buf, size_t count) 20 - :name: dvb-dmx-write 21 18 22 19 Arguments 23 20 --------- 24 21 25 22 ``fd`` 26 - File descriptor returned by a previous call to :c:func:`open() <dvb-ca-open>`. 23 + File descriptor returned by a previous call to :c:func:`open()`. 27 24 28 25 ``buf`` 29 26 Buffer with data to be written ··· 38 39 digitally recorded Transport Stream. Matching filters have to be defined 39 40 in the corresponding physical demux device, ``/dev/dvb/adapter?/demux?``. 40 41 The amount of data to be transferred is implied by count. 41 - 42 42 43 43 Return Value 44 44 ------------
+5 -7
Documentation/userspace-api/media/dvb/dmx-get-pes-pids.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.dmx 2 3 3 4 .. _DMX_GET_PES_PIDS: 4 5 ··· 12 11 13 12 DMX_GET_PES_PIDS 14 13 15 - 16 14 Synopsis 17 15 -------- 18 16 19 - .. c:function:: int ioctl(fd, DMX_GET_PES_PIDS, __u16 pids[5]) 20 - :name: DMX_GET_PES_PIDS 17 + .. c:macro:: DMX_GET_PES_PIDS 18 + 19 + ``int ioctl(fd, DMX_GET_PES_PIDS, __u16 pids[5])`` 21 20 22 21 Arguments 23 22 --------- 24 23 25 24 ``fd`` 26 - File descriptor returned by :c:func:`open() <dvb-dmx-open>`. 25 + File descriptor returned by :c:func:`open()`. 27 26 28 27 ``pids`` 29 28 Array used to store 5 Program IDs. 30 - 31 29 32 30 Description 33 31 ----------- ··· 45 45 pids[DMX_PES_PCR] 4 first Program Clock Reference PID 46 46 ======================= ======== ======================================= 47 47 48 - 49 48 .. note:: 50 49 51 50 A value equal to 0xffff means that the PID was not filled by the 52 51 Kernel. 53 - 54 52 55 53 Return Value 56 54 ------------
+5 -7
Documentation/userspace-api/media/dvb/dmx-get-stc.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.dmx 2 3 3 4 .. _DMX_GET_STC: 4 5 ··· 12 11 13 12 DMX_GET_STC 14 13 15 - 16 14 Synopsis 17 15 -------- 18 16 19 - .. c:function:: int ioctl( int fd, DMX_GET_STC, struct dmx_stc *stc) 20 - :name: DMX_GET_STC 17 + .. c:macro:: DMX_GET_STC 18 + 19 + ``int ioctl(int fd, DMX_GET_STC, struct dmx_stc *stc)`` 21 20 22 21 Arguments 23 22 --------- 24 23 25 24 ``fd`` 26 - File descriptor returned by :c:func:`open() <dvb-dmx-open>`. 25 + File descriptor returned by :c:func:`open()`. 27 26 28 27 ``stc`` 29 28 Pointer to :c:type:`dmx_stc` where the stc data is to be stored. 30 - 31 29 32 30 Description 33 31 ----------- ··· 38 38 The result is returned in form of a ratio with a 64 bit numerator 39 39 and a 32 bit denominator, so the real 90kHz STC value is 40 40 ``stc->stc / stc->base``. 41 - 42 41 43 42 Return Value 44 43 ------------ ··· 59 60 - ``EINVAL`` 60 61 61 62 - Invalid stc number. 62 - 63 63 64 64 The generic error codes are described at the 65 65 :ref:`Generic Error Codes <gen-errors>` chapter.
+6 -9
Documentation/userspace-api/media/dvb/dmx-mmap.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.dmx 2 3 3 4 .. _dmx-mmap: 4 5 ··· 22 21 #include <unistd.h> 23 22 #include <sys/mman.h> 24 23 25 - 26 24 .. c:function:: void *mmap( void *start, size_t length, int prot, int flags, int fd, off_t offset ) 27 - :name: dmx-mmap 28 25 29 26 Arguments 30 27 ========= ··· 53 54 54 55 ``MAP_FIXED`` requests that the driver selects no other address than 55 56 the one specified. If the specified address cannot be used, 56 - :ref:`mmap() <dmx-mmap>` will fail. If ``MAP_FIXED`` is specified, 57 + :c:func:`mmap()` will fail. If ``MAP_FIXED`` is specified, 57 58 ``start`` must be a multiple of the pagesize. Use of this option is 58 59 discouraged. 59 60 ··· 68 69 flags. 69 70 70 71 ``fd`` 71 - File descriptor returned by :ref:`open() <dmx_fopen>`. 72 + File descriptor returned by :c:func:`open()`. 72 73 73 74 ``offset`` 74 75 Offset of the buffer in device memory, as returned by 75 76 :ref:`DMX_QUERYBUF` ioctl. 76 77 77 - 78 78 Description 79 79 =========== 80 80 81 - The :ref:`mmap() <dmx-mmap>` function asks to map ``length`` bytes starting at 81 + The :c:func:`mmap()` function asks to map ``length`` bytes starting at 82 82 ``offset`` in the memory of the device specified by ``fd`` into the 83 83 application address space, preferably at address ``start``. This latter 84 84 address is a hint only, and is usually specified as 0. ··· 86 88 :ref:`DMX_QUERYBUF` ioctl. Buffers must be allocated with the 87 89 :ref:`DMX_REQBUFS` ioctl before they can be queried. 88 90 89 - To unmap buffers the :ref:`munmap() <dmx-munmap>` function is used. 90 - 91 + To unmap buffers the :c:func:`munmap()` function is used. 91 92 92 93 Return Value 93 94 ============ 94 95 95 - On success :ref:`mmap() <dmx-mmap>` returns a pointer to the mapped buffer. On 96 + On success :c:func:`mmap()` returns a pointer to the mapped buffer. On 96 97 error ``MAP_FAILED`` (-1) is returned, and the ``errno`` variable is set 97 98 appropriately. Possible error codes are: 98 99
+5 -9
Documentation/userspace-api/media/dvb/dmx-munmap.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.dmx 2 3 3 4 .. _dmx-munmap: 4 5 ··· 14 13 15 14 .. warning:: This API is still experimental. 16 15 17 - 18 16 Synopsis 19 17 ======== 20 18 ··· 22 22 #include <unistd.h> 23 23 #include <sys/mman.h> 24 24 25 - 26 25 .. c:function:: int munmap( void *start, size_t length ) 27 - :name: dmx-munmap 28 26 29 27 Arguments 30 28 ========= 31 29 32 30 ``start`` 33 31 Address of the mapped buffer as returned by the 34 - :ref:`mmap() <dmx-mmap>` function. 32 + :c:func:`mmap()` function. 35 33 36 34 ``length`` 37 35 Length of the mapped buffer. This must be the same value as given to 38 - :ref:`mmap() <dmx-mmap>`. 39 - 36 + :c:func:`mmap()`. 40 37 41 38 Description 42 39 =========== 43 40 44 - Unmaps a previously with the :ref:`mmap() <dmx-mmap>` function mapped 41 + Unmaps a previously with the :c:func:`mmap()` function mapped 45 42 buffer and frees it, if possible. 46 - 47 43 48 44 Return Value 49 45 ============ 50 46 51 - On success :ref:`munmap() <dmx-munmap>` returns 0, on failure -1 and the 47 + On success :c:func:`munmap()` returns 0, on failure -1 and the 52 48 ``errno`` variable is set appropriately: 53 49 54 50 EINVAL
+8 -9
Documentation/userspace-api/media/dvb/dmx-qbuf.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.dmx 2 3 3 4 .. _DMX_QBUF: 4 5 ··· 14 13 15 14 .. warning:: this API is still experimental 16 15 17 - 18 16 Synopsis 19 17 ======== 20 18 21 - .. c:function:: int ioctl( int fd, DMX_QBUF, struct dmx_buffer *argp ) 22 - :name: DMX_QBUF 19 + .. c:macro:: DMX_QBUF 23 20 24 - .. c:function:: int ioctl( int fd, DMX_DQBUF, struct dmx_buffer *argp ) 25 - :name: DMX_DQBUF 21 + ``int ioctl(int fd, DMX_QBUF, struct dmx_buffer *argp)`` 26 22 23 + .. c:macro:: DMX_DQBUF 24 + 25 + ``int ioctl(int fd, DMX_DQBUF, struct dmx_buffer *argp)`` 27 26 28 27 Arguments 29 28 ========= 30 29 31 30 ``fd`` 32 - File descriptor returned by :ref:`open() <dmx_fopen>`. 31 + File descriptor returned by :c:func:`open()`. 33 32 34 33 ``argp`` 35 34 Pointer to struct :c:type:`dmx_buffer`. 36 - 37 35 38 36 Description 39 37 =========== ··· 60 60 61 61 By default ``DMX_DQBUF`` blocks when no buffer is in the outgoing 62 62 queue. When the ``O_NONBLOCK`` flag was given to the 63 - :ref:`open() <dmx_fopen>` function, ``DMX_DQBUF`` returns 63 + :c:func:`open()` function, ``DMX_DQBUF`` returns 64 64 immediately with an ``EAGAIN`` error code when no buffer is available. 65 65 66 66 The struct :c:type:`dmx_buffer` structure is specified in 67 67 :ref:`buffer`. 68 - 69 68 70 69 Return Value 71 70 ============
+4 -5
Documentation/userspace-api/media/dvb/dmx-querybuf.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.dmx 2 3 3 4 .. _DMX_QUERYBUF: 4 5 ··· 14 13 15 14 .. warning:: this API is still experimental 16 15 17 - 18 16 Synopsis 19 17 ======== 20 18 21 - .. c:function:: int ioctl( int fd, DMX_QUERYBUF, struct dvb_buffer *argp ) 22 - :name: DMX_QUERYBUF 19 + .. c:macro:: DMX_QUERYBUF 23 20 21 + ``int ioctl(int fd, DMX_QUERYBUF, struct dvb_buffer *argp)`` 24 22 25 23 Arguments 26 24 ========= 27 25 28 26 ``fd`` 29 - File descriptor returned by :ref:`open() <dmx_fopen>`. 27 + File descriptor returned by :c:func:`open()`. 30 28 31 29 ``argp`` 32 30 Pointer to struct :c:type:`dvb_buffer`. 33 - 34 31 35 32 Description 36 33 ===========
+4 -6
Documentation/userspace-api/media/dvb/dmx-remove-pid.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.dmx 2 3 3 4 .. _DMX_REMOVE_PID: 4 5 ··· 12 11 13 12 DMX_REMOVE_PID 14 13 15 - 16 14 Synopsis 17 15 -------- 18 16 19 - .. c:function:: int ioctl(fd, DMX_REMOVE_PID, __u16 *pid) 20 - :name: DMX_REMOVE_PID 17 + .. c:macro:: DMX_REMOVE_PID 21 18 19 + ``int ioctl(fd, DMX_REMOVE_PID, __u16 *pid)`` 22 20 23 21 Arguments 24 22 --------- 25 23 26 24 ``fd`` 27 - File descriptor returned by :c:func:`open() <dvb-dmx-open>`. 25 + File descriptor returned by :c:func:`open()`. 28 26 29 27 ``pid`` 30 28 PID of the PES filter to be removed. 31 - 32 29 33 30 Description 34 31 ----------- ··· 35 36 transport stream filter, e. g. a filter previously set up with output 36 37 equal to :c:type:`DMX_OUT_TSDEMUX_TAP <dmx_output>`, created via either 37 38 :ref:`DMX_SET_PES_FILTER` or :ref:`DMX_ADD_PID`. 38 - 39 39 40 40 Return Value 41 41 ------------
+4 -5
Documentation/userspace-api/media/dvb/dmx-reqbufs.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.dmx 2 3 3 4 .. _DMX_REQBUFS: 4 5 ··· 14 13 15 14 .. warning:: this API is still experimental 16 15 17 - 18 16 Synopsis 19 17 ======== 20 18 21 - .. c:function:: int ioctl( int fd, DMX_REQBUFS, struct dmx_requestbuffers *argp ) 22 - :name: DMX_REQBUFS 19 + .. c:macro:: DMX_REQBUFS 23 20 21 + ``int ioctl(int fd, DMX_REQBUFS, struct dmx_requestbuffers *argp)`` 24 22 25 23 Arguments 26 24 ========= 27 25 28 26 ``fd`` 29 - File descriptor returned by :ref:`open() <dmx_fopen>`. 27 + File descriptor returned by :c:func:`open()`. 30 28 31 29 ``argp`` 32 30 Pointer to struct :c:type:`dmx_requestbuffers`. ··· 63 63 buffers, however this cannot succeed when any buffers are still mapped. 64 64 A ``count`` value of zero frees all buffers, after aborting or finishing 65 65 any DMA in progress. 66 - 67 66 68 67 Return Value 69 68 ============
+4 -6
Documentation/userspace-api/media/dvb/dmx-set-buffer-size.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.dmx 2 3 3 4 .. _DMX_SET_BUFFER_SIZE: 4 5 ··· 12 11 13 12 DMX_SET_BUFFER_SIZE 14 13 15 - 16 14 Synopsis 17 15 -------- 18 16 19 - .. c:function:: int ioctl( int fd, DMX_SET_BUFFER_SIZE, unsigned long size) 20 - :name: DMX_SET_BUFFER_SIZE 17 + .. c:macro:: DMX_SET_BUFFER_SIZE 21 18 19 + ``int ioctl(int fd, DMX_SET_BUFFER_SIZE, unsigned long size)`` 22 20 23 21 Arguments 24 22 --------- 25 23 26 24 ``fd`` 27 - File descriptor returned by :c:func:`open() <dvb-dmx-open>`. 25 + File descriptor returned by :c:func:`open()`. 28 26 29 27 ``size`` 30 28 Unsigned long size ··· 36 36 this function is not called a buffer size of ``2 * 4096`` bytes will be 37 37 used. 38 38 39 - 40 39 Return Value 41 40 ------------ 42 - 43 41 44 42 On success 0 is returned. 45 43
+5 -7
Documentation/userspace-api/media/dvb/dmx-set-filter.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.dmx 2 3 3 4 .. _DMX_SET_FILTER: 4 5 ··· 12 11 13 12 DMX_SET_FILTER 14 13 15 - 16 14 Synopsis 17 15 -------- 18 16 19 - .. c:function:: int ioctl( int fd, DMX_SET_FILTER, struct dmx_sct_filter_params *params) 20 - :name: DMX_SET_FILTER 17 + .. c:macro:: DMX_SET_FILTER 18 + 19 + ``int ioctl(int fd, DMX_SET_FILTER, struct dmx_sct_filter_params *params)`` 21 20 22 21 Arguments 23 22 --------- 24 23 25 24 ``fd`` 26 - File descriptor returned by :c:func:`open() <dvb-dmx-open>`. 25 + File descriptor returned by :c:func:`open()`. 27 26 28 27 ``params`` 29 28 30 29 Pointer to structure containing filter parameters. 31 - 32 30 33 31 Description 34 32 ----------- ··· 43 43 :ref:`DMX_START` ioctl call). If a filter was previously set-up, this 44 44 filter will be canceled, and the receive buffer will be flushed. 45 45 46 - 47 46 Return Value 48 47 ------------ 49 - 50 48 51 49 On success 0 is returned. 52 50
+4 -9
Documentation/userspace-api/media/dvb/dmx-set-pes-filter.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.dmx 2 3 3 4 .. _DMX_SET_PES_FILTER: 4 5 ··· 12 11 13 12 DMX_SET_PES_FILTER 14 13 15 - 16 14 Synopsis 17 15 -------- 18 16 19 - .. c:function:: int ioctl( int fd, DMX_SET_PES_FILTER, struct dmx_pes_filter_params *params) 20 - :name: DMX_SET_PES_FILTER 17 + .. c:macro:: DMX_SET_PES_FILTER 21 18 19 + ``int ioctl(int fd, DMX_SET_PES_FILTER, struct dmx_pes_filter_params *params)`` 22 20 23 21 Arguments 24 22 --------- 25 23 26 - 27 24 ``fd`` 28 - File descriptor returned by :c:func:`open() <dvb-dmx-open>`. 25 + File descriptor returned by :c:func:`open()`. 29 26 30 27 ``params`` 31 28 Pointer to structure containing filter parameters. 32 - 33 29 34 30 Description 35 31 ----------- ··· 35 37 provided. By a PES filter is meant a filter that is based just on the 36 38 packet identifier (PID), i.e. no PES header or payload filtering 37 39 capability is supported. 38 - 39 40 40 41 Return Value 41 42 ------------ ··· 51 54 :stub-columns: 0 52 55 :widths: 1 16 53 56 54 - 55 57 - .. row 1 56 58 57 59 - ``EBUSY`` ··· 59 63 There are active filters filtering data from another input source. 60 64 Make sure that these filters are stopped before starting this 61 65 filter. 62 - 63 66 64 67 The generic error codes are described at the 65 68 :ref:`Generic Error Codes <gen-errors>` chapter.
+4 -7
Documentation/userspace-api/media/dvb/dmx-start.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.dmx 2 3 3 4 .. _DMX_START: 4 5 ··· 12 11 13 12 DMX_START 14 13 15 - 16 14 Synopsis 17 15 -------- 18 16 19 - .. c:function:: int ioctl( int fd, DMX_START) 20 - :name: DMX_START 17 + .. c:macro:: DMX_START 21 18 19 + ``int ioctl(int fd, DMX_START)`` 22 20 23 21 Arguments 24 22 --------- 25 23 26 24 ``fd`` 27 - File descriptor returned by :c:func:`open() <dvb-dmx-open>`. 25 + File descriptor returned by :c:func:`open()`. 28 26 29 27 Description 30 28 ----------- 31 29 32 30 This ioctl call is used to start the actual filtering operation defined 33 31 via the ioctl calls :ref:`DMX_SET_FILTER` or :ref:`DMX_SET_PES_FILTER`. 34 - 35 32 36 33 Return Value 37 34 ------------ ··· 44 45 .. flat-table:: 45 46 :header-rows: 0 46 47 :stub-columns: 0 47 - 48 48 49 49 - .. row 1 50 50 ··· 60 62 There are active filters filtering data from another input source. 61 63 Make sure that these filters are stopped before starting this 62 64 filter. 63 - 64 65 65 66 The generic error codes are described at the 66 67 :ref:`Generic Error Codes <gen-errors>` chapter.
+4 -5
Documentation/userspace-api/media/dvb/dmx-stop.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.dmx 2 3 3 4 .. _DMX_STOP: 4 5 ··· 12 11 13 12 DMX_STOP 14 13 15 - 16 14 Synopsis 17 15 -------- 18 16 19 - .. c:function:: int ioctl( int fd, DMX_STOP) 20 - :name: DMX_STOP 17 + .. c:macro:: DMX_STOP 21 18 19 + ``int ioctl(int fd, DMX_STOP)`` 22 20 23 21 Arguments 24 22 --------- 25 23 26 24 ``fd`` 27 - File descriptor returned by :c:func:`open() <dvb-dmx-open>`. 25 + File descriptor returned by :c:func:`open()`. 28 26 29 27 Description 30 28 ----------- ··· 31 31 This ioctl call is used to stop the actual filtering operation defined 32 32 via the ioctl calls :ref:`DMX_SET_FILTER` or :ref:`DMX_SET_PES_FILTER` and 33 33 started via the :ref:`DMX_START` command. 34 - 35 34 36 35 Return Value 37 36 ------------
+4 -5
Documentation/userspace-api/media/dvb/fe-diseqc-recv-slave-reply.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.fe 2 3 3 4 .. _FE_DISEQC_RECV_SLAVE_REPLY: 4 5 ··· 12 11 13 12 FE_DISEQC_RECV_SLAVE_REPLY - Receives reply from a DiSEqC 2.0 command 14 13 15 - 16 14 Synopsis 17 15 ======== 18 16 19 - .. c:function:: int ioctl( int fd, FE_DISEQC_RECV_SLAVE_REPLY, struct dvb_diseqc_slave_reply *argp ) 20 - :name: FE_DISEQC_RECV_SLAVE_REPLY 17 + .. c:macro:: FE_DISEQC_RECV_SLAVE_REPLY 21 18 19 + ``int ioctl(int fd, FE_DISEQC_RECV_SLAVE_REPLY, struct dvb_diseqc_slave_reply *argp)`` 22 20 23 21 Arguments 24 22 ========= 25 23 26 24 ``fd`` 27 - File descriptor returned by :ref:`open() <frontend_f_open>`. 25 + File descriptor returned by :c:func:`open()`. 28 26 29 27 ``argp`` 30 28 pointer to struct :c:type:`dvb_diseqc_slave_reply`. 31 - 32 29 33 30 Description 34 31 ===========
+4 -5
Documentation/userspace-api/media/dvb/fe-diseqc-reset-overload.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.fe 2 3 3 4 .. _FE_DISEQC_RESET_OVERLOAD: 4 5 ··· 12 11 13 12 FE_DISEQC_RESET_OVERLOAD - Restores the power to the antenna subsystem, if it was powered off due - to power overload. 14 13 15 - 16 14 Synopsis 17 15 ======== 18 16 19 - .. c:function:: int ioctl( int fd, FE_DISEQC_RESET_OVERLOAD, NULL ) 20 - :name: FE_DISEQC_RESET_OVERLOAD 17 + .. c:macro:: FE_DISEQC_RESET_OVERLOAD 21 18 19 + ``int ioctl(int fd, FE_DISEQC_RESET_OVERLOAD, NULL)`` 22 20 23 21 Arguments 24 22 ========= 25 23 26 24 ``fd`` 27 - File descriptor returned by :ref:`open() <frontend_f_open>`. 25 + File descriptor returned by :c:func:`open()`. 28 26 29 27 Description 30 28 =========== ··· 32 32 this ioctl call restores the power to the bus. The call requires 33 33 read/write access to the device. This call has no effect if the device 34 34 is manually powered off. Not all Digital TV adapters support this ioctl. 35 - 36 35 37 36 Return Value 38 37 ============
+4 -6
Documentation/userspace-api/media/dvb/fe-diseqc-send-burst.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.fe 2 3 3 4 .. _FE_DISEQC_SEND_BURST: 4 5 ··· 12 11 13 12 FE_DISEQC_SEND_BURST - Sends a 22KHz tone burst for 2x1 mini DiSEqC satellite selection. 14 13 15 - 16 14 Synopsis 17 15 ======== 18 16 19 - .. c:function:: int ioctl( int fd, FE_DISEQC_SEND_BURST, enum fe_sec_mini_cmd tone ) 20 - :name: FE_DISEQC_SEND_BURST 17 + .. c:macro:: FE_DISEQC_SEND_BURST 21 18 19 + ``int ioctl(int fd, FE_DISEQC_SEND_BURST, enum fe_sec_mini_cmd tone)`` 22 20 23 21 Arguments 24 22 ========= 25 23 26 24 ``fd`` 27 - File descriptor returned by :ref:`open() <frontend_f_open>`. 25 + File descriptor returned by :c:func:`open()`. 28 26 29 27 ``tone`` 30 28 An integer enumered value described at :c:type:`fe_sec_mini_cmd`. 31 - 32 29 33 30 Description 34 31 =========== ··· 37 38 38 39 It provides support for what's specified at 39 40 `Digital Satellite Equipment Control (DiSEqC) - Simple "ToneBurst" Detection Circuit specification. <http://www.eutelsat.com/files/contributed/satellites/pdf/Diseqc/associated%20docs/simple_tone_burst_detec.pdf>`__ 40 - 41 41 42 42 Return Value 43 43 ============
+4 -5
Documentation/userspace-api/media/dvb/fe-diseqc-send-master-cmd.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.fe 2 3 3 4 .. _FE_DISEQC_SEND_MASTER_CMD: 4 5 ··· 12 11 13 12 FE_DISEQC_SEND_MASTER_CMD - Sends a DiSEqC command 14 13 15 - 16 14 Synopsis 17 15 ======== 18 16 19 - .. c:function:: int ioctl( int fd, FE_DISEQC_SEND_MASTER_CMD, struct dvb_diseqc_master_cmd *argp ) 20 - :name: FE_DISEQC_SEND_MASTER_CMD 17 + .. c:macro:: FE_DISEQC_SEND_MASTER_CMD 21 18 19 + ``int ioctl(int fd, FE_DISEQC_SEND_MASTER_CMD, struct dvb_diseqc_master_cmd *argp)`` 22 20 23 21 Arguments 24 22 ========= 25 23 26 24 ``fd`` 27 - File descriptor returned by :ref:`open() <frontend_f_open>`. 25 + File descriptor returned by :c:func:`open()`. 28 26 29 27 ``argp`` 30 28 pointer to struct 31 29 :c:type:`dvb_diseqc_master_cmd` 32 - 33 30 34 31 Description 35 32 ===========
+4 -6
Documentation/userspace-api/media/dvb/fe-dishnetwork-send-legacy-cmd.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.fe 2 3 3 4 .. _FE_DISHNETWORK_SEND_LEGACY_CMD: 4 5 ··· 12 11 13 12 FE_DISHNETWORK_SEND_LEGACY_CMD 14 13 15 - 16 14 Synopsis 17 15 ======== 18 16 19 - .. c:function:: int ioctl(int fd, FE_DISHNETWORK_SEND_LEGACY_CMD, unsigned long cmd) 20 - :name: FE_DISHNETWORK_SEND_LEGACY_CMD 17 + .. c:macro:: FE_DISHNETWORK_SEND_LEGACY_CMD 21 18 19 + ``int ioctl(int fd, FE_DISHNETWORK_SEND_LEGACY_CMD, unsigned long cmd)`` 22 20 23 21 Arguments 24 22 ========= 25 23 26 24 ``fd`` 27 - File descriptor returned by :c:func:`open() <dvb-fe-open>`. 25 + File descriptor returned by :c:func:`open()`. 28 26 29 27 ``cmd`` 30 28 Sends the specified raw cmd to the dish via DISEqC. 31 - 32 29 33 30 Description 34 31 =========== ··· 40 41 41 42 As support for this ioctl were added in 2004, this means that such 42 43 dishes were already legacy in 2004. 43 - 44 44 45 45 Return Value 46 46 ============
+4 -6
Documentation/userspace-api/media/dvb/fe-enable-high-lnb-voltage.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.fe 2 3 3 4 .. _FE_ENABLE_HIGH_LNB_VOLTAGE: 4 5 ··· 12 11 13 12 FE_ENABLE_HIGH_LNB_VOLTAGE - Select output DC level between normal LNBf voltages or higher LNBf - voltages. 14 13 15 - 16 14 Synopsis 17 15 ======== 18 16 19 - .. c:function:: int ioctl( int fd, FE_ENABLE_HIGH_LNB_VOLTAGE, unsigned int high ) 20 - :name: FE_ENABLE_HIGH_LNB_VOLTAGE 17 + .. c:macro:: FE_ENABLE_HIGH_LNB_VOLTAGE 21 18 19 + ``int ioctl(int fd, FE_ENABLE_HIGH_LNB_VOLTAGE, unsigned int high)`` 22 20 23 21 Arguments 24 22 ========= 25 23 26 24 ``fd`` 27 - File descriptor returned by :ref:`open() <frontend_f_open>`. 25 + File descriptor returned by :c:func:`open()`. 28 26 29 27 ``high`` 30 28 Valid flags: ··· 33 33 - >0 - enables slightly higher voltages instead of 13/18V, in order 34 34 to compensate for long antenna cables. 35 35 36 - 37 36 Description 38 37 =========== 39 38 40 39 Select output DC level between normal LNBf voltages or higher LNBf 41 40 voltages between 0 (normal) or a value grater than 0 for higher 42 41 voltages. 43 - 44 42 45 43 Return Value 46 44 ============
+4 -8
Documentation/userspace-api/media/dvb/fe-get-event.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.fe 2 3 3 4 .. _FE_GET_EVENT: 4 5 ··· 14 13 15 14 .. attention:: This ioctl is deprecated. 16 15 17 - 18 16 Synopsis 19 17 ======== 20 18 21 - .. c:function:: int ioctl(int fd, FE_GET_EVENT, struct dvb_frontend_event *ev) 22 - :name: FE_GET_EVENT 19 + .. c:macro:: FE_GET_EVENT 23 20 21 + ``int ioctl(int fd, FE_GET_EVENT, struct dvb_frontend_event *ev)`` 24 22 25 23 Arguments 26 24 ========= 27 25 28 26 ``fd`` 29 - File descriptor returned by :c:func:`open() <dvb-fe-open>`. 27 + File descriptor returned by :c:func:`open()`. 30 28 31 29 ``ev`` 32 30 Points to the location where the event, if any, is to be stored. 33 - 34 31 35 32 Description 36 33 =========== ··· 39 40 with errno set to ``EWOULDBLOCK``. In the former case, the call blocks until 40 41 an event becomes available. 41 42 42 - 43 43 Return Value 44 44 ============ 45 45 ··· 47 49 On error -1 is returned, and the ``errno`` variable is set 48 50 appropriately. 49 51 50 - 51 52 .. flat-table:: 52 53 :header-rows: 0 53 54 :stub-columns: 0 54 - 55 55 56 56 - .. row 1 57 57
+4 -8
Documentation/userspace-api/media/dvb/fe-get-frontend.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.fe 2 3 3 4 .. _FE_GET_FRONTEND: 4 5 ··· 14 13 15 14 .. attention:: This ioctl is deprecated. 16 15 17 - 18 16 Synopsis 19 17 ======== 20 18 21 - .. c:function:: int ioctl(int fd, FE_GET_FRONTEND, struct dvb_frontend_parameters *p) 22 - :name: FE_GET_FRONTEND 19 + .. c:macro:: FE_GET_FRONTEND 23 20 21 + ``int ioctl(int fd, FE_GET_FRONTEND, struct dvb_frontend_parameters *p)`` 24 22 25 23 Arguments 26 24 ========= 27 25 28 26 ``fd`` 29 - File descriptor returned by :c:func:`open() <dvb-fe-open>`. 30 - 27 + File descriptor returned by :c:func:`open()`. 31 28 32 29 ``p`` 33 30 Points to parameters for tuning operation. 34 - 35 31 36 32 Description 37 33 =========== 38 34 39 35 This ioctl call queries the currently effective frontend parameters. For 40 36 this command, read-only access to the device is sufficient. 41 - 42 37 43 38 Return Value 44 39 ============ ··· 47 50 .. flat-table:: 48 51 :header-rows: 0 49 52 :stub-columns: 0 50 - 51 53 52 54 - .. row 1 53 55
+4 -7
Documentation/userspace-api/media/dvb/fe-get-info.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.fe 2 3 3 4 .. _FE_GET_INFO: 4 5 ··· 13 12 FE_GET_INFO - Query Digital TV frontend capabilities and returns information 14 13 about the - front-end. This call only requires read-only access to the device. 15 14 16 - 17 15 Synopsis 18 16 ======== 19 17 20 - .. c:function:: int ioctl( int fd, FE_GET_INFO, struct dvb_frontend_info *argp ) 21 - :name: FE_GET_INFO 18 + .. c:macro:: FE_GET_INFO 22 19 20 + ``int ioctl(int fd, FE_GET_INFO, struct dvb_frontend_info *argp)`` 23 21 24 22 Arguments 25 23 ========= 26 24 27 25 ``fd`` 28 - File descriptor returned by :ref:`open() <frontend_f_open>`. 26 + File descriptor returned by :c:func:`open()`. 29 27 30 28 ``argp`` 31 29 pointer to struct :c:type:`dvb_frontend_info` 32 - 33 30 34 31 Description 35 32 =========== ··· 39 40 When the driver is not compatible with this specification the ioctl 40 41 returns an error. 41 42 42 - 43 43 frontend capabilities 44 44 ===================== 45 45 ··· 46 48 supported only on some specific frontend types. 47 49 48 50 The frontend capabilities are described at :c:type:`fe_caps`. 49 - 50 51 51 52 Return Value 52 53 ============
+7 -8
Documentation/userspace-api/media/dvb/fe-get-property.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.fe 2 3 3 4 .. _FE_GET_PROPERTY: 4 5 ··· 12 11 13 12 FE_SET_PROPERTY - FE_GET_PROPERTY - FE_SET_PROPERTY sets one or more frontend properties. - FE_GET_PROPERTY returns one or more frontend properties. 14 13 15 - 16 14 Synopsis 17 15 ======== 18 16 19 - .. c:function:: int ioctl( int fd, FE_GET_PROPERTY, struct dtv_properties *argp ) 20 - :name: FE_GET_PROPERTY 17 + .. c:macro:: FE_GET_PROPERTY 21 18 22 - .. c:function:: int ioctl( int fd, FE_SET_PROPERTY, struct dtv_properties *argp ) 23 - :name: FE_SET_PROPERTY 19 + ``int ioctl(int fd, FE_GET_PROPERTY, struct dtv_properties *argp)`` 24 20 21 + .. c:macro:: FE_SET_PROPERTY 22 + 23 + ``int ioctl(int fd, FE_SET_PROPERTY, struct dtv_properties *argp)`` 25 24 26 25 Arguments 27 26 ========= 28 27 29 28 ``fd`` 30 - File descriptor returned by :ref:`open() <frontend_f_open>`. 29 + File descriptor returned by :c:func:`open()`. 31 30 32 31 ``argp`` 33 32 Pointer to struct :c:type:`dtv_properties`. 34 - 35 33 36 34 Description 37 35 =========== ··· 62 62 - No properties are changed, and statistics aren't reset. 63 63 64 64 - This call only requires read-only access to the device. 65 - 66 65 67 66 Return Value 68 67 ============
+4 -5
Documentation/userspace-api/media/dvb/fe-read-ber.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.fe 2 3 3 4 .. _FE_READ_BER: 4 5 ··· 17 16 Synopsis 18 17 ======== 19 18 20 - .. c:function:: int ioctl(int fd, FE_READ_BER, uint32_t *ber) 21 - :name: FE_READ_BER 19 + .. c:macro:: FE_READ_BER 22 20 21 + ``int ioctl(int fd, FE_READ_BER, uint32_t *ber)`` 23 22 24 23 Arguments 25 24 ========= 26 25 27 26 ``fd`` 28 - File descriptor returned by :c:func:`open() <dvb-fe-open>`. 27 + File descriptor returned by :c:func:`open()`. 29 28 30 29 ``ber`` 31 30 The bit error rate is stored into \*ber. 32 - 33 31 34 32 Description 35 33 =========== ··· 36 36 This ioctl call returns the bit error rate for the signal currently 37 37 received/demodulated by the front-end. For this command, read-only 38 38 access to the device is sufficient. 39 - 40 39 41 40 Return Value 42 41 ============
+4 -5
Documentation/userspace-api/media/dvb/fe-read-signal-strength.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.fe 2 3 3 4 .. _FE_READ_SIGNAL_STRENGTH: 4 5 ··· 17 16 Synopsis 18 17 ======== 19 18 20 - .. c:function:: int ioctl( int fd, FE_READ_SIGNAL_STRENGTH, uint16_t *strength) 21 - :name: FE_READ_SIGNAL_STRENGTH 19 + .. c:macro:: FE_READ_SIGNAL_STRENGTH 22 20 21 + ``int ioctl(int fd, FE_READ_SIGNAL_STRENGTH, uint16_t *strength)`` 23 22 24 23 Arguments 25 24 ========= 26 25 27 26 ``fd`` 28 - File descriptor returned by :c:func:`open() <dvb-fe-open>`. 27 + File descriptor returned by :c:func:`open()`. 29 28 30 29 ``strength`` 31 30 The signal strength value is stored into \*strength. 32 - 33 31 34 32 Description 35 33 =========== ··· 36 36 This ioctl call returns the signal strength value for the signal 37 37 currently received by the front-end. For this command, read-only access 38 38 to the device is sufficient. 39 - 40 39 41 40 Return Value 42 41 ============
+4 -5
Documentation/userspace-api/media/dvb/fe-read-snr.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.fe 2 3 3 4 .. _FE_READ_SNR: 4 5 ··· 17 16 Synopsis 18 17 ======== 19 18 20 - .. c:function:: int ioctl(int fd, FE_READ_SNR, int16_t *snr) 21 - :name: FE_READ_SNR 19 + .. c:macro:: FE_READ_SNR 22 20 21 + ``int ioctl(int fd, FE_READ_SNR, int16_t *snr)`` 23 22 24 23 Arguments 25 24 ========= 26 25 27 26 ``fd`` 28 - File descriptor returned by :c:func:`open() <dvb-fe-open>`. 27 + File descriptor returned by :c:func:`open()`. 29 28 30 29 ``snr`` 31 30 The signal-to-noise ratio is stored into \*snr. 32 - 33 31 34 32 Description 35 33 =========== ··· 36 36 This ioctl call returns the signal-to-noise ratio for the signal 37 37 currently received by the front-end. For this command, read-only access 38 38 to the device is sufficient. 39 - 40 39 41 40 Return Value 42 41 ============
+4 -7
Documentation/userspace-api/media/dvb/fe-read-status.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.fe 2 3 3 4 .. _FE_READ_STATUS: 4 5 ··· 12 11 13 12 FE_READ_STATUS - Returns status information about the front-end. This call only requires - read-only access to the device 14 13 15 - 16 14 Synopsis 17 15 ======== 18 16 19 - .. c:function:: int ioctl( int fd, FE_READ_STATUS, unsigned int *status ) 20 - :name: FE_READ_STATUS 17 + .. c:macro:: FE_READ_STATUS 21 18 19 + ``int ioctl(int fd, FE_READ_STATUS, unsigned int *status)`` 22 20 23 21 Arguments 24 22 ========= 25 23 26 24 ``fd`` 27 - File descriptor returned by :ref:`open() <frontend_f_open>`. 25 + File descriptor returned by :c:func:`open()`. 28 26 29 27 ``status`` 30 28 pointer to a bitmask integer filled with the values defined by enum 31 29 :c:type:`fe_status`. 32 - 33 30 34 31 Description 35 32 =========== ··· 43 44 varies according with the architecture. This needs to be fixed in the 44 45 future. 45 46 46 - 47 47 int fe_status 48 48 ============= 49 49 50 50 The fe_status parameter is used to indicate the current state and/or 51 51 state changes of the frontend hardware. It is produced using the enum 52 52 :c:type:`fe_status` values on a bitmask 53 - 54 53 55 54 Return Value 56 55 ============
+4 -5
Documentation/userspace-api/media/dvb/fe-read-uncorrected-blocks.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.fe 2 3 3 4 .. _FE_READ_UNCORRECTED_BLOCKS: 4 5 ··· 17 16 Synopsis 18 17 ======== 19 18 20 - .. c:function:: int ioctl( int fd, FE_READ_UNCORRECTED_BLOCKS, uint32_t *ublocks) 21 - :name: FE_READ_UNCORRECTED_BLOCKS 19 + .. c:macro:: FE_READ_UNCORRECTED_BLOCKS 22 20 21 + ``int ioctl(int fd, FE_READ_UNCORRECTED_BLOCKS, uint32_t *ublocks)`` 23 22 24 23 Arguments 25 24 ========= 26 25 27 26 ``fd`` 28 - File descriptor returned by :c:func:`open() <dvb-fe-open>`. 27 + File descriptor returned by :c:func:`open()`. 29 28 30 29 ``ublocks`` 31 30 The total number of uncorrected blocks seen by the driver so far. 32 - 33 31 34 32 Description 35 33 =========== ··· 38 38 increment in block count during a specific time interval should be 39 39 calculated. For this command, read-only access to the device is 40 40 sufficient. 41 - 42 41 43 42 Return Value 44 43 ============
+4 -6
Documentation/userspace-api/media/dvb/fe-set-frontend-tune-mode.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.fe 2 3 3 4 .. _FE_SET_FRONTEND_TUNE_MODE: 4 5 ··· 12 11 13 12 FE_SET_FRONTEND_TUNE_MODE - Allow setting tuner mode flags to the frontend. 14 13 15 - 16 14 Synopsis 17 15 ======== 18 16 19 - .. c:function:: int ioctl( int fd, FE_SET_FRONTEND_TUNE_MODE, unsigned int flags ) 20 - :name: FE_SET_FRONTEND_TUNE_MODE 17 + .. c:macro:: FE_SET_FRONTEND_TUNE_MODE 21 18 19 + ``int ioctl(int fd, FE_SET_FRONTEND_TUNE_MODE, unsigned int flags)`` 22 20 23 21 Arguments 24 22 ========= 25 23 26 24 ``fd`` 27 - File descriptor returned by :ref:`open() <frontend_f_open>`. 25 + File descriptor returned by :c:func:`open()`. 28 26 29 27 ``flags`` 30 28 Valid flags: ··· 37 37 is closed, this flag will be automatically turned off when the 38 38 device is reopened read-write. 39 39 40 - 41 40 Description 42 41 =========== 43 42 44 43 Allow setting tuner mode flags to the frontend, between 0 (normal) or 45 44 ``FE_TUNE_MODE_ONESHOT`` mode 46 - 47 45 48 46 Return Value 49 47 ============
+4 -7
Documentation/userspace-api/media/dvb/fe-set-frontend.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.fe 2 3 3 4 .. _FE_SET_FRONTEND: 4 5 ··· 14 13 15 14 FE_SET_FRONTEND 16 15 17 - 18 16 Synopsis 19 17 ======== 20 18 21 - .. c:function:: int ioctl(int fd, FE_SET_FRONTEND, struct dvb_frontend_parameters *p) 22 - :name: FE_SET_FRONTEND 19 + .. c:macro:: FE_SET_FRONTEND 23 20 21 + ``int ioctl(int fd, FE_SET_FRONTEND, struct dvb_frontend_parameters *p)`` 24 22 25 23 Arguments 26 24 ========= 27 25 28 26 ``fd`` 29 - File descriptor returned by :c:func:`open() <dvb-fe-open>`. 27 + File descriptor returned by :c:func:`open()`. 30 28 31 29 ``p`` 32 30 Points to parameters for tuning operation. 33 - 34 31 35 32 Description 36 33 =========== ··· 42 43 operation is initiated before the previous one was completed, the 43 44 previous operation will be aborted in favor of the new one. This command 44 45 requires read/write access to the device. 45 - 46 46 47 47 Return Value 48 48 ============ ··· 63 65 - ``EINVAL`` 64 66 65 67 - Maximum supported symbol rate reached. 66 - 67 68 68 69 Generic error codes are described at the 69 70 :ref:`Generic Error Codes <gen-errors>` chapter.
+4 -6
Documentation/userspace-api/media/dvb/fe-set-tone.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.fe 2 3 3 4 .. _FE_SET_TONE: 4 5 ··· 12 11 13 12 FE_SET_TONE - Sets/resets the generation of the continuous 22kHz tone. 14 13 15 - 16 14 Synopsis 17 15 ======== 18 16 19 - .. c:function:: int ioctl( int fd, FE_SET_TONE, enum fe_sec_tone_mode tone ) 20 - :name: FE_SET_TONE 17 + .. c:macro:: FE_SET_TONE 21 18 19 + ``int ioctl(int fd, FE_SET_TONE, enum fe_sec_tone_mode tone)`` 22 20 23 21 Arguments 24 22 ========= 25 23 26 24 ``fd`` 27 - File descriptor returned by :ref:`open() <frontend_f_open>`. 25 + File descriptor returned by :c:func:`open()`. 28 26 29 27 ``tone`` 30 28 an integer enumered value described at :c:type:`fe_sec_tone_mode` 31 - 32 29 33 30 Description 34 31 =========== ··· 43 44 setting a tone may interfere on other devices, as they may lose the 44 45 capability of selecting the band. So, it is recommended that applications 45 46 would change to SEC_TONE_OFF when the device is not used. 46 - 47 47 48 48 Return Value 49 49 ============
+4 -6
Documentation/userspace-api/media/dvb/fe-set-voltage.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.fe 2 3 3 4 .. _FE_SET_VOLTAGE: 4 5 ··· 12 11 13 12 FE_SET_VOLTAGE - Allow setting the DC level sent to the antenna subsystem. 14 13 15 - 16 14 Synopsis 17 15 ======== 18 16 19 - .. c:function:: int ioctl( int fd, FE_SET_VOLTAGE, enum fe_sec_voltage voltage ) 20 - :name: FE_SET_VOLTAGE 17 + .. c:macro:: FE_SET_VOLTAGE 21 18 19 + ``int ioctl(int fd, FE_SET_VOLTAGE, enum fe_sec_voltage voltage)`` 22 20 23 21 Arguments 24 22 ========= 25 23 26 24 ``fd`` 27 - File descriptor returned by :ref:`open() <frontend_f_open>`. 25 + File descriptor returned by :c:func:`open()`. 28 26 29 27 ``voltage`` 30 28 an integer enumered value described at :c:type:`fe_sec_voltage` 31 - 32 29 33 30 Description 34 31 =========== ··· 47 48 the capability of setting polarization or IF. So, on those cases, setting 48 49 the voltage to SEC_VOLTAGE_OFF while the device is not is used is 49 50 recommended. 50 - 51 51 52 52 Return Value 53 53 ============
+2 -6
Documentation/userspace-api/media/dvb/frontend_f_close.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.fe 2 3 3 4 .. _frontend_f_close: 4 5 ··· 12 11 13 12 fe-close - Close a frontend device 14 13 15 - 16 14 Synopsis 17 15 ======== 18 16 ··· 19 19 20 20 #include <unistd.h> 21 21 22 - 23 22 .. c:function:: int close( int fd ) 24 - :name: dvb-fe-close 25 23 26 24 Arguments 27 25 ========= 28 26 29 27 ``fd`` 30 - File descriptor returned by :c:func:`open() <dvb-fe-open>`. 31 - 28 + File descriptor returned by :c:func:`open()`. 32 29 33 30 Description 34 31 =========== ··· 33 36 This system call closes a previously opened front-end device. After 34 37 closing a front-end device, its corresponding hardware might be powered 35 38 down automatically. 36 - 37 39 38 40 Return Value 39 41 ============
+2 -8
Documentation/userspace-api/media/dvb/frontend_f_open.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.fe 2 3 3 4 .. _frontend_f_open: 4 5 ··· 12 11 13 12 fe-open - Open a frontend device 14 13 15 - 16 14 Synopsis 17 15 ======== 18 16 ··· 19 19 20 20 #include <fcntl.h> 21 21 22 - 23 22 .. c:function:: int open( const char *device_name, int flags ) 24 - :name: dvb-fe-open 25 23 26 24 Arguments 27 25 ========= ··· 41 43 driver is temporarily busy. 42 44 43 45 Other flags have no effect. 44 - 45 46 46 47 Description 47 48 =========== ··· 67 70 powered up, and that other front-ends may have been powered down to make 68 71 that possible. 69 72 70 - 71 73 Return Value 72 74 ============ 73 75 74 - On success :ref:`open() <frontend_f_open>` returns the new file descriptor. 76 + On success :c:func:`open()` returns the new file descriptor. 75 77 On error, -1 is returned, and the ``errno`` variable is set appropriately. 76 78 77 79 Possible error codes are: 78 - 79 80 80 81 On success 0 is returned, and :c:type:`ca_slot_info` is filled. 81 82 ··· 99 104 - - ``ENFILE`` 100 105 - The limit on the total number of files open on the system has been 101 106 reached. 102 - 103 107 104 108 The generic error codes are described at the 105 109 :ref:`Generic Error Codes <gen-errors>` chapter.
+4 -5
Documentation/userspace-api/media/dvb/net-add-if.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.net 2 3 3 4 .. _NET_ADD_IF: 4 5 ··· 12 11 13 12 NET_ADD_IF - Creates a new network interface for a given Packet ID. 14 13 15 - 16 14 Synopsis 17 15 ======== 18 16 19 - .. c:function:: int ioctl( int fd, NET_ADD_IF, struct dvb_net_if *net_if ) 20 - :name: NET_ADD_IF 17 + .. c:macro:: NET_ADD_IF 21 18 19 + ``int ioctl(int fd, NET_ADD_IF, struct dvb_net_if *net_if)`` 22 20 23 21 Arguments 24 22 ========= 25 23 26 24 ``fd`` 27 - File descriptor returned by :ref:`open() <frontend_f_open>`. 25 + File descriptor returned by :c:func:`open()`. 28 26 29 27 ``net_if`` 30 28 pointer to struct :c:type:`dvb_net_if` 31 - 32 29 33 30 Description 34 31 ===========
+4 -6
Documentation/userspace-api/media/dvb/net-get-if.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.net 2 3 3 4 .. _NET_GET_IF: 4 5 ··· 12 11 13 12 NET_GET_IF - Read the configuration data of an interface created via - :ref:`NET_ADD_IF <net>`. 14 13 15 - 16 14 Synopsis 17 15 ======== 18 16 19 - .. c:function:: int ioctl( int fd, NET_GET_IF, struct dvb_net_if *net_if ) 20 - :name: NET_GET_IF 17 + .. c:macro:: NET_GET_IF 21 18 19 + ``int ioctl(int fd, NET_GET_IF, struct dvb_net_if *net_if)`` 22 20 23 21 Arguments 24 22 ========= 25 23 26 24 ``fd`` 27 - File descriptor returned by :ref:`open() <frontend_f_open>`. 25 + File descriptor returned by :c:func:`open()`. 28 26 29 27 ``net_if`` 30 28 pointer to struct :c:type:`dvb_net_if` 31 - 32 29 33 30 Description 34 31 =========== ··· 37 38 encapsulation type used on such interface. If the interface was not 38 39 created yet with :ref:`NET_ADD_IF <net>`, it will return -1 and fill 39 40 the ``errno`` with ``EINVAL`` error code. 40 - 41 41 42 42 Return Value 43 43 ============
+4 -6
Documentation/userspace-api/media/dvb/net-remove-if.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.net 2 3 3 4 .. _NET_REMOVE_IF: 4 5 ··· 12 11 13 12 NET_REMOVE_IF - Removes a network interface. 14 13 15 - 16 14 Synopsis 17 15 ======== 18 16 19 - .. c:function:: int ioctl( int fd, NET_REMOVE_IF, int ifnum ) 20 - :name: NET_REMOVE_IF 17 + .. c:macro:: NET_REMOVE_IF 21 18 19 + ``int ioctl(int fd, NET_REMOVE_IF, int ifnum)`` 22 20 23 21 Arguments 24 22 ========= 25 23 26 24 ``fd`` 27 - File descriptor returned by :ref:`open() <frontend_f_open>`. 25 + File descriptor returned by :c:func:`open()`. 28 26 29 27 ``net_if`` 30 28 number of the interface to be removed 31 - 32 29 33 30 Description 34 31 =========== 35 32 36 33 The NET_REMOVE_IF ioctl deletes an interface previously created via 37 34 :ref:`NET_ADD_IF <net>`. 38 - 39 35 40 36 Return Value 41 37 ============
+3 -5
Documentation/userspace-api/media/dvb/video-clear-buffer.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.video 2 3 3 4 .. _VIDEO_CLEAR_BUFFER: 4 5 ··· 17 16 Synopsis 18 17 -------- 19 18 20 - .. c:function:: int ioctl(fd, VIDEO_CLEAR_BUFFER) 21 - :name: VIDEO_CLEAR_BUFFER 19 + .. c:macro:: VIDEO_CLEAR_BUFFER 22 20 21 + ``int ioctl(fd, VIDEO_CLEAR_BUFFER)`` 23 22 24 23 Arguments 25 24 --------- ··· 27 26 .. flat-table:: 28 27 :header-rows: 0 29 28 :stub-columns: 0 30 - 31 29 32 30 - .. row 1 33 31 ··· 40 40 41 41 - Equals VIDEO_CLEAR_BUFFER for this command. 42 42 43 - 44 43 Description 45 44 ----------- 46 45 47 46 This ioctl call clears all video buffers in the driver and in the 48 47 decoder hardware. 49 - 50 48 51 49 Return Value 52 50 ------------
+4 -6
Documentation/userspace-api/media/dvb/video-command.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.video 2 3 3 4 .. _VIDEO_COMMAND: 4 5 ··· 17 16 Synopsis 18 17 -------- 19 18 20 - .. c:function:: int ioctl(int fd, VIDEO_COMMAND, struct video_command *cmd) 21 - :name: VIDEO_COMMAND 19 + .. c:macro:: VIDEO_COMMAND 22 20 21 + ``int ioctl(int fd, VIDEO_COMMAND, struct video_command *cmd)`` 23 22 24 23 Arguments 25 24 --------- ··· 27 26 .. flat-table:: 28 27 :header-rows: 0 29 28 :stub-columns: 0 30 - 31 29 32 30 - .. row 1 33 31 ··· 46 46 47 47 - Commands the decoder. 48 48 49 - 50 49 Description 51 50 ----------- 52 51 ··· 58 59 :ref:`VIDIOC_DECODER_CMD` documentation for 59 60 more information. 60 61 61 - .. c:type:: struct video_command 62 + .. c:type:: video_command 62 63 63 64 .. code-block:: c 64 65 ··· 87 88 } raw; 88 89 }; 89 90 }; 90 - 91 91 92 92 Return Value 93 93 ------------
+3 -5
Documentation/userspace-api/media/dvb/video-continue.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.video 2 3 3 4 .. _VIDEO_CONTINUE: 4 5 ··· 17 16 Synopsis 18 17 -------- 19 18 20 - .. c:function:: int ioctl(fd, VIDEO_CONTINUE) 21 - :name: VIDEO_CONTINUE 19 + .. c:macro:: VIDEO_CONTINUE 22 20 21 + ``int ioctl(fd, VIDEO_CONTINUE)`` 23 22 24 23 Arguments 25 24 --------- ··· 27 26 .. flat-table:: 28 27 :header-rows: 0 29 28 :stub-columns: 0 30 - 31 29 32 30 - .. row 1 33 31 ··· 40 40 41 41 - Equals VIDEO_CONTINUE for this command. 42 42 43 - 44 43 Description 45 44 ----------- 46 45 ··· 48 49 49 50 This ioctl call restarts decoding and playing processes of the video 50 51 stream which was played before a call to VIDEO_FREEZE was made. 51 - 52 52 53 53 Return Value 54 54 ------------
+3 -7
Documentation/userspace-api/media/dvb/video-fast-forward.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.video 2 3 3 4 .. _VIDEO_FAST_FORWARD: 4 5 ··· 17 16 Synopsis 18 17 -------- 19 18 20 - .. c:function:: int ioctl(fd, VIDEO_FAST_FORWARD, int nFrames) 21 - :name: VIDEO_FAST_FORWARD 19 + .. c:macro:: VIDEO_FAST_FORWARD 22 20 21 + ``int ioctl(fd, VIDEO_FAST_FORWARD, int nFrames)`` 23 22 24 23 Arguments 25 24 --------- ··· 27 26 .. flat-table:: 28 27 :header-rows: 0 29 28 :stub-columns: 0 30 - 31 29 32 30 - .. row 1 33 31 ··· 46 46 47 47 - The number of frames to skip. 48 48 49 - 50 49 Description 51 50 ----------- 52 51 53 52 This ioctl call asks the Video Device to skip decoding of N number of 54 53 I-frames. This call can only be used if VIDEO_SOURCE_MEMORY is 55 54 selected. 56 - 57 55 58 56 Return Value 59 57 ------------ ··· 61 63 :ref:`Generic Error Codes <gen-errors>` chapter. 62 64 63 65 64 - 65 66 .. flat-table:: 66 67 :header-rows: 0 67 68 :stub-columns: 0 68 - 69 69 70 70 - .. row 1 71 71
+1 -5
Documentation/userspace-api/media/dvb/video-fclose.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.video 2 3 3 4 .. _video_fclose: 4 5 ··· 19 18 20 19 .. c:function:: int close(int fd) 21 20 22 - 23 21 Arguments 24 22 --------- 25 23 ··· 26 26 :header-rows: 0 27 27 :stub-columns: 0 28 28 29 - 30 29 - .. row 1 31 30 32 31 - int fd 33 32 34 33 - File descriptor returned by a previous call to open(). 35 34 36 - 37 35 Description 38 36 ----------- 39 37 40 38 This system call closes a previously opened video device. 41 - 42 39 43 40 Return Value 44 41 ------------ ··· 43 46 .. flat-table:: 44 47 :header-rows: 0 45 48 :stub-columns: 0 46 - 47 49 48 50 - .. row 1 49 51
+1 -5
Documentation/userspace-api/media/dvb/video-fopen.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.video 2 3 3 4 .. _video_fopen: 4 5 ··· 19 18 20 19 .. c:function:: int open(const char *deviceName, int flags) 21 20 22 - 23 21 Arguments 24 22 --------- 25 23 26 24 .. flat-table:: 27 25 :header-rows: 0 28 26 :stub-columns: 0 29 - 30 27 31 28 - .. row 1 32 29 ··· 58 59 - 59 60 - (blocking mode is the default) 60 61 61 - 62 62 Description 63 63 ----------- 64 64 ··· 77 79 ioctl call that can be used is VIDEO_GET_STATUS. All other call will 78 80 return an error code. 79 81 80 - 81 82 Return Value 82 83 ------------ 83 84 ··· 85 88 .. flat-table:: 86 89 :header-rows: 0 87 90 :stub-columns: 0 88 - 89 91 90 92 - .. row 1 91 93
+3 -5
Documentation/userspace-api/media/dvb/video-freeze.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.video 2 3 3 4 .. _VIDEO_FREEZE: 4 5 ··· 17 16 Synopsis 18 17 -------- 19 18 20 - .. c:function:: int ioctl(fd, VIDEO_FREEZE) 21 - :name: VIDEO_FREEZE 19 + .. c:macro:: VIDEO_FREEZE 22 20 21 + ``int ioctl(fd, VIDEO_FREEZE)`` 23 22 24 23 Arguments 25 24 --------- ··· 27 26 .. flat-table:: 28 27 :header-rows: 0 29 28 :stub-columns: 0 30 - 31 29 32 30 - .. row 1 33 31 ··· 40 40 41 41 - Equals VIDEO_FREEZE for this command. 42 42 43 - 44 43 Description 45 44 ----------- 46 45 ··· 52 53 If VIDEO_SOURCE_MEMORY is selected in the ioctl call 53 54 VIDEO_SELECT_SOURCE, the Digital TV subsystem will not decode any more data 54 55 until the ioctl call VIDEO_CONTINUE or VIDEO_PLAY is performed. 55 - 56 56 57 57 Return Value 58 58 ------------
+1 -5
Documentation/userspace-api/media/dvb/video-fwrite.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.video 2 3 3 4 .. _video_fwrite: 4 5 ··· 19 18 20 19 .. c:function:: size_t write(int fd, const void *buf, size_t count) 21 20 22 - 23 21 Arguments 24 22 --------- 25 23 26 24 .. flat-table:: 27 25 :header-rows: 0 28 26 :stub-columns: 0 29 - 30 27 31 28 - .. row 1 32 29 ··· 44 45 45 46 - Size of buf. 46 47 47 - 48 48 Description 49 49 ----------- 50 50 ··· 53 55 is not specified the function will block until buffer space is 54 56 available. The amount of data to be transferred is implied by count. 55 57 56 - 57 58 Return Value 58 59 ------------ 59 60 60 61 .. flat-table:: 61 62 :header-rows: 0 62 63 :stub-columns: 0 63 - 64 64 65 65 - .. row 1 66 66
+3 -5
Documentation/userspace-api/media/dvb/video-get-capabilities.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.video 2 3 3 4 .. _VIDEO_GET_CAPABILITIES: 4 5 ··· 17 16 Synopsis 18 17 -------- 19 18 20 - .. c:function:: int ioctl(fd, VIDEO_GET_CAPABILITIES, unsigned int *cap) 21 - :name: VIDEO_GET_CAPABILITIES 19 + .. c:macro:: VIDEO_GET_CAPABILITIES 22 20 21 + ``int ioctl(fd, VIDEO_GET_CAPABILITIES, unsigned int *cap)`` 23 22 24 23 Arguments 25 24 --------- ··· 27 26 .. flat-table:: 28 27 :header-rows: 0 29 28 :stub-columns: 0 30 - 31 29 32 30 - .. row 1 33 31 ··· 46 46 47 47 - Pointer to a location where to store the capability information. 48 48 49 - 50 49 Description 51 50 ----------- 52 51 53 52 This ioctl call asks the video device about its decoding capabilities. 54 53 On success it returns and integer which has bits set according to the 55 54 defines in section ??. 56 - 57 55 58 56 Return Value 59 57 ------------
+3 -5
Documentation/userspace-api/media/dvb/video-get-event.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.video 2 3 3 4 .. _VIDEO_GET_EVENT: 4 5 ··· 17 16 Synopsis 18 17 -------- 19 18 20 - .. c:function:: int ioctl(fd, VIDEO_GET_EVENT, struct video_event *ev) 21 - :name: VIDEO_GET_EVENT 19 + .. c:macro:: VIDEO_GET_EVENT 22 20 21 + ``int ioctl(fd, VIDEO_GET_EVENT, struct video_event *ev)`` 23 22 24 23 Arguments 25 24 --------- ··· 27 26 .. flat-table:: 28 27 :header-rows: 0 29 28 :stub-columns: 0 30 - 31 29 32 30 - .. row 1 33 31 ··· 45 45 - struct video_event \*ev 46 46 47 47 - Points to the location where the event, if any, is to be stored. 48 - 49 48 50 49 Description 51 50 ----------- ··· 91 92 .. flat-table:: 92 93 :header-rows: 0 93 94 :stub-columns: 0 94 - 95 95 96 96 - .. row 1 97 97
+3 -5
Documentation/userspace-api/media/dvb/video-get-frame-count.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.video 2 3 3 4 .. _VIDEO_GET_FRAME_COUNT: 4 5 ··· 17 16 Synopsis 18 17 -------- 19 18 20 - .. c:function:: int ioctl(int fd, VIDEO_GET_FRAME_COUNT, __u64 *pts) 21 - :name: VIDEO_GET_FRAME_COUNT 19 + .. c:macro:: VIDEO_GET_FRAME_COUNT 22 20 21 + ``int ioctl(int fd, VIDEO_GET_FRAME_COUNT, __u64 *pts)`` 23 22 24 23 Arguments 25 24 --------- ··· 27 26 .. flat-table:: 28 27 :header-rows: 0 29 28 :stub-columns: 0 30 - 31 29 32 30 - .. row 1 33 31 ··· 47 47 - Returns the number of frames displayed since the decoder was 48 48 started. 49 49 50 - 51 50 Description 52 51 ----------- 53 52 ··· 56 57 57 58 This ioctl call asks the Video Device to return the number of displayed 58 59 frames since the decoder was started. 59 - 60 60 61 61 Return Value 62 62 ------------
+3 -5
Documentation/userspace-api/media/dvb/video-get-pts.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.video 2 3 3 4 .. _VIDEO_GET_PTS: 4 5 ··· 17 16 Synopsis 18 17 -------- 19 18 20 - .. c:function:: int ioctl(int fd, VIDEO_GET_PTS, __u64 *pts) 21 - :name: VIDEO_GET_PTS 19 + .. c:macro:: VIDEO_GET_PTS 22 20 21 + ``int ioctl(int fd, VIDEO_GET_PTS, __u64 *pts)`` 23 22 24 23 Arguments 25 24 --------- ··· 27 26 .. flat-table:: 28 27 :header-rows: 0 29 28 :stub-columns: 0 30 - 31 29 32 30 - .. row 1 33 31 ··· 51 51 but may also be a value close to it like the PTS of the last 52 52 decoded frame or the last PTS extracted by the PES parser. 53 53 54 - 55 54 Description 56 55 ----------- 57 56 ··· 60 61 61 62 This ioctl call asks the Video Device to return the current PTS 62 63 timestamp. 63 - 64 64 65 65 Return Value 66 66 ------------
+3 -5
Documentation/userspace-api/media/dvb/video-get-size.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.video 2 3 3 4 .. _VIDEO_GET_SIZE: 4 5 ··· 17 16 Synopsis 18 17 -------- 19 18 20 - .. c:function:: int ioctl(int fd, VIDEO_GET_SIZE, video_size_t *size) 21 - :name: VIDEO_GET_SIZE 19 + .. c:macro:: VIDEO_GET_SIZE 22 20 21 + ``int ioctl(int fd, VIDEO_GET_SIZE, video_size_t *size)`` 23 22 24 23 Arguments 25 24 --------- ··· 27 26 .. flat-table:: 28 27 :header-rows: 0 29 28 :stub-columns: 0 30 - 31 29 32 30 - .. row 1 33 31 ··· 46 46 47 47 - Returns the size and aspect ratio. 48 48 49 - 50 49 Description 51 50 ----------- 52 51 ··· 60 61 int h; 61 62 video_format_t aspect_ratio; 62 63 } video_size_t; 63 - 64 64 65 65 Return Value 66 66 ------------
+3 -4
Documentation/userspace-api/media/dvb/video-get-status.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.video 2 3 3 4 .. _VIDEO_GET_STATUS: 4 5 ··· 17 16 Synopsis 18 17 -------- 19 18 20 - .. c:function:: int ioctl(fd, VIDEO_GET_STATUS, struct video_status *status) 21 - :name: VIDEO_GET_STATUS 19 + .. c:macro:: VIDEO_GET_STATUS 22 20 21 + ``int ioctl(fd, VIDEO_GET_STATUS, struct video_status *status)`` 23 22 24 23 Arguments 25 24 --------- ··· 27 26 .. flat-table:: 28 27 :header-rows: 0 29 28 :stub-columns: 0 30 - 31 29 32 30 - .. row 1 33 31 ··· 45 45 - struct video_status \*status 46 46 47 47 - Returns the current status of the Video Device. 48 - 49 48 50 49 Description 51 50 -----------
+3 -5
Documentation/userspace-api/media/dvb/video-play.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.video 2 3 3 4 .. _VIDEO_PLAY: 4 5 ··· 17 16 Synopsis 18 17 -------- 19 18 20 - .. c:function:: int ioctl(fd, VIDEO_PLAY) 21 - :name: VIDEO_PLAY 19 + .. c:macro:: VIDEO_PLAY 22 20 21 + ``int ioctl(fd, VIDEO_PLAY)`` 23 22 24 23 Arguments 25 24 --------- ··· 27 26 .. flat-table:: 28 27 :header-rows: 0 29 28 :stub-columns: 0 30 - 31 29 32 30 - .. row 1 33 31 ··· 40 40 41 41 - Equals VIDEO_PLAY for this command. 42 42 43 - 44 43 Description 45 44 ----------- 46 45 ··· 48 49 49 50 This ioctl call asks the Video Device to start playing a video stream 50 51 from the selected source. 51 - 52 52 53 53 Return Value 54 54 ------------
+3 -4
Documentation/userspace-api/media/dvb/video-select-source.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.video 2 3 3 4 .. _VIDEO_SELECT_SOURCE: 4 5 ··· 17 16 Synopsis 18 17 -------- 19 18 20 - .. c:function:: int ioctl(fd, VIDEO_SELECT_SOURCE, video_stream_source_t source) 21 - :name: VIDEO_SELECT_SOURCE 19 + .. c:macro:: VIDEO_SELECT_SOURCE 22 20 21 + ``int ioctl(fd, VIDEO_SELECT_SOURCE, video_stream_source_t source)`` 23 22 24 23 Arguments 25 24 --------- ··· 27 26 .. flat-table:: 28 27 :header-rows: 0 29 28 :stub-columns: 0 30 - 31 29 32 30 - .. row 1 33 31 ··· 45 45 - video_stream_source_t source 46 46 47 47 - Indicates which source shall be used for the Video stream. 48 - 49 48 50 49 Description 51 50 -----------
+3 -5
Documentation/userspace-api/media/dvb/video-set-blank.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.video 2 3 3 4 .. _VIDEO_SET_BLANK: 4 5 ··· 17 16 Synopsis 18 17 -------- 19 18 20 - .. c:function:: int ioctl(fd, VIDEO_SET_BLANK, boolean mode) 21 - :name: VIDEO_SET_BLANK 19 + .. c:macro:: VIDEO_SET_BLANK 22 20 21 + ``int ioctl(fd, VIDEO_SET_BLANK, boolean mode)`` 23 22 24 23 Arguments 25 24 --------- ··· 27 26 .. flat-table:: 28 27 :header-rows: 0 29 28 :stub-columns: 0 30 - 31 29 32 30 - .. row 1 33 31 ··· 51 51 - 52 52 - FALSE: Show last decoded frame. 53 53 54 - 55 54 Description 56 55 ----------- 57 56 58 57 This ioctl call asks the Video Device to blank out the picture. 59 - 60 58 61 59 Return Value 62 60 ------------
+3 -5
Documentation/userspace-api/media/dvb/video-set-display-format.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.video 2 3 3 4 .. _VIDEO_SET_DISPLAY_FORMAT: 4 5 ··· 17 16 Synopsis 18 17 -------- 19 18 20 - .. c:function:: int ioctl(fd, VIDEO_SET_DISPLAY_FORMAT) 21 - :name: VIDEO_SET_DISPLAY_FORMAT 19 + .. c:macro:: VIDEO_SET_DISPLAY_FORMAT 22 20 21 + ``int ioctl(fd, VIDEO_SET_DISPLAY_FORMAT)`` 23 22 24 23 Arguments 25 24 --------- ··· 27 26 .. flat-table:: 28 27 :header-rows: 0 29 28 :stub-columns: 0 30 - 31 29 32 30 - .. row 1 33 31 ··· 46 46 47 47 - Selects the video format to be used. 48 48 49 - 50 49 Description 51 50 ----------- 52 51 53 52 This ioctl call asks the Video Device to select the video format to be 54 53 applied by the MPEG chip on the video. 55 - 56 54 57 55 Return Value 58 56 ------------
+3 -6
Documentation/userspace-api/media/dvb/video-set-format.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.video 2 3 3 4 .. _VIDEO_SET_FORMAT: 4 5 ··· 17 16 Synopsis 18 17 -------- 19 18 20 - .. c:function:: int ioctl(fd, VIDEO_SET_FORMAT, video_format_t format) 21 - :name: VIDEO_SET_FORMAT 19 + .. c:macro:: VIDEO_SET_FORMAT 22 20 21 + ``int ioctl(fd, VIDEO_SET_FORMAT, video_format_t format)`` 23 22 24 23 Arguments 25 24 --------- ··· 27 26 .. flat-table:: 28 27 :header-rows: 0 29 28 :stub-columns: 0 30 - 31 29 32 30 - .. row 1 33 31 ··· 45 45 - video_format_t format 46 46 47 47 - video format of TV as defined in section ??. 48 - 49 48 50 49 Description 51 50 ----------- ··· 71 72 :ref:`Generic Error Codes <gen-errors>` chapter. 72 73 73 74 74 - 75 75 .. flat-table:: 76 76 :header-rows: 0 77 77 :stub-columns: 0 78 - 79 78 80 79 - .. row 1 81 80
+3 -5
Documentation/userspace-api/media/dvb/video-set-streamtype.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.video 2 3 3 4 .. _VIDEO_SET_STREAMTYPE: 4 5 ··· 17 16 Synopsis 18 17 -------- 19 18 20 - .. c:function:: int ioctl(fd, VIDEO_SET_STREAMTYPE, int type) 21 - :name: VIDEO_SET_STREAMTYPE 19 + .. c:macro:: VIDEO_SET_STREAMTYPE 22 20 21 + ``int ioctl(fd, VIDEO_SET_STREAMTYPE, int type)`` 23 22 24 23 Arguments 25 24 --------- ··· 27 26 .. flat-table:: 28 27 :header-rows: 0 29 28 :stub-columns: 0 30 - 31 29 32 30 - .. row 1 33 31 ··· 46 46 47 47 - stream type 48 48 49 - 50 49 Description 51 50 ----------- 52 51 53 52 This ioctl tells the driver which kind of stream to expect being written 54 53 to it. If this call is not used the default of video PES is used. Some 55 54 drivers might not support this call and always expect PES. 56 - 57 55 58 56 Return Value 59 57 ------------
+3 -7
Documentation/userspace-api/media/dvb/video-slowmotion.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.video 2 3 3 4 .. _VIDEO_SLOWMOTION: 4 5 ··· 17 16 Synopsis 18 17 -------- 19 18 20 - .. c:function:: int ioctl(fd, VIDEO_SLOWMOTION, int nFrames) 21 - :name: VIDEO_SLOWMOTION 19 + .. c:macro:: VIDEO_SLOWMOTION 22 20 21 + ``int ioctl(fd, VIDEO_SLOWMOTION, int nFrames)`` 23 22 24 23 Arguments 25 24 --------- ··· 27 26 .. flat-table:: 28 27 :header-rows: 0 29 28 :stub-columns: 0 30 - 31 29 32 30 - .. row 1 33 31 ··· 46 46 47 47 - The number of times to repeat each frame. 48 48 49 - 50 49 Description 51 50 ----------- 52 51 53 52 This ioctl call asks the video device to repeat decoding frames N number 54 53 of times. This call can only be used if VIDEO_SOURCE_MEMORY is 55 54 selected. 56 - 57 55 58 56 Return Value 59 57 ------------ ··· 61 63 :ref:`Generic Error Codes <gen-errors>` chapter. 62 64 63 65 64 - 65 66 .. flat-table:: 66 67 :header-rows: 0 67 68 :stub-columns: 0 68 - 69 69 70 70 - .. row 1 71 71
+3 -5
Documentation/userspace-api/media/dvb/video-stillpicture.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.video 2 3 3 4 .. _VIDEO_STILLPICTURE: 4 5 ··· 17 16 Synopsis 18 17 -------- 19 18 20 - .. c:function:: int ioctl(fd, VIDEO_STILLPICTURE, struct video_still_picture *sp) 21 - :name: VIDEO_STILLPICTURE 19 + .. c:macro:: VIDEO_STILLPICTURE 22 20 21 + ``int ioctl(fd, VIDEO_STILLPICTURE, struct video_still_picture *sp)`` 23 22 24 23 Arguments 25 24 --------- ··· 27 26 .. flat-table:: 28 27 :header-rows: 0 29 28 :stub-columns: 0 30 - 31 29 32 30 - .. row 1 33 31 ··· 46 46 47 47 - Pointer to a location where an I-frame and size is stored. 48 48 49 - 50 49 Description 51 50 ----------- 52 51 53 52 This ioctl call asks the Video Device to display a still picture 54 53 (I-frame). The input data shall contain an I-frame. If the pointer is 55 54 NULL, then the current displayed still picture is blanked. 56 - 57 55 58 56 Return Value 59 57 ------------
+3 -5
Documentation/userspace-api/media/dvb/video-stop.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.video 2 3 3 4 .. _VIDEO_STOP: 4 5 ··· 17 16 Synopsis 18 17 -------- 19 18 20 - .. c:function:: int ioctl(fd, VIDEO_STOP, boolean mode) 21 - :name: VIDEO_STOP 19 + .. c:macro:: VIDEO_STOP 22 20 21 + ``int ioctl(fd, VIDEO_STOP, boolean mode)`` 23 22 24 23 Arguments 25 24 --------- ··· 27 26 .. flat-table:: 28 27 :header-rows: 0 29 28 :stub-columns: 0 30 - 31 29 32 30 - .. row 1 33 31 ··· 56 56 - 57 57 - FALSE: Show last decoded frame. 58 58 59 - 60 59 Description 61 60 ----------- 62 61 ··· 65 66 This ioctl call asks the Video Device to stop playing the current 66 67 stream. Depending on the input parameter, the screen can be blanked out 67 68 or displaying the last decoded frame. 68 - 69 69 70 70 Return Value 71 71 ------------
+3 -5
Documentation/userspace-api/media/dvb/video-try-command.rst
··· 1 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 + .. c:namespace:: DTV.video 2 3 3 4 .. _VIDEO_TRY_COMMAND: 4 5 ··· 17 16 Synopsis 18 17 -------- 19 18 20 - .. c:function:: int ioctl(int fd, VIDEO_TRY_COMMAND, struct video_command *cmd) 21 - :name: VIDEO_TRY_COMMAND 19 + .. c:macro:: VIDEO_TRY_COMMAND 22 20 21 + ``int ioctl(int fd, VIDEO_TRY_COMMAND, struct video_command *cmd)`` 23 22 24 23 Arguments 25 24 --------- ··· 27 26 .. flat-table:: 28 27 :header-rows: 0 29 28 :stub-columns: 0 30 - 31 29 32 30 - .. row 1 33 31 ··· 46 46 47 47 - Try a decoder command. 48 48 49 - 50 49 Description 51 50 ----------- 52 51 ··· 57 58 subset of the ``v4l2_decoder_cmd`` struct, so refer to the 58 59 :ref:`VIDIOC_TRY_DECODER_CMD <VIDIOC_DECODER_CMD>` documentation 59 60 for more information. 60 - 61 61 62 62 Return Value 63 63 ------------