Merge tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux
[sfrench/cifs-2.6.git] / Documentation / media / uapi / dvb / fe-enable-high-lnb-voltage.rst
1 .. Permission is granted to copy, distribute and/or modify this
2 .. document under the terms of the GNU Free Documentation License,
3 .. Version 1.1 or any later version published by the Free Software
4 .. Foundation, with no Invariant Sections, no Front-Cover Texts
5 .. and no Back-Cover Texts. A copy of the license is included at
6 .. Documentation/media/uapi/fdl-appendix.rst.
7 ..
8 .. TODO: replace it to GFDL-1.1-or-later WITH no-invariant-sections
9
10 .. _FE_ENABLE_HIGH_LNB_VOLTAGE:
11
12 ********************************
13 ioctl FE_ENABLE_HIGH_LNB_VOLTAGE
14 ********************************
15
16 Name
17 ====
18
19 FE_ENABLE_HIGH_LNB_VOLTAGE - Select output DC level between normal LNBf voltages or higher LNBf - voltages.
20
21
22 Synopsis
23 ========
24
25 .. c:function:: int ioctl( int fd, FE_ENABLE_HIGH_LNB_VOLTAGE, unsigned int high )
26     :name: FE_ENABLE_HIGH_LNB_VOLTAGE
27
28
29 Arguments
30 =========
31
32 ``fd``
33     File descriptor returned by :ref:`open() <frontend_f_open>`.
34
35 ``high``
36     Valid flags:
37
38     -  0 - normal 13V and 18V.
39
40     -  >0 - enables slightly higher voltages instead of 13/18V, in order
41        to compensate for long antenna cables.
42
43
44 Description
45 ===========
46
47 Select output DC level between normal LNBf voltages or higher LNBf
48 voltages between 0 (normal) or a value grater than 0 for higher
49 voltages.
50
51
52 Return Value
53 ============
54
55 On success 0 is returned.
56
57 On error -1 is returned, and the ``errno`` variable is set
58 appropriately.
59
60 Generic error codes are described at the
61 :ref:`Generic Error Codes <gen-errors>` chapter.