[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: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
Mauro Carvalho Chehab 2016-08-19 16:53:38 -03:00
parent 1b81f010bf
commit 41d804653e
69 changed files with 262 additions and 263 deletions

View File

@ -21,7 +21,7 @@ Synopsis
.. c:function:: int close( int fd )
:name: v4l2-close
Arguments
=========

View File

@ -21,7 +21,7 @@ Synopsis
.. c:function:: int ioctl( int fd, int request, void *argp )
:name: v4l2-ioctl
Arguments
=========

View File

@ -22,7 +22,7 @@ Synopsis
.. c:function:: void *mmap( void *start, size_t length, int prot, int flags, int fd, off_t offset )
:name: v4l2-mmap
Arguments
=========

View File

@ -22,7 +22,7 @@ Synopsis
.. c:function:: int munmap( void *start, size_t length )
:name: v4l2-munmap
Arguments
=========

View File

@ -21,7 +21,7 @@ Synopsis
.. c:function:: int open( const char *device_name, int flags )
:name: v4l2-open
Arguments
=========

View File

@ -21,7 +21,7 @@ Synopsis
.. c:function:: int poll( struct pollfd *ufds, unsigned int nfds, int timeout )
name: v4l2-poll
Arguments
=========

View File

@ -21,7 +21,7 @@ Synopsis
.. c:function:: ssize_t read( int fd, void *buf, size_t count )
:name: v4l2-read
Arguments
=========
@ -30,8 +30,10 @@ Arguments
File descriptor returned by :ref:`open() <func-open>`.
``buf``
``count``
Buffer to be filled
``count``
Max number of bytes to read
Description
===========

View File

@ -23,11 +23,25 @@ Synopsis
.. c:function:: int select( int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout )
:name: v4l2-select
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

View File

@ -21,7 +21,7 @@ Synopsis
.. c:function:: ssize_t write( int fd, void *buf, size_t count )
:name: v4l2-write
Arguments
=========
@ -30,8 +30,10 @@ Arguments
File descriptor returned by :ref:`open() <func-open>`.
``buf``
``count``
Buffer with data to be written
``count``
Number of bytes at the buffer
Description
===========

View File

@ -15,7 +15,8 @@ VIDIOC_CREATE_BUFS - Create buffers for Memory Mapped or User Pointer or DMA Buf
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
@ -24,9 +25,6 @@ Arguments
``fd``
File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_CREATE_BUFS
``argp``

View File

@ -15,7 +15,8 @@ VIDIOC_CROPCAP - Information about the video cropping and scaling abilities
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
@ -24,9 +25,6 @@ Arguments
``fd``
File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_CROPCAP
``argp``

View File

@ -15,7 +15,8 @@ VIDIOC_DBG_G_CHIP_INFO - Identify the chips on a TV card
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
@ -24,9 +25,6 @@ Arguments
``fd``
File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_DBG_G_CHIP_INFO
``argp``

View File

@ -15,9 +15,11 @@ VIDIOC_DBG_G_REGISTER - VIDIOC_DBG_S_REGISTER - Read or write hardware registers
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
@ -26,9 +28,6 @@ Arguments
``fd``
File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_DBG_G_REGISTER, VIDIOC_DBG_S_REGISTER
``argp``

View File

@ -15,7 +15,12 @@ VIDIOC_DECODER_CMD - VIDIOC_TRY_DECODER_CMD - Execute an decoder command
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
@ -24,10 +29,8 @@ Arguments
``fd``
File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_DECODER_CMD, VIDIOC_TRY_DECODER_CMD
``argp``
pointer to struct :ref:`v4l2_decoder_cmd <v4l2-decoder-cmd>`.
Description

View File

@ -15,7 +15,8 @@ VIDIOC_DQEVENT - Dequeue event
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
@ -24,9 +25,6 @@ Arguments
``fd``
File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_DQEVENT
``argp``

View File

@ -15,7 +15,11 @@ VIDIOC_DV_TIMINGS_CAP - VIDIOC_SUBDEV_DV_TIMINGS_CAP - The capabilities of the D
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
@ -24,9 +28,6 @@ Arguments
``fd``
File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_DV_TIMINGS_CAP, VIDIOC_SUBDEV_DV_TIMINGS_CAP
``argp``

View File

@ -15,7 +15,11 @@ VIDIOC_ENCODER_CMD - VIDIOC_TRY_ENCODER_CMD - Execute an encoder command
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
@ -24,9 +28,6 @@ Arguments
``fd``
File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_ENCODER_CMD, VIDIOC_TRY_ENCODER_CMD
``argp``

View File

@ -15,7 +15,11 @@ VIDIOC_ENUM_DV_TIMINGS - VIDIOC_SUBDEV_ENUM_DV_TIMINGS - Enumerate supported Dig
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
@ -24,9 +28,6 @@ Arguments
``fd``
File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_ENUM_DV_TIMINGS, VIDIOC_SUBDEV_ENUM_DV_TIMINGS
``argp``

View File

@ -15,7 +15,8 @@ VIDIOC_ENUM_FMT - Enumerate image formats
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
@ -24,9 +25,6 @@ Arguments
``fd``
File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_ENUM_FMT
``argp``

View File

@ -15,7 +15,8 @@ VIDIOC_ENUM_FRAMEINTERVALS - Enumerate frame intervals
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
@ -24,9 +25,6 @@ Arguments
``fd``
File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_ENUM_FRAMEINTERVALS
``argp``
Pointer to a struct :ref:`v4l2_frmivalenum <v4l2-frmivalenum>`
structure that contains a pixel format and size and receives a frame

View File

@ -15,7 +15,8 @@ VIDIOC_ENUM_FRAMESIZES - Enumerate frame sizes
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
@ -24,9 +25,6 @@ Arguments
``fd``
File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_ENUM_FRAMESIZES
``argp``
Pointer to a struct :ref:`v4l2_frmsizeenum <v4l2-frmsizeenum>`
that contains an index and pixel format and receives a frame width

View File

@ -15,7 +15,8 @@ VIDIOC_ENUM_FREQ_BANDS - Enumerate supported frequency bands
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
@ -24,9 +25,6 @@ Arguments
``fd``
File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_ENUM_FREQ_BANDS
``argp``

View File

@ -15,7 +15,8 @@ VIDIOC_ENUMAUDIO - Enumerate audio inputs
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
@ -24,9 +25,6 @@ Arguments
``fd``
File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_ENUMAUDIO
``argp``

View File

@ -15,7 +15,8 @@ VIDIOC_ENUMAUDOUT - Enumerate audio outputs
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
@ -24,9 +25,6 @@ Arguments
``fd``
File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_ENUMAUDOUT
``argp``

View File

@ -15,7 +15,8 @@ VIDIOC_ENUMINPUT - Enumerate video inputs
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
@ -24,9 +25,6 @@ Arguments
``fd``
File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_ENUMINPUT
``argp``

View File

@ -15,7 +15,8 @@ VIDIOC_ENUMOUTPUT - Enumerate video outputs
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
@ -24,9 +25,6 @@ Arguments
``fd``
File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_ENUMOUTPUT
``argp``

View File

@ -15,7 +15,8 @@ VIDIOC_ENUMSTD - Enumerate supported video standards
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
@ -24,9 +25,6 @@ Arguments
``fd``
File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_ENUMSTD
``argp``

View File

@ -15,7 +15,8 @@ VIDIOC_EXPBUF - Export a buffer as a DMABUF file descriptor.
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
@ -24,9 +25,6 @@ Arguments
``fd``
File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_EXPBUF
``argp``

View File

@ -15,9 +15,11 @@ VIDIOC_G_AUDIO - VIDIOC_S_AUDIO - Query or select the current audio input and it
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
@ -26,9 +28,6 @@ Arguments
``fd``
File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_G_AUDIO, VIDIOC_S_AUDIO
``argp``

View File

@ -15,9 +15,11 @@ VIDIOC_G_AUDOUT - VIDIOC_S_AUDOUT - Query or select the current audio output
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
@ -26,9 +28,6 @@ Arguments
``fd``
File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_G_AUDOUT, VIDIOC_S_AUDOUT
``argp``

View File

@ -15,9 +15,11 @@ VIDIOC_G_CROP - VIDIOC_S_CROP - Get or set the current cropping rectangle
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
@ -26,9 +28,6 @@ Arguments
``fd``
File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_G_CROP, VIDIOC_S_CROP
``argp``

View File

@ -15,7 +15,11 @@ VIDIOC_G_CTRL - VIDIOC_S_CTRL - Get or set the value of a control
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
@ -24,9 +28,6 @@ Arguments
``fd``
File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_G_CTRL, VIDIOC_S_CTRL
``argp``

View File

@ -15,7 +15,17 @@ VIDIOC_G_DV_TIMINGS - VIDIOC_S_DV_TIMINGS - VIDIOC_SUBDEV_G_DV_TIMINGS - VIDIOC_
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
@ -24,10 +34,6 @@ Arguments
``fd``
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``

View File

@ -15,7 +15,18 @@ VIDIOC_G_EDID - VIDIOC_S_EDID - VIDIOC_SUBDEV_G_EDID - VIDIOC_SUBDEV_S_EDID - Ge
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
@ -24,10 +35,6 @@ Arguments
``fd``
File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_G_EDID, VIDIOC_S_EDID, VIDIOC_SUBDEV_G_EDID,
VIDIOC_SUBDEV_S_EDID
``argp``

View File

@ -15,7 +15,8 @@ VIDIOC_G_ENC_INDEX - Get meta data about a compressed video stream
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
@ -24,9 +25,6 @@ Arguments
``fd``
File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_G_ENC_INDEX
``argp``

View File

@ -15,7 +15,16 @@ VIDIOC_G_EXT_CTRLS - VIDIOC_S_EXT_CTRLS - VIDIOC_TRY_EXT_CTRLS - Get or set the
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
@ -24,10 +33,6 @@ Arguments
``fd``
File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_G_EXT_CTRLS, VIDIOC_S_EXT_CTRLS,
VIDIOC_TRY_EXT_CTRLS
``argp``

View File

@ -15,9 +15,11 @@ VIDIOC_G_FBUF - VIDIOC_S_FBUF - Get or set frame buffer overlay parameters
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
@ -26,9 +28,6 @@ Arguments
``fd``
File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_G_FBUF, VIDIOC_S_FBUF
``argp``

View File

@ -15,8 +15,14 @@ VIDIOC_G_FMT - VIDIOC_S_FMT - VIDIOC_TRY_FMT - Get or set the data format, try a
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
=========
@ -24,9 +30,6 @@ Arguments
``fd``
File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_G_FMT, VIDIOC_S_FMT, VIDIOC_TRY_FMT
``argp``

View File

@ -15,9 +15,11 @@ VIDIOC_G_FREQUENCY - VIDIOC_S_FREQUENCY - Get or set tuner or modulator radio fr
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
@ -26,9 +28,6 @@ Arguments
``fd``
File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_G_FREQUENCY, VIDIOC_S_FREQUENCY
``argp``

View File

@ -15,7 +15,11 @@ VIDIOC_G_INPUT - VIDIOC_S_INPUT - Query or select the current video input
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
@ -24,9 +28,6 @@ Arguments
``fd``
File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_G_INPUT, VIDIOC_S_INPUT
``argp``

View File

@ -15,9 +15,11 @@ VIDIOC_G_JPEGCOMP - VIDIOC_S_JPEGCOMP
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
@ -26,9 +28,6 @@ Arguments
``fd``
File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_G_JPEGCOMP, VIDIOC_S_JPEGCOMP
``argp``

View File

@ -15,9 +15,11 @@ VIDIOC_G_MODULATOR - VIDIOC_S_MODULATOR - Get or set modulator attributes
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
@ -26,9 +28,6 @@ Arguments
``fd``
File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_G_MODULATOR, VIDIOC_S_MODULATOR
``argp``

View File

@ -15,7 +15,11 @@ VIDIOC_G_OUTPUT - VIDIOC_S_OUTPUT - Query or select the current video output
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
@ -24,9 +28,6 @@ Arguments
``fd``
File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_G_OUTPUT, VIDIOC_S_OUTPUT
``argp``

View File

@ -15,7 +15,11 @@ VIDIOC_G_PARM - VIDIOC_S_PARM - Get or set streaming parameters
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
@ -24,9 +28,6 @@ Arguments
``fd``
File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_G_PARM, VIDIOC_S_PARM
``argp``

View File

@ -15,9 +15,11 @@ VIDIOC_G_PRIORITY - VIDIOC_S_PRIORITY - Query or request the access priority ass
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
@ -26,9 +28,6 @@ Arguments
``fd``
File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_G_PRIORITY, VIDIOC_S_PRIORITY
``argp``
Pointer to an enum v4l2_priority type.

View File

@ -15,7 +15,12 @@ VIDIOC_G_SELECTION - VIDIOC_S_SELECTION - Get or set one of the selection rectan
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

View File

@ -15,7 +15,8 @@ VIDIOC_G_SLICED_VBI_CAP - Query sliced VBI capabilities
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
@ -24,9 +25,6 @@ Arguments
``fd``
File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_G_SLICED_VBI_CAP
``argp``

View File

@ -15,9 +15,11 @@ VIDIOC_G_STD - VIDIOC_S_STD - Query or select the video standard of the current
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
@ -26,9 +28,6 @@ Arguments
``fd``
File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_G_STD, VIDIOC_S_STD
``argp``

View File

@ -15,9 +15,11 @@ VIDIOC_G_TUNER - VIDIOC_S_TUNER - Get or set tuner attributes
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
@ -26,9 +28,6 @@ Arguments
``fd``
File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_G_TUNER, VIDIOC_S_TUNER
``argp``

View File

@ -15,12 +15,15 @@ VIDIOC_LOG_STATUS - Log driver status information
Synopsis
========
.. c:function:: int ioctl( int fd, int request )
.. c:function:: int ioctl( int fd, VIDIOC_LOG_STATUS)
:name: VIDIOC_LOG_STATUS
Arguments
=========
``fd``
File descriptor returned by :ref:`open() <func-open>`.
Description

View File

@ -15,7 +15,8 @@ VIDIOC_OVERLAY - Start or stop video overlay
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
@ -24,9 +25,6 @@ Arguments
``fd``
File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_OVERLAY
``argp``

View File

@ -15,7 +15,8 @@ VIDIOC_PREPARE_BUF - Prepare a buffer for I/O
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
@ -24,9 +25,6 @@ Arguments
``fd``
File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_PREPARE_BUF
``argp``

View File

@ -15,7 +15,11 @@ VIDIOC_QBUF - VIDIOC_DQBUF - Exchange a buffer with the driver
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
@ -24,9 +28,6 @@ Arguments
``fd``
File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_QBUF, VIDIOC_DQBUF
``argp``

View File

@ -15,7 +15,11 @@ VIDIOC_QUERY_DV_TIMINGS - VIDIOC_SUBDEV_QUERY_DV_TIMINGS - Sense the DV preset r
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
@ -24,9 +28,6 @@ Arguments
``fd``
File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_QUERY_DV_TIMINGS, VIDIOC_SUBDEV_QUERY_DV_TIMINGS
``argp``

View File

@ -15,7 +15,8 @@ VIDIOC_QUERYBUF - Query the status of a buffer
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
@ -24,9 +25,6 @@ Arguments
``fd``
File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_QUERYBUF
``argp``

View File

@ -15,7 +15,8 @@ VIDIOC_QUERYCAP - Query device capabilities
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
@ -24,9 +25,6 @@ Arguments
``fd``
File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_QUERYCAP
``argp``

View File

@ -15,11 +15,14 @@ VIDIOC_QUERYCTRL - VIDIOC_QUERY_EXT_CTRL - VIDIOC_QUERYMENU - Enumerate controls
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
@ -28,9 +31,6 @@ Arguments
``fd``
File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_QUERYCTRL, VIDIOC_QUERY_EXT_CTRL, VIDIOC_QUERYMENU
``argp``

View File

@ -15,7 +15,8 @@ VIDIOC_QUERYSTD - Sense the video standard received by the current input
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
@ -24,9 +25,6 @@ Arguments
``fd``
File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_QUERYSTD
``argp``

View File

@ -15,7 +15,8 @@ VIDIOC_REQBUFS - Initiate Memory Mapping, User Pointer I/O or DMA buffer I/O
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
@ -24,9 +25,6 @@ Arguments
``fd``
File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_REQBUFS
``argp``

View File

@ -15,7 +15,8 @@ VIDIOC_S_HW_FREQ_SEEK - Perform a hardware frequency seek
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
@ -24,9 +25,6 @@ Arguments
``fd``
File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_S_HW_FREQ_SEEK
``argp``

View File

@ -15,7 +15,11 @@ VIDIOC_STREAMON - VIDIOC_STREAMOFF - Start or stop streaming I/O
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
@ -24,9 +28,6 @@ Arguments
``fd``
File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_STREAMON, VIDIOC_STREAMOFF
``argp``

View File

@ -15,7 +15,8 @@ VIDIOC_SUBDEV_ENUM_FRAME_INTERVAL - Enumerate frame intervals
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
@ -24,9 +25,6 @@ Arguments
``fd``
File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_SUBDEV_ENUM_FRAME_INTERVAL
``argp``

View File

@ -15,7 +15,8 @@ VIDIOC_SUBDEV_ENUM_FRAME_SIZE - Enumerate media bus frame sizes
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
@ -24,9 +25,6 @@ Arguments
``fd``
File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_SUBDEV_ENUM_FRAME_SIZE
``argp``

View File

@ -15,7 +15,8 @@ VIDIOC_SUBDEV_ENUM_MBUS_CODE - Enumerate media bus formats
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
@ -24,9 +25,6 @@ Arguments
``fd``
File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_SUBDEV_ENUM_MBUS_CODE
``argp``

View File

@ -15,9 +15,11 @@ VIDIOC_SUBDEV_G_CROP - VIDIOC_SUBDEV_S_CROP - Get or set the crop rectangle on a
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
@ -26,9 +28,6 @@ Arguments
``fd``
File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_SUBDEV_G_CROP, VIDIOC_SUBDEV_S_CROP
``argp``

View File

@ -15,7 +15,11 @@ VIDIOC_SUBDEV_G_FMT - VIDIOC_SUBDEV_S_FMT - Get or set the data format on a subd
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
@ -24,9 +28,6 @@ Arguments
``fd``
File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_SUBDEV_G_FMT, VIDIOC_SUBDEV_S_FMT
``argp``

View File

@ -15,7 +15,11 @@ VIDIOC_SUBDEV_G_FRAME_INTERVAL - VIDIOC_SUBDEV_S_FRAME_INTERVAL - Get or set the
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
@ -24,10 +28,6 @@ Arguments
``fd``
File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_SUBDEV_G_FRAME_INTERVAL,
VIDIOC_SUBDEV_S_FRAME_INTERVAL
``argp``

View File

@ -15,7 +15,11 @@ VIDIOC_SUBDEV_G_SELECTION - VIDIOC_SUBDEV_S_SELECTION - Get or set selection rec
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
@ -24,9 +28,6 @@ Arguments
``fd``
File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_SUBDEV_G_SELECTION, VIDIOC_SUBDEV_S_SELECTION
``argp``

View File

@ -16,7 +16,11 @@ VIDIOC_SUBSCRIBE_EVENT - VIDIOC_UNSUBSCRIBE_EVENT - Subscribe or unsubscribe eve
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
@ -25,9 +29,6 @@ Arguments
``fd``
File descriptor returned by :ref:`open() <func-open>`.
``request``
VIDIOC_SUBSCRIBE_EVENT, VIDIOC_UNSUBSCRIBE_EVENT
``argp``