summaryrefslogtreecommitdiffstats
path: root/kernel/Documentation/DocBook/media/dvb/fe-diseqc-recv-slave-reply.xml
blob: 4595dbfff208ad578cde2c1227bab4601c792fac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<refentry id="FE_DISEQC_RECV_SLAVE_REPLY">
  <refmeta>
    <refentrytitle>ioctl FE_DISEQC_RECV_SLAVE_REPLY</refentrytitle>
    &manvol;
  </refmeta>

  <refnamediv>
    <refname>FE_DISEQC_RECV_SLAVE_REPLY</refname>
    <refpurpose>Receives reply from a DiSEqC 2.0 command</refpurpose>
  </refnamediv>

  <refsynopsisdiv>
    <funcsynopsis>
      <funcprototype>
	<funcdef>int <function>ioctl</function></funcdef>
	<paramdef>int <parameter>fd</parameter></paramdef>
	<paramdef>int <parameter>request</parameter></paramdef>
	<paramdef>struct dvb_diseqc_slave_reply *<parameter>argp</parameter></paramdef>
      </funcprototype>
    </funcsynopsis>
  </refsynopsisdiv>

  <refsect1>
    <title>Arguments</title>
        <variablelist>
      <varlistentry>
	<term><parameter>fd</parameter></term>
	<listitem>
	  <para>&fe_fd;</para>
	</listitem>
      </varlistentry>
      <varlistentry>
	<term><parameter>request</parameter></term>
	<listitem>
	  <para>FE_DISEQC_RECV_SLAVE_REPLY</para>
	</listitem>
      </varlistentry>
      <varlistentry>
	<term><parameter>argp</parameter></term>
	<listitem>
	    <para>pointer to &dvb-diseqc-slave-reply;</para>
	</listitem>
      </varlistentry>
    </variablelist>
  </refsect1>

  <refsect1>
    <title>Description</title>

    <para>Receives reply from a DiSEqC 2.0 command.</para>
&return-value-dvb;

<table pgwide="1" frame="none" id="dvb-diseqc-slave-reply">
    <title>struct <structname>dvb_diseqc_slave_reply</structname></title>
    <tgroup cols="3">
    &cs-str;
    <tbody valign="top">
	<row>
	<entry>uint8_t</entry>
	<entry>msg[4]</entry>
	<entry>DiSEqC message (framing, data[3])</entry>
	</row><row>
	<entry>uint8_t</entry>
	<entry>msg_len</entry>
	<entry>Length of the DiSEqC message. Valid values are 0 to 4,
	    where 0 means no msg</entry>
	</row><row>
	<entry>int</entry>
	<entry>timeout</entry>
	<entry>Return from ioctl after timeout ms with errorcode when no
	    message was received</entry>
	</row>
    </tbody>
    </tgroup>
</table>

</refsect1>
</refentry>