提交 1b81f010 编写于 作者: M Mauro Carvalho Chehab

[media] docs-next: stop abusing on the cpp domain

Now that we have an override for the c domain that will do
the right thing for the Kernel, stop abusing on the cpp
domain.
Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
上级 b7ff94df
......@@ -39,55 +39,54 @@ nitpick_ignore = [
("c:func", "write"),
("c:type", "atomic_t"),
("c:type", "bool"),
("c:type", "boolean"),
("c:type", "buf_queue"),
("c:type", "device"),
("c:type", "device_driver"),
("c:type", "device_node"),
("c:type", "enum"),
("c:type", "fd"),
("c:type", "fd_set"),
("c:type", "file"),
("c:type", "i2c_adapter"),
("c:type", "i2c_board_info"),
("c:type", "i2c_client"),
("c:type", "int16_t"),
("c:type", "ktime_t"),
("c:type", "led_classdev_flash"),
("c:type", "list_head"),
("c:type", "lock_class_key"),
("c:type", "module"),
("c:type", "mutex"),
("c:type", "NULL"),
("c:type", "off_t"),
("c:type", "pci_dev"),
("c:type", "pdvbdev"),
("c:type", "pollfd"),
("c:type", "poll_table_struct"),
("c:type", "s32"),
("c:type", "s64"),
("c:type", "sd"),
("c:type", "size_t"),
("c:type", "spi_board_info"),
("c:type", "spi_device"),
("c:type", "spi_master"),
("c:type", "ssize_t"),
("c:type", "struct fb_fix_screeninfo"),
("c:type", "struct pollfd"),
("c:type", "struct timeval"),
("c:type", "struct video_capability"),
("c:type", "timeval"),
("c:type", "__u16"),
("c:type", "u16"),
("c:type", "__u32"),
("c:type", "u32"),
("c:type", "__u64"),
("c:type", "u64"),
("c:type", "u8"),
("c:type", "uint16_t"),
("c:type", "uint32_t"),
("c:type", "union"),
("c:type", "usb_device"),
("cpp:type", "boolean"),
("cpp:type", "fd"),
("cpp:type", "fd_set"),
("cpp:type", "int16_t"),
("cpp:type", "NULL"),
("cpp:type", "off_t"),
("cpp:type", "pollfd"),
("cpp:type", "size_t"),
("cpp:type", "ssize_t"),
("cpp:type", "timeval"),
("cpp:type", "__u16"),
("cpp:type", "__u32"),
("cpp:type", "__u64"),
("cpp:type", "uint16_t"),
("cpp:type", "uint32_t"),
("cpp:type", "video_system_t"),
("c:type", "video_system_t"),
]
......@@ -121,7 +121,7 @@ triggered by a hardware interrupt, it is recommended to use the Linux
bottom half mechanism or start a tasklet instead of making the callback
function call directly from a hardware interrupt.
This mechanism is implemented by :c:func:`dmx_ts_cb()` and :cpp:func:`dmx_section_cb()`
This mechanism is implemented by :c:func:`dmx_ts_cb()` and :c:func:`dmx_section_cb()`
callbacks.
.. kernel-doc:: drivers/media/dvb-core/demux.h
......
......@@ -166,7 +166,7 @@ something.
In the case of :ref:`videobuf2 <vb2_framework>` you will need to implement the
``wait_prepare()`` and ``wait_finish()`` callbacks to unlock/lock if applicable.
If you use the ``queue->lock`` pointer, then you can use the helper functions
:c:func:`vb2_ops_wait_prepare` and :cpp:func:`vb2_ops_wait_finish`.
:c:func:`vb2_ops_wait_prepare` and :c:func:`vb2_ops_wait_finish`.
The implementation of a hotplug disconnect should also take the lock from
:c:type:`video_device` before calling v4l2_device_disconnect. If you are also
......@@ -335,7 +335,7 @@ And this function:
returns the video_device belonging to the file struct.
The :c:func:`video_devdata` function combines :cpp:func:`video_get_drvdata`
The :c:func:`video_devdata` function combines :c:func:`video_get_drvdata`
with :c:func:`video_devdata`:
:c:func:`video_drvdata <video_drvdata>`
......
......@@ -21,8 +21,8 @@ function by the driver.
In many cases the struct :c:type:`v4l2_fh` will be embedded in a larger
structure. In that case you should call:
#) :c:func:`v4l2_fh_init` and :cpp:func:`v4l2_fh_add` in ``open()``
#) :c:func:`v4l2_fh_del` and :cpp:func:`v4l2_fh_exit` in ``release()``
#) :c:func:`v4l2_fh_init` and :c:func:`v4l2_fh_add` in ``open()``
#) :c:func:`v4l2_fh_del` and :c:func:`v4l2_fh_exit` in ``release()``
Drivers can extract their own file handle structure by using the container_of
macro.
......
......@@ -27,7 +27,7 @@ methods.
Bridges might also need to store per-subdev private data, such as a pointer to
bridge-specific per-subdev private data. The :c:type:`v4l2_subdev` structure
provides host private data for that purpose that can be accessed with
:c:func:`v4l2_get_subdev_hostdata` and :cpp:func:`v4l2_set_subdev_hostdata`.
:c:func:`v4l2_get_subdev_hostdata` and :c:func:`v4l2_set_subdev_hostdata`.
From the bridge driver perspective, you load the sub-device module and somehow
obtain the :c:type:`v4l2_subdev` pointer. For i2c devices this is easy: you call
......
......@@ -20,7 +20,7 @@ Synopsis
#include <unistd.h>
.. cpp:function:: int close( int fd )
.. c:function:: int close( int fd )
Arguments
=========
......
......@@ -19,7 +19,7 @@ Synopsis
#include <sys/ioctl.h>
.. cpp:function:: int ioctl( int fd, int request, void *argp )
.. c:function:: int ioctl( int fd, int request, void *argp )
Arguments
=========
......
......@@ -19,7 +19,7 @@ Synopsis
#include <fcntl.h>
.. cpp:function:: int open( const char *device_name, int flags )
.. c:function:: int open( const char *device_name, int flags )
Arguments
......
......@@ -20,7 +20,7 @@ Synopsis
#include <sys/poll.h>
.. cpp:function:: int poll( struct pollfd *ufds, unsigned int nfds, int timeout )
.. c:function:: int poll( struct pollfd *ufds, unsigned int nfds, int timeout )
Arguments
=========
......
......@@ -14,7 +14,7 @@ CEC_ADAP_G_CAPS - Query device capabilities
Synopsis
========
.. cpp:function:: int ioctl( int fd, int request, struct cec_caps *argp )
.. c:function:: int ioctl( int fd, int request, struct cec_caps *argp )
Arguments
=========
......
......@@ -17,7 +17,7 @@ CEC_ADAP_G_LOG_ADDRS, CEC_ADAP_S_LOG_ADDRS - Get or set the logical addresses
Synopsis
========
.. cpp:function:: int ioctl( int fd, int request, struct cec_log_addrs *argp )
.. c:function:: int ioctl( int fd, int request, struct cec_log_addrs *argp )
Arguments
......
......@@ -17,7 +17,7 @@ CEC_ADAP_G_PHYS_ADDR, CEC_ADAP_S_PHYS_ADDR - Get or set the physical address
Synopsis
========
.. cpp:function:: int ioctl( int fd, int request, __u16 *argp )
.. c:function:: int ioctl( int fd, int request, __u16 *argp )
Arguments
=========
......
......@@ -13,7 +13,7 @@ CEC_G_MODE, CEC_S_MODE - Get or set exclusive use of the CEC adapter
Synopsis
========
.. cpp:function:: int ioctl( int fd, int request, __u32 *argp )
.. c:function:: int ioctl( int fd, int request, __u32 *argp )
Arguments
=========
......
......@@ -16,7 +16,7 @@ CEC_RECEIVE, CEC_TRANSMIT - Receive or transmit a CEC message
Synopsis
========
.. cpp:function:: int ioctl( int fd, int request, struct cec_msg *argp )
.. c:function:: int ioctl( int fd, int request, struct cec_msg *argp )
Arguments
=========
......
......@@ -15,7 +15,7 @@ AUDIO_BILINGUAL_CHANNEL_SELECT
Synopsis
--------
.. cpp:function:: int ioctl(int fd, int request = AUDIO_BILINGUAL_CHANNEL_SELECT, audio_channel_select_t)
.. c:function:: int ioctl(int fd, int request = AUDIO_BILINGUAL_CHANNEL_SELECT, audio_channel_select_t)
Arguments
......
......@@ -15,7 +15,7 @@ AUDIO_CHANNEL_SELECT
Synopsis
--------
.. cpp:function:: int ioctl(int fd, int request = AUDIO_CHANNEL_SELECT, audio_channel_select_t)
.. c:function:: int ioctl(int fd, int request = AUDIO_CHANNEL_SELECT, audio_channel_select_t)
Arguments
......
......@@ -15,7 +15,7 @@ AUDIO_CLEAR_BUFFER
Synopsis
--------
.. cpp:function:: int ioctl(int fd, int request = AUDIO_CLEAR_BUFFER)
.. c:function:: int ioctl(int fd, int request = AUDIO_CLEAR_BUFFER)
Arguments
......
......@@ -15,7 +15,7 @@ AUDIO_CONTINUE
Synopsis
--------
.. cpp:function:: int ioctl(int fd, int request = AUDIO_CONTINUE)
.. c:function:: int ioctl(int fd, int request = AUDIO_CONTINUE)
Arguments
......
......@@ -15,7 +15,7 @@ DVB audio close()
Synopsis
--------
.. cpp:function:: int close(int fd)
.. c:function:: int close(int fd)
Arguments
......
......@@ -15,7 +15,7 @@ DVB audio open()
Synopsis
--------
.. cpp:function:: int open(const char *deviceName, int flags)
.. c:function:: int open(const char *deviceName, int flags)
Arguments
......
......@@ -15,7 +15,7 @@ DVB audio write()
Synopsis
--------
.. cpp:function:: size_t write(int fd, const void *buf, size_t count)
.. c:function:: size_t write(int fd, const void *buf, size_t count)
Arguments
......
......@@ -15,7 +15,7 @@ AUDIO_GET_CAPABILITIES
Synopsis
--------
.. cpp:function:: int ioctl(int fd, int request = AUDIO_GET_CAPABILITIES, unsigned int *cap)
.. c:function:: int ioctl(int fd, int request = AUDIO_GET_CAPABILITIES, unsigned int *cap)
Arguments
......
......@@ -15,7 +15,7 @@ AUDIO_GET_PTS
Synopsis
--------
.. cpp:function:: int ioctl(int fd, int request = AUDIO_GET_PTS, __u64 *pts)
.. c:function:: int ioctl(int fd, int request = AUDIO_GET_PTS, __u64 *pts)
Arguments
......
......@@ -15,7 +15,7 @@ AUDIO_GET_STATUS
Synopsis
--------
.. cpp:function:: int ioctl(int fd, int request = AUDIO_GET_STATUS, struct audio_status *status)
.. c:function:: int ioctl(int fd, int request = AUDIO_GET_STATUS, struct audio_status *status)
Arguments
......
......@@ -15,7 +15,7 @@ AUDIO_PAUSE
Synopsis
--------
.. cpp:function:: int ioctl(int fd, int request = AUDIO_PAUSE)
.. c:function:: int ioctl(int fd, int request = AUDIO_PAUSE)
Arguments
......
......@@ -15,7 +15,7 @@ AUDIO_PLAY
Synopsis
--------
.. cpp:function:: int ioctl(int fd, int request = AUDIO_PLAY)
.. c:function:: int ioctl(int fd, int request = AUDIO_PLAY)
Arguments
......
......@@ -15,7 +15,7 @@ AUDIO_SELECT_SOURCE
Synopsis
--------
.. cpp:function:: int ioctl(int fd, int request = AUDIO_SELECT_SOURCE, audio_stream_source_t source)
.. c:function:: int ioctl(int fd, int request = AUDIO_SELECT_SOURCE, audio_stream_source_t source)
Arguments
......
......@@ -15,7 +15,7 @@ AUDIO_SET_ATTRIBUTES
Synopsis
--------
.. cpp:function:: int ioctl(fd, int request = AUDIO_SET_ATTRIBUTES, audio_attributes_t attr )
.. c:function:: int ioctl(fd, int request = AUDIO_SET_ATTRIBUTES, audio_attributes_t attr )
Arguments
......
......@@ -15,7 +15,7 @@ AUDIO_SET_AV_SYNC
Synopsis
--------
.. cpp:function:: int ioctl(int fd, int request = AUDIO_SET_AV_SYNC, boolean state)
.. c:function:: int ioctl(int fd, int request = AUDIO_SET_AV_SYNC, boolean state)
Arguments
......
......@@ -15,7 +15,7 @@ AUDIO_SET_BYPASS_MODE
Synopsis
--------
.. cpp:function:: int ioctl(int fd, int request = AUDIO_SET_BYPASS_MODE, boolean mode)
.. c:function:: int ioctl(int fd, int request = AUDIO_SET_BYPASS_MODE, boolean mode)
Arguments
......
......@@ -15,7 +15,7 @@ AUDIO_SET_EXT_ID
Synopsis
--------
.. cpp:function:: int ioctl(fd, int request = AUDIO_SET_EXT_ID, int id)
.. c:function:: int ioctl(fd, int request = AUDIO_SET_EXT_ID, int id)
Arguments
......
......@@ -15,7 +15,7 @@ AUDIO_SET_ID
Synopsis
--------
.. cpp:function:: int ioctl(int fd, int request = AUDIO_SET_ID, int id)
.. c:function:: int ioctl(int fd, int request = AUDIO_SET_ID, int id)
Arguments
......
......@@ -15,7 +15,7 @@ AUDIO_SET_KARAOKE
Synopsis
--------
.. cpp:function:: int ioctl(fd, int request = AUDIO_SET_KARAOKE, audio_karaoke_t *karaoke)
.. c:function:: int ioctl(fd, int request = AUDIO_SET_KARAOKE, audio_karaoke_t *karaoke)
Arguments
......
......@@ -15,7 +15,7 @@ AUDIO_SET_MIXER
Synopsis
--------
.. cpp:function:: int ioctl(int fd, int request = AUDIO_SET_MIXER, audio_mixer_t *mix)
.. c:function:: int ioctl(int fd, int request = AUDIO_SET_MIXER, audio_mixer_t *mix)
Arguments
......
......@@ -15,7 +15,7 @@ AUDIO_SET_MUTE
Synopsis
--------
.. cpp:function:: int ioctl(int fd, int request = AUDIO_SET_MUTE, boolean state)
.. c:function:: int ioctl(int fd, int request = AUDIO_SET_MUTE, boolean state)
Arguments
......
......@@ -15,7 +15,7 @@ AUDIO_SET_STREAMTYPE
Synopsis
--------
.. cpp:function:: int ioctl(fd, int request = AUDIO_SET_STREAMTYPE, int type)
.. c:function:: int ioctl(fd, int request = AUDIO_SET_STREAMTYPE, int type)
Arguments
......
......@@ -15,7 +15,7 @@ AUDIO_STOP
Synopsis
--------
.. cpp:function:: int ioctl(int fd, int request = AUDIO_STOP)
.. c:function:: int ioctl(int fd, int request = AUDIO_STOP)
Arguments
......
......@@ -15,7 +15,7 @@ DVB CA close()
Synopsis
--------
.. cpp:function:: int close(int fd)
.. c:function:: int close(int fd)
Arguments
......
......@@ -15,7 +15,7 @@ DVB CA open()
Synopsis
--------
.. cpp:function:: int open(const char *deviceName, int flags)
.. c:function:: int open(const char *deviceName, int flags)
Arguments
......
......@@ -15,7 +15,7 @@ CA_GET_CAP
Synopsis
--------
.. cpp:function:: int ioctl(fd, int request = CA_GET_CAP, ca_caps_t *)
.. c:function:: int ioctl(fd, int request = CA_GET_CAP, ca_caps_t *)
Arguments
......
......@@ -15,7 +15,7 @@ CA_GET_DESCR_INFO
Synopsis
--------
.. cpp:function:: int ioctl(fd, int request = CA_GET_DESCR_INFO, ca_descr_info_t *)
.. c:function:: int ioctl(fd, int request = CA_GET_DESCR_INFO, ca_descr_info_t *)
Arguments
......
......@@ -15,7 +15,7 @@ CA_GET_MSG
Synopsis
--------
.. cpp:function:: int ioctl(fd, int request = CA_GET_MSG, ca_msg_t *)
.. c:function:: int ioctl(fd, int request = CA_GET_MSG, ca_msg_t *)
Arguments
......
......@@ -15,7 +15,7 @@ CA_GET_SLOT_INFO
Synopsis
--------
.. cpp:function:: int ioctl(fd, int request = CA_GET_SLOT_INFO, ca_slot_info_t *)
.. c:function:: int ioctl(fd, int request = CA_GET_SLOT_INFO, ca_slot_info_t *)
Arguments
......
......@@ -15,7 +15,7 @@ CA_RESET
Synopsis
--------
.. cpp:function:: int ioctl(fd, int request = CA_RESET)
.. c:function:: int ioctl(fd, int request = CA_RESET)
Arguments
......
......@@ -15,7 +15,7 @@ CA_SEND_MSG
Synopsis
--------
.. cpp:function:: int ioctl(fd, int request = CA_SEND_MSG, ca_msg_t *)
.. c:function:: int ioctl(fd, int request = CA_SEND_MSG, ca_msg_t *)
Arguments
......
......@@ -15,7 +15,7 @@ CA_SET_DESCR
Synopsis
--------
.. cpp:function:: int ioctl(fd, int request = CA_SET_DESCR, ca_descr_t *)
.. c:function:: int ioctl(fd, int request = CA_SET_DESCR, ca_descr_t *)
Arguments
......
......@@ -15,7 +15,7 @@ CA_SET_PID
Synopsis
--------
.. cpp:function:: int ioctl(fd, int request = CA_SET_PID, ca_pid_t *)
.. c:function:: int ioctl(fd, int request = CA_SET_PID, ca_pid_t *)
Arguments
......
......@@ -15,7 +15,7 @@ DMX_ADD_PID
Synopsis
--------
.. cpp:function:: int ioctl(fd, int request = DMX_ADD_PID, __u16 *)
.. c:function:: int ioctl(fd, int request = DMX_ADD_PID, __u16 *)
Arguments
......
......@@ -15,7 +15,7 @@ DVB demux close()
Synopsis
--------
.. cpp:function:: int close(int fd)
.. c:function:: int close(int fd)
Arguments
......
......@@ -15,7 +15,7 @@ DVB demux open()
Synopsis
--------
.. cpp:function:: int open(const char *deviceName, int flags)
.. c:function:: int open(const char *deviceName, int flags)
Arguments
......
......@@ -15,7 +15,7 @@ DVB demux read()
Synopsis
--------
.. cpp:function:: size_t read(int fd, void *buf, size_t count)
.. c:function:: size_t read(int fd, void *buf, size_t count)
Arguments
......
......@@ -15,7 +15,7 @@ DVB demux write()
Synopsis
--------
.. cpp:function:: ssize_t write(int fd, const void *buf, size_t count)
.. c:function:: ssize_t write(int fd, const void *buf, size_t count)
Arguments
......
......@@ -15,7 +15,7 @@ DMX_GET_CAPS
Synopsis
--------
.. cpp:function:: int ioctl(fd, int request = DMX_GET_CAPS, dmx_caps_t *)
.. c:function:: int ioctl(fd, int request = DMX_GET_CAPS, dmx_caps_t *)
Arguments
......
......@@ -15,7 +15,7 @@ DMX_GET_EVENT
Synopsis
--------
.. cpp:function:: int ioctl( int fd, int request = DMX_GET_EVENT, struct dmx_event *ev)
.. c:function:: int ioctl( int fd, int request = DMX_GET_EVENT, struct dmx_event *ev)
Arguments
......
......@@ -15,7 +15,7 @@ DMX_GET_PES_PIDS
Synopsis
--------
.. cpp:function:: int ioctl(fd, int request = DMX_GET_PES_PIDS, __u16[5])
.. c:function:: int ioctl(fd, int request = DMX_GET_PES_PIDS, __u16[5])
Arguments
......
......@@ -15,7 +15,7 @@ DMX_GET_STC
Synopsis
--------
.. cpp:function:: int ioctl( int fd, int request = DMX_GET_STC, struct dmx_stc *stc)
.. c:function:: int ioctl( int fd, int request = DMX_GET_STC, struct dmx_stc *stc)
Arguments
......
......@@ -15,7 +15,7 @@ DMX_REMOVE_PID
Synopsis
--------
.. cpp:function:: int ioctl(fd, int request = DMX_REMOVE_PID, __u16 *)
.. c:function:: int ioctl(fd, int request = DMX_REMOVE_PID, __u16 *)
Arguments
......
......@@ -15,7 +15,7 @@ DMX_SET_BUFFER_SIZE
Synopsis
--------
.. cpp:function:: int ioctl( int fd, int request = DMX_SET_BUFFER_SIZE, unsigned long size)
.. c:function:: int ioctl( int fd, int request = DMX_SET_BUFFER_SIZE, unsigned long size)
Arguments
......
......@@ -15,7 +15,7 @@ DMX_SET_FILTER
Synopsis
--------
.. cpp:function:: int ioctl( int fd, int request = DMX_SET_FILTER, struct dmx_sct_filter_params *params)
.. c:function:: int ioctl( int fd, int request = DMX_SET_FILTER, struct dmx_sct_filter_params *params)
Arguments
......
......@@ -15,7 +15,7 @@ DMX_SET_PES_FILTER
Synopsis
--------
.. cpp:function:: int ioctl( int fd, int request = DMX_SET_PES_FILTER, struct dmx_pes_filter_params *params)
.. c:function:: int ioctl( int fd, int request = DMX_SET_PES_FILTER, struct dmx_pes_filter_params *params)
Arguments
......
......@@ -15,7 +15,7 @@ DMX_SET_SOURCE
Synopsis
--------
.. cpp:function:: int ioctl(fd, int request = DMX_SET_SOURCE, dmx_source_t *)
.. c:function:: int ioctl(fd, int request = DMX_SET_SOURCE, dmx_source_t *)
Arguments
......
......@@ -15,7 +15,7 @@ DMX_START
Synopsis
--------
.. cpp:function:: int ioctl( int fd, int request = DMX_START)
.. c:function:: int ioctl( int fd, int request = DMX_START)
Arguments
......
......@@ -15,7 +15,7 @@ DMX_STOP
Synopsis
--------
.. cpp:function:: int ioctl( int fd, int request = DMX_STOP)
.. c:function:: int ioctl( int fd, int request = DMX_STOP)
Arguments
......
......@@ -15,7 +15,7 @@ FE_DISEQC_RECV_SLAVE_REPLY - Receives reply from a DiSEqC 2.0 command
Synopsis
========
.. cpp:function:: int ioctl( int fd, int request, struct dvb_diseqc_slave_reply *argp )
.. c:function:: int ioctl( int fd, int request, struct dvb_diseqc_slave_reply *argp )
Arguments
......
......@@ -15,7 +15,7 @@ FE_DISEQC_RESET_OVERLOAD - Restores the power to the antenna subsystem, if it wa
Synopsis
========
.. cpp:function:: int ioctl( int fd, int request, NULL )
.. c:function:: int ioctl( int fd, int request, NULL )
Arguments
......
......@@ -15,7 +15,7 @@ FE_DISEQC_SEND_BURST - Sends a 22KHz tone burst for 2x1 mini DiSEqC satellite se
Synopsis
========
.. cpp:function:: int ioctl( int fd, int request, enum fe_sec_mini_cmd *tone )
.. c:function:: int ioctl( int fd, int request, enum fe_sec_mini_cmd *tone )
Arguments
......
......@@ -15,7 +15,7 @@ FE_DISEQC_SEND_MASTER_CMD - Sends a DiSEqC command
Synopsis
========
.. cpp:function:: int ioctl( int fd, int request, struct dvb_diseqc_master_cmd *argp )
.. c:function:: int ioctl( int fd, int request, struct dvb_diseqc_master_cmd *argp )
Arguments
......
......@@ -15,7 +15,7 @@ FE_DISHNETWORK_SEND_LEGACY_CMD
Synopsis
========
.. cpp:function:: int ioctl(int fd, int request = FE_DISHNETWORK_SEND_LEGACY_CMD, unsigned long cmd)
.. c:function:: int ioctl(int fd, int request = FE_DISHNETWORK_SEND_LEGACY_CMD, unsigned long cmd)
Arguments
......
......@@ -15,7 +15,7 @@ FE_ENABLE_HIGH_LNB_VOLTAGE - Select output DC level between normal LNBf voltages
Synopsis
========
.. cpp:function:: int ioctl( int fd, int request, unsigned int high )
.. c:function:: int ioctl( int fd, int request, unsigned int high )
Arguments
......
......@@ -15,7 +15,7 @@ FE_GET_EVENT
Synopsis
========
.. cpp:function:: int ioctl(int fd, int request = QPSK_GET_EVENT, struct dvb_frontend_event *ev)
.. c:function:: int ioctl(int fd, int request = QPSK_GET_EVENT, struct dvb_frontend_event *ev)
Arguments
......
......@@ -15,7 +15,7 @@ FE_GET_FRONTEND
Synopsis
========
.. cpp:function:: int ioctl(int fd, int request = FE_GET_FRONTEND, struct dvb_frontend_parameters *p)
.. c:function:: int ioctl(int fd, int request = FE_GET_FRONTEND, struct dvb_frontend_parameters *p)
Arguments
......
......@@ -15,7 +15,7 @@ FE_GET_INFO - Query DVB frontend capabilities and returns information about the
Synopsis
========
.. cpp:function:: int ioctl( int fd, int request, struct dvb_frontend_info *argp )
.. c:function:: int ioctl( int fd, int request, struct dvb_frontend_info *argp )
Arguments
......
......@@ -15,7 +15,7 @@ FE_SET_PROPERTY - FE_GET_PROPERTY - FE_SET_PROPERTY sets one or more frontend pr
Synopsis
========
.. cpp:function:: int ioctl( int fd, int request, struct dtv_properties *argp )
.. c:function:: int ioctl( int fd, int request, struct dtv_properties *argp )
Arguments
......
......@@ -14,7 +14,7 @@ FE_READ_BER
Synopsis
========
.. cpp:function:: int ioctl(int fd, int request = FE_READ_BER, uint32_t *ber)
.. c:function:: int ioctl(int fd, int request = FE_READ_BER, uint32_t *ber)
Arguments
......
......@@ -15,7 +15,7 @@ FE_READ_SIGNAL_STRENGTH
Synopsis
========
.. cpp:function:: int ioctl( int fd, int request = FE_READ_SIGNAL_STRENGTH, uint16_t *strength)
.. c:function:: int ioctl( int fd, int request = FE_READ_SIGNAL_STRENGTH, uint16_t *strength)
Arguments
......
......@@ -15,7 +15,7 @@ FE_READ_SNR
Synopsis
========
.. cpp:function:: int ioctl(int fd, int request = FE_READ_SNR, int16_t *snr)
.. c:function:: int ioctl(int fd, int request = FE_READ_SNR, int16_t *snr)
Arguments
......
......@@ -15,7 +15,7 @@ FE_READ_STATUS - Returns status information about the front-end. This call only
Synopsis
========
.. cpp:function:: int ioctl( int fd, int request, unsigned int *status )
.. c:function:: int ioctl( int fd, int request, unsigned int *status )
Arguments
......
......@@ -15,7 +15,7 @@ FE_READ_UNCORRECTED_BLOCKS
Synopsis
========
.. cpp:function:: int ioctl( int fd, int request =FE_READ_UNCORRECTED_BLOCKS, uint32_t *ublocks)
.. c:function:: int ioctl( int fd, int request =FE_READ_UNCORRECTED_BLOCKS, uint32_t *ublocks)
Arguments
......
......@@ -15,7 +15,7 @@ FE_SET_FRONTEND_TUNE_MODE - Allow setting tuner mode flags to the frontend.
Synopsis
========
.. cpp:function:: int ioctl( int fd, int request, unsigned int flags )
.. c:function:: int ioctl( int fd, int request, unsigned int flags )
Arguments
......
......@@ -15,7 +15,7 @@ FE_SET_FRONTEND
Synopsis
========
.. cpp:function:: int ioctl(int fd, int request = FE_SET_FRONTEND, struct dvb_frontend_parameters *p)
.. c:function:: int ioctl(int fd, int request = FE_SET_FRONTEND, struct dvb_frontend_parameters *p)
Arguments
......
......@@ -15,7 +15,7 @@ FE_SET_TONE - Sets/resets the generation of the continuous 22kHz tone.
Synopsis
========
.. cpp:function:: int ioctl( int fd, int request, enum fe_sec_tone_mode *tone )
.. c:function:: int ioctl( int fd, int request, enum fe_sec_tone_mode *tone )
Arguments
......
......@@ -15,7 +15,7 @@ FE_SET_VOLTAGE - Allow setting the DC level sent to the antenna subsystem.
Synopsis
========
.. cpp:function:: int ioctl( int fd, int request, enum fe_sec_voltage *voltage )
.. c:function:: int ioctl( int fd, int request, enum fe_sec_voltage *voltage )
Arguments
......
......@@ -20,7 +20,7 @@ Synopsis
#include <unistd.h>
.. cpp:function:: int close( int fd )
.. c:function:: int close( int fd )
Arguments
......
......@@ -20,7 +20,7 @@ Synopsis
#include <fcntl.h>
.. cpp:function:: int open( const char *device_name, int flags )
.. c:function:: int open( const char *device_name, int flags )
Arguments
......
......@@ -15,7 +15,7 @@ NET_ADD_IF - Creates a new network interface for a given Packet ID.
Synopsis
========
.. cpp:function:: int ioctl( int fd, int request, struct dvb_net_if *net_if )
.. c:function:: int ioctl( int fd, int request, struct dvb_net_if *net_if )
Arguments
......
......@@ -15,7 +15,7 @@ NET_GET_IF - Read the configuration data of an interface created via - :ref:`NET
Synopsis
========
.. cpp:function:: int ioctl( int fd, int request, struct dvb_net_if *net_if )
.. c:function:: int ioctl( int fd, int request, struct dvb_net_if *net_if )
Arguments
......
......@@ -15,7 +15,7 @@ NET_REMOVE_IF - Removes a network interface.
Synopsis
========
.. cpp:function:: int ioctl( int fd, int request, int ifnum )
.. c:function:: int ioctl( int fd, int request, int ifnum )
Arguments
......
......@@ -15,7 +15,7 @@ VIDEO_CLEAR_BUFFER
Synopsis
--------
.. cpp:function:: int ioctl(fd, int request = VIDEO_CLEAR_BUFFER)
.. c:function:: int ioctl(fd, int request = VIDEO_CLEAR_BUFFER)
Arguments
......
......@@ -15,7 +15,7 @@ VIDEO_COMMAND
Synopsis
--------
.. cpp:function:: int ioctl(int fd, int request = VIDEO_COMMAND, struct video_command *cmd)
.. c:function:: int ioctl(int fd, int request = VIDEO_COMMAND, struct video_command *cmd)
Arguments
......
......@@ -15,7 +15,7 @@ VIDEO_CONTINUE
Synopsis
--------
.. cpp:function:: int ioctl(fd, int request = VIDEO_CONTINUE)
.. c:function:: int ioctl(fd, int request = VIDEO_CONTINUE)
Arguments
......
......@@ -15,7 +15,7 @@ VIDEO_FAST_FORWARD
Synopsis
--------
.. cpp:function:: int ioctl(fd, int request = VIDEO_FAST_FORWARD, int nFrames)
.. c:function:: int ioctl(fd, int request = VIDEO_FAST_FORWARD, int nFrames)
Arguments
......
......@@ -15,7 +15,7 @@ dvb video close()
Synopsis
--------
.. cpp:function:: int close(int fd)
.. c:function:: int close(int fd)
Arguments
......
......@@ -15,7 +15,7 @@ dvb video open()
Synopsis
--------
.. cpp:function:: int open(const char *deviceName, int flags)
.. c:function:: int open(const char *deviceName, int flags)
Arguments
......
......@@ -15,7 +15,7 @@ VIDEO_FREEZE
Synopsis
--------
.. cpp:function:: int ioctl(fd, int request = VIDEO_FREEZE)
.. c:function:: int ioctl(fd, int request = VIDEO_FREEZE)
Arguments
......
......@@ -15,7 +15,7 @@ dvb video write()
Synopsis
--------
.. cpp:function:: size_t write(int fd, const void *buf, size_t count)
.. c:function:: size_t write(int fd, const void *buf, size_t count)
Arguments
......
......@@ -15,7 +15,7 @@ VIDEO_GET_CAPABILITIES
Synopsis
--------
.. cpp:function:: int ioctl(fd, int request = VIDEO_GET_CAPABILITIES, unsigned int *cap)
.. c:function:: int ioctl(fd, int request = VIDEO_GET_CAPABILITIES, unsigned int *cap)
Arguments
......
......@@ -15,7 +15,7 @@ VIDEO_GET_EVENT
Synopsis
--------
.. cpp:function:: int ioctl(fd, int request = VIDEO_GET_EVENT, struct video_event *ev)
.. c:function:: int ioctl(fd, int request = VIDEO_GET_EVENT, struct video_event *ev)
Arguments
......
......@@ -15,7 +15,7 @@ VIDEO_GET_FRAME_COUNT
Synopsis
--------
.. cpp:function:: int ioctl(int fd, int request = VIDEO_GET_FRAME_COUNT, __u64 *pts)
.. c:function:: int ioctl(int fd, int request = VIDEO_GET_FRAME_COUNT, __u64 *pts)
Arguments
......
......@@ -15,7 +15,7 @@ VIDEO_GET_FRAME_RATE
Synopsis
--------
.. cpp:function:: int ioctl(int fd, int request = VIDEO_GET_FRAME_RATE, unsigned int *rate)
.. c:function:: int ioctl(int fd, int request = VIDEO_GET_FRAME_RATE, unsigned int *rate)
Arguments
......
......@@ -15,7 +15,7 @@ VIDEO_GET_NAVI
Synopsis
--------
.. cpp:function:: int ioctl(fd, int request = VIDEO_GET_NAVI , video_navi_pack_t *navipack)
.. c:function:: int ioctl(fd, int request = VIDEO_GET_NAVI , video_navi_pack_t *navipack)
Arguments
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册