Commit fc833980 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

doc-rst: linux_tv: dvb: put return value at the end

On some syscall descriptions, the tables are described after
the return value. Do that inside descriptions.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 0060665c
...@@ -58,8 +58,6 @@ On success 0 is returned, on error -1 and the ``errno`` variable is set ...@@ -58,8 +58,6 @@ On success 0 is returned, on error -1 and the ``errno`` variable is set
appropriately. The generic error codes are described at the appropriately. The generic error codes are described at the
:ref:`Generic Error Codes <gen-errors>` chapter. :ref:`Generic Error Codes <gen-errors>` chapter.
.. flat-table:: .. flat-table::
:header-rows: 0 :header-rows: 0
:stub-columns: 0 :stub-columns: 0
......
...@@ -58,8 +58,6 @@ On success 0 is returned, on error -1 and the ``errno`` variable is set ...@@ -58,8 +58,6 @@ On success 0 is returned, on error -1 and the ``errno`` variable is set
appropriately. The generic error codes are described at the appropriately. The generic error codes are described at the
:ref:`Generic Error Codes <gen-errors>` chapter. :ref:`Generic Error Codes <gen-errors>` chapter.
.. flat-table:: .. flat-table::
:header-rows: 0 :header-rows: 0
:stub-columns: 0 :stub-columns: 0
......
...@@ -57,8 +57,6 @@ On success 0 is returned, on error -1 and the ``errno`` variable is set ...@@ -57,8 +57,6 @@ On success 0 is returned, on error -1 and the ``errno`` variable is set
appropriately. The generic error codes are described at the appropriately. The generic error codes are described at the
:ref:`Generic Error Codes <gen-errors>` chapter. :ref:`Generic Error Codes <gen-errors>` chapter.
.. flat-table:: .. flat-table::
:header-rows: 0 :header-rows: 0
:stub-columns: 0 :stub-columns: 0
......
...@@ -36,17 +36,11 @@ DESCRIPTION ...@@ -36,17 +36,11 @@ DESCRIPTION
Receives reply from a DiSEqC 2.0 command. Receives reply from a DiSEqC 2.0 command.
RETURN VALUE
============
On success 0 is returned, on error -1 and the ``errno`` variable is set
appropriately. The generic error codes are described at the
:ref:`Generic Error Codes <gen-errors>` chapter.
.. _dvb-diseqc-slave-reply: .. _dvb-diseqc-slave-reply:
struct dvb_diseqc_slave_reply
-----------------------------
.. flat-table:: struct dvb_diseqc_slave_reply .. flat-table:: struct dvb_diseqc_slave_reply
:header-rows: 0 :header-rows: 0
:stub-columns: 0 :stub-columns: 0
...@@ -78,3 +72,10 @@ appropriately. The generic error codes are described at the ...@@ -78,3 +72,10 @@ appropriately. The generic error codes are described at the
- Return from ioctl after timeout ms with errorcode when no message - Return from ioctl after timeout ms with errorcode when no message
was received was received
RETURN VALUE
============
On success 0 is returned, on error -1 and the ``errno`` variable is set
appropriately. The generic error codes are described at the
:ref:`Generic Error Codes <gen-errors>` chapter.
...@@ -40,21 +40,11 @@ read/write permissions. ...@@ -40,21 +40,11 @@ read/write permissions.
It provides support for what's specified at It provides support for what's specified at
`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>`__ `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>`__
RETURN VALUE
============
On success 0 is returned, on error -1 and the ``errno`` variable is set
appropriately. The generic error codes are described at the
:ref:`Generic Error Codes <gen-errors>` chapter.
.. _fe-sec-mini-cmd-t: .. _fe-sec-mini-cmd-t:
enum fe_sec_mini_cmd enum fe_sec_mini_cmd
==================== ====================
.. _fe-sec-mini-cmd: .. _fe-sec-mini-cmd:
.. flat-table:: enum fe_sec_mini_cmd .. flat-table:: enum fe_sec_mini_cmd
...@@ -83,3 +73,10 @@ enum fe_sec_mini_cmd ...@@ -83,3 +73,10 @@ enum fe_sec_mini_cmd
``SEC_MINI_B`` ``SEC_MINI_B``
- Sends a mini-DiSEqC 22kHz '1' Data Burst to select satellite-B - Sends a mini-DiSEqC 22kHz '1' Data Burst to select satellite-B
RETURN VALUE
============
On success 0 is returned, on error -1 and the ``errno`` variable is set
appropriately. The generic error codes are described at the
:ref:`Generic Error Codes <gen-errors>` chapter.
...@@ -41,17 +41,11 @@ takes a pointer to dvb_frontend_info which is filled by the driver. ...@@ -41,17 +41,11 @@ takes a pointer to dvb_frontend_info which is filled by the driver.
When the driver is not compatible with this specification the ioctl When the driver is not compatible with this specification the ioctl
returns an error. returns an error.
RETURN VALUE
============
On success 0 is returned, on error -1 and the ``errno`` variable is set
appropriately. The generic error codes are described at the
:ref:`Generic Error Codes <gen-errors>` chapter.
.. _dvb-frontend-info: .. _dvb-frontend-info:
struct dvb_frontend_info
========================
.. flat-table:: struct dvb_frontend_info .. flat-table:: struct dvb_frontend_info
:header-rows: 0 :header-rows: 0
:stub-columns: 0 :stub-columns: 0
...@@ -423,3 +417,10 @@ supported only on some specific frontend types. ...@@ -423,3 +417,10 @@ supported only on some specific frontend types.
``FE_CAN_MUTE_TS`` ``FE_CAN_MUTE_TS``
- The frontend can stop spurious TS data output - The frontend can stop spurious TS data output
RETURN VALUE
============
On success 0 is returned, on error -1 and the ``errno`` variable is set
appropriately. The generic error codes are described at the
:ref:`Generic Error Codes <gen-errors>` chapter.
...@@ -20,8 +20,6 @@ SYNOPSIS ...@@ -20,8 +20,6 @@ SYNOPSIS
Arguments Arguments
---------- ----------
.. flat-table:: .. flat-table::
:header-rows: 0 :header-rows: 0
:stub-columns: 0 :stub-columns: 0
......
...@@ -44,14 +44,6 @@ varies according with the architecture. This needs to be fixed in the ...@@ -44,14 +44,6 @@ varies according with the architecture. This needs to be fixed in the
future. future.
RETURN VALUE
============
On success 0 is returned, on error -1 and the ``errno`` variable is set
appropriately. The generic error codes are described at the
:ref:`Generic Error Codes <gen-errors>` chapter.
.. _fe-status-t: .. _fe-status-t:
int fe_status int fe_status
...@@ -132,3 +124,10 @@ state changes of the frontend hardware. It is produced using the enum ...@@ -132,3 +124,10 @@ state changes of the frontend hardware. It is produced using the enum
- The frontend was reinitialized, application is recommended to - The frontend was reinitialized, application is recommended to
reset DiSEqC, tone and parameters reset DiSEqC, tone and parameters
RETURN VALUE
============
On success 0 is returned, on error -1 and the ``errno`` variable is set
appropriately. The generic error codes are described at the
:ref:`Generic Error Codes <gen-errors>` chapter.
...@@ -66,8 +66,6 @@ On success 0 is returned, on error -1 and the ``errno`` variable is set ...@@ -66,8 +66,6 @@ On success 0 is returned, on error -1 and the ``errno`` variable is set
appropriately. The generic error codes are described at the appropriately. The generic error codes are described at the
:ref:`Generic Error Codes <gen-errors>` chapter. :ref:`Generic Error Codes <gen-errors>` chapter.
.. flat-table:: .. flat-table::
:header-rows: 0 :header-rows: 0
:stub-columns: 0 :stub-columns: 0
......
...@@ -46,21 +46,11 @@ a tone may interfere on other devices, as they may lose the capability ...@@ -46,21 +46,11 @@ a tone may interfere on other devices, as they may lose the capability
of selecting the band. So, it is recommended that applications would of selecting the band. So, it is recommended that applications would
change to SEC_TONE_OFF when the device is not used. change to SEC_TONE_OFF when the device is not used.
RETURN VALUE
============
On success 0 is returned, on error -1 and the ``errno`` variable is set
appropriately. The generic error codes are described at the
:ref:`Generic Error Codes <gen-errors>` chapter.
.. _fe-sec-tone-mode-t: .. _fe-sec-tone-mode-t:
enum fe_sec_tone_mode enum fe_sec_tone_mode
===================== =====================
.. _fe-sec-tone-mode: .. _fe-sec-tone-mode:
.. flat-table:: enum fe_sec_tone_mode .. flat-table:: enum fe_sec_tone_mode
...@@ -90,3 +80,10 @@ enum fe_sec_tone_mode ...@@ -90,3 +80,10 @@ enum fe_sec_tone_mode
- Don't send a 22kHz tone to the antenna (except if the - Don't send a 22kHz tone to the antenna (except if the
FE_DISEQC_* ioctls are called) FE_DISEQC_* ioctls are called)
RETURN VALUE
============
On success 0 is returned, on error -1 and the ``errno`` variable is set
appropriately. The generic error codes are described at the
:ref:`Generic Error Codes <gen-errors>` chapter.
...@@ -69,8 +69,6 @@ On success 0 is returned, on error -1 and the ``errno`` variable is set ...@@ -69,8 +69,6 @@ On success 0 is returned, on error -1 and the ``errno`` variable is set
appropriately. The generic error codes are described at the appropriately. The generic error codes are described at the
:ref:`Generic Error Codes <gen-errors>` chapter. :ref:`Generic Error Codes <gen-errors>` chapter.
.. flat-table:: .. flat-table::
:header-rows: 0 :header-rows: 0
:stub-columns: 0 :stub-columns: 0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment