diff options
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-07-12 14:11:08 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-07-12 14:42:59 +0200 |
commit | 048eb3ef7580ef5dd64c74a319e58b1c8568ed68 (patch) | |
tree | b831c59edd204ee4deff028458869c700e59d49c /Documentation/media/uapi/rc/lirc-get-rec-mode.rst | |
parent | [media] doc-rst: document LIRC_SET_WIDEBAND_RECEIVER (diff) | |
download | linux-048eb3ef7580ef5dd64c74a319e58b1c8568ed68.tar.xz linux-048eb3ef7580ef5dd64c74a319e58b1c8568ed68.zip |
[media] doc-rst: document LIRC set mode ioctls
Add LIRC_SET_[REC|SEND]_MODE ioctls to the corresponding
GET functions, and put all LIRC modes altogether.
As now everything is already documented on its own ioctl
pages, get rid of lirc_ioctl.rst.
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'Documentation/media/uapi/rc/lirc-get-rec-mode.rst')
-rw-r--r-- | Documentation/media/uapi/rc/lirc-get-rec-mode.rst | 32 |
1 files changed, 9 insertions, 23 deletions
diff --git a/Documentation/media/uapi/rc/lirc-get-rec-mode.rst b/Documentation/media/uapi/rc/lirc-get-rec-mode.rst index d46a488594c9..586860c36791 100644 --- a/Documentation/media/uapi/rc/lirc-get-rec-mode.rst +++ b/Documentation/media/uapi/rc/lirc-get-rec-mode.rst @@ -1,15 +1,16 @@ .. -*- coding: utf-8; mode: rst -*- .. _lirc_get_rec_mode: +.. _lirc_set_rec_mode: -*********************** -ioctl LIRC_GET_REC_MODE -*********************** +********************************************** +ioctls LIRC_GET_REC_MODE and LIRC_SET_REC_MODE +********************************************** Name ==== -LIRC_GET_REC_MODE - Get supported receive modes. +LIRC_GET_REC_MODE/LIRC_GET_REC_MODE - Get/set supported receive modes. Synopsis ======== @@ -23,7 +24,7 @@ Arguments File descriptor returned by open(). ``request`` - LIRC_GET_REC_MODE + LIRC_GET_REC_MODE or LIRC_GET_REC_MODE ``rx_modes`` Bitmask with the supported transmit modes. @@ -31,24 +32,9 @@ Arguments Description =========== -Get supported receive modes. - -Supported receive modes -======================= - -.. _lirc-mode-mode2: - -``LIRC_MODE_MODE2`` - - The driver returns a sequence of pulse and space codes to userspace. - -.. _lirc-mode-lirccode: - -``LIRC_MODE_LIRCCODE`` - - The IR signal is decoded internally by the receiver. The LIRC interface - returns the scancode as an integer value. This is the usual mode used - by several TV media cards. +Get/set supported receive modes. Only :ref:`LIRC_MODE_MODE2 <lirc-mode-mode2>` +and :ref:`LIRC_MODE_LIRCCODE <lirc-mode-lirccode>` are supported for IR +receive. Return Value |