Commit 41d80465 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

[media] docs-rst: Convert V4L2 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.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 1b81f010
...@@ -21,7 +21,7 @@ Synopsis ...@@ -21,7 +21,7 @@ Synopsis
.. c:function:: int close( int fd ) .. c:function:: int close( int fd )
:name: v4l2-close
Arguments Arguments
========= =========
......
...@@ -21,7 +21,7 @@ Synopsis ...@@ -21,7 +21,7 @@ Synopsis
.. c:function:: int ioctl( int fd, int request, void *argp ) .. c:function:: int ioctl( int fd, int request, void *argp )
:name: v4l2-ioctl
Arguments Arguments
========= =========
......
...@@ -22,7 +22,7 @@ Synopsis ...@@ -22,7 +22,7 @@ Synopsis
.. c:function:: void *mmap( void *start, size_t length, int prot, int flags, int fd, off_t offset ) .. c:function:: void *mmap( void *start, size_t length, int prot, int flags, int fd, off_t offset )
:name: v4l2-mmap
Arguments Arguments
========= =========
......
...@@ -22,7 +22,7 @@ Synopsis ...@@ -22,7 +22,7 @@ Synopsis
.. c:function:: int munmap( void *start, size_t length ) .. c:function:: int munmap( void *start, size_t length )
:name: v4l2-munmap
Arguments Arguments
========= =========
......
...@@ -21,7 +21,7 @@ Synopsis ...@@ -21,7 +21,7 @@ Synopsis
.. c:function:: int open( const char *device_name, int flags ) .. c:function:: int open( const char *device_name, int flags )
:name: v4l2-open
Arguments Arguments
========= =========
......
...@@ -21,7 +21,7 @@ Synopsis ...@@ -21,7 +21,7 @@ Synopsis
.. c:function:: int poll( struct pollfd *ufds, unsigned int nfds, int timeout ) .. c:function:: int poll( struct pollfd *ufds, unsigned int nfds, int timeout )
name: v4l2-poll
Arguments Arguments
========= =========
......
...@@ -21,7 +21,7 @@ Synopsis ...@@ -21,7 +21,7 @@ Synopsis
.. c:function:: ssize_t read( int fd, void *buf, size_t count ) .. c:function:: ssize_t read( int fd, void *buf, size_t count )
:name: v4l2-read
Arguments Arguments
========= =========
...@@ -30,8 +30,10 @@ Arguments ...@@ -30,8 +30,10 @@ Arguments
File descriptor returned by :ref:`open() <func-open>`. File descriptor returned by :ref:`open() <func-open>`.
``buf`` ``buf``
``count`` Buffer to be filled
``count``
Max number of bytes to read
Description Description
=========== ===========
......
...@@ -23,11 +23,25 @@ Synopsis ...@@ -23,11 +23,25 @@ Synopsis
.. c:function:: int select( int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout ) .. c:function:: int select( int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout )
:name: v4l2-select
Arguments Arguments
========= =========
``nfds``
The highest-numbered file descriptor in any of the three sets, plus 1.
``readfds``
File descriptions to be watched if a read() call won't block.
``writefds``
File descriptions to be watched if a write() won't block.
``exceptfds``
File descriptions to be watched for V4L2 events.
``timeout``
Maximum time to wait.
Description Description
......
...@@ -21,7 +21,7 @@ Synopsis ...@@ -21,7 +21,7 @@ Synopsis
.. c:function:: ssize_t write( int fd, void *buf, size_t count ) .. c:function:: ssize_t write( int fd, void *buf, size_t count )
:name: v4l2-write
Arguments Arguments
========= =========
...@@ -30,8 +30,10 @@ Arguments ...@@ -30,8 +30,10 @@ Arguments
File descriptor returned by :ref:`open() <func-open>`. File descriptor returned by :ref:`open() <func-open>`.
``buf`` ``buf``
``count`` Buffer with data to be written
``count``
Number of bytes at the buffer
Description Description
=========== ===========
......
...@@ -15,7 +15,8 @@ VIDIOC_CREATE_BUFS - Create buffers for Memory Mapped or User Pointer or DMA Buf ...@@ -15,7 +15,8 @@ VIDIOC_CREATE_BUFS - Create buffers for Memory Mapped or User Pointer or DMA Buf
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_create_buffers *argp ) .. c:function:: int ioctl( int fd, VIDIOC_CREATE_BUFS, struct v4l2_create_buffers *argp )
:name: VIDIOC_CREATE_BUFS
Arguments Arguments
...@@ -24,9 +25,6 @@ Arguments ...@@ -24,9 +25,6 @@ Arguments
``fd`` ``fd``
File descriptor returned by :ref:`open() <func-open>`. File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_CREATE_BUFS
``argp`` ``argp``
......
...@@ -15,7 +15,8 @@ VIDIOC_CROPCAP - Information about the video cropping and scaling abilities ...@@ -15,7 +15,8 @@ VIDIOC_CROPCAP - Information about the video cropping and scaling abilities
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_cropcap *argp ) .. c:function:: int ioctl( int fd, VIDIOC_CROPCAP, struct v4l2_cropcap *argp )
:name: VIDIOC_CROPCAP
Arguments Arguments
...@@ -24,9 +25,6 @@ Arguments ...@@ -24,9 +25,6 @@ Arguments
``fd`` ``fd``
File descriptor returned by :ref:`open() <func-open>`. File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_CROPCAP
``argp`` ``argp``
......
...@@ -15,7 +15,8 @@ VIDIOC_DBG_G_CHIP_INFO - Identify the chips on a TV card ...@@ -15,7 +15,8 @@ VIDIOC_DBG_G_CHIP_INFO - Identify the chips on a TV card
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_dbg_chip_info *argp ) .. c:function:: int ioctl( int fd, VIDIOC_DBG_G_CHIP_INFO, struct v4l2_dbg_chip_info *argp )
:name: VIDIOC_DBG_G_CHIP_INFO
Arguments Arguments
...@@ -24,9 +25,6 @@ Arguments ...@@ -24,9 +25,6 @@ Arguments
``fd`` ``fd``
File descriptor returned by :ref:`open() <func-open>`. File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_DBG_G_CHIP_INFO
``argp`` ``argp``
......
...@@ -15,9 +15,11 @@ VIDIOC_DBG_G_REGISTER - VIDIOC_DBG_S_REGISTER - Read or write hardware registers ...@@ -15,9 +15,11 @@ VIDIOC_DBG_G_REGISTER - VIDIOC_DBG_S_REGISTER - Read or write hardware registers
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_dbg_register *argp ) .. c:function:: int ioctl( int fd, VIDIOC_DBG_G_REGISTER, struct v4l2_dbg_register *argp )
:name: VIDIOC_DBG_G_REGISTER
.. c:function:: int ioctl( int fd, int request, const struct v4l2_dbg_register *argp ) .. c:function:: int ioctl( int fd, VIDIOC_DBG_S_REGISTER, const struct v4l2_dbg_register *argp )
:name: VIDIOC_DBG_S_REGISTER
Arguments Arguments
...@@ -26,9 +28,6 @@ Arguments ...@@ -26,9 +28,6 @@ Arguments
``fd`` ``fd``
File descriptor returned by :ref:`open() <func-open>`. File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_DBG_G_REGISTER, VIDIOC_DBG_S_REGISTER
``argp`` ``argp``
......
...@@ -15,7 +15,12 @@ VIDIOC_DECODER_CMD - VIDIOC_TRY_DECODER_CMD - Execute an decoder command ...@@ -15,7 +15,12 @@ VIDIOC_DECODER_CMD - VIDIOC_TRY_DECODER_CMD - Execute an decoder command
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_decoder_cmd *argp ) .. c:function:: int ioctl( int fd, VIDIOC_DECODER_CMD, struct v4l2_decoder_cmd *argp )
:name: VIDIOC_DECODER_CMD
.. c:function:: int ioctl( int fd, VIDIOC_TRY_DECODER_CMD, struct v4l2_decoder_cmd *argp )
:name: VIDIOC_TRY_DECODER_CMD
Arguments Arguments
...@@ -24,10 +29,8 @@ Arguments ...@@ -24,10 +29,8 @@ Arguments
``fd`` ``fd``
File descriptor returned by :ref:`open() <func-open>`. File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_DECODER_CMD, VIDIOC_TRY_DECODER_CMD
``argp`` ``argp``
pointer to struct :ref:`v4l2_decoder_cmd <v4l2-decoder-cmd>`.
Description Description
......
...@@ -15,7 +15,8 @@ VIDIOC_DQEVENT - Dequeue event ...@@ -15,7 +15,8 @@ VIDIOC_DQEVENT - Dequeue event
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_event *argp ) .. c:function:: int ioctl( int fd, VIDIOC_DQEVENT, struct v4l2_event *argp )
:name: VIDIOC_DQEVENT
Arguments Arguments
...@@ -24,9 +25,6 @@ Arguments ...@@ -24,9 +25,6 @@ Arguments
``fd`` ``fd``
File descriptor returned by :ref:`open() <func-open>`. File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_DQEVENT
``argp`` ``argp``
......
...@@ -15,7 +15,11 @@ VIDIOC_DV_TIMINGS_CAP - VIDIOC_SUBDEV_DV_TIMINGS_CAP - The capabilities of the D ...@@ -15,7 +15,11 @@ VIDIOC_DV_TIMINGS_CAP - VIDIOC_SUBDEV_DV_TIMINGS_CAP - The capabilities of the D
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_dv_timings_cap *argp ) .. c:function:: int ioctl( int fd, VIDIOC_DV_TIMINGS_CAP, struct v4l2_dv_timings_cap *argp )
:name: VIDIOC_DV_TIMINGS_CAP
.. c:function:: int ioctl( int fd, VIDIOC_SUBDEV_DV_TIMINGS_CAP, struct v4l2_dv_timings_cap *argp )
:name: VIDIOC_SUBDEV_DV_TIMINGS_CAP
Arguments Arguments
...@@ -24,9 +28,6 @@ Arguments ...@@ -24,9 +28,6 @@ Arguments
``fd`` ``fd``
File descriptor returned by :ref:`open() <func-open>`. File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_DV_TIMINGS_CAP, VIDIOC_SUBDEV_DV_TIMINGS_CAP
``argp`` ``argp``
......
...@@ -15,7 +15,11 @@ VIDIOC_ENCODER_CMD - VIDIOC_TRY_ENCODER_CMD - Execute an encoder command ...@@ -15,7 +15,11 @@ VIDIOC_ENCODER_CMD - VIDIOC_TRY_ENCODER_CMD - Execute an encoder command
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_encoder_cmd *argp ) .. c:function:: int ioctl( int fd, VIDIOC_ENCODER_CMD, struct v4l2_encoder_cmd *argp )
:name: VIDIOC_ENCODER_CMD
.. c:function:: int ioctl( int fd, VIDIOC_TRY_ENCODER_CMD, struct v4l2_encoder_cmd *argp )
:name: VIDIOC_TRY_ENCODER_CMD
Arguments Arguments
...@@ -24,9 +28,6 @@ Arguments ...@@ -24,9 +28,6 @@ Arguments
``fd`` ``fd``
File descriptor returned by :ref:`open() <func-open>`. File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_ENCODER_CMD, VIDIOC_TRY_ENCODER_CMD
``argp`` ``argp``
......
...@@ -15,7 +15,11 @@ VIDIOC_ENUM_DV_TIMINGS - VIDIOC_SUBDEV_ENUM_DV_TIMINGS - Enumerate supported Dig ...@@ -15,7 +15,11 @@ VIDIOC_ENUM_DV_TIMINGS - VIDIOC_SUBDEV_ENUM_DV_TIMINGS - Enumerate supported Dig
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_enum_dv_timings *argp ) .. c:function:: int ioctl( int fd, VIDIOC_ENUM_DV_TIMINGS, struct v4l2_enum_dv_timings *argp )
:name: VIDIOC_ENUM_DV_TIMINGS
.. c:function:: int ioctl( int fd, VIDIOC_SUBDEV_ENUM_DV_TIMINGS, struct v4l2_enum_dv_timings *argp )
:name: VIDIOC_SUBDEV_ENUM_DV_TIMINGS
Arguments Arguments
...@@ -24,9 +28,6 @@ Arguments ...@@ -24,9 +28,6 @@ Arguments
``fd`` ``fd``
File descriptor returned by :ref:`open() <func-open>`. File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_ENUM_DV_TIMINGS, VIDIOC_SUBDEV_ENUM_DV_TIMINGS
``argp`` ``argp``
......
...@@ -15,7 +15,8 @@ VIDIOC_ENUM_FMT - Enumerate image formats ...@@ -15,7 +15,8 @@ VIDIOC_ENUM_FMT - Enumerate image formats
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_fmtdesc *argp ) .. c:function:: int ioctl( int fd, VIDIOC_ENUM_FMT, struct v4l2_fmtdesc *argp )
:name: VIDIOC_ENUM_FMT
Arguments Arguments
...@@ -24,9 +25,6 @@ Arguments ...@@ -24,9 +25,6 @@ Arguments
``fd`` ``fd``
File descriptor returned by :ref:`open() <func-open>`. File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_ENUM_FMT
``argp`` ``argp``
......
...@@ -15,7 +15,8 @@ VIDIOC_ENUM_FRAMEINTERVALS - Enumerate frame intervals ...@@ -15,7 +15,8 @@ VIDIOC_ENUM_FRAMEINTERVALS - Enumerate frame intervals
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_frmivalenum *argp ) .. c:function:: int ioctl( int fd, VIDIOC_ENUM_FRAMEINTERVALS, struct v4l2_frmivalenum *argp )
:name: VIDIOC_ENUM_FRAMEINTERVALS
Arguments Arguments
...@@ -24,9 +25,6 @@ Arguments ...@@ -24,9 +25,6 @@ Arguments
``fd`` ``fd``
File descriptor returned by :ref:`open() <func-open>`. File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_ENUM_FRAMEINTERVALS
``argp`` ``argp``
Pointer to a struct :ref:`v4l2_frmivalenum <v4l2-frmivalenum>` Pointer to a struct :ref:`v4l2_frmivalenum <v4l2-frmivalenum>`
structure that contains a pixel format and size and receives a frame structure that contains a pixel format and size and receives a frame
......
...@@ -15,7 +15,8 @@ VIDIOC_ENUM_FRAMESIZES - Enumerate frame sizes ...@@ -15,7 +15,8 @@ VIDIOC_ENUM_FRAMESIZES - Enumerate frame sizes
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_frmsizeenum *argp ) .. c:function:: int ioctl( int fd, VIDIOC_ENUM_FRAMESIZES, struct v4l2_frmsizeenum *argp )
:name: VIDIOC_ENUM_FRAMESIZES
Arguments Arguments
...@@ -24,9 +25,6 @@ Arguments ...@@ -24,9 +25,6 @@ Arguments
``fd`` ``fd``
File descriptor returned by :ref:`open() <func-open>`. File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_ENUM_FRAMESIZES
``argp`` ``argp``
Pointer to a struct :ref:`v4l2_frmsizeenum <v4l2-frmsizeenum>` Pointer to a struct :ref:`v4l2_frmsizeenum <v4l2-frmsizeenum>`
that contains an index and pixel format and receives a frame width that contains an index and pixel format and receives a frame width
......
...@@ -15,7 +15,8 @@ VIDIOC_ENUM_FREQ_BANDS - Enumerate supported frequency bands ...@@ -15,7 +15,8 @@ VIDIOC_ENUM_FREQ_BANDS - Enumerate supported frequency bands
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_frequency_band *argp ) .. c:function:: int ioctl( int fd, VIDIOC_ENUM_FREQ_BANDS, struct v4l2_frequency_band *argp )
:name: VIDIOC_ENUM_FREQ_BANDS
Arguments Arguments
...@@ -24,9 +25,6 @@ Arguments ...@@ -24,9 +25,6 @@ Arguments
``fd`` ``fd``
File descriptor returned by :ref:`open() <func-open>`. File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_ENUM_FREQ_BANDS
``argp`` ``argp``
......
...@@ -15,7 +15,8 @@ VIDIOC_ENUMAUDIO - Enumerate audio inputs ...@@ -15,7 +15,8 @@ VIDIOC_ENUMAUDIO - Enumerate audio inputs
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_audio *argp ) .. c:function:: int ioctl( int fd, VIDIOC_ENUMAUDIO, struct v4l2_audio *argp )
:name: VIDIOC_ENUMAUDIO
Arguments Arguments
...@@ -24,9 +25,6 @@ Arguments ...@@ -24,9 +25,6 @@ Arguments
``fd`` ``fd``
File descriptor returned by :ref:`open() <func-open>`. File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_ENUMAUDIO
``argp`` ``argp``
......
...@@ -15,7 +15,8 @@ VIDIOC_ENUMAUDOUT - Enumerate audio outputs ...@@ -15,7 +15,8 @@ VIDIOC_ENUMAUDOUT - Enumerate audio outputs
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_audioout *argp ) .. c:function:: int ioctl( int fd, VIDIOC_ENUMAUDOUT, struct v4l2_audioout *argp )
:name: VIDIOC_ENUMAUDOUT
Arguments Arguments
...@@ -24,9 +25,6 @@ Arguments ...@@ -24,9 +25,6 @@ Arguments
``fd`` ``fd``
File descriptor returned by :ref:`open() <func-open>`. File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_ENUMAUDOUT
``argp`` ``argp``
......
...@@ -15,7 +15,8 @@ VIDIOC_ENUMINPUT - Enumerate video inputs ...@@ -15,7 +15,8 @@ VIDIOC_ENUMINPUT - Enumerate video inputs
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_input *argp ) .. c:function:: int ioctl( int fd, VIDIOC_ENUMINPUT, struct v4l2_input *argp )
:name: VIDIOC_ENUMINPUT
Arguments Arguments
...@@ -24,9 +25,6 @@ Arguments ...@@ -24,9 +25,6 @@ Arguments
``fd`` ``fd``
File descriptor returned by :ref:`open() <func-open>`. File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_ENUMINPUT
``argp`` ``argp``
......
...@@ -15,7 +15,8 @@ VIDIOC_ENUMOUTPUT - Enumerate video outputs ...@@ -15,7 +15,8 @@ VIDIOC_ENUMOUTPUT - Enumerate video outputs
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_output *argp ) .. c:function:: int ioctl( int fd, VIDIOC_ENUMOUTPUT, struct v4l2_output *argp )
:name: VIDIOC_ENUMOUTPUT
Arguments Arguments
...@@ -24,9 +25,6 @@ Arguments ...@@ -24,9 +25,6 @@ Arguments
``fd`` ``fd``
File descriptor returned by :ref:`open() <func-open>`. File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_ENUMOUTPUT
``argp`` ``argp``
......
...@@ -15,7 +15,8 @@ VIDIOC_ENUMSTD - Enumerate supported video standards ...@@ -15,7 +15,8 @@ VIDIOC_ENUMSTD - Enumerate supported video standards
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_standard *argp ) .. c:function:: int ioctl( int fd, VIDIOC_ENUMSTD, struct v4l2_standard *argp )
:name: VIDIOC_ENUMSTD
Arguments Arguments
...@@ -24,9 +25,6 @@ Arguments ...@@ -24,9 +25,6 @@ Arguments
``fd`` ``fd``
File descriptor returned by :ref:`open() <func-open>`. File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_ENUMSTD
``argp`` ``argp``
......
...@@ -15,7 +15,8 @@ VIDIOC_EXPBUF - Export a buffer as a DMABUF file descriptor. ...@@ -15,7 +15,8 @@ VIDIOC_EXPBUF - Export a buffer as a DMABUF file descriptor.
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_exportbuffer *argp ) .. c:function:: int ioctl( int fd, VIDIOC_EXPBUF, struct v4l2_exportbuffer *argp )
:name: VIDIOC_EXPBUF
Arguments Arguments
...@@ -24,9 +25,6 @@ Arguments ...@@ -24,9 +25,6 @@ Arguments
``fd`` ``fd``
File descriptor returned by :ref:`open() <func-open>`. File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_EXPBUF
``argp`` ``argp``
......
...@@ -15,9 +15,11 @@ VIDIOC_G_AUDIO - VIDIOC_S_AUDIO - Query or select the current audio input and it ...@@ -15,9 +15,11 @@ VIDIOC_G_AUDIO - VIDIOC_S_AUDIO - Query or select the current audio input and it
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_audio *argp ) .. c:function:: int ioctl( int fd, VIDIOC_G_AUDIO, struct v4l2_audio *argp )
:name: VIDIOC_G_AUDIO
.. c:function:: int ioctl( int fd, int request, const struct v4l2_audio *argp ) .. c:function:: int ioctl( int fd, VIDIOC_S_AUDIO, const struct v4l2_audio *argp )
:name: VIDIOC_S_AUDIO
Arguments Arguments
...@@ -26,9 +28,6 @@ Arguments ...@@ -26,9 +28,6 @@ Arguments
``fd`` ``fd``
File descriptor returned by :ref:`open() <func-open>`. File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_G_AUDIO, VIDIOC_S_AUDIO
``argp`` ``argp``
......
...@@ -15,9 +15,11 @@ VIDIOC_G_AUDOUT - VIDIOC_S_AUDOUT - Query or select the current audio output ...@@ -15,9 +15,11 @@ VIDIOC_G_AUDOUT - VIDIOC_S_AUDOUT - Query or select the current audio output
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_audioout *argp ) .. c:function:: int ioctl( int fd, VIDIOC_G_AUDOUT, struct v4l2_audioout *argp )
:name: VIDIOC_G_AUDOUT
.. c:function:: int ioctl( int fd, int request, const struct v4l2_audioout *argp ) .. c:function:: int ioctl( int fd, VIDIOC_S_AUDOUT, const struct v4l2_audioout *argp )
:name: VIDIOC_S_AUDOUT
Arguments Arguments
...@@ -26,9 +28,6 @@ Arguments ...@@ -26,9 +28,6 @@ Arguments
``fd`` ``fd``
File descriptor returned by :ref:`open() <func-open>`. File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_G_AUDOUT, VIDIOC_S_AUDOUT
``argp`` ``argp``
......
...@@ -15,9 +15,11 @@ VIDIOC_G_CROP - VIDIOC_S_CROP - Get or set the current cropping rectangle ...@@ -15,9 +15,11 @@ VIDIOC_G_CROP - VIDIOC_S_CROP - Get or set the current cropping rectangle
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_crop *argp ) .. c:function:: int ioctl( int fd, VIDIOC_G_CROP, struct v4l2_crop *argp )
:name: VIDIOC_G_CROP
.. c:function:: int ioctl( int fd, int request, const struct v4l2_crop *argp ) .. c:function:: int ioctl( int fd, VIDIOC_S_CROP, const struct v4l2_crop *argp )
:name: VIDIOC_S_CROP
Arguments Arguments
...@@ -26,9 +28,6 @@ Arguments ...@@ -26,9 +28,6 @@ Arguments
``fd`` ``fd``
File descriptor returned by :ref:`open() <func-open>`. File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_G_CROP, VIDIOC_S_CROP
``argp`` ``argp``
......
...@@ -15,7 +15,11 @@ VIDIOC_G_CTRL - VIDIOC_S_CTRL - Get or set the value of a control ...@@ -15,7 +15,11 @@ VIDIOC_G_CTRL - VIDIOC_S_CTRL - Get or set the value of a control
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_control *argp ) .. c:function:: int ioctl( int fd, VIDIOC_G_CTRL, struct v4l2_control *argp )
:name: VIDIOC_G_CTRL
.. c:function:: int ioctl( int fd, VIDIOC_S_CTRL, struct v4l2_control *argp )
:name: VIDIOC_S_CTRL
Arguments Arguments
...@@ -24,9 +28,6 @@ Arguments ...@@ -24,9 +28,6 @@ Arguments
``fd`` ``fd``
File descriptor returned by :ref:`open() <func-open>`. File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_G_CTRL, VIDIOC_S_CTRL
``argp`` ``argp``
......
...@@ -15,7 +15,17 @@ VIDIOC_G_DV_TIMINGS - VIDIOC_S_DV_TIMINGS - VIDIOC_SUBDEV_G_DV_TIMINGS - VIDIOC_ ...@@ -15,7 +15,17 @@ VIDIOC_G_DV_TIMINGS - VIDIOC_S_DV_TIMINGS - VIDIOC_SUBDEV_G_DV_TIMINGS - VIDIOC_
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_dv_timings *argp ) .. c:function:: int ioctl( int fd, VIDIOC_G_DV_TIMINGS, struct v4l2_dv_timings *argp )
:name: VIDIOC_G_DV_TIMINGS
.. c:function:: int ioctl( int fd, VIDIOC_S_DV_TIMINGS, struct v4l2_dv_timings *argp )
:name: VIDIOC_S_DV_TIMINGS
.. c:function:: int ioctl( int fd, VIDIOC_SUBDEV_G_DV_TIMINGS, struct v4l2_dv_timings *argp )
:name: VIDIOC_SUBDEV_G_DV_TIMINGS
.. c:function:: int ioctl( int fd, VIDIOC_SUBDEV_S_DV_TIMINGS, struct v4l2_dv_timings *argp )
:name: VIDIOC_SUBDEV_S_DV_TIMINGS
Arguments Arguments
...@@ -24,10 +34,6 @@ Arguments ...@@ -24,10 +34,6 @@ Arguments
``fd`` ``fd``
File descriptor returned by :ref:`open() <func-open>`. File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_G_DV_TIMINGS, VIDIOC_S_DV_TIMINGS,
VIDIOC_SUBDEV_G_DV_TIMINGS, VIDIOC_SUBDEV_S_DV_TIMINGS
``argp`` ``argp``
......
...@@ -15,7 +15,18 @@ VIDIOC_G_EDID - VIDIOC_S_EDID - VIDIOC_SUBDEV_G_EDID - VIDIOC_SUBDEV_S_EDID - Ge ...@@ -15,7 +15,18 @@ VIDIOC_G_EDID - VIDIOC_S_EDID - VIDIOC_SUBDEV_G_EDID - VIDIOC_SUBDEV_S_EDID - Ge
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_edid *argp ) .. c:function:: int ioctl( int fd, VIDIOC_G_EDID, struct v4l2_edid *argp )
:name: VIDIOC_G_EDID
.. c:function:: int ioctl( int fd, VIDIOC_S_EDID, struct v4l2_edid *argp )
:name: VIDIOC_S_EDID
.. c:function:: int ioctl( int fd, VIDIOC_SUBDEV_G_EDID, struct v4l2_edid *argp )
:name: VIDIOC_SUBDEV_G_EDID
.. c:function:: int ioctl( int fd, VIDIOC_SUBDEV_S_EDID, struct v4l2_edid *argp )
:name: VIDIOC_SUBDEV_S_EDID
Arguments Arguments
...@@ -24,10 +35,6 @@ Arguments ...@@ -24,10 +35,6 @@ Arguments
``fd`` ``fd``
File descriptor returned by :ref:`open() <func-open>`. File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_G_EDID, VIDIOC_S_EDID, VIDIOC_SUBDEV_G_EDID,
VIDIOC_SUBDEV_S_EDID
``argp`` ``argp``
......
...@@ -15,7 +15,8 @@ VIDIOC_G_ENC_INDEX - Get meta data about a compressed video stream ...@@ -15,7 +15,8 @@ VIDIOC_G_ENC_INDEX - Get meta data about a compressed video stream
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_enc_idx *argp ) .. c:function:: int ioctl( int fd, VIDIOC_G_ENC_INDEX, struct v4l2_enc_idx *argp )
:name: VIDIOC_G_ENC_INDEX
Arguments Arguments
...@@ -24,9 +25,6 @@ Arguments ...@@ -24,9 +25,6 @@ Arguments
``fd`` ``fd``
File descriptor returned by :ref:`open() <func-open>`. File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_G_ENC_INDEX
``argp`` ``argp``
......
...@@ -15,7 +15,16 @@ VIDIOC_G_EXT_CTRLS - VIDIOC_S_EXT_CTRLS - VIDIOC_TRY_EXT_CTRLS - Get or set the ...@@ -15,7 +15,16 @@ VIDIOC_G_EXT_CTRLS - VIDIOC_S_EXT_CTRLS - VIDIOC_TRY_EXT_CTRLS - Get or set the
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_ext_controls *argp ) .. c:function:: int ioctl( int fd, VIDIOC_G_EXT_CTRLS, struct v4l2_ext_controls *argp )
:name: VIDIOC_G_EXT_CTRLS
.. c:function:: int ioctl( int fd, VIDIOC_S_EXT_CTRLS, struct v4l2_ext_controls *argp )
:name: VIDIOC_S_EXT_CTRLS
.. c:function:: int ioctl( int fd, VIDIOC_TRY_EXT_CTRLS, struct v4l2_ext_controls *argp )
:name: VIDIOC_TRY_EXT_CTRLS
Arguments Arguments
...@@ -24,10 +33,6 @@ Arguments ...@@ -24,10 +33,6 @@ Arguments
``fd`` ``fd``
File descriptor returned by :ref:`open() <func-open>`. File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_G_EXT_CTRLS, VIDIOC_S_EXT_CTRLS,
VIDIOC_TRY_EXT_CTRLS
``argp`` ``argp``
......
...@@ -15,9 +15,11 @@ VIDIOC_G_FBUF - VIDIOC_S_FBUF - Get or set frame buffer overlay parameters ...@@ -15,9 +15,11 @@ VIDIOC_G_FBUF - VIDIOC_S_FBUF - Get or set frame buffer overlay parameters
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_framebuffer *argp ) .. c:function:: int ioctl( int fd, VIDIOC_G_FBUF, struct v4l2_framebuffer *argp )
:name: VIDIOC_G_FBUF
.. c:function:: int ioctl( int fd, int request, const struct v4l2_framebuffer *argp ) .. c:function:: int ioctl( int fd, VIDIOC_S_FBUF, const struct v4l2_framebuffer *argp )
:name: VIDIOC_S_FBUF
Arguments Arguments
...@@ -26,9 +28,6 @@ Arguments ...@@ -26,9 +28,6 @@ Arguments
``fd`` ``fd``
File descriptor returned by :ref:`open() <func-open>`. File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_G_FBUF, VIDIOC_S_FBUF
``argp`` ``argp``
......
...@@ -15,8 +15,14 @@ VIDIOC_G_FMT - VIDIOC_S_FMT - VIDIOC_TRY_FMT - Get or set the data format, try a ...@@ -15,8 +15,14 @@ VIDIOC_G_FMT - VIDIOC_S_FMT - VIDIOC_TRY_FMT - Get or set the data format, try a
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_format *argp ) .. c:function:: int ioctl( int fd, VIDIOC_G_FMT, struct v4l2_format *argp )
:name: VIDIOC_G_FMT
.. c:function:: int ioctl( int fd, VIDIOC_S_FMT, struct v4l2_format *argp )
:name: VIDIOC_S_FMT
.. c:function:: int ioctl( int fd, VIDIOC_TRY_FMT, struct v4l2_format *argp )
:name: VIDIOC_TRY_FMT
Arguments Arguments
========= =========
...@@ -24,9 +30,6 @@ Arguments ...@@ -24,9 +30,6 @@ Arguments
``fd`` ``fd``
File descriptor returned by :ref:`open() <func-open>`. File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_G_FMT, VIDIOC_S_FMT, VIDIOC_TRY_FMT
``argp`` ``argp``
......
...@@ -15,9 +15,11 @@ VIDIOC_G_FREQUENCY - VIDIOC_S_FREQUENCY - Get or set tuner or modulator radio fr ...@@ -15,9 +15,11 @@ VIDIOC_G_FREQUENCY - VIDIOC_S_FREQUENCY - Get or set tuner or modulator radio fr
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_frequency *argp ) .. c:function:: int ioctl( int fd, VIDIOC_G_FREQUENCY, struct v4l2_frequency *argp )
:name: VIDIOC_G_FREQUENCY
.. c:function:: int ioctl( int fd, int request, const struct v4l2_frequency *argp ) .. c:function:: int ioctl( int fd, VIDIOC_S_FREQUENCY, const struct v4l2_frequency *argp )
:name: VIDIOC_S_FREQUENCY
Arguments Arguments
...@@ -26,9 +28,6 @@ Arguments ...@@ -26,9 +28,6 @@ Arguments
``fd`` ``fd``
File descriptor returned by :ref:`open() <func-open>`. File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_G_FREQUENCY, VIDIOC_S_FREQUENCY
``argp`` ``argp``
......
...@@ -15,7 +15,11 @@ VIDIOC_G_INPUT - VIDIOC_S_INPUT - Query or select the current video input ...@@ -15,7 +15,11 @@ VIDIOC_G_INPUT - VIDIOC_S_INPUT - Query or select the current video input
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, int *argp ) .. c:function:: int ioctl( int fd, VIDIOC_G_INPUT, int *argp )
:name: VIDIOC_G_INPUT
.. c:function:: int ioctl( int fd, VIDIOC_S_INPUT, int *argp )
:name: VIDIOC_S_INPUT
Arguments Arguments
...@@ -24,9 +28,6 @@ Arguments ...@@ -24,9 +28,6 @@ Arguments
``fd`` ``fd``
File descriptor returned by :ref:`open() <func-open>`. File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_G_INPUT, VIDIOC_S_INPUT
``argp`` ``argp``
......
...@@ -15,9 +15,11 @@ VIDIOC_G_JPEGCOMP - VIDIOC_S_JPEGCOMP ...@@ -15,9 +15,11 @@ VIDIOC_G_JPEGCOMP - VIDIOC_S_JPEGCOMP
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, v4l2_jpegcompression *argp ) .. c:function:: int ioctl( int fd, VIDIOC_G_JPEGCOMP, v4l2_jpegcompression *argp )
:name: VIDIOC_G_JPEGCOMP
.. c:function:: int ioctl( int fd, int request, const v4l2_jpegcompression *argp ) .. c:function:: int ioctl( int fd, VIDIOC_S_JPEGCOMP, const v4l2_jpegcompression *argp )
:name: VIDIOC_S_JPEGCOMP
Arguments Arguments
...@@ -26,9 +28,6 @@ Arguments ...@@ -26,9 +28,6 @@ Arguments
``fd`` ``fd``
File descriptor returned by :ref:`open() <func-open>`. File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_G_JPEGCOMP, VIDIOC_S_JPEGCOMP
``argp`` ``argp``
......
...@@ -15,9 +15,11 @@ VIDIOC_G_MODULATOR - VIDIOC_S_MODULATOR - Get or set modulator attributes ...@@ -15,9 +15,11 @@ VIDIOC_G_MODULATOR - VIDIOC_S_MODULATOR - Get or set modulator attributes
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_modulator *argp ) .. c:function:: int ioctl( int fd, VIDIOC_G_MODULATOR, struct v4l2_modulator *argp )
:name: VIDIOC_G_MODULATOR
.. c:function:: int ioctl( int fd, int request, const struct v4l2_modulator *argp ) .. c:function:: int ioctl( int fd, VIDIOC_S_MODULATOR, const struct v4l2_modulator *argp )
:name: VIDIOC_S_MODULATOR
Arguments Arguments
...@@ -26,9 +28,6 @@ Arguments ...@@ -26,9 +28,6 @@ Arguments
``fd`` ``fd``
File descriptor returned by :ref:`open() <func-open>`. File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_G_MODULATOR, VIDIOC_S_MODULATOR
``argp`` ``argp``
......
...@@ -15,7 +15,11 @@ VIDIOC_G_OUTPUT - VIDIOC_S_OUTPUT - Query or select the current video output ...@@ -15,7 +15,11 @@ VIDIOC_G_OUTPUT - VIDIOC_S_OUTPUT - Query or select the current video output
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, int *argp ) .. c:function:: int ioctl( int fd, VIDIOC_G_OUTPUT, int *argp )
:name: VIDIOC_G_OUTPUT
.. c:function:: int ioctl( int fd, VIDIOC_S_OUTPUT, int *argp )
:name: VIDIOC_S_OUTPUT
Arguments Arguments
...@@ -24,9 +28,6 @@ Arguments ...@@ -24,9 +28,6 @@ Arguments
``fd`` ``fd``
File descriptor returned by :ref:`open() <func-open>`. File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_G_OUTPUT, VIDIOC_S_OUTPUT
``argp`` ``argp``
......
...@@ -15,7 +15,11 @@ VIDIOC_G_PARM - VIDIOC_S_PARM - Get or set streaming parameters ...@@ -15,7 +15,11 @@ VIDIOC_G_PARM - VIDIOC_S_PARM - Get or set streaming parameters
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, v4l2_streamparm *argp ) .. c:function:: int ioctl( int fd, VIDIOC_G_PARM, v4l2_streamparm *argp )
:name: VIDIOC_G_PARM
.. c:function:: int ioctl( int fd, VIDIOC_S_PARM, v4l2_streamparm *argp )
:name: VIDIOC_S_PARM
Arguments Arguments
...@@ -24,9 +28,6 @@ Arguments ...@@ -24,9 +28,6 @@ Arguments
``fd`` ``fd``
File descriptor returned by :ref:`open() <func-open>`. File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_G_PARM, VIDIOC_S_PARM
``argp`` ``argp``
......
...@@ -15,9 +15,11 @@ VIDIOC_G_PRIORITY - VIDIOC_S_PRIORITY - Query or request the access priority ass ...@@ -15,9 +15,11 @@ VIDIOC_G_PRIORITY - VIDIOC_S_PRIORITY - Query or request the access priority ass
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, enum v4l2_priority *argp ) .. c:function:: int ioctl( int fd, VIDIOC_G_PRIORITY, enum v4l2_priority *argp )
:name: VIDIOC_G_PRIORITY
.. c:function:: int ioctl( int fd, int request, const enum v4l2_priority *argp ) .. c:function:: int ioctl( int fd, VIDIOC_S_PRIORITY, const enum v4l2_priority *argp )
:name: VIDIOC_S_PRIORITY
Arguments Arguments
...@@ -26,9 +28,6 @@ Arguments ...@@ -26,9 +28,6 @@ Arguments
``fd`` ``fd``
File descriptor returned by :ref:`open() <func-open>`. File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_G_PRIORITY, VIDIOC_S_PRIORITY
``argp`` ``argp``
Pointer to an enum v4l2_priority type. Pointer to an enum v4l2_priority type.
......
...@@ -15,7 +15,12 @@ VIDIOC_G_SELECTION - VIDIOC_S_SELECTION - Get or set one of the selection rectan ...@@ -15,7 +15,12 @@ VIDIOC_G_SELECTION - VIDIOC_S_SELECTION - Get or set one of the selection rectan
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_selection *argp ) .. c:function:: int ioctl( int fd, VIDIOC_G_SELECTION, struct v4l2_selection *argp )
:name: VIDIOC_G_SELECTION
.. c:function:: int ioctl( int fd, VIDIOC_S_SELECTION, struct v4l2_selection *argp )
:name: VIDIOC_S_SELECTION
Arguments Arguments
......
...@@ -15,7 +15,8 @@ VIDIOC_G_SLICED_VBI_CAP - Query sliced VBI capabilities ...@@ -15,7 +15,8 @@ VIDIOC_G_SLICED_VBI_CAP - Query sliced VBI capabilities
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_sliced_vbi_cap *argp ) .. c:function:: int ioctl( int fd, VIDIOC_G_SLICED_VBI_CAP, struct v4l2_sliced_vbi_cap *argp )
:name: VIDIOC_G_SLICED_VBI_CAP
Arguments Arguments
...@@ -24,9 +25,6 @@ Arguments ...@@ -24,9 +25,6 @@ Arguments
``fd`` ``fd``
File descriptor returned by :ref:`open() <func-open>`. File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_G_SLICED_VBI_CAP
``argp`` ``argp``
......
...@@ -15,9 +15,11 @@ VIDIOC_G_STD - VIDIOC_S_STD - Query or select the video standard of the current ...@@ -15,9 +15,11 @@ VIDIOC_G_STD - VIDIOC_S_STD - Query or select the video standard of the current
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, v4l2_std_id *argp ) .. c:function:: int ioctl( int fd, VIDIOC_G_STD, v4l2_std_id *argp )
:name: VIDIOC_G_STD
.. c:function:: int ioctl( int fd, int request, const v4l2_std_id *argp ) .. c:function:: int ioctl( int fd, VIDIOC_S_STD, const v4l2_std_id *argp )
:name: VIDIOC_S_STD
Arguments Arguments
...@@ -26,9 +28,6 @@ Arguments ...@@ -26,9 +28,6 @@ Arguments
``fd`` ``fd``
File descriptor returned by :ref:`open() <func-open>`. File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_G_STD, VIDIOC_S_STD
``argp`` ``argp``
......
...@@ -15,9 +15,11 @@ VIDIOC_G_TUNER - VIDIOC_S_TUNER - Get or set tuner attributes ...@@ -15,9 +15,11 @@ VIDIOC_G_TUNER - VIDIOC_S_TUNER - Get or set tuner attributes
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_tuner *argp ) .. c:function:: int ioctl( int fd, VIDIOC_G_TUNER, struct v4l2_tuner *argp )
:name: VIDIOC_G_TUNER
.. c:function:: int ioctl( int fd, int request, const struct v4l2_tuner *argp ) .. c:function:: int ioctl( int fd, VIDIOC_S_TUNER, const struct v4l2_tuner *argp )
:name: VIDIOC_S_TUNER
Arguments Arguments
...@@ -26,9 +28,6 @@ Arguments ...@@ -26,9 +28,6 @@ Arguments
``fd`` ``fd``
File descriptor returned by :ref:`open() <func-open>`. File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_G_TUNER, VIDIOC_S_TUNER
``argp`` ``argp``
......
...@@ -15,12 +15,15 @@ VIDIOC_LOG_STATUS - Log driver status information ...@@ -15,12 +15,15 @@ VIDIOC_LOG_STATUS - Log driver status information
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request ) .. c:function:: int ioctl( int fd, VIDIOC_LOG_STATUS)
:name: VIDIOC_LOG_STATUS
Arguments Arguments
========= =========
``fd``
File descriptor returned by :ref:`open() <func-open>`.
Description Description
......
...@@ -15,7 +15,8 @@ VIDIOC_OVERLAY - Start or stop video overlay ...@@ -15,7 +15,8 @@ VIDIOC_OVERLAY - Start or stop video overlay
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, const int *argp ) .. c:function:: int ioctl( int fd, VIDIOC_OVERLAY, const int *argp )
:name: VIDIOC_OVERLAY
Arguments Arguments
...@@ -24,9 +25,6 @@ Arguments ...@@ -24,9 +25,6 @@ Arguments
``fd`` ``fd``
File descriptor returned by :ref:`open() <func-open>`. File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_OVERLAY
``argp`` ``argp``
......
...@@ -15,7 +15,8 @@ VIDIOC_PREPARE_BUF - Prepare a buffer for I/O ...@@ -15,7 +15,8 @@ VIDIOC_PREPARE_BUF - Prepare a buffer for I/O
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_buffer *argp ) .. c:function:: int ioctl( int fd, VIDIOC_PREPARE_BUF, struct v4l2_buffer *argp )
:name: VIDIOC_PREPARE_BUF
Arguments Arguments
...@@ -24,9 +25,6 @@ Arguments ...@@ -24,9 +25,6 @@ Arguments
``fd`` ``fd``
File descriptor returned by :ref:`open() <func-open>`. File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_PREPARE_BUF
``argp`` ``argp``
......
...@@ -15,7 +15,11 @@ VIDIOC_QBUF - VIDIOC_DQBUF - Exchange a buffer with the driver ...@@ -15,7 +15,11 @@ VIDIOC_QBUF - VIDIOC_DQBUF - Exchange a buffer with the driver
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_buffer *argp ) .. c:function:: int ioctl( int fd, VIDIOC_QBUF, struct v4l2_buffer *argp )
:name: VIDIOC_QBUF
.. c:function:: int ioctl( int fd, VIDIOC_DQBUF, struct v4l2_buffer *argp )
:name: VIDIOC_DQBUF
Arguments Arguments
...@@ -24,9 +28,6 @@ Arguments ...@@ -24,9 +28,6 @@ Arguments
``fd`` ``fd``
File descriptor returned by :ref:`open() <func-open>`. File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_QBUF, VIDIOC_DQBUF
``argp`` ``argp``
......
...@@ -15,7 +15,11 @@ VIDIOC_QUERY_DV_TIMINGS - VIDIOC_SUBDEV_QUERY_DV_TIMINGS - Sense the DV preset r ...@@ -15,7 +15,11 @@ VIDIOC_QUERY_DV_TIMINGS - VIDIOC_SUBDEV_QUERY_DV_TIMINGS - Sense the DV preset r
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_dv_timings *argp ) .. c:function:: int ioctl( int fd, VIDIOC_QUERY_DV_TIMINGS, struct v4l2_dv_timings *argp )
:name: VIDIOC_QUERY_DV_TIMINGS
.. c:function:: int ioctl( int fd, VIDIOC_SUBDEV_QUERY_DV_TIMINGS, struct v4l2_dv_timings *argp )
:name: VIDIOC_SUBDEV_QUERY_DV_TIMINGS
Arguments Arguments
...@@ -24,9 +28,6 @@ Arguments ...@@ -24,9 +28,6 @@ Arguments
``fd`` ``fd``
File descriptor returned by :ref:`open() <func-open>`. File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_QUERY_DV_TIMINGS, VIDIOC_SUBDEV_QUERY_DV_TIMINGS
``argp`` ``argp``
......
...@@ -15,7 +15,8 @@ VIDIOC_QUERYBUF - Query the status of a buffer ...@@ -15,7 +15,8 @@ VIDIOC_QUERYBUF - Query the status of a buffer
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_buffer *argp ) .. c:function:: int ioctl( int fd, VIDIOC_QUERYBUF, struct v4l2_buffer *argp )
:name: VIDIOC_QUERYBUF
Arguments Arguments
...@@ -24,9 +25,6 @@ Arguments ...@@ -24,9 +25,6 @@ Arguments
``fd`` ``fd``
File descriptor returned by :ref:`open() <func-open>`. File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_QUERYBUF
``argp`` ``argp``
......
...@@ -15,7 +15,8 @@ VIDIOC_QUERYCAP - Query device capabilities ...@@ -15,7 +15,8 @@ VIDIOC_QUERYCAP - Query device capabilities
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_capability *argp ) .. c:function:: int ioctl( int fd, VIDIOC_QUERYCAP, struct v4l2_capability *argp )
:name: VIDIOC_QUERYCAP
Arguments Arguments
...@@ -24,9 +25,6 @@ Arguments ...@@ -24,9 +25,6 @@ Arguments
``fd`` ``fd``
File descriptor returned by :ref:`open() <func-open>`. File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_QUERYCAP
``argp`` ``argp``
......
...@@ -15,11 +15,14 @@ VIDIOC_QUERYCTRL - VIDIOC_QUERY_EXT_CTRL - VIDIOC_QUERYMENU - Enumerate controls ...@@ -15,11 +15,14 @@ VIDIOC_QUERYCTRL - VIDIOC_QUERY_EXT_CTRL - VIDIOC_QUERYMENU - Enumerate controls
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_queryctrl *argp ) .. c:function:: int ioctl( int fd, int VIDIOC_QUERYCTRL, struct v4l2_queryctrl *argp )
:name: VIDIOC_QUERYCTRL
.. c:function:: int ioctl( int fd, int request, struct v4l2_query_ext_ctrl *argp ) .. c:function:: int ioctl( int fd, VIDIOC_QUERY_EXT_CTRL, struct v4l2_query_ext_ctrl *argp )
:name: VIDIOC_QUERY_EXT_CTRL
.. c:function:: int ioctl( int fd, int request, struct v4l2_querymenu *argp ) .. c:function:: int ioctl( int fd, VIDIOC_QUERYMENU, struct v4l2_querymenu *argp )
:name: VIDIOC_QUERYMENU
Arguments Arguments
...@@ -28,9 +31,6 @@ Arguments ...@@ -28,9 +31,6 @@ Arguments
``fd`` ``fd``
File descriptor returned by :ref:`open() <func-open>`. File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_QUERYCTRL, VIDIOC_QUERY_EXT_CTRL, VIDIOC_QUERYMENU
``argp`` ``argp``
......
...@@ -15,7 +15,8 @@ VIDIOC_QUERYSTD - Sense the video standard received by the current input ...@@ -15,7 +15,8 @@ VIDIOC_QUERYSTD - Sense the video standard received by the current input
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, v4l2_std_id *argp ) .. c:function:: int ioctl( int fd, VIDIOC_QUERYSTD, v4l2_std_id *argp )
:name: VIDIOC_QUERYSTD
Arguments Arguments
...@@ -24,9 +25,6 @@ Arguments ...@@ -24,9 +25,6 @@ Arguments
``fd`` ``fd``
File descriptor returned by :ref:`open() <func-open>`. File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_QUERYSTD
``argp`` ``argp``
......
...@@ -15,7 +15,8 @@ VIDIOC_REQBUFS - Initiate Memory Mapping, User Pointer I/O or DMA buffer I/O ...@@ -15,7 +15,8 @@ VIDIOC_REQBUFS - Initiate Memory Mapping, User Pointer I/O or DMA buffer I/O
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_requestbuffers *argp ) .. c:function:: int ioctl( int fd, VIDIOC_REQBUFS, struct v4l2_requestbuffers *argp )
:name: VIDIOC_REQBUFS
Arguments Arguments
...@@ -24,9 +25,6 @@ Arguments ...@@ -24,9 +25,6 @@ Arguments
``fd`` ``fd``
File descriptor returned by :ref:`open() <func-open>`. File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_REQBUFS
``argp`` ``argp``
......
...@@ -15,7 +15,8 @@ VIDIOC_S_HW_FREQ_SEEK - Perform a hardware frequency seek ...@@ -15,7 +15,8 @@ VIDIOC_S_HW_FREQ_SEEK - Perform a hardware frequency seek
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_hw_freq_seek *argp ) .. c:function:: int ioctl( int fd, VIDIOC_S_HW_FREQ_SEEK, struct v4l2_hw_freq_seek *argp )
:name: VIDIOC_S_HW_FREQ_SEEK
Arguments Arguments
...@@ -24,9 +25,6 @@ Arguments ...@@ -24,9 +25,6 @@ Arguments
``fd`` ``fd``
File descriptor returned by :ref:`open() <func-open>`. File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_S_HW_FREQ_SEEK
``argp`` ``argp``
......
...@@ -15,7 +15,11 @@ VIDIOC_STREAMON - VIDIOC_STREAMOFF - Start or stop streaming I/O ...@@ -15,7 +15,11 @@ VIDIOC_STREAMON - VIDIOC_STREAMOFF - Start or stop streaming I/O
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, const int *argp ) .. c:function:: int ioctl( int fd, VIDIOC_STREAMON, const int *argp )
:name: VIDIOC_STREAMON
.. c:function:: int ioctl( int fd, VIDIOC_STREAMOFF, const int *argp )
:name: VIDIOC_STREAMOFF
Arguments Arguments
...@@ -24,9 +28,6 @@ Arguments ...@@ -24,9 +28,6 @@ Arguments
``fd`` ``fd``
File descriptor returned by :ref:`open() <func-open>`. File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_STREAMON, VIDIOC_STREAMOFF
``argp`` ``argp``
......
...@@ -15,7 +15,8 @@ VIDIOC_SUBDEV_ENUM_FRAME_INTERVAL - Enumerate frame intervals ...@@ -15,7 +15,8 @@ VIDIOC_SUBDEV_ENUM_FRAME_INTERVAL - Enumerate frame intervals
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_subdev_frame_interval_enum * argp ) .. c:function:: int ioctl( int fd, VIDIOC_SUBDEV_ENUM_FRAME_INTERVAL, struct v4l2_subdev_frame_interval_enum * argp )
:name: VIDIOC_SUBDEV_ENUM_FRAME_INTERVAL
Arguments Arguments
...@@ -24,9 +25,6 @@ Arguments ...@@ -24,9 +25,6 @@ Arguments
``fd`` ``fd``
File descriptor returned by :ref:`open() <func-open>`. File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_SUBDEV_ENUM_FRAME_INTERVAL
``argp`` ``argp``
......
...@@ -15,7 +15,8 @@ VIDIOC_SUBDEV_ENUM_FRAME_SIZE - Enumerate media bus frame sizes ...@@ -15,7 +15,8 @@ VIDIOC_SUBDEV_ENUM_FRAME_SIZE - Enumerate media bus frame sizes
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_subdev_frame_size_enum * argp ) .. c:function:: int ioctl( int fd, VIDIOC_SUBDEV_ENUM_FRAME_SIZE, struct v4l2_subdev_frame_size_enum * argp )
:name: VIDIOC_SUBDEV_ENUM_FRAME_SIZE
Arguments Arguments
...@@ -24,9 +25,6 @@ Arguments ...@@ -24,9 +25,6 @@ Arguments
``fd`` ``fd``
File descriptor returned by :ref:`open() <func-open>`. File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_SUBDEV_ENUM_FRAME_SIZE
``argp`` ``argp``
......
...@@ -15,7 +15,8 @@ VIDIOC_SUBDEV_ENUM_MBUS_CODE - Enumerate media bus formats ...@@ -15,7 +15,8 @@ VIDIOC_SUBDEV_ENUM_MBUS_CODE - Enumerate media bus formats
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_subdev_mbus_code_enum * argp ) .. c:function:: int ioctl( int fd, VIDIOC_SUBDEV_ENUM_MBUS_CODE, struct v4l2_subdev_mbus_code_enum * argp )
:name: VIDIOC_SUBDEV_ENUM_MBUS_CODE
Arguments Arguments
...@@ -24,9 +25,6 @@ Arguments ...@@ -24,9 +25,6 @@ Arguments
``fd`` ``fd``
File descriptor returned by :ref:`open() <func-open>`. File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_SUBDEV_ENUM_MBUS_CODE
``argp`` ``argp``
......
...@@ -15,9 +15,11 @@ VIDIOC_SUBDEV_G_CROP - VIDIOC_SUBDEV_S_CROP - Get or set the crop rectangle on a ...@@ -15,9 +15,11 @@ VIDIOC_SUBDEV_G_CROP - VIDIOC_SUBDEV_S_CROP - Get or set the crop rectangle on a
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_subdev_crop *argp ) .. c:function:: int ioctl( int fd, VIDIOC_SUBDEV_G_CROP, struct v4l2_subdev_crop *argp )
:name: VIDIOC_SUBDEV_G_CROP
.. c:function:: int ioctl( int fd, int request, const struct v4l2_subdev_crop *argp ) .. c:function:: int ioctl( int fd, VIDIOC_SUBDEV_S_CROP, const struct v4l2_subdev_crop *argp )
:name: VIDIOC_SUBDEV_S_CROP
Arguments Arguments
...@@ -26,9 +28,6 @@ Arguments ...@@ -26,9 +28,6 @@ Arguments
``fd`` ``fd``
File descriptor returned by :ref:`open() <func-open>`. File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_SUBDEV_G_CROP, VIDIOC_SUBDEV_S_CROP
``argp`` ``argp``
......
...@@ -15,7 +15,11 @@ VIDIOC_SUBDEV_G_FMT - VIDIOC_SUBDEV_S_FMT - Get or set the data format on a subd ...@@ -15,7 +15,11 @@ VIDIOC_SUBDEV_G_FMT - VIDIOC_SUBDEV_S_FMT - Get or set the data format on a subd
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_subdev_format *argp ) .. c:function:: int ioctl( int fd, VIDIOC_SUBDEV_G_FMT, struct v4l2_subdev_format *argp )
:name: VIDIOC_SUBDEV_G_FMT
.. c:function:: int ioctl( int fd, VIDIOC_SUBDEV_S_FMT, struct v4l2_subdev_format *argp )
:name: VIDIOC_SUBDEV_S_FMT
Arguments Arguments
...@@ -24,9 +28,6 @@ Arguments ...@@ -24,9 +28,6 @@ Arguments
``fd`` ``fd``
File descriptor returned by :ref:`open() <func-open>`. File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_SUBDEV_G_FMT, VIDIOC_SUBDEV_S_FMT
``argp`` ``argp``
......
...@@ -15,7 +15,11 @@ VIDIOC_SUBDEV_G_FRAME_INTERVAL - VIDIOC_SUBDEV_S_FRAME_INTERVAL - Get or set the ...@@ -15,7 +15,11 @@ VIDIOC_SUBDEV_G_FRAME_INTERVAL - VIDIOC_SUBDEV_S_FRAME_INTERVAL - Get or set the
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_subdev_frame_interval *argp ) .. c:function:: int ioctl( int fd, VIDIOC_SUBDEV_G_FRAME_INTERVAL, struct v4l2_subdev_frame_interval *argp )
:name: VIDIOC_SUBDEV_G_FRAME_INTERVAL
.. c:function:: int ioctl( int fd, VIDIOC_SUBDEV_S_FRAME_INTERVAL, struct v4l2_subdev_frame_interval *argp )
:name: VIDIOC_SUBDEV_S_FRAME_INTERVAL
Arguments Arguments
...@@ -24,10 +28,6 @@ Arguments ...@@ -24,10 +28,6 @@ Arguments
``fd`` ``fd``
File descriptor returned by :ref:`open() <func-open>`. File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_SUBDEV_G_FRAME_INTERVAL,
VIDIOC_SUBDEV_S_FRAME_INTERVAL
``argp`` ``argp``
......
...@@ -15,7 +15,11 @@ VIDIOC_SUBDEV_G_SELECTION - VIDIOC_SUBDEV_S_SELECTION - Get or set selection rec ...@@ -15,7 +15,11 @@ VIDIOC_SUBDEV_G_SELECTION - VIDIOC_SUBDEV_S_SELECTION - Get or set selection rec
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_subdev_selection *argp ) .. c:function:: int ioctl( int fd, VIDIOC_SUBDEV_G_SELECTION, struct v4l2_subdev_selection *argp )
:name: VIDIOC_SUBDEV_G_SELECTION
.. c:function:: int ioctl( int fd, VIDIOC_SUBDEV_S_SELECTION, struct v4l2_subdev_selection *argp )
:name: VIDIOC_SUBDEV_S_SELECTION
Arguments Arguments
...@@ -24,9 +28,6 @@ Arguments ...@@ -24,9 +28,6 @@ Arguments
``fd`` ``fd``
File descriptor returned by :ref:`open() <func-open>`. File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_SUBDEV_G_SELECTION, VIDIOC_SUBDEV_S_SELECTION
``argp`` ``argp``
......
...@@ -16,7 +16,11 @@ VIDIOC_SUBSCRIBE_EVENT - VIDIOC_UNSUBSCRIBE_EVENT - Subscribe or unsubscribe eve ...@@ -16,7 +16,11 @@ VIDIOC_SUBSCRIBE_EVENT - VIDIOC_UNSUBSCRIBE_EVENT - Subscribe or unsubscribe eve
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_event_subscription *argp ) .. c:function:: int ioctl( int fd, VIDIOC_SUBSCRIBE_EVENT, struct v4l2_event_subscription *argp )
:name: VIDIOC_SUBSCRIBE_EVENT
.. c:function:: int ioctl( int fd, VIDIOC_UNSUBSCRIBE_EVENT, struct v4l2_event_subscription *argp )
:name: VIDIOC_UNSUBSCRIBE_EVENT
Arguments Arguments
...@@ -25,9 +29,6 @@ Arguments ...@@ -25,9 +29,6 @@ Arguments
``fd`` ``fd``
File descriptor returned by :ref:`open() <func-open>`. File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_SUBSCRIBE_EVENT, VIDIOC_UNSUBSCRIBE_EVENT
``argp`` ``argp``
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment