~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/userspace-api/media/rc/lirc-get-rec-mode.rst

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/userspace-api/media/rc/lirc-get-rec-mode.rst (Version linux-6.12-rc7) and /Documentation/userspace-api/media/rc/lirc-get-rec-mode.rst (Version linux-5.9.16)


  1 .. SPDX-License-Identifier: GPL-2.0 OR GFDL-1. !!   1 .. Permission is granted to copy, distribute and/or modify this
  2 .. c:namespace:: RC                            !!   2 .. document under the terms of the GNU Free Documentation License,
                                                   >>   3 .. Version 1.1 or any later version published by the Free Software
                                                   >>   4 .. Foundation, with no Invariant Sections, no Front-Cover Texts
                                                   >>   5 .. and no Back-Cover Texts. A copy of the license is included at
                                                   >>   6 .. Documentation/userspace-api/media/fdl-appendix.rst.
                                                   >>   7 ..
                                                   >>   8 .. TODO: replace it to GFDL-1.1-or-later WITH no-invariant-sections
  3                                                     9 
  4 .. _lirc_get_rec_mode:                             10 .. _lirc_get_rec_mode:
  5 .. _lirc_set_rec_mode:                             11 .. _lirc_set_rec_mode:
  6                                                    12 
  7 **********************************************     13 **********************************************
  8 ioctls LIRC_GET_REC_MODE and LIRC_SET_REC_MODE     14 ioctls LIRC_GET_REC_MODE and LIRC_SET_REC_MODE
  9 **********************************************     15 **********************************************
 10                                                    16 
 11 Name                                               17 Name
 12 ====                                               18 ====
 13                                                    19 
 14 LIRC_GET_REC_MODE/LIRC_SET_REC_MODE - Get/set      20 LIRC_GET_REC_MODE/LIRC_SET_REC_MODE - Get/set current receive mode.
 15                                                    21 
 16 Synopsis                                           22 Synopsis
 17 ========                                           23 ========
 18                                                    24 
 19 .. c:macro:: LIRC_GET_REC_MODE                 !!  25 .. c:function:: int ioctl( int fd, LIRC_GET_REC_MODE, __u32 *mode)
                                                   >>  26         :name: LIRC_GET_REC_MODE
 20                                                    27 
 21 ``int ioctl(int fd, LIRC_GET_REC_MODE, __u32 * !!  28 .. c:function:: int ioctl( int fd, LIRC_SET_REC_MODE, __u32 *mode)
 22                                                !!  29         :name: LIRC_SET_REC_MODE
 23 .. c:macro:: LIRC_SET_REC_MODE                 << 
 24                                                << 
 25 ``int ioctl(int fd, LIRC_SET_REC_MODE, __u32 * << 
 26                                                    30 
 27 Arguments                                          31 Arguments
 28 =========                                          32 =========
 29                                                    33 
 30 ``fd``                                             34 ``fd``
 31     File descriptor returned by open().            35     File descriptor returned by open().
 32                                                    36 
 33 ``mode``                                           37 ``mode``
 34     Mode used for receive.                         38     Mode used for receive.
 35                                                    39 
 36 Description                                        40 Description
 37 ===========                                        41 ===========
 38                                                    42 
 39 Get and set the current receive mode. Only         43 Get and set the current receive mode. Only
 40 :ref:`LIRC_MODE_MODE2 <lirc-mode-mode2>` and       44 :ref:`LIRC_MODE_MODE2 <lirc-mode-mode2>` and
 41 :ref:`LIRC_MODE_SCANCODE <lirc-mode-scancode>`     45 :ref:`LIRC_MODE_SCANCODE <lirc-mode-scancode>` are supported.
 42 Use :ref:`lirc_get_features` to find out which     46 Use :ref:`lirc_get_features` to find out which modes the driver supports.
 43                                                    47 
 44 Return Value                                       48 Return Value
 45 ============                                       49 ============
 46                                                    50 
 47 .. tabularcolumns:: |p{2.5cm}|p{15.0cm}|           51 .. tabularcolumns:: |p{2.5cm}|p{15.0cm}|
 48                                                    52 
 49 .. flat-table::                                    53 .. flat-table::
 50     :header-rows:  0                               54     :header-rows:  0
 51     :stub-columns: 0                               55     :stub-columns: 0
                                                   >>  56 
 52                                                    57 
 53     -  .. row 1                                    58     -  .. row 1
 54                                                    59 
 55        -  ``ENODEV``                               60        -  ``ENODEV``
 56                                                    61 
 57        -  Device not available.                    62        -  Device not available.
 58                                                    63 
 59     -  .. row 2                                    64     -  .. row 2
 60                                                    65 
 61        -  ``ENOTTY``                               66        -  ``ENOTTY``
 62                                                    67 
 63        -  Device does not support receiving.       68        -  Device does not support receiving.
 64                                                    69 
 65     -  .. row 3                                    70     -  .. row 3
 66                                                    71 
 67        -  ``EINVAL``                               72        -  ``EINVAL``
 68                                                    73 
 69        -  Invalid mode or invalid mode for thi     74        -  Invalid mode or invalid mode for this device.
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php