Commit b7e67f6c authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

doc-rst: linux_tv: supress lots of warnings

The c language parser checks if there are duplicated object
definitions. That causes lots of warnings like:
	WARNING: duplicate C object description of ioctl

Let's remove those by telling Sphinx that the language for
those objects are c++. The look of the descriptions will
be close, and the warnings will be gone.

Please notice that we had to keep a few of them as C, as
the c++ parser seems to be broken when it finds an enum.

Yet, this reduced from 219 warnings to 143, with is
a good thing.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 90ffc75f
...@@ -14,7 +14,7 @@ Receives reply from a DiSEqC 2.0 command ...@@ -14,7 +14,7 @@ Receives reply from a DiSEqC 2.0 command
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct dvb_diseqc_slave_reply *argp ) .. cpp:function:: int ioctl( int fd, int request, struct dvb_diseqc_slave_reply *argp )
Arguments Arguments
========= =========
......
...@@ -15,7 +15,7 @@ to power overload. ...@@ -15,7 +15,7 @@ to power overload.
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, NULL ) .. cpp:function:: int ioctl( int fd, int request, NULL )
Arguments Arguments
========= =========
......
...@@ -14,7 +14,7 @@ Sends a DiSEqC command ...@@ -14,7 +14,7 @@ Sends a DiSEqC command
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct dvb_diseqc_master_cmd *argp ) .. cpp:function:: int ioctl( int fd, int request, struct dvb_diseqc_master_cmd *argp )
Arguments Arguments
========= =========
......
...@@ -15,7 +15,7 @@ voltages. ...@@ -15,7 +15,7 @@ voltages.
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, unsigned int high ) .. cpp:function:: int ioctl( int fd, int request, unsigned int high )
Arguments Arguments
========= =========
......
...@@ -15,7 +15,7 @@ front-end. This call only requires read-only access to the device ...@@ -15,7 +15,7 @@ front-end. This call only requires read-only access to the device
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct dvb_frontend_info *argp ) .. cpp:function:: int ioctl( int fd, int request, struct dvb_frontend_info *argp )
Arguments Arguments
========= =========
......
...@@ -16,7 +16,7 @@ FE_GET_PROPERTY returns one or more frontend properties. ...@@ -16,7 +16,7 @@ FE_GET_PROPERTY returns one or more frontend properties.
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct dtv_properties *argp ) .. cpp:function:: int ioctl( int fd, int request, struct dtv_properties *argp )
Arguments Arguments
========= =========
......
...@@ -15,7 +15,7 @@ read-only access to the device ...@@ -15,7 +15,7 @@ read-only access to the device
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, unsigned int *status ) .. cpp:function:: int ioctl( int fd, int request, unsigned int *status )
Arguments Arguments
========= =========
......
...@@ -14,7 +14,7 @@ Allow setting tuner mode flags to the frontend. ...@@ -14,7 +14,7 @@ Allow setting tuner mode flags to the frontend.
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, unsigned int flags ) .. cpp:function:: int ioctl( int fd, int request, unsigned int flags )
Arguments Arguments
========= =========
......
...@@ -19,7 +19,7 @@ Synopsis ...@@ -19,7 +19,7 @@ Synopsis
#include <unistd.h> #include <unistd.h>
.. c:function:: int close( int fd ) .. cpp:function:: int close( int fd )
Arguments Arguments
========= =========
......
...@@ -19,7 +19,7 @@ Synopsis ...@@ -19,7 +19,7 @@ Synopsis
#include <fcntl.h> #include <fcntl.h>
.. c:function:: int open( const char *device_name, int flags ) .. cpp:function:: int open( const char *device_name, int flags )
Arguments Arguments
========= =========
......
...@@ -46,7 +46,7 @@ Creates a new network interface for a given Packet ID. ...@@ -46,7 +46,7 @@ Creates a new network interface for a given Packet ID.
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct dvb_net_if *net_if ) .. cpp:function:: int ioctl( int fd, int request, struct dvb_net_if *net_if )
Arguments Arguments
========= =========
...@@ -135,7 +135,7 @@ Removes a network interface. ...@@ -135,7 +135,7 @@ Removes a network interface.
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, int ifnum ) .. cpp:function:: int ioctl( int fd, int request, int ifnum )
Arguments Arguments
========= =========
...@@ -178,7 +178,7 @@ Read the configuration data of an interface created via ...@@ -178,7 +178,7 @@ Read the configuration data of an interface created via
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct dvb_net_if *net_if ) .. cpp:function:: int ioctl( int fd, int request, struct dvb_net_if *net_if )
Arguments Arguments
========= =========
......
...@@ -19,7 +19,7 @@ Synopsis ...@@ -19,7 +19,7 @@ Synopsis
#include <unistd.h> #include <unistd.h>
.. c:function:: int close( int fd ) .. cpp:function:: int close( int fd )
Arguments Arguments
========= =========
......
...@@ -19,7 +19,7 @@ Synopsis ...@@ -19,7 +19,7 @@ Synopsis
#include <sys/ioctl.h> #include <sys/ioctl.h>
.. c:function:: int ioctl( int fd, int request, void *argp ) .. cpp:function:: int ioctl( int fd, int request, void *argp )
Arguments Arguments
========= =========
......
...@@ -20,7 +20,7 @@ Synopsis ...@@ -20,7 +20,7 @@ Synopsis
#include <sys/mman.h> #include <sys/mman.h>
.. c:function:: void *mmap( void *start, size_t length, int prot, int flags, int fd, off_t offset ) .. cpp:function:: void *mmap( void *start, size_t length, int prot, int flags, int fd, off_t offset )
Arguments Arguments
========= =========
......
...@@ -20,7 +20,7 @@ Synopsis ...@@ -20,7 +20,7 @@ Synopsis
#include <sys/mman.h> #include <sys/mman.h>
.. c:function:: int munmap( void *start, size_t length ) .. cpp:function:: int munmap( void *start, size_t length )
Arguments Arguments
========= =========
......
...@@ -19,7 +19,7 @@ Synopsis ...@@ -19,7 +19,7 @@ Synopsis
#include <fcntl.h> #include <fcntl.h>
.. c:function:: int open( const char *device_name, int flags ) .. cpp:function:: int open( const char *device_name, int flags )
Arguments Arguments
========= =========
......
...@@ -19,7 +19,7 @@ Synopsis ...@@ -19,7 +19,7 @@ Synopsis
#include <sys/poll.h> #include <sys/poll.h>
.. c:function:: int poll( struct pollfd *ufds, unsigned int nfds, int timeout ) .. cpp:function:: int poll( struct pollfd *ufds, unsigned int nfds, int timeout )
Description Description
=========== ===========
......
...@@ -19,7 +19,7 @@ Synopsis ...@@ -19,7 +19,7 @@ Synopsis
#include <unistd.h> #include <unistd.h>
.. c:function:: ssize_t read( int fd, void *buf, size_t count ) .. cpp:function:: ssize_t read( int fd, void *buf, size_t count )
Arguments Arguments
========= =========
......
...@@ -21,7 +21,7 @@ Synopsis ...@@ -21,7 +21,7 @@ Synopsis
#include <unistd.h> #include <unistd.h>
.. c:function:: int select( int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout ) .. cpp:function:: int select( int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout )
Description Description
=========== ===========
......
...@@ -19,7 +19,7 @@ Synopsis ...@@ -19,7 +19,7 @@ Synopsis
#include <unistd.h> #include <unistd.h>
.. c:function:: ssize_t write( int fd, void *buf, size_t count ) .. cpp:function:: ssize_t write( int fd, void *buf, size_t count )
Arguments Arguments
========= =========
......
...@@ -19,7 +19,7 @@ Synopsis ...@@ -19,7 +19,7 @@ Synopsis
#include <unistd.h> #include <unistd.h>
.. c:function:: int close( int fd ) .. cpp:function:: int close( int fd )
Arguments Arguments
========= =========
......
...@@ -19,7 +19,7 @@ Synopsis ...@@ -19,7 +19,7 @@ Synopsis
#include <sys/ioctl.h> #include <sys/ioctl.h>
.. c:function:: int ioctl( int fd, int request, void *argp ) .. cpp:function:: int ioctl( int fd, int request, void *argp )
Arguments Arguments
========= =========
......
...@@ -19,7 +19,7 @@ Synopsis ...@@ -19,7 +19,7 @@ Synopsis
#include <fcntl.h> #include <fcntl.h>
.. c:function:: int open( const char *device_name, int flags ) .. cpp:function:: int open( const char *device_name, int flags )
Arguments Arguments
========= =========
......
...@@ -14,7 +14,7 @@ Query device information ...@@ -14,7 +14,7 @@ Query device information
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct media_device_info *argp ) .. cpp:function:: int ioctl( int fd, int request, struct media_device_info *argp )
Arguments Arguments
========= =========
......
...@@ -14,7 +14,7 @@ Enumerate entities and their properties ...@@ -14,7 +14,7 @@ Enumerate entities and their properties
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct media_entity_desc *argp ) .. cpp:function:: int ioctl( int fd, int request, struct media_entity_desc *argp )
Arguments Arguments
========= =========
......
...@@ -14,7 +14,7 @@ Enumerate all pads and links for a given entity ...@@ -14,7 +14,7 @@ Enumerate all pads and links for a given entity
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct media_links_enum *argp ) .. cpp:function:: int ioctl( int fd, int request, struct media_links_enum *argp )
Arguments Arguments
========= =========
......
...@@ -14,7 +14,7 @@ Enumerate the graph topology and graph element properties ...@@ -14,7 +14,7 @@ Enumerate the graph topology and graph element properties
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct media_v2_topology *argp ) .. cpp:function:: int ioctl( int fd, int request, struct media_v2_topology *argp )
Arguments Arguments
========= =========
......
...@@ -14,7 +14,7 @@ Modify the properties of a link ...@@ -14,7 +14,7 @@ Modify the properties of a link
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct media_link_desc *argp ) .. cpp:function:: int ioctl( int fd, int request, struct media_link_desc *argp )
Arguments Arguments
========= =========
......
...@@ -14,7 +14,7 @@ Create buffers for Memory Mapped or User Pointer or DMA Buffer I/O ...@@ -14,7 +14,7 @@ Create buffers for Memory Mapped or User Pointer or DMA Buffer I/O
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_create_buffers *argp ) .. cpp:function:: int ioctl( int fd, int request, struct v4l2_create_buffers *argp )
Arguments Arguments
========= =========
......
...@@ -14,7 +14,7 @@ Information about the video cropping and scaling abilities ...@@ -14,7 +14,7 @@ Information about the video cropping and scaling abilities
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_cropcap *argp ) .. cpp:function:: int ioctl( int fd, int request, struct v4l2_cropcap *argp )
Arguments Arguments
========= =========
......
...@@ -14,7 +14,7 @@ Identify the chips on a TV card ...@@ -14,7 +14,7 @@ Identify the chips on a TV card
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_dbg_chip_info *argp ) .. cpp:function:: int ioctl( int fd, int request, struct v4l2_dbg_chip_info *argp )
Arguments Arguments
========= =========
......
...@@ -15,9 +15,9 @@ Read or write hardware registers ...@@ -15,9 +15,9 @@ Read or write hardware registers
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_dbg_register *argp ) .. cpp:function:: int ioctl( int fd, int request, struct v4l2_dbg_register *argp )
.. c:function:: int ioctl( int fd, int request, const struct v4l2_dbg_register *argp ) .. cpp:function:: int ioctl( int fd, int request, const struct v4l2_dbg_register *argp )
Arguments Arguments
========= =========
......
...@@ -15,7 +15,7 @@ Execute an decoder command ...@@ -15,7 +15,7 @@ Execute an decoder command
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_decoder_cmd *argp ) .. cpp:function:: int ioctl( int fd, int request, struct v4l2_decoder_cmd *argp )
Arguments Arguments
========= =========
......
...@@ -14,7 +14,7 @@ Dequeue event ...@@ -14,7 +14,7 @@ Dequeue event
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_event *argp ) .. cpp:function:: int ioctl( int fd, int request, struct v4l2_event *argp )
Arguments Arguments
========= =========
......
...@@ -15,7 +15,7 @@ The capabilities of the Digital Video receiver/transmitter ...@@ -15,7 +15,7 @@ The capabilities of the Digital Video receiver/transmitter
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_dv_timings_cap *argp ) .. cpp:function:: int ioctl( int fd, int request, struct v4l2_dv_timings_cap *argp )
Arguments Arguments
========= =========
......
...@@ -15,7 +15,7 @@ Execute an encoder command ...@@ -15,7 +15,7 @@ Execute an encoder command
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_encoder_cmd *argp ) .. cpp:function:: int ioctl( int fd, int request, struct v4l2_encoder_cmd *argp )
Arguments Arguments
========= =========
......
...@@ -15,7 +15,7 @@ Enumerate supported Digital Video timings ...@@ -15,7 +15,7 @@ Enumerate supported Digital Video timings
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_enum_dv_timings *argp ) .. cpp:function:: int ioctl( int fd, int request, struct v4l2_enum_dv_timings *argp )
Arguments Arguments
========= =========
......
...@@ -14,7 +14,7 @@ Enumerate image formats ...@@ -14,7 +14,7 @@ Enumerate image formats
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_fmtdesc *argp ) .. cpp:function:: int ioctl( int fd, int request, struct v4l2_fmtdesc *argp )
Arguments Arguments
========= =========
......
...@@ -14,7 +14,7 @@ Enumerate frame intervals ...@@ -14,7 +14,7 @@ Enumerate frame intervals
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_frmivalenum *argp ) .. cpp:function:: int ioctl( int fd, int request, struct v4l2_frmivalenum *argp )
Arguments Arguments
========= =========
......
...@@ -14,7 +14,7 @@ Enumerate frame sizes ...@@ -14,7 +14,7 @@ Enumerate frame sizes
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_frmsizeenum *argp ) .. cpp:function:: int ioctl( int fd, int request, struct v4l2_frmsizeenum *argp )
Arguments Arguments
========= =========
......
...@@ -14,7 +14,7 @@ Enumerate supported frequency bands ...@@ -14,7 +14,7 @@ Enumerate supported frequency bands
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_frequency_band *argp ) .. cpp:function:: int ioctl( int fd, int request, struct v4l2_frequency_band *argp )
Arguments Arguments
========= =========
......
...@@ -14,7 +14,7 @@ Enumerate audio inputs ...@@ -14,7 +14,7 @@ Enumerate audio inputs
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_audio *argp ) .. cpp:function:: int ioctl( int fd, int request, struct v4l2_audio *argp )
Arguments Arguments
========= =========
......
...@@ -14,7 +14,7 @@ Enumerate audio outputs ...@@ -14,7 +14,7 @@ Enumerate audio outputs
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_audioout *argp ) .. cpp:function:: int ioctl( int fd, int request, struct v4l2_audioout *argp )
Arguments Arguments
========= =========
......
...@@ -14,7 +14,7 @@ Enumerate video inputs ...@@ -14,7 +14,7 @@ Enumerate video inputs
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_input *argp ) .. cpp:function:: int ioctl( int fd, int request, struct v4l2_input *argp )
Arguments Arguments
========= =========
......
...@@ -14,7 +14,7 @@ Enumerate video outputs ...@@ -14,7 +14,7 @@ Enumerate video outputs
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_output *argp ) .. cpp:function:: int ioctl( int fd, int request, struct v4l2_output *argp )
Arguments Arguments
========= =========
......
...@@ -14,7 +14,7 @@ Enumerate supported video standards ...@@ -14,7 +14,7 @@ Enumerate supported video standards
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_standard *argp ) .. cpp:function:: int ioctl( int fd, int request, struct v4l2_standard *argp )
Arguments Arguments
========= =========
......
...@@ -14,7 +14,7 @@ Export a buffer as a DMABUF file descriptor. ...@@ -14,7 +14,7 @@ Export a buffer as a DMABUF file descriptor.
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_exportbuffer *argp ) .. cpp:function:: int ioctl( int fd, int request, struct v4l2_exportbuffer *argp )
Arguments Arguments
========= =========
......
...@@ -15,9 +15,9 @@ Query or select the current audio input and its attributes ...@@ -15,9 +15,9 @@ Query or select the current audio input and its attributes
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_audio *argp ) .. cpp:function:: int ioctl( int fd, int request, struct v4l2_audio *argp )
.. c:function:: int ioctl( int fd, int request, const struct v4l2_audio *argp ) .. cpp:function:: int ioctl( int fd, int request, const struct v4l2_audio *argp )
Arguments Arguments
========= =========
......
...@@ -15,9 +15,9 @@ Query or select the current audio output ...@@ -15,9 +15,9 @@ Query or select the current audio output
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_audioout *argp ) .. cpp:function:: int ioctl( int fd, int request, struct v4l2_audioout *argp )
.. c:function:: int ioctl( int fd, int request, const struct v4l2_audioout *argp ) .. cpp:function:: int ioctl( int fd, int request, const struct v4l2_audioout *argp )
Arguments Arguments
========= =========
......
...@@ -15,9 +15,9 @@ Get or set the current cropping rectangle ...@@ -15,9 +15,9 @@ Get or set the current cropping rectangle
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_crop *argp ) .. cpp:function:: int ioctl( int fd, int request, struct v4l2_crop *argp )
.. c:function:: int ioctl( int fd, int request, const struct v4l2_crop *argp ) .. cpp:function:: int ioctl( int fd, int request, const struct v4l2_crop *argp )
Arguments Arguments
========= =========
......
...@@ -15,7 +15,7 @@ Get or set the value of a control ...@@ -15,7 +15,7 @@ Get or set the value of a control
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_control *argp ) .. cpp:function:: int ioctl( int fd, int request, struct v4l2_control *argp )
Arguments Arguments
========= =========
......
...@@ -17,7 +17,7 @@ Get or set DV timings for input or output ...@@ -17,7 +17,7 @@ Get or set DV timings for input or output
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_dv_timings *argp ) .. cpp:function:: int ioctl( int fd, int request, struct v4l2_dv_timings *argp )
Arguments Arguments
========= =========
......
...@@ -17,9 +17,9 @@ Get or set the EDID of a video receiver/transmitter ...@@ -17,9 +17,9 @@ Get or set the EDID of a video receiver/transmitter
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_edid *argp ) .. cpp:function:: int ioctl( int fd, int request, struct v4l2_edid *argp )
.. c:function:: int ioctl( int fd, int request, struct v4l2_edid *argp ) .. cpp:function:: int ioctl( int fd, int request, struct v4l2_edid *argp )
Arguments Arguments
========= =========
......
...@@ -14,7 +14,7 @@ Get meta data about a compressed video stream ...@@ -14,7 +14,7 @@ Get meta data about a compressed video stream
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_enc_idx *argp ) .. cpp:function:: int ioctl( int fd, int request, struct v4l2_enc_idx *argp )
Arguments Arguments
========= =========
......
...@@ -16,7 +16,7 @@ Get or set the value of several controls, try control values ...@@ -16,7 +16,7 @@ Get or set the value of several controls, try control values
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_ext_controls *argp ) .. cpp:function:: int ioctl( int fd, int request, struct v4l2_ext_controls *argp )
Arguments Arguments
========= =========
......
...@@ -15,9 +15,9 @@ Get or set frame buffer overlay parameters ...@@ -15,9 +15,9 @@ Get or set frame buffer overlay parameters
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_framebuffer *argp ) .. cpp:function:: int ioctl( int fd, int request, struct v4l2_framebuffer *argp )
.. c:function:: int ioctl( int fd, int request, const struct v4l2_framebuffer *argp ) .. cpp:function:: int ioctl( int fd, int request, const struct v4l2_framebuffer *argp )
Arguments Arguments
========= =========
......
...@@ -16,7 +16,7 @@ Get or set the data format, try a format ...@@ -16,7 +16,7 @@ Get or set the data format, try a format
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_format *argp ) .. cpp:function:: int ioctl( int fd, int request, struct v4l2_format *argp )
Arguments Arguments
========= =========
......
...@@ -15,9 +15,9 @@ Get or set tuner or modulator radio frequency ...@@ -15,9 +15,9 @@ Get or set tuner or modulator radio frequency
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_frequency *argp ) .. cpp:function:: int ioctl( int fd, int request, struct v4l2_frequency *argp )
.. c:function:: int ioctl( int fd, int request, const struct v4l2_frequency *argp ) .. cpp:function:: int ioctl( int fd, int request, const struct v4l2_frequency *argp )
Arguments Arguments
========= =========
......
...@@ -15,7 +15,7 @@ Query or select the current video input ...@@ -15,7 +15,7 @@ Query or select the current video input
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, int *argp ) .. cpp:function:: int ioctl( int fd, int request, int *argp )
Arguments Arguments
========= =========
......
...@@ -13,9 +13,9 @@ VIDIOC_S_JPEGCOMP ...@@ -13,9 +13,9 @@ VIDIOC_S_JPEGCOMP
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, v4l2_jpegcompression *argp ) .. cpp:function:: int ioctl( int fd, int request, v4l2_jpegcompression *argp )
.. c:function:: int ioctl( int fd, int request, const v4l2_jpegcompression *argp ) .. cpp:function:: int ioctl( int fd, int request, const v4l2_jpegcompression *argp )
Arguments Arguments
========= =========
......
...@@ -15,9 +15,9 @@ Get or set modulator attributes ...@@ -15,9 +15,9 @@ Get or set modulator attributes
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_modulator *argp ) .. cpp:function:: int ioctl( int fd, int request, struct v4l2_modulator *argp )
.. c:function:: int ioctl( int fd, int request, const struct v4l2_modulator *argp ) .. cpp:function:: int ioctl( int fd, int request, const struct v4l2_modulator *argp )
Arguments Arguments
========= =========
......
...@@ -15,7 +15,7 @@ Query or select the current video output ...@@ -15,7 +15,7 @@ Query or select the current video output
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, int *argp ) .. cpp:function:: int ioctl( int fd, int request, int *argp )
Arguments Arguments
========= =========
......
...@@ -15,7 +15,7 @@ Get or set streaming parameters ...@@ -15,7 +15,7 @@ Get or set streaming parameters
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, v4l2_streamparm *argp ) .. cpp:function:: int ioctl( int fd, int request, v4l2_streamparm *argp )
Arguments Arguments
========= =========
......
...@@ -15,7 +15,7 @@ Get or set one of the selection rectangles ...@@ -15,7 +15,7 @@ Get or set one of the selection rectangles
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_selection *argp ) .. cpp:function:: int ioctl( int fd, int request, struct v4l2_selection *argp )
Arguments Arguments
========= =========
......
...@@ -14,7 +14,7 @@ Query sliced VBI capabilities ...@@ -14,7 +14,7 @@ Query sliced VBI capabilities
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_sliced_vbi_cap *argp ) .. cpp:function:: int ioctl( int fd, int request, struct v4l2_sliced_vbi_cap *argp )
Arguments Arguments
========= =========
......
...@@ -15,9 +15,9 @@ Query or select the video standard of the current input ...@@ -15,9 +15,9 @@ Query or select the video standard of the current input
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, v4l2_std_id *argp ) .. cpp:function:: int ioctl( int fd, int request, v4l2_std_id *argp )
.. c:function:: int ioctl( int fd, int request, const v4l2_std_id *argp ) .. cpp:function:: int ioctl( int fd, int request, const v4l2_std_id *argp )
Arguments Arguments
========= =========
......
...@@ -15,9 +15,9 @@ Get or set tuner attributes ...@@ -15,9 +15,9 @@ Get or set tuner attributes
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_tuner *argp ) .. cpp:function:: int ioctl( int fd, int request, struct v4l2_tuner *argp )
.. c:function:: int ioctl( int fd, int request, const struct v4l2_tuner *argp ) .. cpp:function:: int ioctl( int fd, int request, const struct v4l2_tuner *argp )
Arguments Arguments
========= =========
......
...@@ -14,7 +14,7 @@ Log driver status information ...@@ -14,7 +14,7 @@ Log driver status information
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request ) .. cpp:function:: int ioctl( int fd, int request )
Description Description
=========== ===========
......
...@@ -14,7 +14,7 @@ Start or stop video overlay ...@@ -14,7 +14,7 @@ Start or stop video overlay
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, const int *argp ) .. cpp:function:: int ioctl( int fd, int request, const int *argp )
Arguments Arguments
========= =========
......
...@@ -14,7 +14,7 @@ Prepare a buffer for I/O ...@@ -14,7 +14,7 @@ Prepare a buffer for I/O
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_buffer *argp ) .. cpp:function:: int ioctl( int fd, int request, struct v4l2_buffer *argp )
Arguments Arguments
========= =========
......
...@@ -15,7 +15,7 @@ Exchange a buffer with the driver ...@@ -15,7 +15,7 @@ Exchange a buffer with the driver
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_buffer *argp ) .. cpp:function:: int ioctl( int fd, int request, struct v4l2_buffer *argp )
Arguments Arguments
========= =========
......
...@@ -15,7 +15,7 @@ Sense the DV preset received by the current input ...@@ -15,7 +15,7 @@ Sense the DV preset received by the current input
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_dv_timings *argp ) .. cpp:function:: int ioctl( int fd, int request, struct v4l2_dv_timings *argp )
Arguments Arguments
========= =========
......
...@@ -14,7 +14,7 @@ Query the status of a buffer ...@@ -14,7 +14,7 @@ Query the status of a buffer
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_buffer *argp ) .. cpp:function:: int ioctl( int fd, int request, struct v4l2_buffer *argp )
Arguments Arguments
========= =========
......
...@@ -14,7 +14,7 @@ Query device capabilities ...@@ -14,7 +14,7 @@ Query device capabilities
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_capability *argp ) .. cpp:function:: int ioctl( int fd, int request, struct v4l2_capability *argp )
Arguments Arguments
========= =========
......
...@@ -16,11 +16,11 @@ Enumerate controls and menu control items ...@@ -16,11 +16,11 @@ Enumerate controls and menu control items
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_queryctrl *argp ) .. cpp:function:: int ioctl( int fd, int request, struct v4l2_queryctrl *argp )
.. c:function:: int ioctl( int fd, int request, struct v4l2_query_ext_ctrl *argp ) .. cpp:function:: int ioctl( int fd, int request, struct v4l2_query_ext_ctrl *argp )
.. c:function:: int ioctl( int fd, int request, struct v4l2_querymenu *argp ) .. cpp:function:: int ioctl( int fd, int request, struct v4l2_querymenu *argp )
Arguments Arguments
========= =========
......
...@@ -14,7 +14,7 @@ Sense the video standard received by the current input ...@@ -14,7 +14,7 @@ Sense the video standard received by the current input
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, v4l2_std_id *argp ) .. cpp:function:: int ioctl( int fd, int request, v4l2_std_id *argp )
Arguments Arguments
========= =========
......
...@@ -14,7 +14,7 @@ Initiate Memory Mapping or User Pointer I/O ...@@ -14,7 +14,7 @@ Initiate Memory Mapping or User Pointer I/O
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_requestbuffers *argp ) .. cpp:function:: int ioctl( int fd, int request, struct v4l2_requestbuffers *argp )
Arguments Arguments
========= =========
......
...@@ -14,7 +14,7 @@ Perform a hardware frequency seek ...@@ -14,7 +14,7 @@ Perform a hardware frequency seek
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_hw_freq_seek *argp ) .. cpp:function:: int ioctl( int fd, int request, struct v4l2_hw_freq_seek *argp )
Arguments Arguments
========= =========
......
...@@ -15,7 +15,7 @@ Start or stop streaming I/O ...@@ -15,7 +15,7 @@ Start or stop streaming I/O
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, const int *argp ) .. cpp:function:: int ioctl( int fd, int request, const int *argp )
Arguments Arguments
========= =========
......
...@@ -14,7 +14,7 @@ Enumerate frame intervals ...@@ -14,7 +14,7 @@ Enumerate frame intervals
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_subdev_frame_interval_enum * argp ) .. cpp:function:: int ioctl( int fd, int request, struct v4l2_subdev_frame_interval_enum * argp )
Arguments Arguments
========= =========
......
...@@ -14,7 +14,7 @@ Enumerate media bus frame sizes ...@@ -14,7 +14,7 @@ Enumerate media bus frame sizes
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_subdev_frame_size_enum * argp ) .. cpp:function:: int ioctl( int fd, int request, struct v4l2_subdev_frame_size_enum * argp )
Arguments Arguments
========= =========
......
...@@ -14,7 +14,7 @@ Enumerate media bus formats ...@@ -14,7 +14,7 @@ Enumerate media bus formats
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_subdev_mbus_code_enum * argp ) .. cpp:function:: int ioctl( int fd, int request, struct v4l2_subdev_mbus_code_enum * argp )
Arguments Arguments
========= =========
......
...@@ -15,9 +15,9 @@ Get or set the crop rectangle on a subdev pad ...@@ -15,9 +15,9 @@ Get or set the crop rectangle on a subdev pad
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_subdev_crop *argp ) .. cpp:function:: int ioctl( int fd, int request, struct v4l2_subdev_crop *argp )
.. c:function:: int ioctl( int fd, int request, const struct v4l2_subdev_crop *argp ) .. cpp:function:: int ioctl( int fd, int request, const struct v4l2_subdev_crop *argp )
Arguments Arguments
========= =========
......
...@@ -15,7 +15,7 @@ Get or set the data format on a subdev pad ...@@ -15,7 +15,7 @@ Get or set the data format on a subdev pad
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_subdev_format *argp ) .. cpp:function:: int ioctl( int fd, int request, struct v4l2_subdev_format *argp )
Arguments Arguments
========= =========
......
...@@ -15,7 +15,7 @@ Get or set the frame interval on a subdev pad ...@@ -15,7 +15,7 @@ Get or set the frame interval on a subdev pad
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_subdev_frame_interval *argp ) .. cpp:function:: int ioctl( int fd, int request, struct v4l2_subdev_frame_interval *argp )
Arguments Arguments
========= =========
......
...@@ -15,7 +15,7 @@ Get or set selection rectangles on a subdev pad ...@@ -15,7 +15,7 @@ Get or set selection rectangles on a subdev pad
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_subdev_selection *argp ) .. cpp:function:: int ioctl( int fd, int request, struct v4l2_subdev_selection *argp )
Arguments Arguments
========= =========
......
...@@ -15,7 +15,7 @@ Subscribe or unsubscribe event ...@@ -15,7 +15,7 @@ Subscribe or unsubscribe event
Synopsis Synopsis
======== ========
.. c:function:: int ioctl( int fd, int request, struct v4l2_event_subscription *argp ) .. cpp:function:: int ioctl( int fd, int request, struct v4l2_event_subscription *argp )
Arguments Arguments
========= =========
......
...@@ -1833,7 +1833,7 @@ sub output_function_rst(%) { ...@@ -1833,7 +1833,7 @@ sub output_function_rst(%) {
my $oldprefix = $lineprefix; my $oldprefix = $lineprefix;
my $start; my $start;
print ".. c:function:: "; print ".. cpp:function:: ";
if ($args{'functiontype'} ne "") { if ($args{'functiontype'} ne "") {
$start = $args{'functiontype'} . " " . $args{'function'} . " ("; $start = $args{'functiontype'} . " " . $args{'function'} . " (";
} else { } else {
......
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