doc-rst: linux_tv: supress lots of warnings
[deliverable/linux.git] / Documentation / linux_tv / media / dvb / fe-diseqc-send-master-cmd.rst
CommitLineData
5377d91f
MH
1.. -*- coding: utf-8; mode: rst -*-
2
3.. _FE_DISEQC_SEND_MASTER_CMD:
4
5*******************************
6ioctl FE_DISEQC_SEND_MASTER_CMD
7*******************************
8
9*man FE_DISEQC_SEND_MASTER_CMD(2)*
10
11Sends a DiSEqC command
12
13
14Synopsis
15========
16
b7e67f6c 17.. cpp:function:: int ioctl( int fd, int request, struct dvb_diseqc_master_cmd *argp )
5377d91f
MH
18
19Arguments
20=========
21
22``fd``
23 File descriptor returned by :ref:`open() <frontend_f_open>`.
24
25``request``
26 FE_DISEQC_SEND_MASTER_CMD
27
28``argp``
29 pointer to struct
30 :ref:`dvb_diseqc_master_cmd <dvb-diseqc-master-cmd>`
31
32
33Description
34===========
35
36Sends a DiSEqC command to the antenna subsystem.
37
38RETURN VALUE
39
40On success 0 is returned, on error -1 and the ``errno`` variable is set
41appropriately. The generic error codes are described at the
42:ref:`Generic Error Codes <gen-errors>` chapter.
43
44
45.. _dvb-diseqc-master-cmd:
46
47.. flat-table:: struct dvb_diseqc_master_cmd
48 :header-rows: 0
49 :stub-columns: 0
50 :widths: 1 1 2
51
52
53 - .. row 1
54
55 - uint8_t
56
57 - msg[6]
58
59 - DiSEqC message (framing, address, command, data[3])
60
61 - .. row 2
62
63 - uint8_t
64
65 - msg_len
66
67 - Length of the DiSEqC message. Valid values are 3 to 6
68
69
70
71
72.. ------------------------------------------------------------------------------
73.. This file was automatically converted from DocBook-XML with the dbxml
74.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
75.. from the linux kernel, refer to:
76..
77.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
78.. ------------------------------------------------------------------------------
This page took 0.028838 seconds and 5 git commands to generate.