~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/userspace-api/media/dvb/fe-set-tone.rst

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/userspace-api/media/dvb/fe-set-tone.rst (Architecture ppc) and /Documentation/userspace-api/media/dvb/fe-set-tone.rst (Architecture m68k)


  1 .. SPDX-License-Identifier: GFDL-1.1-no-invari      1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
  2 .. c:namespace:: DTV.fe                             2 .. c:namespace:: DTV.fe
  3                                                     3 
  4 .. _FE_SET_TONE:                                    4 .. _FE_SET_TONE:
  5                                                     5 
  6 *****************                                   6 *****************
  7 ioctl FE_SET_TONE                                   7 ioctl FE_SET_TONE
  8 *****************                                   8 *****************
  9                                                     9 
 10 Name                                               10 Name
 11 ====                                               11 ====
 12                                                    12 
 13 FE_SET_TONE - Sets/resets the generation of th     13 FE_SET_TONE - Sets/resets the generation of the continuous 22kHz tone.
 14                                                    14 
 15 Synopsis                                           15 Synopsis
 16 ========                                           16 ========
 17                                                    17 
 18 .. c:macro:: FE_SET_TONE                           18 .. c:macro:: FE_SET_TONE
 19                                                    19 
 20 ``int ioctl(int fd, FE_SET_TONE, enum fe_sec_t     20 ``int ioctl(int fd, FE_SET_TONE, enum fe_sec_tone_mode tone)``
 21                                                    21 
 22 Arguments                                          22 Arguments
 23 =========                                          23 =========
 24                                                    24 
 25 ``fd``                                             25 ``fd``
 26     File descriptor returned by :c:func:`open(     26     File descriptor returned by :c:func:`open()`.
 27                                                    27 
 28 ``tone``                                           28 ``tone``
 29     an integer enumered value described at :c:     29     an integer enumered value described at :c:type:`fe_sec_tone_mode`
 30                                                    30 
 31 Description                                        31 Description
 32 ===========                                        32 ===========
 33                                                    33 
 34 This ioctl is used to set the generation of th     34 This ioctl is used to set the generation of the continuous 22kHz tone.
 35 This call requires read/write permissions.         35 This call requires read/write permissions.
 36                                                    36 
 37 Usually, satellite antenna subsystems require      37 Usually, satellite antenna subsystems require that the digital TV device
 38 to send a 22kHz tone in order to select betwee     38 to send a 22kHz tone in order to select between high/low band on some
 39 dual-band LNBf. It is also used to send signal     39 dual-band LNBf. It is also used to send signals to DiSEqC equipment, but
 40 this is done using the DiSEqC ioctls.              40 this is done using the DiSEqC ioctls.
 41                                                    41 
 42 .. attention:: If more than one device is conn     42 .. attention:: If more than one device is connected to the same antenna,
 43    setting a tone may interfere on other devic     43    setting a tone may interfere on other devices, as they may lose the
 44    capability of selecting the band. So, it is     44    capability of selecting the band. So, it is recommended that applications
 45    would change to SEC_TONE_OFF when the devic     45    would change to SEC_TONE_OFF when the device is not used.
 46                                                    46 
 47 Return Value                                       47 Return Value
 48 ============                                       48 ============
 49                                                    49 
 50 On success 0 is returned.                          50 On success 0 is returned.
 51                                                    51 
 52 On error -1 is returned, and the ``errno`` var     52 On error -1 is returned, and the ``errno`` variable is set
 53 appropriately.                                     53 appropriately.
 54                                                    54 
 55 Generic error codes are described at the           55 Generic error codes are described at the
 56 :ref:`Generic Error Codes <gen-errors>` chapte     56 :ref:`Generic Error Codes <gen-errors>` chapter.
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php