Merge remote-tracking branch 'omap_dss2/for-next'
[deliverable/linux.git] / Documentation / media / uapi / 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
15e7d615 9Name
586027ce 10====
5377d91f 11
586027ce 12FE_SET_FRONTEND_TUNE_MODE - Allow setting tuner mode flags to the frontend.
5377d91f 13
15e7d615
MCC
14
15Synopsis
5377d91f
MH
16========
17
cf8076c3
MCC
18.. c:function:: int ioctl( int fd, FE_SET_FRONTEND_TUNE_MODE, unsigned int flags )
19 :name: FE_SET_FRONTEND_TUNE_MODE
5377d91f 20
586027ce 21
15e7d615 22Arguments
5377d91f
MH
23=========
24
25``fd``
26 File descriptor returned by :ref:`open() <frontend_f_open>`.
27
5377d91f
MH
28``flags``
29 Valid flags:
30
31 - 0 - normal tune mode
32
33 - FE_TUNE_MODE_ONESHOT - When set, this flag will disable any
34 zigzagging or other "normal" tuning behaviour. Additionally,
35 there will be no automatic monitoring of the lock status, and
36 hence no frontend events will be generated. If a frontend device
37 is closed, this flag will be automatically turned off when the
38 device is reopened read-write.
39
40
15e7d615 41Description
5377d91f
MH
42===========
43
44Allow setting tuner mode flags to the frontend, between 0 (normal) or
45FE_TUNE_MODE_ONESHOT mode
46
586027ce 47
15e7d615 48Return Value
586027ce 49============
5377d91f
MH
50
51On success 0 is returned, on error -1 and the ``errno`` variable is set
52appropriately. The generic error codes are described at the
53:ref:`Generic Error Codes <gen-errors>` chapter.
This page took 0.048436 seconds and 5 git commands to generate.