Merge tag 'metag-for-v4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/jhogan...
[sfrench/cifs-2.6.git] / Documentation / media / uapi / dvb / fe-enable-high-lnb-voltage.rst
1 .. -*- coding: utf-8; mode: rst -*-
2
3 .. _FE_ENABLE_HIGH_LNB_VOLTAGE:
4
5 ********************************
6 ioctl FE_ENABLE_HIGH_LNB_VOLTAGE
7 ********************************
8
9 Name
10 ====
11
12 FE_ENABLE_HIGH_LNB_VOLTAGE - Select output DC level between normal LNBf voltages or higher LNBf - voltages.
13
14
15 Synopsis
16 ========
17
18 .. cpp:function:: int ioctl( int fd, int request, unsigned int high )
19
20
21 Arguments
22 =========
23
24 ``fd``
25     File descriptor returned by :ref:`open() <frontend_f_open>`.
26
27 ``request``
28     FE_ENABLE_HIGH_LNB_VOLTAGE
29
30 ``high``
31     Valid flags:
32
33     -  0 - normal 13V and 18V.
34
35     -  >0 - enables slightly higher voltages instead of 13/18V, in order
36        to compensate for long antenna cables.
37
38
39 Description
40 ===========
41
42 Select output DC level between normal LNBf voltages or higher LNBf
43 voltages between 0 (normal) or a value grater than 0 for higher
44 voltages.
45
46
47 Return Value
48 ============
49
50 On success 0 is returned, on error -1 and the ``errno`` variable is set
51 appropriately. The generic error codes are described at the
52 :ref:`Generic Error Codes <gen-errors>` chapter.