]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - Documentation/media/uapi/dvb/fe-set-frontend-tune-mode.rst
Merge tag 'nfs-for-4.8-2' of git://git.linux-nfs.org/projects/trondmy/linux-nfs
[mirror_ubuntu-artful-kernel.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
b7e67f6c 18.. cpp:function:: int ioctl( int fd, int request, unsigned int flags )
5377d91f 19
586027ce 20
15e7d615 21Arguments
5377d91f
MH
22=========
23
24``fd``
25 File descriptor returned by :ref:`open() <frontend_f_open>`.
26
27``request``
28 FE_SET_FRONTEND_TUNE_MODE
29
30``flags``
31 Valid flags:
32
33 - 0 - normal tune mode
34
35 - FE_TUNE_MODE_ONESHOT - When set, this flag will disable any
36 zigzagging or other "normal" tuning behaviour. Additionally,
37 there will be no automatic monitoring of the lock status, and
38 hence no frontend events will be generated. If a frontend device
39 is closed, this flag will be automatically turned off when the
40 device is reopened read-write.
41
42
15e7d615 43Description
5377d91f
MH
44===========
45
46Allow setting tuner mode flags to the frontend, between 0 (normal) or
47FE_TUNE_MODE_ONESHOT mode
48
586027ce 49
15e7d615 50Return Value
586027ce 51============
5377d91f
MH
52
53On success 0 is returned, on error -1 and the ``errno`` variable is set
54appropriately. The generic error codes are described at the
55:ref:`Generic Error Codes <gen-errors>` chapter.