xref: /OK3568_Linux_fs/kernel/Documentation/userspace-api/media/dvb/fe-diseqc-reset-overload.rst (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
2*4882a593Smuzhiyun.. c:namespace:: DTV.fe
3*4882a593Smuzhiyun
4*4882a593Smuzhiyun.. _FE_DISEQC_RESET_OVERLOAD:
5*4882a593Smuzhiyun
6*4882a593Smuzhiyun******************************
7*4882a593Smuzhiyunioctl FE_DISEQC_RESET_OVERLOAD
8*4882a593Smuzhiyun******************************
9*4882a593Smuzhiyun
10*4882a593SmuzhiyunName
11*4882a593Smuzhiyun====
12*4882a593Smuzhiyun
13*4882a593SmuzhiyunFE_DISEQC_RESET_OVERLOAD - Restores the power to the antenna subsystem, if it was powered off due - to power overload.
14*4882a593Smuzhiyun
15*4882a593SmuzhiyunSynopsis
16*4882a593Smuzhiyun========
17*4882a593Smuzhiyun
18*4882a593Smuzhiyun.. c:macro:: FE_DISEQC_RESET_OVERLOAD
19*4882a593Smuzhiyun
20*4882a593Smuzhiyun``int ioctl(int fd, FE_DISEQC_RESET_OVERLOAD, NULL)``
21*4882a593Smuzhiyun
22*4882a593SmuzhiyunArguments
23*4882a593Smuzhiyun=========
24*4882a593Smuzhiyun
25*4882a593Smuzhiyun``fd``
26*4882a593Smuzhiyun    File descriptor returned by :c:func:`open()`.
27*4882a593Smuzhiyun
28*4882a593SmuzhiyunDescription
29*4882a593Smuzhiyun===========
30*4882a593Smuzhiyun
31*4882a593SmuzhiyunIf the bus has been automatically powered off due to power overload,
32*4882a593Smuzhiyunthis ioctl call restores the power to the bus. The call requires
33*4882a593Smuzhiyunread/write access to the device. This call has no effect if the device
34*4882a593Smuzhiyunis manually powered off. Not all Digital TV adapters support this ioctl.
35*4882a593Smuzhiyun
36*4882a593SmuzhiyunReturn Value
37*4882a593Smuzhiyun============
38*4882a593Smuzhiyun
39*4882a593SmuzhiyunOn success 0 is returned.
40*4882a593Smuzhiyun
41*4882a593SmuzhiyunOn error -1 is returned, and the ``errno`` variable is set
42*4882a593Smuzhiyunappropriately.
43*4882a593Smuzhiyun
44*4882a593SmuzhiyunGeneric error codes are described at the
45*4882a593Smuzhiyun:ref:`Generic Error Codes <gen-errors>` chapter.
46