summaryrefslogtreecommitdiff
path: root/Documentation/DocBook/media/dvb/fe-set-frontend-tune-mode.xml
blob: 99fa8a015c7a67a8e673deabe5d121bb18f1f240 (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
<refentry id="FE_SET_FRONTEND_TUNE_MODE">
  <refmeta>
    <refentrytitle>ioctl FE_SET_FRONTEND_TUNE_MODE</refentrytitle>
    &manvol;
  </refmeta>

  <refnamediv>
    <refname>FE_SET_FRONTEND_TUNE_MODE</refname>
    <refpurpose>Allow setting tuner mode flags to the frontend.</refpurpose>
  </refnamediv>

  <refsynopsisdiv>
    <funcsynopsis>
      <funcprototype>
	<funcdef>int <function>ioctl</function></funcdef>
	<paramdef>int <parameter>fd</parameter></paramdef>
	<paramdef>int <parameter>request</parameter></paramdef>
	<paramdef>unsigned int <parameter>flags</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_SET_FRONTEND_TUNE_MODE</para>
	</listitem>
      </varlistentry>
      <varlistentry>
	<term><parameter>flags</parameter></term>
	<listitem>
	    <para>Valid flags:</para>
	    <itemizedlist>
		<listitem><para>0 - normal tune mode</para></listitem>
		<listitem><para>FE_TUNE_MODE_ONESHOT - When set, this flag will
		    disable any zigzagging or other "normal" tuning behaviour.
		    Additionally, there will be no automatic monitoring of the
		    lock status, and hence no frontend events will be
		    generated. If a frontend device is closed, this flag will
		    be automatically turned off when the device is reopened
		    read-write.</para></listitem>
	    </itemizedlist>
	</listitem>
      </varlistentry>
    </variablelist>
  </refsect1>

  <refsect1>
    <title>Description</title>

    <para>Allow setting tuner mode flags to the frontend, between 0 (normal)
	or FE_TUNE_MODE_ONESHOT mode</para>
&return-value-dvb;
</refsect1>
</refentry>