mirror of
https://github.com/torvalds/linux.git
synced 2026-04-23 00:55:48 -04:00
[media] docs-rst: Convert LIRC uAPI to use C function references
Name all ioctl references and make them match the ioctls that are documented. That will improve the cross-reference index, as it will have all ioctls and syscalls there. While here, improve the documentation to make them to look more like the rest of the document. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
@@ -16,7 +16,11 @@ range for IR receive.
|
||||
Synopsis
|
||||
========
|
||||
|
||||
.. c:function:: int ioctl( int fd, int request, __u32 *timeout)
|
||||
.. c:function:: int ioctl( int fd, LIRC_GET_MIN_TIMEOUT, __u32 *timeout)
|
||||
:name: LIRC_GET_MIN_TIMEOUT
|
||||
|
||||
.. c:function:: int ioctl( int fd, LIRC_GET_MAX_TIMEOUT, __u32 *timeout)
|
||||
:name: LIRC_GET_MAX_TIMEOUT
|
||||
|
||||
Arguments
|
||||
=========
|
||||
@@ -24,9 +28,6 @@ Arguments
|
||||
``fd``
|
||||
File descriptor returned by open().
|
||||
|
||||
``request``
|
||||
LIRC_GET_MIN_TIMEOUT or LIRC_GET_MAX_TIMEOUT
|
||||
|
||||
``timeout``
|
||||
Timeout, in microseconds.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user