mirror of
https://github.com/torvalds/linux.git
synced 2026-04-28 03:22:27 -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:
@@ -15,7 +15,8 @@ IR transmit.
|
||||
Synopsis
|
||||
========
|
||||
|
||||
.. c:function:: int ioctl( int fd, int request, __u32 *duty_cycle)
|
||||
.. c:function:: int ioctl( int fd, LIRC_SET_SEND_DUTY_CYCLE, __u32 *duty_cycle)
|
||||
:name: LIRC_SET_SEND_DUTY_CYCLE
|
||||
|
||||
Arguments
|
||||
=========
|
||||
@@ -23,9 +24,6 @@ Arguments
|
||||
``fd``
|
||||
File descriptor returned by open().
|
||||
|
||||
``request``
|
||||
LIRC_SET_SEND_DUTY_CYCLE
|
||||
|
||||
``duty_cycle``
|
||||
Duty cicle, describing the pulse width in percent (from 1 to 99) of
|
||||
the total cycle. Values 0 and 100 are reserved.
|
||||
|
||||
Reference in New Issue
Block a user