doc-rst: linux_tv: reformat all syscall pages
[deliverable/linux.git] / Documentation / linux_tv / media / dvb / fe-set-frontend-tune-mode.rst
CommitLineData
5377d91f
MH
1.. -*- coding: utf-8; mode: rst -*-
2
3.. _FE_SET_FRONTEND_TUNE_MODE:
4
5*******************************
6ioctl FE_SET_FRONTEND_TUNE_MODE
7*******************************
8
586027ce
MCC
9NAME
10====
5377d91f 11
586027ce 12FE_SET_FRONTEND_TUNE_MODE - Allow setting tuner mode flags to the frontend.
5377d91f 13
586027ce 14SYNOPSIS
5377d91f
MH
15========
16
b7e67f6c 17.. cpp:function:: int ioctl( int fd, int request, unsigned int flags )
5377d91f 18
586027ce
MCC
19
20ARGUMENTS
5377d91f
MH
21=========
22
23``fd``
24 File descriptor returned by :ref:`open() <frontend_f_open>`.
25
26``request``
27 FE_SET_FRONTEND_TUNE_MODE
28
29``flags``
30 Valid flags:
31
32 - 0 - normal tune mode
33
34 - FE_TUNE_MODE_ONESHOT - When set, this flag will disable any
35 zigzagging or other "normal" tuning behaviour. Additionally,
36 there will be no automatic monitoring of the lock status, and
37 hence no frontend events will be generated. If a frontend device
38 is closed, this flag will be automatically turned off when the
39 device is reopened read-write.
40
41
586027ce 42DESCRIPTION
5377d91f
MH
43===========
44
45Allow setting tuner mode flags to the frontend, between 0 (normal) or
46FE_TUNE_MODE_ONESHOT mode
47
586027ce 48
5377d91f 49RETURN VALUE
586027ce 50============
5377d91f
MH
51
52On success 0 is returned, on error -1 and the ``errno`` variable is set
53appropriately. The generic error codes are described at the
54:ref:`Generic Error Codes <gen-errors>` chapter.
This page took 0.031425 seconds and 5 git commands to generate.