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
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
=========
......
......@@ -15,7 +15,7 @@ to power overload.
Synopsis
========
.. c:function:: int ioctl( int fd, int request, NULL )
.. cpp:function:: int ioctl( int fd, int request, NULL )
Arguments
=========
......
......@@ -14,7 +14,7 @@ Sends a DiSEqC command
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
=========
......
......@@ -15,7 +15,7 @@ voltages.
Synopsis
========
.. c:function:: int ioctl( int fd, int request, unsigned int high )
.. cpp:function:: int ioctl( int fd, int request, unsigned int high )
Arguments
=========
......
......@@ -15,7 +15,7 @@ front-end. This call only requires read-only access to the device
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
=========
......
......@@ -16,7 +16,7 @@ FE_GET_PROPERTY returns one or more frontend properties.
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
=========
......
......@@ -15,7 +15,7 @@ read-only access to the device
Synopsis
========
.. c:function:: int ioctl( int fd, int request, unsigned int *status )
.. cpp:function:: int ioctl( int fd, int request, unsigned int *status )
Arguments
=========
......
......@@ -14,7 +14,7 @@ Allow setting tuner mode flags to the frontend.
Synopsis
========
.. c:function:: int ioctl( int fd, int request, unsigned int flags )
.. cpp:function:: int ioctl( int fd, int request, unsigned int flags )
Arguments
=========
......
......@@ -19,7 +19,7 @@ Synopsis
#include <unistd.h>
.. c:function:: int close( int fd )
.. cpp:function:: int close( int fd )
Arguments
=========
......
......@@ -19,7 +19,7 @@ Synopsis
#include <fcntl.h>
.. c:function:: int open( const char *device_name, int flags )
.. cpp:function:: int open( const char *device_name, int flags )
Arguments
=========
......
......@@ -46,7 +46,7 @@ Creates a new network interface for a given Packet ID.
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
=========
......@@ -135,7 +135,7 @@ Removes a network interface.
Synopsis
========
.. c:function:: int ioctl( int fd, int request, int ifnum )
.. cpp:function:: int ioctl( int fd, int request, int ifnum )
Arguments
=========
......@@ -178,7 +178,7 @@ Read the configuration data of an interface created via
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
=========
......
......@@ -19,7 +19,7 @@ Synopsis
#include <unistd.h>
.. c:function:: int close( int fd )
.. cpp:function:: int close( int fd )
Arguments
=========
......
......@@ -19,7 +19,7 @@ Synopsis
#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
=========
......
......@@ -20,7 +20,7 @@ Synopsis
#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
=========
......
......@@ -20,7 +20,7 @@ Synopsis
#include <sys/mman.h>
.. c:function:: int munmap( void *start, size_t length )
.. cpp:function:: int munmap( void *start, size_t length )
Arguments
=========
......
......@@ -19,7 +19,7 @@ Synopsis
#include <fcntl.h>
.. c:function:: int open( const char *device_name, int flags )
.. cpp:function:: int open( const char *device_name, int flags )
Arguments
=========
......
......@@ -19,7 +19,7 @@ Synopsis
#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
===========
......
......@@ -19,7 +19,7 @@ Synopsis
#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
=========
......
......@@ -21,7 +21,7 @@ Synopsis
#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
===========
......
......@@ -19,7 +19,7 @@ Synopsis
#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
=========
......
......@@ -19,7 +19,7 @@ Synopsis
#include <unistd.h>
.. c:function:: int close( int fd )
.. cpp:function:: int close( int fd )
Arguments
=========
......
......@@ -19,7 +19,7 @@ Synopsis
#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
=========
......
......@@ -19,7 +19,7 @@ Synopsis
#include <fcntl.h>
.. c:function:: int open( const char *device_name, int flags )
.. cpp:function:: int open( const char *device_name, int flags )
Arguments
=========
......
......@@ -14,7 +14,7 @@ Query device information
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
=========
......
......@@ -14,7 +14,7 @@ Enumerate entities and their properties
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
=========
......
......@@ -14,7 +14,7 @@ Enumerate all pads and links for a given entity
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
=========
......
......@@ -14,7 +14,7 @@ Enumerate the graph topology and graph element properties
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
=========
......
......@@ -14,7 +14,7 @@ Modify the properties of a link
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
=========
......
......@@ -14,7 +14,7 @@ Create buffers for Memory Mapped or User Pointer or DMA Buffer I/O
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
=========
......
......@@ -14,7 +14,7 @@ Information about the video cropping and scaling abilities
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
=========
......
......@@ -14,7 +14,7 @@ Identify the chips on a TV card
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
=========
......
......@@ -15,9 +15,9 @@ Read or write hardware registers
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
=========
......
......@@ -15,7 +15,7 @@ Execute an decoder command
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
=========
......
......@@ -14,7 +14,7 @@ Dequeue event
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
=========
......
......@@ -15,7 +15,7 @@ The capabilities of the Digital Video receiver/transmitter
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
=========
......
......@@ -15,7 +15,7 @@ Execute an encoder command
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
=========
......
......@@ -15,7 +15,7 @@ Enumerate supported Digital Video timings
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
=========
......
......@@ -14,7 +14,7 @@ Enumerate image formats
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
=========
......
......@@ -14,7 +14,7 @@ Enumerate frame intervals
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
=========
......
......@@ -14,7 +14,7 @@ Enumerate frame sizes
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
=========
......
......@@ -14,7 +14,7 @@ Enumerate supported frequency bands
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
=========
......
......@@ -14,7 +14,7 @@ Enumerate audio inputs
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
=========
......
......@@ -14,7 +14,7 @@ Enumerate audio outputs
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
=========
......
......@@ -14,7 +14,7 @@ Enumerate video inputs
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
=========
......
......@@ -14,7 +14,7 @@ Enumerate video outputs
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
=========
......
......@@ -14,7 +14,7 @@ Enumerate supported video standards
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
=========
......
......@@ -14,7 +14,7 @@ Export a buffer as a DMABUF file descriptor.
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
=========
......
......@@ -15,9 +15,9 @@ Query or select the current audio input and its attributes
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
=========
......
......@@ -15,9 +15,9 @@ Query or select the current audio output
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
=========
......
......@@ -15,9 +15,9 @@ Get or set the current cropping rectangle
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
=========
......
......@@ -15,7 +15,7 @@ Get or set the value of a control
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
=========
......
......@@ -17,7 +17,7 @@ Get or set DV timings for input or output
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
=========
......
......@@ -17,9 +17,9 @@ Get or set the EDID of a video receiver/transmitter
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
=========
......
......@@ -14,7 +14,7 @@ Get meta data about a compressed video stream
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
=========
......
......@@ -16,7 +16,7 @@ Get or set the value of several controls, try control values
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
=========
......
......@@ -15,9 +15,9 @@ Get or set frame buffer overlay parameters
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
=========
......
......@@ -16,7 +16,7 @@ Get or set the data format, try a format
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
=========
......
......@@ -15,9 +15,9 @@ Get or set tuner or modulator radio frequency
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
=========
......
......@@ -15,7 +15,7 @@ Query or select the current video input
Synopsis
========
.. c:function:: int ioctl( int fd, int request, int *argp )
.. cpp:function:: int ioctl( int fd, int request, int *argp )
Arguments
=========
......
......@@ -13,9 +13,9 @@ VIDIOC_S_JPEGCOMP
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
=========
......
......@@ -15,9 +15,9 @@ Get or set modulator attributes
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
=========
......
......@@ -15,7 +15,7 @@ Query or select the current video output
Synopsis
========
.. c:function:: int ioctl( int fd, int request, int *argp )
.. cpp:function:: int ioctl( int fd, int request, int *argp )
Arguments
=========
......
......@@ -15,7 +15,7 @@ Get or set streaming parameters
Synopsis
========
.. c:function:: int ioctl( int fd, int request, v4l2_streamparm *argp )
.. cpp:function:: int ioctl( int fd, int request, v4l2_streamparm *argp )
Arguments
=========
......
......@@ -15,7 +15,7 @@ Get or set one of the selection rectangles
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
=========
......
......@@ -14,7 +14,7 @@ Query sliced VBI capabilities
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
=========
......
......@@ -15,9 +15,9 @@ Query or select the video standard of the current input
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
=========
......
......@@ -15,9 +15,9 @@ Get or set tuner attributes
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
=========
......
......@@ -14,7 +14,7 @@ Log driver status information
Synopsis
========
.. c:function:: int ioctl( int fd, int request )
.. cpp:function:: int ioctl( int fd, int request )
Description
===========
......
......@@ -14,7 +14,7 @@ Start or stop video overlay
Synopsis
========
.. c:function:: int ioctl( int fd, int request, const int *argp )
.. cpp:function:: int ioctl( int fd, int request, const int *argp )
Arguments
=========
......
......@@ -14,7 +14,7 @@ Prepare a buffer for I/O
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
=========
......
......@@ -15,7 +15,7 @@ Exchange a buffer with the driver
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
=========
......
......@@ -15,7 +15,7 @@ Sense the DV preset received by the current input
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
=========
......
......@@ -14,7 +14,7 @@ Query the status of a buffer
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
=========
......
......@@ -14,7 +14,7 @@ Query device capabilities
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
=========
......
......@@ -16,11 +16,11 @@ Enumerate controls and menu control items
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
=========
......
......@@ -14,7 +14,7 @@ Sense the video standard received by the current input
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
=========
......
......@@ -14,7 +14,7 @@ Initiate Memory Mapping or User Pointer I/O
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
=========
......
......@@ -14,7 +14,7 @@ Perform a hardware frequency seek
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
=========
......
......@@ -15,7 +15,7 @@ Start or stop streaming I/O
Synopsis
========
.. c:function:: int ioctl( int fd, int request, const int *argp )
.. cpp:function:: int ioctl( int fd, int request, const int *argp )
Arguments
=========
......
......@@ -14,7 +14,7 @@ Enumerate frame intervals
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
=========
......
......@@ -14,7 +14,7 @@ Enumerate media bus frame sizes
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
=========
......
......@@ -14,7 +14,7 @@ Enumerate media bus formats
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
=========
......
......@@ -15,9 +15,9 @@ Get or set the crop rectangle on a subdev pad
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
=========
......
......@@ -15,7 +15,7 @@ Get or set the data format on a subdev pad
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
=========
......
......@@ -15,7 +15,7 @@ Get or set the frame interval on a subdev pad
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
=========
......
......@@ -15,7 +15,7 @@ Get or set selection rectangles on a subdev pad
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
=========
......
......@@ -15,7 +15,7 @@ Subscribe or unsubscribe event
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
=========
......
......@@ -1833,7 +1833,7 @@ sub output_function_rst(%) {
my $oldprefix = $lineprefix;
my $start;
print ".. c:function:: ";
print ".. cpp:function:: ";
if ($args{'functiontype'} ne "") {
$start = $args{'functiontype'} . " " . $args{'function'} . " (";
} 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