Skip to contentSkip to conversation

First part of documentation fixups

PATCH New Mauro Carvalho Chehab 1 participant 52 messages Jul 4, 2016 Page 2 of 2

Subsystems (2)
lore
Share & tools
lore
#40 lore raw

PATCH 40/51 Documentation: linux_tv: remove trailing comments

In reply to Mauro Carvalho Chehab

The conversion script added some comments at the end. They point to the original DocBook files, with will be removed after the manual fixes. So, they'll be pointing to nowere. So, remove those comments.

They'll be forever stored at the Kernel tree. So, if someone wants the references, it is just a matter of looking at the backlog.

---
 Documentation/linux_tv/audio.h.rst                           | 11 -----------
 Documentation/linux_tv/ca.h.rst                              | 11 -----------
 Documentation/linux_tv/dmx.h.rst                             | 11 -----------
 Documentation/linux_tv/frontend.h.rst                        | 11 -----------
 Documentation/linux_tv/index.rst                             | 12 ------------
 .../linux_tv/media/dvb/FE_DISHNETWORK_SEND_LEGACY_CMD.rst    |  9 ---------
 Documentation/linux_tv/media/dvb/FE_GET_EVENT.rst            | 11 -----------
 Documentation/linux_tv/media/dvb/FE_GET_FRONTEND.rst         | 11 -----------
 Documentation/linux_tv/media/dvb/FE_READ_BER.rst             |  9 ---------
 Documentation/linux_tv/media/dvb/FE_READ_SIGNAL_STRENGTH.rst |  9 ---------
 Documentation/linux_tv/media/dvb/FE_READ_SNR.rst             |  9 ---------
 .../linux_tv/media/dvb/FE_READ_UNCORRECTED_BLOCKS.rst        |  9 ---------
 Documentation/linux_tv/media/dvb/FE_SET_FRONTEND.rst         | 11 -----------
 Documentation/linux_tv/media/dvb/audio.rst                   | 11 -----------
 Documentation/linux_tv/media/dvb/audio_data_types.rst        | 11 -----------
 Documentation/linux_tv/media/dvb/audio_function_calls.rst    | 11 -----------
 Documentation/linux_tv/media/dvb/audio_h.rst                 | 11 -----------
 Documentation/linux_tv/media/dvb/ca.rst                      | 11 -----------
 Documentation/linux_tv/media/dvb/ca_data_types.rst           | 11 -----------
 Documentation/linux_tv/media/dvb/ca_function_calls.rst       |  9 ---------
 Documentation/linux_tv/media/dvb/ca_h.rst                    | 11 -----------
 Documentation/linux_tv/media/dvb/demux.rst                   | 11 -----------
 Documentation/linux_tv/media/dvb/dmx_fcalls.rst              |  9 ---------
 Documentation/linux_tv/media/dvb/dmx_h.rst                   | 11 -----------
 Documentation/linux_tv/media/dvb/dmx_types.rst               | 11 -----------
 Documentation/linux_tv/media/dvb/dtv-fe-stats.rst            | 11 -----------
 Documentation/linux_tv/media/dvb/dtv-properties.rst          | 11 -----------
 Documentation/linux_tv/media/dvb/dtv-property.rst            | 11 -----------
 Documentation/linux_tv/media/dvb/dtv-stats.rst               | 11 -----------
 Documentation/linux_tv/media/dvb/dvb-fe-read-status.rst      |  9 ---------
 Documentation/linux_tv/media/dvb/dvb-frontend-event.rst      | 11 -----------
 Documentation/linux_tv/media/dvb/dvb-frontend-parameters.rst | 11 -----------
 Documentation/linux_tv/media/dvb/dvbapi.rst                  |  9 ---------
 Documentation/linux_tv/media/dvb/dvbproperty-006.rst         |  9 ---------
 Documentation/linux_tv/media/dvb/dvbproperty.rst             | 11 -----------
 Documentation/linux_tv/media/dvb/examples.rst                | 11 -----------
 Documentation/linux_tv/media/dvb/fe-bandwidth-t.rst          | 11 -----------
 .../linux_tv/media/dvb/fe-diseqc-recv-slave-reply.rst        | 11 -----------
 .../linux_tv/media/dvb/fe-diseqc-reset-overload.rst          |  9 ---------
 Documentation/linux_tv/media/dvb/fe-diseqc-send-burst.rst    | 11 -----------
 .../linux_tv/media/dvb/fe-diseqc-send-master-cmd.rst         | 11 -----------
 .../linux_tv/media/dvb/fe-enable-high-lnb-voltage.rst        |  9 ---------
 Documentation/linux_tv/media/dvb/fe-get-info.rst             | 11 -----------
 Documentation/linux_tv/media/dvb/fe-get-property.rst         |  9 ---------
 Documentation/linux_tv/media/dvb/fe-read-status.rst          | 11 -----------
 .../linux_tv/media/dvb/fe-set-frontend-tune-mode.rst         |  9 ---------
 Documentation/linux_tv/media/dvb/fe-set-tone.rst             | 11 -----------
 Documentation/linux_tv/media/dvb/fe-set-voltage.rst          |  9 ---------
 Documentation/linux_tv/media/dvb/fe-type-t.rst               |  9 ---------
 Documentation/linux_tv/media/dvb/fe_property_parameters.rst  |  9 ---------
 .../linux_tv/media/dvb/frontend-property-cable-systems.rst   |  9 ---------
 .../media/dvb/frontend-property-satellite-systems.rst        |  9 ---------
 .../media/dvb/frontend-property-terrestrial-systems.rst      |  9 ---------
 .../linux_tv/media/dvb/frontend-stat-properties.rst          |  9 ---------
 Documentation/linux_tv/media/dvb/frontend.rst                | 11 -----------
 Documentation/linux_tv/media/dvb/frontend_f_close.rst        |  9 ---------
 Documentation/linux_tv/media/dvb/frontend_f_open.rst         |  9 ---------
 Documentation/linux_tv/media/dvb/frontend_fcalls.rst         | 11 -----------
 Documentation/linux_tv/media/dvb/frontend_h.rst              | 11 -----------
 Documentation/linux_tv/media/dvb/frontend_legacy_api.rst     | 11 -----------
 .../linux_tv/media/dvb/frontend_legacy_dvbv3_api.rst         | 11 -----------
 Documentation/linux_tv/media/dvb/intro.rst                   |  9 ---------
 Documentation/linux_tv/media/dvb/legacy_dvb_apis.rst         | 11 -----------
 Documentation/linux_tv/media/dvb/net.rst                     |  9 ---------
 Documentation/linux_tv/media/dvb/net_h.rst                   | 11 -----------
 Documentation/linux_tv/media/dvb/query-dvb-frontend-info.rst |  9 ---------
 Documentation/linux_tv/media/dvb/video.rst                   | 11 -----------
 Documentation/linux_tv/media/dvb/video_function_calls.rst    | 11 -----------
 Documentation/linux_tv/media/dvb/video_h.rst                 | 11 -----------
 Documentation/linux_tv/media/dvb/video_types.rst             | 11 -----------
 .../linux_tv/media/v4l/Remote_controllers_Intro.rst          |  9 ---------
 .../linux_tv/media/v4l/Remote_controllers_table_change.rst   | 11 -----------
 .../linux_tv/media/v4l/Remote_controllers_tables.rst         | 11 -----------
 Documentation/linux_tv/media/v4l/app-pri.rst                 |  9 ---------
 Documentation/linux_tv/media/v4l/async.rst                   |  9 ---------
 Documentation/linux_tv/media/v4l/audio.rst                   |  9 ---------
 Documentation/linux_tv/media/v4l/biblio.rst                  |  9 ---------
 Documentation/linux_tv/media/v4l/buffer.rst                  | 11 -----------
 Documentation/linux_tv/media/v4l/capture-example.rst         | 11 -----------
 Documentation/linux_tv/media/v4l/capture.c.rst               | 11 -----------
 Documentation/linux_tv/media/v4l/colorspaces.rst             |  9 ---------
 Documentation/linux_tv/media/v4l/common-defs.rst             | 11 -----------
 Documentation/linux_tv/media/v4l/common.rst                  | 11 -----------
 Documentation/linux_tv/media/v4l/compat.rst                  | 11 -----------
 Documentation/linux_tv/media/v4l/control.rst                 |  9 ---------
 Documentation/linux_tv/media/v4l/crop.rst                    |  9 ---------
 Documentation/linux_tv/media/v4l/depth-formats.rst           | 11 -----------
 Documentation/linux_tv/media/v4l/dev-capture.rst             |  9 ---------
 Documentation/linux_tv/media/v4l/dev-codec.rst               |  9 ---------
 Documentation/linux_tv/media/v4l/dev-effect.rst              |  9 ---------
 Documentation/linux_tv/media/v4l/dev-event.rst               |  9 ---------
 Documentation/linux_tv/media/v4l/dev-osd.rst                 |  9 ---------
 Documentation/linux_tv/media/v4l/dev-output.rst              |  9 ---------
 Documentation/linux_tv/media/v4l/dev-overlay.rst             |  9 ---------
 Documentation/linux_tv/media/v4l/dev-radio.rst               |  9 ---------
 Documentation/linux_tv/media/v4l/dev-raw-vbi.rst             |  9 ---------
 Documentation/linux_tv/media/v4l/dev-rds.rst                 | 11 -----------
 Documentation/linux_tv/media/v4l/dev-sdr.rst                 |  9 ---------
 Documentation/linux_tv/media/v4l/dev-sliced-vbi.rst          |  9 ---------
 Documentation/linux_tv/media/v4l/dev-subdev.rst              | 11 -----------
 Documentation/linux_tv/media/v4l/dev-teletext.rst            |  9 ---------
 Documentation/linux_tv/media/v4l/devices.rst                 | 11 -----------
 Documentation/linux_tv/media/v4l/diff-v4l.rst                |  9 ---------
 Documentation/linux_tv/media/v4l/dmabuf.rst                  |  9 ---------
 Documentation/linux_tv/media/v4l/driver.rst                  |  9 ---------
 Documentation/linux_tv/media/v4l/dv-timings.rst              |  9 ---------
 Documentation/linux_tv/media/v4l/extended-controls.rst       |  9 ---------
 Documentation/linux_tv/media/v4l/fdl-appendix.rst            |  9 ---------
 Documentation/linux_tv/media/v4l/field-order.rst             | 11 -----------
 Documentation/linux_tv/media/v4l/format.rst                  |  9 ---------
 Documentation/linux_tv/media/v4l/func-close.rst              |  9 ---------
 Documentation/linux_tv/media/v4l/func-ioctl.rst              |  9 ---------
 Documentation/linux_tv/media/v4l/func-mmap.rst               |  9 ---------
 Documentation/linux_tv/media/v4l/func-munmap.rst             |  9 ---------
 Documentation/linux_tv/media/v4l/func-open.rst               |  9 ---------
 Documentation/linux_tv/media/v4l/func-poll.rst               |  9 ---------
 Documentation/linux_tv/media/v4l/func-read.rst               |  9 ---------
 Documentation/linux_tv/media/v4l/func-select.rst             |  9 ---------
 Documentation/linux_tv/media/v4l/func-write.rst              |  9 ---------
 Documentation/linux_tv/media/v4l/gen-errors.rst              |  9 ---------
 Documentation/linux_tv/media/v4l/hist-v4l2.rst               |  9 ---------
 Documentation/linux_tv/media/v4l/io.rst                      | 11 -----------
 Documentation/linux_tv/media/v4l/keytable.c.rst              | 11 -----------
 Documentation/linux_tv/media/v4l/libv4l-introduction.rst     |  9 ---------
 Documentation/linux_tv/media/v4l/libv4l.rst                  | 11 -----------
 Documentation/linux_tv/media/v4l/lirc_dev_intro.rst          |  9 ---------
 Documentation/linux_tv/media/v4l/lirc_device_interface.rst   | 11 -----------
 Documentation/linux_tv/media/v4l/lirc_ioctl.rst              |  9 ---------
 Documentation/linux_tv/media/v4l/lirc_read.rst               |  9 ---------
 Documentation/linux_tv/media/v4l/lirc_write.rst              |  9 ---------
 Documentation/linux_tv/media/v4l/media-controller-intro.rst  |  9 ---------
 Documentation/linux_tv/media/v4l/media-controller-model.rst  |  9 ---------
 Documentation/linux_tv/media/v4l/media-controller.rst        |  9 ---------
 Documentation/linux_tv/media/v4l/media-func-close.rst        |  9 ---------
 Documentation/linux_tv/media/v4l/media-func-ioctl.rst        |  9 ---------
 Documentation/linux_tv/media/v4l/media-func-open.rst         |  9 ---------
 Documentation/linux_tv/media/v4l/media-ioc-device-info.rst   |  9 ---------
 Documentation/linux_tv/media/v4l/media-ioc-enum-entities.rst |  9 ---------
 Documentation/linux_tv/media/v4l/media-ioc-enum-links.rst    |  9 ---------
 Documentation/linux_tv/media/v4l/media-ioc-g-topology.rst    |  9 ---------
 Documentation/linux_tv/media/v4l/media-ioc-setup-link.rst    |  9 ---------
 Documentation/linux_tv/media/v4l/media-types.rst             | 11 -----------
 Documentation/linux_tv/media/v4l/mmap.rst                    |  9 ---------
 Documentation/linux_tv/media/v4l/open.rst                    |  9 ---------
 Documentation/linux_tv/media/v4l/pixfmt-002.rst              | 11 -----------
 Documentation/linux_tv/media/v4l/pixfmt-003.rst              | 11 -----------
 Documentation/linux_tv/media/v4l/pixfmt-004.rst              |  9 ---------
 Documentation/linux_tv/media/v4l/pixfmt-006.rst              | 11 -----------
 Documentation/linux_tv/media/v4l/pixfmt-007.rst              |  9 ---------
 Documentation/linux_tv/media/v4l/pixfmt-008.rst              |  9 ---------
 Documentation/linux_tv/media/v4l/pixfmt-013.rst              | 11 -----------
 Documentation/linux_tv/media/v4l/pixfmt-grey.rst             | 11 -----------
 Documentation/linux_tv/media/v4l/pixfmt-indexed.rst          | 11 -----------
 Documentation/linux_tv/media/v4l/pixfmt-m420.rst             | 11 -----------
 Documentation/linux_tv/media/v4l/pixfmt-nv12.rst             | 11 -----------
 Documentation/linux_tv/media/v4l/pixfmt-nv12m.rst            | 11 -----------
 Documentation/linux_tv/media/v4l/pixfmt-nv12mt.rst           |  9 ---------
 Documentation/linux_tv/media/v4l/pixfmt-nv16.rst             | 11 -----------
 Documentation/linux_tv/media/v4l/pixfmt-nv16m.rst            | 11 -----------
 Documentation/linux_tv/media/v4l/pixfmt-nv24.rst             | 11 -----------
 Documentation/linux_tv/media/v4l/pixfmt-packed-rgb.rst       |  9 ---------
 Documentation/linux_tv/media/v4l/pixfmt-packed-yuv.rst       |  9 ---------
 Documentation/linux_tv/media/v4l/pixfmt-reserved.rst         | 11 -----------
 Documentation/linux_tv/media/v4l/pixfmt-rgb.rst              | 11 -----------
 Documentation/linux_tv/media/v4l/pixfmt-sbggr16.rst          | 11 -----------
 Documentation/linux_tv/media/v4l/pixfmt-sbggr8.rst           | 11 -----------
 Documentation/linux_tv/media/v4l/pixfmt-sdr-cs08.rst         | 11 -----------
 Documentation/linux_tv/media/v4l/pixfmt-sdr-cs14le.rst       | 11 -----------
 Documentation/linux_tv/media/v4l/pixfmt-sdr-cu08.rst         | 11 -----------
 Documentation/linux_tv/media/v4l/pixfmt-sdr-cu16le.rst       | 11 -----------
 Documentation/linux_tv/media/v4l/pixfmt-sdr-ru12le.rst       | 11 -----------
 Documentation/linux_tv/media/v4l/pixfmt-sgbrg8.rst           | 11 -----------
 Documentation/linux_tv/media/v4l/pixfmt-sgrbg8.rst           | 11 -----------
 Documentation/linux_tv/media/v4l/pixfmt-srggb10.rst          | 11 -----------
 Documentation/linux_tv/media/v4l/pixfmt-srggb10alaw8.rst     |  9 ---------
 Documentation/linux_tv/media/v4l/pixfmt-srggb10dpcm8.rst     |  9 ---------
 Documentation/linux_tv/media/v4l/pixfmt-srggb10p.rst         | 11 -----------
 Documentation/linux_tv/media/v4l/pixfmt-srggb12.rst          | 11 -----------
 Documentation/linux_tv/media/v4l/pixfmt-srggb8.rst           | 11 -----------
 Documentation/linux_tv/media/v4l/pixfmt-uv8.rst              | 11 -----------
 Documentation/linux_tv/media/v4l/pixfmt-uyvy.rst             | 11 -----------
 Documentation/linux_tv/media/v4l/pixfmt-vyuy.rst             | 11 -----------
 Documentation/linux_tv/media/v4l/pixfmt-y10.rst              | 11 -----------
 Documentation/linux_tv/media/v4l/pixfmt-y10b.rst             | 11 -----------
 Documentation/linux_tv/media/v4l/pixfmt-y12.rst              | 11 -----------
 Documentation/linux_tv/media/v4l/pixfmt-y12i.rst             | 11 -----------
 Documentation/linux_tv/media/v4l/pixfmt-y16-be.rst           | 11 -----------
 Documentation/linux_tv/media/v4l/pixfmt-y16.rst              | 11 -----------
 Documentation/linux_tv/media/v4l/pixfmt-y41p.rst             | 11 -----------
 Documentation/linux_tv/media/v4l/pixfmt-y8i.rst              | 11 -----------
 Documentation/linux_tv/media/v4l/pixfmt-yuv410.rst           | 11 -----------
 Documentation/linux_tv/media/v4l/pixfmt-yuv411p.rst          | 11 -----------
 Documentation/linux_tv/media/v4l/pixfmt-yuv420.rst           | 11 -----------
 Documentation/linux_tv/media/v4l/pixfmt-yuv420m.rst          | 11 -----------
 Documentation/linux_tv/media/v4l/pixfmt-yuv422m.rst          | 11 -----------
 Documentation/linux_tv/media/v4l/pixfmt-yuv422p.rst          | 11 -----------
 Documentation/linux_tv/media/v4l/pixfmt-yuv444m.rst          | 11 -----------
 Documentation/linux_tv/media/v4l/pixfmt-yuyv.rst             | 11 -----------
 Documentation/linux_tv/media/v4l/pixfmt-yvyu.rst             | 11 -----------
 Documentation/linux_tv/media/v4l/pixfmt-z16.rst              | 11 -----------
 Documentation/linux_tv/media/v4l/pixfmt.rst                  | 11 -----------
 Documentation/linux_tv/media/v4l/planar-apis.rst             |  9 ---------
 Documentation/linux_tv/media/v4l/querycap.rst                |  9 ---------
 Documentation/linux_tv/media/v4l/remote_controllers.rst      |  9 ---------
 .../linux_tv/media/v4l/remote_controllers_sysfs_nodes.rst    |  9 ---------
 Documentation/linux_tv/media/v4l/rw.rst                      |  9 ---------
 Documentation/linux_tv/media/v4l/sdr-formats.rst             | 11 -----------
 Documentation/linux_tv/media/v4l/selection-api-002.rst       |  9 ---------
 Documentation/linux_tv/media/v4l/selection-api-003.rst       |  9 ---------
 Documentation/linux_tv/media/v4l/selection-api-004.rst       |  9 ---------
 Documentation/linux_tv/media/v4l/selection-api-005.rst       |  9 ---------
 Documentation/linux_tv/media/v4l/selection-api-006.rst       | 11 -----------
 Documentation/linux_tv/media/v4l/selection-api.rst           | 11 -----------
 Documentation/linux_tv/media/v4l/selections-common.rst       | 11 -----------
 Documentation/linux_tv/media/v4l/standard.rst                |  9 ---------
 Documentation/linux_tv/media/v4l/streaming-par.rst           |  9 ---------
 Documentation/linux_tv/media/v4l/subdev-formats.rst          | 11 -----------
 Documentation/linux_tv/media/v4l/tuner.rst                   |  9 ---------
 Documentation/linux_tv/media/v4l/user-func.rst               | 11 -----------
 Documentation/linux_tv/media/v4l/userp.rst                   |  9 ---------
 Documentation/linux_tv/media/v4l/v4l2-selection-flags.rst    | 11 -----------
 Documentation/linux_tv/media/v4l/v4l2-selection-targets.rst  | 11 -----------
 Documentation/linux_tv/media/v4l/v4l2.rst                    |  9 ---------
 Documentation/linux_tv/media/v4l/v4l2grab-example.rst        | 11 -----------
 Documentation/linux_tv/media/v4l/v4l2grab.c.rst              | 11 -----------
 Documentation/linux_tv/media/v4l/video.rst                   | 11 -----------
 Documentation/linux_tv/media/v4l/videodev.rst                | 11 -----------
 Documentation/linux_tv/media/v4l/vidioc-create-bufs.rst      |  9 ---------
 Documentation/linux_tv/media/v4l/vidioc-cropcap.rst          |  9 ---------
 Documentation/linux_tv/media/v4l/vidioc-dbg-g-chip-info.rst  |  9 ---------
 Documentation/linux_tv/media/v4l/vidioc-dbg-g-register.rst   |  9 ---------
 Documentation/linux_tv/media/v4l/vidioc-decoder-cmd.rst      |  9 ---------
 Documentation/linux_tv/media/v4l/vidioc-dqevent.rst          |  9 ---------
 Documentation/linux_tv/media/v4l/vidioc-dv-timings-cap.rst   |  9 ---------
 Documentation/linux_tv/media/v4l/vidioc-encoder-cmd.rst      |  9 ---------
 Documentation/linux_tv/media/v4l/vidioc-enum-dv-timings.rst  |  9 ---------
 Documentation/linux_tv/media/v4l/vidioc-enum-fmt.rst         |  9 ---------
 .../linux_tv/media/v4l/vidioc-enum-frameintervals.rst        |  9 ---------
 Documentation/linux_tv/media/v4l/vidioc-enum-framesizes.rst  |  9 ---------
 Documentation/linux_tv/media/v4l/vidioc-enum-freq-bands.rst  |  9 ---------
 Documentation/linux_tv/media/v4l/vidioc-enumaudio.rst        |  9 ---------
 Documentation/linux_tv/media/v4l/vidioc-enumaudioout.rst     |  9 ---------
 Documentation/linux_tv/media/v4l/vidioc-enuminput.rst        |  9 ---------
 Documentation/linux_tv/media/v4l/vidioc-enumoutput.rst       |  9 ---------
 Documentation/linux_tv/media/v4l/vidioc-enumstd.rst          |  9 ---------
 Documentation/linux_tv/media/v4l/vidioc-expbuf.rst           |  9 ---------
 Documentation/linux_tv/media/v4l/vidioc-g-audio.rst          |  9 ---------
 Documentation/linux_tv/media/v4l/vidioc-g-audioout.rst       |  9 ---------
 Documentation/linux_tv/media/v4l/vidioc-g-crop.rst           |  9 ---------
 Documentation/linux_tv/media/v4l/vidioc-g-ctrl.rst           |  9 ---------
 Documentation/linux_tv/media/v4l/vidioc-g-dv-timings.rst     | 11 -----------
 Documentation/linux_tv/media/v4l/vidioc-g-edid.rst           |  9 ---------
 Documentation/linux_tv/media/v4l/vidioc-g-enc-index.rst      |  9 ---------
 Documentation/linux_tv/media/v4l/vidioc-g-ext-ctrls.rst      |  9 ---------
 Documentation/linux_tv/media/v4l/vidioc-g-fbuf.rst           |  9 ---------
 Documentation/linux_tv/media/v4l/vidioc-g-fmt.rst            |  9 ---------
 Documentation/linux_tv/media/v4l/vidioc-g-frequency.rst      |  9 ---------
 Documentation/linux_tv/media/v4l/vidioc-g-input.rst          |  9 ---------
 Documentation/linux_tv/media/v4l/vidioc-g-jpegcomp.rst       |  9 ---------
 Documentation/linux_tv/media/v4l/vidioc-g-modulator.rst      |  9 ---------
 Documentation/linux_tv/media/v4l/vidioc-g-output.rst         |  9 ---------
 Documentation/linux_tv/media/v4l/vidioc-g-parm.rst           |  9 ---------
 Documentation/linux_tv/media/v4l/vidioc-g-priority.rst       |  9 ---------
 Documentation/linux_tv/media/v4l/vidioc-g-selection.rst      |  9 ---------
 Documentation/linux_tv/media/v4l/vidioc-g-sliced-vbi-cap.rst |  9 ---------
 Documentation/linux_tv/media/v4l/vidioc-g-std.rst            |  9 ---------
 Documentation/linux_tv/media/v4l/vidioc-g-tuner.rst          |  9 ---------
 Documentation/linux_tv/media/v4l/vidioc-log-status.rst       |  9 ---------
 Documentation/linux_tv/media/v4l/vidioc-overlay.rst          |  9 ---------
 Documentation/linux_tv/media/v4l/vidioc-prepare-buf.rst      |  9 ---------
 Documentation/linux_tv/media/v4l/vidioc-qbuf.rst             |  9 ---------
 Documentation/linux_tv/media/v4l/vidioc-query-dv-timings.rst |  9 ---------
 Documentation/linux_tv/media/v4l/vidioc-querybuf.rst         |  9 ---------
 Documentation/linux_tv/media/v4l/vidioc-querycap.rst         |  9 ---------
 Documentation/linux_tv/media/v4l/vidioc-queryctrl.rst        |  9 ---------
 Documentation/linux_tv/media/v4l/vidioc-querystd.rst         |  9 ---------
 Documentation/linux_tv/media/v4l/vidioc-reqbufs.rst          |  9 ---------
 Documentation/linux_tv/media/v4l/vidioc-s-hw-freq-seek.rst   |  9 ---------
 Documentation/linux_tv/media/v4l/vidioc-streamon.rst         |  9 ---------
 .../linux_tv/media/v4l/vidioc-subdev-enum-frame-interval.rst |  9 ---------
 .../linux_tv/media/v4l/vidioc-subdev-enum-frame-size.rst     |  9 ---------
 .../linux_tv/media/v4l/vidioc-subdev-enum-mbus-code.rst      |  9 ---------
 Documentation/linux_tv/media/v4l/vidioc-subdev-g-crop.rst    |  9 ---------
 Documentation/linux_tv/media/v4l/vidioc-subdev-g-fmt.rst     |  9 ---------
 .../linux_tv/media/v4l/vidioc-subdev-g-frame-interval.rst    |  9 ---------
 .../linux_tv/media/v4l/vidioc-subdev-g-selection.rst         |  9 ---------
 Documentation/linux_tv/media/v4l/vidioc-subscribe-event.rst  |  9 ---------
 Documentation/linux_tv/media/v4l/yuv-formats.rst             | 11 -----------
 Documentation/linux_tv/net.h.rst                             | 11 -----------
 Documentation/linux_tv/video.h.rst                           | 11 -----------
 Documentation/linux_tv/videodev2.h.rst                       | 11 -----------
 scripts/kernel-doc                                           |  0
 292 files changed, 2876 deletions(-)
 mode change 100644 => 100755 scripts/kernel-doc
Documentation/linux_tv/audio.h.rst +0 -11
index abf29027f8ea..1e76a866c01a 100644
@@ -140,14 +140,3 @@ file: audio.h
     #define AUDIO_BILINGUAL_CHANNEL_SELECT _IO('o', 20)
 
     #endif /* _DVBAUDIO_H_ */
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/ca.h.rst +0 -11
index b69ce287aa8c..0664c4bdd985 100644
@@ -95,14 +95,3 @@ file: ca.h
     #define CA_SET_PID        _IOW('o', 135, ca_pid_t)
 
     #endif
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/dmx.h.rst +0 -11
index 9ced07899e57..4791554f82f9 100644
@@ -160,14 +160,3 @@ file: dmx.h
     #define DMX_REMOVE_PID           _IOW('o', 52, __u16)
 
     #endif /* _UAPI_DVBDMX_H_ */
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/frontend.h.rst +0 -11
index 1b65b2037778..5c8f11a77c1e 100644
@@ -607,14 +607,3 @@ file: frontend.h
     #define FE_DISHNETWORK_SEND_LEGACY_CMD _IO('o', 80) /* unsigned int */
 
     #endif /*_DVBFRONTEND_H_*/
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/index.rst +0 -12
index edb7d56e9b8f..821be82dcb23 100644
@@ -75,18 +75,6 @@ etc, please mail to:
     media/v4l/gen-errors
     media/v4l/fdl-appendix
 
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
-
-
 .. only:: html
 
   Retrieval
Documentation/linux_tv/media/dvb/FE_DISHNETWORK_SEND_LEGACY_CMD.rst +0 -9
index a01cafad8d3c..890b5edb0350 100644
@@ -44,12 +44,3 @@ RETURN VALUE
 On success 0 is returned, on error -1 and the ``errno`` variable is set
 appropriately. The generic error codes are described at the
 :ref:`Generic Error Codes <gen-errors>` chapter.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/FE_GET_EVENT.rst +0 -11
index 1951857cde65..08a090212f96 100644
@@ -76,14 +76,3 @@ appropriately. The generic error codes are described at the
        -  ``EOVERFLOW``
 
        -  Overflow in event queue - one or more events were lost.
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/FE_GET_FRONTEND.rst +0 -11
index 5bf39ff72bd7..ee73fb448ef8 100644
@@ -64,14 +64,3 @@ appropriately. The generic error codes are described at the
        -  ``EINVAL``
 
        -  Maximum supported symbol rate reached.
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/FE_READ_BER.rst +0 -9
index 935c0e50b0fd..218e2298615b 100644
@@ -50,12 +50,3 @@ RETURN VALUE
 On success 0 is returned, on error -1 and the ``errno`` variable is set
 appropriately. The generic error codes are described at the
 :ref:`Generic Error Codes <gen-errors>` chapter.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/FE_READ_SIGNAL_STRENGTH.rst +0 -9
index 01180e20e4d4..d2dd0fba5363 100644
@@ -53,12 +53,3 @@ RETURN VALUE
 On success 0 is returned, on error -1 and the ``errno`` variable is set
 appropriately. The generic error codes are described at the
 :ref:`Generic Error Codes <gen-errors>` chapter.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/FE_READ_SNR.rst +0 -9
index 0ccc7d71d8a4..2f9759a310f0 100644
@@ -50,12 +50,3 @@ RETURN VALUE
 On success 0 is returned, on error -1 and the ``errno`` variable is set
 appropriately. The generic error codes are described at the
 :ref:`Generic Error Codes <gen-errors>` chapter.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/FE_READ_UNCORRECTED_BLOCKS.rst +0 -9
index 3827c7b953e1..fa770d25b3de 100644
@@ -55,12 +55,3 @@ RETURN VALUE
 On success 0 is returned, on error -1 and the ``errno`` variable is set
 appropriately. The generic error codes are described at the
 :ref:`Generic Error Codes <gen-errors>` chapter.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/FE_SET_FRONTEND.rst +0 -11
index 4cb393bbc2e1..794089897845 100644
@@ -71,14 +71,3 @@ appropriately. The generic error codes are described at the
        -  ``EINVAL``
 
        -  Maximum supported symbol rate reached.
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/audio.rst +0 -11
index d6b6f9edf3b3..155622185ea4 100644
@@ -24,14 +24,3 @@ functionality.
 
     audio_data_types
     audio_function_calls
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/audio_data_types.rst +0 -11
index b3f5aa0ac6e4..cf9216c91f2d 100644
@@ -174,14 +174,3 @@ The following attributes can be set by a call to AUDIO_SET_ATTRIBUTES:
      /*    7- 6 Quantization / DRC (mpeg audio: 1=DRC exists)(lpcm: 0=16bit,  */
      /*    5- 4 Sample frequency fs (0=48kHz, 1=96kHz) */
      /*    2- 0 number of audio channels (n+1 channels) */
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/audio_function_calls.rst +0 -11
index d8abdd0e9417..b3408b7c4e91 100644
@@ -1295,14 +1295,3 @@ appropriately. The generic error codes are described at the
        -  ``EINVAL``
 
        -  karaoke is not a valid or supported karaoke setting.
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/audio_h.rst +0 -11
index 09a73a54ab00..bdd9a709a125 100644
@@ -11,14 +11,3 @@ DVB Audio Header File
     :maxdepth: 1
 
     ../../audio.h
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/ca.rst +0 -11
index bb01d93f0256..14b14abda1ae 100644
@@ -16,14 +16,3 @@ application.
 
     ca_data_types
     ca_function_calls
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/ca_data_types.rst +0 -11
index bb0cdfa7c9a6..ca17e146dac0 100644
@@ -108,14 +108,3 @@ ca-pid
         unsigned int pid;
         int index;      /* -1 == disable*/
     } ca_pid_t;
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/ca_function_calls.rst +0 -9
index 83bce0420881..af110ba6496a 100644
@@ -530,12 +530,3 @@ RETURN VALUE
 On success 0 is returned, on error -1 and the ``errno`` variable is set
 appropriately. The generic error codes are described at the
 :ref:`Generic Error Codes <gen-errors>` chapter.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/ca_h.rst +0 -11
index 229bfbca045b..a7d22154022b 100644
@@ -11,14 +11,3 @@ DVB Conditional Access Header File
     :maxdepth: 1
 
     ../../ca.h
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/demux.rst +0 -11
index 3bcee72c68fb..b12b5a2dac94 100644
@@ -16,14 +16,3 @@ your application.
 
     dmx_types
     dmx_fcalls
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/dmx_fcalls.rst +0 -9
index 4563c8f2a1b8..4612364fb2d8 100644
@@ -1002,12 +1002,3 @@ RETURN VALUE
 On success 0 is returned, on error -1 and the ``errno`` variable is set
 appropriately. The generic error codes are described at the
 :ref:`Generic Error Codes <gen-errors>` chapter.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/dmx_h.rst +0 -11
index 19e2691b7eab..baf129dd078b 100644
@@ -11,14 +11,3 @@ DVB Demux Header File
     :maxdepth: 1
 
     ../../dmx.h
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/dmx_types.rst +0 -11
index 83859366b73e..05891946b2a7 100644
@@ -240,14 +240,3 @@ enum dmx_source_t
         DMX_SOURCE_DVR2,
         DMX_SOURCE_DVR3
     } dmx_source_t;
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/dtv-fe-stats.rst +0 -11
index 17b26fa050f5..d169e318cfde 100644
@@ -15,14 +15,3 @@ struct dtv_fe_stats
         __u8 len;
         struct dtv_stats stat[MAX_DTV_STATS];
     } __packed;
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/dtv-properties.rst +0 -11
index b1b28342d09d..002553b7068b 100644
@@ -13,14 +13,3 @@ struct dtv_properties
         __u32 num;
         struct dtv_property *props;
     };
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/dtv-property.rst +0 -11
index 4dff00eb610c..9fc8cef5a09b 100644
@@ -29,14 +29,3 @@ struct dtv_property
 
     /* num of properties cannot exceed DTV_IOCTL_MAX_MSGS per ioctl */
     #define DTV_IOCTL_MAX_MSGS 64
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/dtv-stats.rst +0 -11
index e70e5a5283ff..0f73205400ae 100644
@@ -16,14 +16,3 @@ struct dtv_stats
             __s64 svalue;   /* for 1/1000 dB measures */
         };
     } __packed;
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/dvb-fe-read-status.rst +0 -9
index e36cd134007e..1c708c5e6bc0 100644
@@ -20,12 +20,3 @@ statistics require the demodulator to be fully locked (e. g. with
 FE_HAS_LOCK bit set). See
 :ref:`Frontend statistics indicators <frontend-stat-properties>` for
 more details.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/dvb-frontend-event.rst +0 -11
index 82965e4d7450..8ff83578b4da 100644
@@ -13,14 +13,3 @@ frontend events
          fe_status_t status;
          struct dvb_frontend_parameters parameters;
      };
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/dvb-frontend-parameters.rst +0 -11
index 0a1766f68917..bb125b8c4b3b 100644
@@ -117,14 +117,3 @@ DVB-T frontends are supported by the ``dvb_ofdm_parameters`` structure:
          fe_guard_interval_t guard_interval;
          fe_hierarchy_t      hierarchy_information;
      };
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/dvbapi.rst +0 -9
index daeeb4d64917..ad800404ae9f 100644
@@ -86,12 +86,3 @@ original LaTex version.
 :revision: 1.0.0 / 2003-07-24 (*rjkm*)
 
 Initial revision on LaTEX.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/dvbproperty-006.rst +0 -9
index 4b89d607358c..3343a0f306fe 100644
@@ -10,12 +10,3 @@ With one single ioctl, is possible to get/set up to 64 properties. The
 actual meaning of each property is described on the next sections.
 
 The available frontend property types are shown on the next section.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/dvbproperty.rst +0 -11
index a68b17808bc2..34187964db38 100644
@@ -109,14 +109,3 @@ read/write channel descriptor files.
     frontend-property-terrestrial-systems
     frontend-property-cable-systems
     frontend-property-satellite-systems
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/examples.rst +0 -11
index b3a94dedcd39..0cad02acd1bd 100644
@@ -378,14 +378,3 @@ recording.
          }
          return 0;
      }
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/fe-bandwidth-t.rst +0 -11
index c6e56aba012a..f59d60c57bfd 100644
@@ -75,14 +75,3 @@ Frontend bandwidth
           ``BANDWIDTH_10_MHZ``
 
        -  10 MHz
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/fe-diseqc-recv-slave-reply.rst +0 -11
index 0f01584c8d4e..da860e50fde9 100644
@@ -75,14 +75,3 @@ appropriately. The generic error codes are described at the
 
        -  Return from ioctl after timeout ms with errorcode when no message
           was received
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/fe-diseqc-reset-overload.rst +0 -9
index 50d0d651d270..2c64eab598b8 100644
@@ -40,12 +40,3 @@ RETURN VALUE
 On success 0 is returned, on error -1 and the ``errno`` variable is set
 appropriately. The generic error codes are described at the
 :ref:`Generic Error Codes <gen-errors>` chapter.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/fe-diseqc-send-burst.rst +0 -11
index 34c787903eb1..f365238e5b78 100644
@@ -80,14 +80,3 @@ enum fe_sec_mini_cmd
           ``SEC_MINI_B``
 
        -  Sends a mini-DiSEqC 22kHz '1' Data Burst to select satellite-B
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/fe-diseqc-send-master-cmd.rst +0 -11
index 7a85632e64b4..04c6cc8ae070 100644
@@ -65,14 +65,3 @@ appropriately. The generic error codes are described at the
        -  msg_len
 
        -  Length of the DiSEqC message. Valid values are 3 to 6
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/fe-enable-high-lnb-voltage.rst +0 -9
index f2705a383d8c..669dbd6e79b8 100644
@@ -47,12 +47,3 @@ RETURN VALUE
 On success 0 is returned, on error -1 and the ``errno`` variable is set
 appropriately. The generic error codes are described at the
 :ref:`Generic Error Codes <gen-errors>` chapter.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/fe-get-info.rst +0 -11
index d7990c80ef87..0880a11def86 100644
@@ -421,14 +421,3 @@ supported only on some specific frontend types.
           ``FE_CAN_MUTE_TS``
 
        -  The frontend can stop spurious TS data output
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/fe-get-property.rst +0 -9
index 5b73ee8e790b..0edc9291fc70 100644
@@ -64,12 +64,3 @@ RETURN VALUE
 On success 0 is returned, on error -1 and the ``errno`` variable is set
 appropriately. The generic error codes are described at the
 :ref:`Generic Error Codes <gen-errors>` chapter.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/fe-read-status.rst +0 -11
index c032cda4e5a6..250fabc71c64 100644
@@ -130,14 +130,3 @@ state changes of the frontend hardware. It is produced using the enum
 
        -  The frontend was reinitialized, application is recommended to
           reset DiSEqC, tone and parameters
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/fe-set-frontend-tune-mode.rst +0 -9
index 82665279b840..aeecb947fa70 100644
@@ -49,12 +49,3 @@ RETURN VALUE
 On success 0 is returned, on error -1 and the ``errno`` variable is set
 appropriately. The generic error codes are described at the
 :ref:`Generic Error Codes <gen-errors>` chapter.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/fe-set-tone.rst +0 -11
index f98c4b3b8760..432797211f80 100644
@@ -87,14 +87,3 @@ enum fe_sec_tone_mode
 
        -  Don't send a 22kHz tone to the antenna (except if the
           FE_DISEQC_* ioctls are called)
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/fe-set-voltage.rst +0 -9
index eb4ab28b479a..63c5f401e808 100644
@@ -57,12 +57,3 @@ RETURN VALUE
 On success 0 is returned, on error -1 and the ``errno`` variable is set
 appropriately. The generic error codes are described at the
 :ref:`Generic Error Codes <gen-errors>` chapter.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/fe-type-t.rst +0 -9
index 49fa8090010b..fcce8ef421ae 100644
@@ -89,12 +89,3 @@ On devices that support multiple delivery systems, struct
 filled with the currently standard, as selected by the last call to
 :ref:`FE_SET_PROPERTY <FE_GET_PROPERTY>` using the
 :ref:`DTV_DELIVERY_SYSTEM <DTV-DELIVERY-SYSTEM>` property.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/fe_property_parameters.rst +0 -9
index 788dbfef0061..e30ed6d71335 100644
@@ -1965,12 +1965,3 @@ Possible values: 0, 1, LNA_AUTO
 1, LNA on
 
 use the special macro LNA_AUTO to set LNA auto
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/frontend-property-cable-systems.rst +0 -9
index 360966ef50cf..bf2328627af5 100644
@@ -73,12 +73,3 @@ The following parameters are valid for DVB-C Annex B:
 
 In addition, the :ref:`DTV QoS statistics <frontend-stat-properties>`
 are also valid.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/frontend-property-satellite-systems.rst +0 -9
index 1a204ac01afd..1f40399c68ff 100644
@@ -101,12 +101,3 @@ The following parameters are valid for ISDB-S:
 -  :ref:`DTV_VOLTAGE <DTV-VOLTAGE>`
 
 -  :ref:`DTV_STREAM_ID <DTV-STREAM-ID>`
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/frontend-property-terrestrial-systems.rst +0 -9
index 78026596f46f..dbc717cad9ee 100644
@@ -292,12 +292,3 @@ The following parameters are valid for DTMB:
 
 In addition, the :ref:`DTV QoS statistics <frontend-stat-properties>`
 are also valid.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/frontend-stat-properties.rst +0 -9
index 7f3999db3e5d..0fc4aaa304ff 100644
@@ -243,12 +243,3 @@ Possible scales for this metric are:
 
 -  ``FE_SCALE_COUNTER`` - Number of blocks counted while measuring
    :ref:`DTV_STAT_ERROR_BLOCK_COUNT <DTV-STAT-ERROR-BLOCK-COUNT>`.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/frontend.rst +0 -11
index 46be409e76b6..8c7e502bff1f 100644
@@ -49,14 +49,3 @@ Horn (LNBf). It supports the DiSEqC and V-SEC protocols. The DiSEqC
     dvbproperty
     frontend_fcalls
     frontend_legacy_dvbv3_api
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/frontend_f_close.rst +0 -9
index faae1c7381e2..8ca7f723ffc3 100644
@@ -44,12 +44,3 @@ set appropriately. Possible error codes:
 
 EBADF
     ``fd`` is not a valid open file descriptor.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/frontend_f_open.rst +0 -9
index bdc9a8139444..ba9fbb17f70d 100644
@@ -97,12 +97,3 @@ ENFILE
 
 ENODEV
     The device got removed.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/frontend_fcalls.rst +0 -11
index 8eae0e9461ab..b03f9cab6d5a 100644
@@ -22,14 +22,3 @@ Frontend Function Calls
     fe-set-voltage
     fe-enable-high-lnb-voltage
     fe-set-frontend-tune-mode
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/frontend_h.rst +0 -11
index 3f616c6bd01d..7101d6ddd916 100644
@@ -11,14 +11,3 @@ DVB Frontend Header File
     :maxdepth: 1
 
     ../../frontend.h
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/frontend_legacy_api.rst +0 -11
index dcc62d4a8516..fb17766d887e 100644
@@ -36,14 +36,3 @@ recommended
     FE_GET_FRONTEND
     FE_GET_EVENT
     FE_DISHNETWORK_SEND_LEGACY_CMD
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/frontend_legacy_dvbv3_api.rst +0 -11
index 1dbff41f6a34..7d4a091b7d7f 100644
@@ -16,14 +16,3 @@ applications.
     :maxdepth: 1
 
     frontend_legacy_api
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/intro.rst +0 -9
index 0508f0d2c9db..338300b11aa4 100644
@@ -193,12 +193,3 @@ partial path like:
 To enable applications to support different API version, an additional
 include file ``linux/dvb/version.h`` exists, which defines the constant
 ``DVB_API_VERSION``. This document describes ``DVB_API_VERSION 5.10``.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/legacy_dvb_apis.rst +0 -11
index 15e0d88c2866..2957f5a988b0 100644
@@ -18,14 +18,3 @@ Controller API
 
     video
     audio
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/net.rst +0 -9
index 830076fadda2..fd2eb6171f42 100644
@@ -208,12 +208,3 @@ RETURN VALUE
 On success 0 is returned, on error -1 and the ``errno`` variable is set
 appropriately. The generic error codes are described at the
 :ref:`Generic Error Codes <gen-errors>` chapter.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/net_h.rst +0 -11
index 357713b4a5ef..09560db4e1c0 100644
@@ -11,14 +11,3 @@ DVB Network Header File
     :maxdepth: 1
 
     ../../net.h
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/query-dvb-frontend-info.rst +0 -9
index a3da1b8376bc..81cd9b92a36c 100644
@@ -11,12 +11,3 @@ the frontend capabilities. This is done using
 :ref:`FE_GET_INFO`. This ioctl will enumerate the
 DVB API version and other characteristics about the frontend, and can be
 opened either in read only or read/write mode.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/video.rst +0 -11
index 9783e9f344f6..60d43fb7ce22 100644
@@ -33,14 +33,3 @@ functionality.
 
     video_types
     video_function_calls
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/video_function_calls.rst +0 -11
index 39eaecd8755a..b8ea77d1f239 100644
@@ -1867,14 +1867,3 @@ appropriately. The generic error codes are described at the
        -  ``EINVAL``
 
        -  input is not a valid attribute setting.
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/video_h.rst +0 -11
index 348d20c3cab7..45c12d295523 100644
@@ -11,14 +11,3 @@ DVB Video Header File
     :maxdepth: 1
 
     ../../video.h
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/dvb/video_types.rst +0 -11
index f57233825e42..1a73751ec080 100644
@@ -377,14 +377,3 @@ The following attributes can be set by a call to VIDEO_SET_ATTRIBUTES:
      /*    5- 3 source resolution (0=720x480/576, 1=704x480/576, 2=352x480/57 */
      /*    2    source letterboxed (1=yes, 0=no) */
      /*    0    film/camera mode (0=camera, 1=film (625/50 only)) */
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/Remote_controllers_Intro.rst +0 -9
index 5e461ac39947..3707c29d37ed 100644
@@ -22,12 +22,3 @@ conjunction with a wide variety of different IR remotes.
 In order to allow flexibility, the Remote Controller subsystem allows
 controlling the RC-specific attributes via
 :ref:`the sysfs class nodes <remote_controllers_sysfs_nodes>`.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/Remote_controllers_table_change.rst +0 -11
index a04cc2cbbbb3..d604896bca87 100644
@@ -16,14 +16,3 @@ This program demonstrates how to replace the keymap tables.
     :maxdepth: 1
 
     keytable.c
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/Remote_controllers_tables.rst +0 -11
index 2243d5b2dcd1..b02ff7706f80 100644
@@ -755,14 +755,3 @@ at some cheaper IR's. Due to that, it is recommended to:
 
        -  On simpler IR's, without separate volume keys, you need to map
           RIGHT as ``KEY_VOLUMEUP``
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/app-pri.rst +0 -9
index 8c4624dd50e2..a8c41a7ec396 100644
@@ -28,12 +28,3 @@ different priority will usually call :ref:`VIDIOC_S_PRIORITY
 Ioctls changing driver properties, such as
 :ref:`VIDIOC_S_INPUT <VIDIOC_G_INPUT>`, return an ``EBUSY`` error code
 after another application obtained higher priority.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/async.rst +0 -9
index 82a56e88a54d..5affc0adb95b 100644
@@ -7,12 +7,3 @@ Asynchronous I/O
 ****************
 
 This method is not defined yet.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/audio.rst +0 -9
index bc2db0d8f389..d7574fa4f2cc 100644
@@ -88,12 +88,3 @@ the :ref:`VIDIOC_QUERYCAP` ioctl.
    ``tuner`` field like struct :ref:`v4l2_input <v4l2-input>`, not
    only making the API more consistent but also permitting radio devices
    with multiple tuners.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/biblio.rst +0 -9
index 44dc7deb24b2..e911df972d40 100644
@@ -379,12 +379,3 @@ colimg
 :title:     Color Imaging: Fundamentals and Applications
 
 :author:    Erik Reinhard et al.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/buffer.rst +0 -11
index 1c6c96c37155..98bb2a8dcdeb 100644
@@ -953,14 +953,3 @@ The :ref:`struct v4l2_timecode <v4l2-timecode>` structure is designed to hold a
        -  0x0008
 
        -  8-bit ISO characters.
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/capture-example.rst +0 -11
index 8d35e379cea7..ac1cd057e25b 100644
@@ -11,14 +11,3 @@ Video Capture Example
     :maxdepth: 1
 
     capture.c
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/capture.c.rst +0 -11
index 41e96c78a6dd..ff481e783c39 100644
@@ -662,14 +662,3 @@ file: media/v4l/capture.c
             fprintf(stderr, "\\n");
             return 0;
     }
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/colorspaces.rst +0 -9
index 85d0b33b60a3..322eb94c1d44 100644
@@ -161,12 +161,3 @@ website is an excellent resource, especially with respect to the
 mathematics behind colorspace conversions. The wikipedia
 `CIE 1931 colorspace <http://en.wikipedia.org/wiki/CIE_1931_color_space#CIE_xy_chromaticity_diagram_and_the_CIE_xyY_color_space>`__
 article is also very useful.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/common-defs.rst +0 -11
index 3f90a8c6e28c..39058216b630 100644
@@ -11,14 +11,3 @@ Common definitions for V4L2 and V4L2 subdev interfaces
     :maxdepth: 1
 
     selections-common
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/common.rst +0 -11
index 40d3feab5ab9..13f2ed3fc5a6 100644
@@ -44,14 +44,3 @@ applicable to all devices.
     crop
     selection-api
     streaming-par
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/compat.rst +0 -11
index 8a6d883ae6af..8b5e1cebd8f4 100644
@@ -16,14 +16,3 @@ writers to port or update their code.
 
     diff-v4l
     hist-v4l2
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/control.rst +0 -9
index 4f64f1db6ec8..92abac784979 100644
@@ -531,12 +531,3 @@ more menu type controls.
    instead of using :ref:`VIDIOC_QUERYCTRL` with
    the ``V4L2_CTRL_FLAG_NEXT_CTRL`` flag to enumerate all IDs, so
    support for ``V4L2_CID_PRIVATE_BASE`` is still around.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/crop.rst +0 -9
index 16d0983ff9fb..ed43b36c51d8 100644
@@ -292,12 +292,3 @@ change ``V4L2_BUF_TYPE_VIDEO_CAPTURE`` for other types of device.
 
     dwidth = format.fmt.pix.width / aspect;
     dheight = format.fmt.pix.height;
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/depth-formats.rst +0 -11
index c363eaf741f5..82f183870aae 100644
@@ -13,14 +13,3 @@ Depth data provides distance to points, mapped onto the image plane
     :maxdepth: 1
 
     pixfmt-z16
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/dev-capture.rst +0 -9
index 0e62dc026251..c927b7834b90 100644
@@ -100,12 +100,3 @@ Reading Images
 A video capture device may support the :ref:`read() function <rw>`
 and/or streaming (:ref:`memory mapping <mmap>` or
 :ref:`user pointer <userp>`) I/O. See :ref:`io` for details.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/dev-codec.rst +0 -9
index 170954acc049..5e834d51309e 100644
@@ -30,12 +30,3 @@ the codec and reprogram it whenever another file handler gets access.
 This is different from the usual video node behavior where the video
 properties are global to the device (i.e. changing something through one
 file handle is visible through another file handle).
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/dev-effect.rst +0 -9
index c0cdfe07ff4d..be4de3b0a025 100644
@@ -20,12 +20,3 @@ data either with :ref:`read() <func-read>` and
 mechanism.
 
 [to do]
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/dev-event.rst +0 -9
index 385a8a342903..a06ec4d65359 100644
@@ -45,12 +45,3 @@ events:
    is lost, but only an intermediate step leading up to that
    information. See the documentation for the event you want to
    subscribe to whether this is applicable for that event or not.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/dev-osd.rst +0 -9
index 8b05e3f0587d..ebc2f77d0e97 100644
@@ -143,12 +143,3 @@ Enabling Overlay
 
 There is no V4L2 ioctl to enable or disable the overlay, however the
 framebuffer interface of the driver may support the ``FBIOBLANK`` ioctl.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/dev-output.rst +0 -9
index 5253498db95a..5063be7d4938 100644
@@ -97,12 +97,3 @@ Writing Images
 A video output device may support the :ref:`write() function <rw>`
 and/or streaming (:ref:`memory mapping <mmap>` or
 :ref:`user pointer <userp>`) I/O. See :ref:`io` for details.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/dev-overlay.rst +0 -9
index dd786b6fc936..97b41ecb9e78 100644
@@ -317,12 +317,3 @@ To start or stop the frame buffer overlay applications call the
    because the application and graphics system are not aware these
    regions need to be refreshed. The driver should clip out more pixels
    or not write the image at all.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/dev-radio.rst +0 -9
index 55a56fb5d958..5ff7cded2591 100644
@@ -50,12 +50,3 @@ depending on the selected frequency. The
 :ref:`VIDIOC_G_TUNER <VIDIOC_G_TUNER>` or
 :ref:`VIDIOC_G_MODULATOR <VIDIOC_G_MODULATOR>` ioctl reports the
 supported frequency range.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/dev-raw-vbi.rst +0 -9
index 20942bf9232e..659196499b32 100644
@@ -357,12 +357,3 @@ another process.
    Most VBI services transmit on both fields, but some have different
    semantics depending on the field number. These cannot be reliable
    decoded or encoded when ``V4L2_VBI_UNSYNC`` is set.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/dev-rds.rst +0 -11
index 223df4971405..87209fd691f5 100644
@@ -253,14 +253,3 @@ RDS datastructures
        -  0x80
 
        -  An uncorrectable error occurred.
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/dev-sdr.rst +0 -9
index 0cae31c93dd0..834488ab7147 100644
@@ -118,12 +118,3 @@ data transfer, set by the driver in order to inform application.
 
 An SDR device may support :ref:`read/write <rw>` and/or streaming
 (:ref:`memory mapping <mmap>` or :ref:`user pointer <userp>`) I/O.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/dev-sliced-vbi.rst +0 -9
index 0b299b51aceb..4c14f39bbc80 100644
@@ -793,12 +793,3 @@ number).
 .. [1]
    According to :ref:`ETS 300 706 <ets300706>` lines 6-22 of the first
    field and lines 5-22 of the second field may carry Teletext data.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/dev-subdev.rst +0 -11
index 87a2cec37645..f40aa5187ba5 100644
@@ -489,14 +489,3 @@ source pads.
     :maxdepth: 1
 
     subdev-formats
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/dev-teletext.rst +0 -9
index 501e68077af2..2648f6b37ea3 100644
@@ -32,12 +32,3 @@ Teletext API in kernel 2.6.37.
 
 Modern devices all use the :ref:`raw <raw-vbi>` or
 :ref:`sliced` VBI API.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/devices.rst +0 -11
index dee6d10e2900..aed0ce11d1f8 100644
@@ -24,14 +24,3 @@ Interfaces
     dev-sdr
     dev-event
     dev-subdev
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/diff-v4l.rst +0 -9
index da4b391116b5..301e1475ca70 100644
@@ -952,12 +952,3 @@ devices is documented in :ref:`extended-controls`.
 .. [9]
    Old driver versions used different values, eventually the custom
    ``BTTV_VBISIZE`` ioctl was added to query the correct values.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/dmabuf.rst +0 -9
index 6f4f0f03e91d..cd68f755c0e3 100644
@@ -147,12 +147,3 @@ Drivers implementing DMABUF importing I/O must support the
 ``VIDIOC_REQBUFS``, ``VIDIOC_QBUF``, ``VIDIOC_DQBUF``,
 ``VIDIOC_STREAMON`` and ``VIDIOC_STREAMOFF`` ioctls, and the
 :c:func:`select()` and :c:func:`poll()` functions.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/driver.rst +0 -9
index 7ed48861c6fe..2319b383f0a4 100644
@@ -7,12 +7,3 @@ V4L2 Driver Programming
 ***********************
 
 to do
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/dv-timings.rst +0 -9
index cde46bc95c79..415a0c4e2ccb 100644
@@ -36,12 +36,3 @@ the DV timings as seen by the video receiver applications use the
 Applications can make use of the :ref:`input-capabilities` and
 :ref:`output-capabilities` flags to determine whether the digital
 video ioctls can be used with the given input or output.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/extended-controls.rst +0 -9
index 413f6ca8eb60..ed10c9e274f5 100644
@@ -4522,12 +4522,3 @@ RF_TUNER Control IDs
 .. [1]
    This control may be changed to a menu control in the future, if more
    options are required.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/fdl-appendix.rst +0 -9
index 9f3a494cf497..fd475180fed8 100644
@@ -469,12 +469,3 @@ recommend releasing these examples in parallel under your choice of free
 software license, such as the
 `GNU General Public License <http://www.gnu.org/copyleft/gpl.html>`__,
 to permit their use in free software.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/field-order.rst +0 -11
index 0ab52df521a8..b9503e230fd9 100644
@@ -197,14 +197,3 @@ should have the value ``V4L2_FIELD_ANY`` (0).
     :align:  center
 
     Field Order, Bottom Field First Transmitted
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/format.rst +0 -9
index e9b1201fe316..a29dd9466b8f 100644
@@ -90,12 +90,3 @@ by all drivers exchanging image data with applications.
    (otherwise it could explicitly ask for them and need not enumerate)
    seems useless, but there are applications serving as proxy between
    drivers and the actual video applications for which this is useful.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/func-close.rst +0 -9
index 991a34a163af..fac5ec14a8e6 100644
@@ -45,12 +45,3 @@ set appropriately. Possible error codes:
 
 EBADF
     ``fd`` is not a valid open file descriptor.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/func-ioctl.rst +0 -9
index 26b072cfe850..d442d9b56dfb 100644
@@ -58,12 +58,3 @@ appropriately. The generic error codes are described at the
 
 When an ioctl that takes an output or read/write parameter fails, the
 parameter remains unmodified.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/func-mmap.rst +0 -9
index 51502a906c3c..a0be2d9b5421 100644
@@ -130,12 +130,3 @@ EINVAL
 ENOMEM
     Not enough physical or virtual memory was available to complete the
     request.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/func-munmap.rst +0 -9
index 80f9ecd92774..1f9831795db7 100644
@@ -54,12 +54,3 @@ On success :c:func:`munmap()` returns 0, on failure -1 and the
 EINVAL
     The ``start`` or ``length`` is incorrect, or no buffers have been
     mapped yet.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/func-open.rst +0 -9
index dcfce511e273..c021772a9dee 100644
@@ -79,12 +79,3 @@ EMFILE
 ENFILE
     The limit on the total number of files open on the system has been
     reached.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/func-poll.rst +0 -9
index 3e96d9b0ce38..bfbcec2bb0cd 100644
@@ -107,12 +107,3 @@ EINTR
 
 EINVAL
     The ``nfds`` argument is greater than ``OPEN_MAX``.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/func-read.rst +0 -9
index 4a4f3e86fd13..9238ecddec72 100644
@@ -127,12 +127,3 @@ EIO
 EINVAL
     The :c:func:`read()` function is not supported by this driver, not
     on this device, or generally not on this type of device.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/func-select.rst +0 -9
index de5583c4ffb3..5f2ff6a5e00c 100644
@@ -97,12 +97,3 @@ EINVAL
    The Linux kernel implements :c:func:`select()` like the
    :ref:`poll() <func-poll>` function, but :c:func:`select()` cannot
    return a ``POLLERR``.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/func-write.rst +0 -9
index 402beed3231c..fee5fe004c0a 100644
@@ -78,12 +78,3 @@ EIO
 EINVAL
     The :c:func:`write()` function is not supported by this driver,
     not on this device, or generally not on this type of device.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/gen-errors.rst +0 -9
index ad119579e9ea..500a2f73ffd9 100644
@@ -98,12 +98,3 @@ errors.
 
 Note 2: Request-specific error codes are listed in the individual
 requests descriptions.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/hist-v4l2.rst +0 -9
index 6e9706f791de..88f813ad38c6 100644
@@ -1478,12 +1478,3 @@ should not be implemented in new drivers.
 
 .. [1]
    This is not implemented in XFree86.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/io.rst +0 -11
index 77d13fdd1c28..e68342606ed3 100644
@@ -49,14 +49,3 @@ The following sections describe the various I/O methods in more detail.
     async
     buffer
     field-order
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/keytable.c.rst +0 -11
index c69833ca2fb7..f8d9c4b71f06 100644
@@ -174,14 +174,3 @@ file: media/v4l/keytable.c
             }
             return 0;
     }
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/libv4l-introduction.rst +0 -9
index d189316dc1da..4b261d95c672 100644
@@ -167,12 +167,3 @@ API.
 
 It allows usage of binary legacy applications that still don't use
 libv4l.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/libv4l.rst +0 -11
index a88c52812f14..332c1d42688b 100644
@@ -11,14 +11,3 @@ Libv4l Userspace Library
     :maxdepth: 1
 
     libv4l-introduction
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/lirc_dev_intro.rst +0 -9
index 10d4d9a96b15..520660114f99 100644
@@ -26,12 +26,3 @@ What you should see for a chardev:
     $ ls -l /dev/lirc*
 
     crw-rw---- 1 root root 248, 0 Jul 2 22:20 /dev/lirc0
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/lirc_device_interface.rst +0 -11
index 7f7bb6815013..a0c27ed5ad73 100644
@@ -13,14 +13,3 @@ LIRC Device Interface
     lirc_read
     lirc_write
     lirc_ioctl
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/lirc_ioctl.rst +0 -9
index 947c3bf9ae07..916d064476f1 100644
@@ -154,12 +154,3 @@ Return Value
 On success 0 is returned, on error -1 and the ``errno`` variable is set
 appropriately. The generic error codes are described at the
 :ref:`Generic Error Codes <gen-errors>` chapter.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/lirc_read.rst +0 -9
index eb2387521862..b0b76c3d1d9a 100644
@@ -17,12 +17,3 @@ chardev.
 See also
 `http://www.lirc.org/html/technical.html <http://www.lirc.org/html/technical.html>`__
 for more info.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/lirc_write.rst +0 -9
index 234c8f43613e..d19cb486ecc9 100644
@@ -12,12 +12,3 @@ The data must start and end with a pulse, therefore, the data must
 always include an uneven number of samples. The write function must
 block until the data has been transmitted by the hardware. If more data
 is provided than the hardware can send, the driver returns ``EINVAL``.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/media-controller-intro.rst +0 -9
index e7e0d5cfe9ca..3e776c0d8276 100644
@@ -31,12 +31,3 @@ applications really require based on limited information, thereby
 implementing policies that belong to userspace.
 
 The media controller API aims at solving those problems.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/media-controller-model.rst +0 -9
index c9abb8e14302..7be58aecb882 100644
@@ -33,12 +33,3 @@ are:
 
 -  An **interface link** is a point-to-point bidirectional control
    connection between a Linux Kernel interface and an entity.m
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/media-controller.rst +0 -9
index 4fd39178ccd7..49fb76cafcab 100644
@@ -55,12 +55,3 @@ Revision and Copyright
 :revision: 1.0.0 / 2010-11-10 (*lp*)
 
 Initial revision
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/media-func-close.rst +0 -9
index e142ee73d15d..959bfa0cb6a8 100644
@@ -43,12 +43,3 @@ Return Value
 
 EBADF
     ``fd`` is not a valid open file descriptor.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/media-func-ioctl.rst +0 -9
index 7a5c01d6cb4a..d7a3a01771ec 100644
@@ -63,12 +63,3 @@ descriptions.
 
 When an ioctl that takes an output or read/write parameter fails, the
 parameter remains unmodified.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/media-func-open.rst +0 -9
index 573292ac9a94..fc731060a726 100644
@@ -65,12 +65,3 @@ ENOMEM
 
 ENXIO
     No device corresponding to this device special file exists.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/media-ioc-device-info.rst +0 -9
index 230f9fd9b4fb..aca9c8aa736a 100644
@@ -138,12 +138,3 @@ Return Value
 On success 0 is returned, on error -1 and the ``errno`` variable is set
 appropriately. The generic error codes are described at the
 :ref:`Generic Error Codes <gen-errors>` chapter.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/media-ioc-enum-entities.rst +0 -9
index 6d2deba8dea8..8fe1f1966640 100644
@@ -193,12 +193,3 @@ appropriately. The generic error codes are described at the
 EINVAL
     The struct :ref:`media_entity_desc <media-entity-desc>` ``id``
     references a non-existing entity.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/media-ioc-enum-links.rst +0 -9
index f3a4e41b3696..b0d4a946e151 100644
@@ -169,12 +169,3 @@ appropriately. The generic error codes are described at the
 EINVAL
     The struct :ref:`media_links_enum <media-links-enum>` ``id``
     references a non-existing entity.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/media-ioc-g-topology.rst +0 -9
index f22310319264..6d530dc2a92c 100644
@@ -425,12 +425,3 @@ ENOSPC
     last time this ioctl was called. Userspace should usually free the
     area for the pointers, zero the struct elements and call this ioctl
     again.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/media-ioc-setup-link.rst +0 -9
index 5b9c44e4ee77..135fa782dcd2 100644
@@ -64,12 +64,3 @@ EINVAL
     The struct :ref:`media_link_desc <media-link-desc>` references a
     non-existing link, or the link is immutable and an attempt to modify
     its configuration was made.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/media-types.rst +0 -11
index 50dec2b6cb3a..6a2d001babc2 100644
@@ -420,14 +420,3 @@ must be set for every pad.
 
           ``MEDIA_LNK_FL_INTERFACE_LINK`` if the link is between an
           interface and an entity
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/mmap.rst +0 -9
index 5f7450ff16c2..5769ed36872f 100644
@@ -275,12 +275,3 @@ the :c:func:`mmap()`, :c:func:`munmap()`, :c:func:`select()` and
    At the driver level :c:func:`select()` and :c:func:`poll()` are
    the same, and :c:func:`select()` is too important to be optional.
    The rest should be evident.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/open.rst +0 -9
index 83f406957cf4..c349575efc03 100644
@@ -155,12 +155,3 @@ sections.
 .. [3]
    Drivers could recognize the ``O_EXCL`` open flag. Presently this is
    not required, so applications cannot know if it really works.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/pixfmt-002.rst +0 -11
index a0c8c2298bdd..1645d07eeedb 100644
@@ -194,14 +194,3 @@ Single-planar format structure
        -  This information supplements the ``colorspace`` and must be set by
           the driver for capture streams and by the application for output
           streams, see :ref:`colorspaces`.
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/pixfmt-003.rst +0 -11
index cc8ef6137618..5abbfdf23289 100644
@@ -164,14 +164,3 @@ describing all planes of that format.
 
        -  Reserved for future extensions. Should be zeroed by drivers and
           applications.
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/pixfmt-004.rst +0 -9
index 86d4975a95c9..4bc116aa8193 100644
@@ -49,12 +49,3 @@ memory buffer, but it can also be placed in two or three separate
 buffers, with Y component in one buffer and CbCr components in another
 in the 2-planar version or with each component in its own buffer in the
 3-planar case. Those sub-buffers are referred to as "*planes*".
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/pixfmt-006.rst +0 -11
index 89a990745111..19e6a85b3400 100644
@@ -278,14 +278,3 @@ R'G'B' quantization.
        -  Use the limited range quantization encoding. I.e. the range [0…1]
           is mapped to [16…235]. Cb and Cr are mapped from [-0.5…0.5] to
           [16…240].
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/pixfmt-007.rst +0 -9
index 7caceea855a0..5e39cda6147a 100644
@@ -892,12 +892,3 @@ will have to set that information explicitly. Effectively
 ``V4L2_COLORSPACE_JPEG`` can be considered to be an abbreviation for
 ``V4L2_COLORSPACE_SRGB``, ``V4L2_YCBCR_ENC_601`` and
 ``V4L2_QUANTIZATION_FULL_RANGE``.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/pixfmt-008.rst +0 -9
index ef3daf1a5487..4bec79784bdd 100644
@@ -30,12 +30,3 @@ Transfer function:
 Inverse Transfer function:
     L = (max(L':sup:`1/m2` - c1, 0) / (c2 - c3 *
     L'\ :sup:`1/m2`))\ :sup:`1/m1`
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/pixfmt-013.rst +0 -11
index b3cb7c48eb74..1f27e081a874 100644
@@ -127,14 +127,3 @@ Compressed Formats
        -  'VP80'
 
        -  VP8 video elementary stream.
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/pixfmt-grey.rst +0 -11
index 7a9bfe0ec53a..e1e19d558d59 100644
@@ -76,14 +76,3 @@ Each cell is one byte.
        -  Y'\ :sub:`32`
 
        -  Y'\ :sub:`33`
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/pixfmt-indexed.rst +0 -11
index a85b9832035e..dccf96b3d9c4 100644
@@ -71,14 +71,3 @@ the palette, this must be done with ioctls of the Linux framebuffer API.
        -  i\ :sub:`1`
 
        -  i\ :sub:`0`
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/pixfmt-m420.rst +0 -11
index 553618ab62cf..4434ee1b1be9 100644
@@ -225,14 +225,3 @@ Each cell is one byte.
 
        -  
        -  Y
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/pixfmt-nv12.rst +0 -11
index ffbc9390e5bb..df26d495c892 100644
@@ -228,14 +228,3 @@ Each cell is one byte.
 
        -  
        -  Y
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/pixfmt-nv12m.rst +0 -11
index 4a181af07724..c7db4038609a 100644
@@ -243,14 +243,3 @@ Each cell is one byte.
 
        -  
        -  Y
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/pixfmt-nv12mt.rst +0 -9
index 8b0b4d1812a0..6198941bb814 100644
@@ -60,12 +60,3 @@ interleaved. Height of the buffer is aligned to 32.
 
 Memory layout of macroblocks of ``V4L2_PIX_FMT_NV12MT`` format in most
 extreme case.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/pixfmt-nv16.rst +0 -11
index 4c3c638dec33..a82f46c77d2d 100644
@@ -277,14 +277,3 @@ Each cell is one byte.
        -  C
 
        -  
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/pixfmt-nv16m.rst +0 -11
index e250f2c0bc7a..f6a82defe492 100644
@@ -284,14 +284,3 @@ Each cell is one byte.
        -  C
 
        -  
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/pixfmt-nv24.rst +0 -11
index 5b9716079c25..c0a8ddfd6963 100644
@@ -169,14 +169,3 @@ Each cell is one byte.
        -  Cb\ :sub:`33`
 
        -  Cr\ :sub:`33`
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/pixfmt-packed-rgb.rst +0 -9
index 2b4a6c725d4c..517a5b42151c 100644
@@ -1468,12 +1468,3 @@ A test utility to determine which RGB formats a driver actually supports
 is available from the LinuxTV v4l-dvb repository. See
 `https://linuxtv.org/repo/ <https://linuxtv.org/repo/>`__ for access
 instructions.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/pixfmt-packed-yuv.rst +0 -9
index 095871a50436..70d0ad54bd22 100644
@@ -314,12 +314,3 @@ Bit 7 is the most significant bit. The value of a = alpha bits is
 undefined when reading from the driver, ignored when writing to the
 driver, except when alpha blending has been negotiated for a
 :ref:`Video Overlay <overlay>` or :ref:`Video Output Overlay <osd>`.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/pixfmt-reserved.rst +0 -11
index 072f2843c137..73301b512b1a 100644
@@ -358,14 +358,3 @@ please make a proposal on the linux-media mailing list.
           by RGBA values (128, 192, 255, 128), the same pixel described with
           premultiplied colors would be described by RGBA values (64, 96,
           128, 128)
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/pixfmt-rgb.rst +0 -11
index aa607332af25..4b3651cc0a96 100644
@@ -21,14 +21,3 @@ RGB Formats
     pixfmt-srggb10alaw8
     pixfmt-srggb10dpcm8
     pixfmt-srggb12
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/pixfmt-sbggr16.rst +0 -11
index 9c1cf6d76bb6..742816ad4d41 100644
@@ -112,14 +112,3 @@ Each cell is one byte.
        -  R\ :sub:`33low`
 
        -  R\ :sub:`33high`
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/pixfmt-sbggr8.rst +0 -11
index 85d6d1f6e6d9..9a8e7d27e660 100644
@@ -80,14 +80,3 @@ Each cell is one byte.
        -  G\ :sub:`32`
 
        -  R\ :sub:`33`
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/pixfmt-sdr-cs08.rst +0 -11
index e75129d83def..201901d3f4c5 100644
@@ -42,14 +42,3 @@ Each cell is one byte.
        -  start + 1:
 
        -  Q'\ :sub:`0`
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/pixfmt-sdr-cs14le.rst +0 -11
index cc94ffd90444..c7e471fe722f 100644
@@ -47,14 +47,3 @@ Each cell is one byte.
        -  Q'\ :sub:`0[7:0]`
 
        -  Q'\ :sub:`0[13:8]`
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/pixfmt-sdr-cu08.rst +0 -11
index 95c7b40b2d72..f97559ebcab5 100644
@@ -42,14 +42,3 @@ Each cell is one byte.
        -  start + 1:
 
        -  Q'\ :sub:`0`
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/pixfmt-sdr-cu16le.rst +0 -11
index cc9891dd9c4b..ee73006bdb23 100644
@@ -46,14 +46,3 @@ Each cell is one byte.
        -  Q'\ :sub:`0[7:0]`
 
        -  Q'\ :sub:`0[15:8]`
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/pixfmt-sdr-ru12le.rst +0 -11
index 8bcead790b3e..7147e6cfe6d9 100644
@@ -37,14 +37,3 @@ Each cell is one byte.
        -  I'\ :sub:`0[7:0]`
 
        -  I'\ :sub:`0[11:8]`
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/pixfmt-sgbrg8.rst +0 -11
index efcd5269815f..8d783f332eaa 100644
@@ -80,14 +80,3 @@ Each cell is one byte.
        -  R\ :sub:`32`
 
        -  G\ :sub:`33`
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/pixfmt-sgrbg8.rst +0 -11
index fd7506f17a2c..04b93d9335a6 100644
@@ -80,14 +80,3 @@ Each cell is one byte.
        -  B\ :sub:`32`
 
        -  G\ :sub:`33`
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/pixfmt-srggb10.rst +0 -11
index b8b2b7c3cd91..2ad8ef04ad32 100644
@@ -116,14 +116,3 @@ Each cell is one byte, high 6 bits in high bytes are 0.
        -  R\ :sub:`33low`
 
        -  R\ :sub:`33high`
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/pixfmt-srggb10alaw8.rst +0 -9
index 045c7a91203a..4e221629bcb3 100644
@@ -21,12 +21,3 @@ These four pixel formats are raw sRGB / Bayer formats with 10 bits per
 color compressed to 8 bits each, using the A-LAW algorithm. Each color
 component consumes 8 bits of memory. In other respects this format is
 similar to :ref:`V4L2-PIX-FMT-SRGGB8`.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/pixfmt-srggb10dpcm8.rst +0 -9
index 03a27c43be21..23e7db7333ba 100644
@@ -22,12 +22,3 @@ colour compressed to 8 bits each, using DPCM compression. DPCM,
 differential pulse-code modulation, is lossy. Each colour component
 consumes 8 bits of memory. In other respects this format is similar to
 :ref:`V4L2-PIX-FMT-SRGGB10`.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/pixfmt-srggb10p.rst +0 -11
index 503dd3050e02..fe2908e37d06 100644
@@ -99,14 +99,3 @@ Each cell is one byte.
 
        -  G\ :sub:`30low`\ (bits 7--6) R\ :sub:`31low`\ (bits 5--4)
           G\ :sub:`32low`\ (bits 3--2) R\ :sub:`33low`\ (bits 1--0)
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/pixfmt-srggb12.rst +0 -11
index fa10223104d7..fa2efa33be66 100644
@@ -116,14 +116,3 @@ Each cell is one byte, high 6 bits in high bytes are 0.
        -  R\ :sub:`33low`
 
        -  R\ :sub:`33high`
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/pixfmt-srggb8.rst +0 -11
index b208ea5a2f66..eb3f6b5e39ca 100644
@@ -80,14 +80,3 @@ Each cell is one byte.
        -  G\ :sub:`32`
 
        -  B\ :sub:`33`
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/pixfmt-uv8.rst +0 -11
index 6e126e905ec8..033cedf85f57 100644
@@ -75,14 +75,3 @@ Each cell is one byte.
        -  Cb\ :sub:`31`
 
        -  Cr\ :sub:`31`
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/pixfmt-uyvy.rst +0 -11
index fcdfb36c58c2..1184dd629d21 100644
@@ -203,14 +203,3 @@ Each cell is one byte.
        -  C
 
        -  Y
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/pixfmt-vyuy.rst +0 -11
index b086bed774b2..7e25aee4f968 100644
@@ -203,14 +203,3 @@ Each cell is one byte.
        -  C
 
        -  Y
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/pixfmt-y10.rst +0 -11
index 000dc5536cb4..bb3f3229d8e5 100644
@@ -109,14 +109,3 @@ Each cell is one byte.
        -  Y'\ :sub:`33low`
 
        -  Y'\ :sub:`33high`
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/pixfmt-y10b.rst +0 -11
index 83b7080643d5..5b50cd61e654 100644
@@ -43,14 +43,3 @@ pixels.
        -  Y'\ :sub:`02[5:0]`\ Y'\ :sub:`03[9:8]`
 
        -  Y'\ :sub:`03[7:0]`
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/pixfmt-y12.rst +0 -11
index 66c16aa8b3d5..24c59c911fee 100644
@@ -109,14 +109,3 @@ Each cell is one byte.
        -  Y'\ :sub:`33low`
 
        -  Y'\ :sub:`33high`
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/pixfmt-y12i.rst +0 -11
index 18fffaef7f31..82a39faaad08 100644
@@ -46,14 +46,3 @@ interleaved pixel.
        -  Y'\ :sub:`0right[3:0]`\ Y'\ :sub:`0left[11:8]`
 
        -  Y'\ :sub:`0right[11:4]`
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/pixfmt-y16-be.rst +0 -11
index 05fef3841ed7..6dcd9251659d 100644
@@ -110,14 +110,3 @@ Each cell is one byte.
        -  Y'\ :sub:`33high`
 
        -  Y'\ :sub:`33low`
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/pixfmt-y16.rst +0 -11
index b3c766feb4c6..cc1565f37db8 100644
@@ -110,14 +110,3 @@ Each cell is one byte.
        -  Y'\ :sub:`33low`
 
        -  Y'\ :sub:`33high`
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/pixfmt-y41p.rst +0 -11
index d050d27e7ea1..bb10de3da994 100644
@@ -300,14 +300,3 @@ Each cell is one byte.
 
        -  
        -  Y
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/pixfmt-y8i.rst +0 -11
index 69ec8d7e8a06..3f3dbf18357f 100644
@@ -110,14 +110,3 @@ Each cell is one byte.
        -  Y'\ :sub:`33left`
 
        -  Y'\ :sub:`33right`
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/pixfmt-yuv410.rst +0 -11
index f56902f6faed..642c20a038b6 100644
@@ -206,14 +206,3 @@ Each cell is one byte.
 
        -  
        -  Y
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/pixfmt-yuv411p.rst +0 -11
index bf4fa56b8efb..0fe1cacf7b7a 100644
@@ -224,14 +224,3 @@ Each cell is one byte.
 
        -  
        -  Y
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/pixfmt-yuv420.rst +0 -11
index 0dd7e4632dd9..106afed50125 100644
@@ -238,14 +238,3 @@ Each cell is one byte.
 
        -  
        -  Y
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/pixfmt-yuv420m.rst +0 -11
index 5f918d0d1498..dc3d395a5731 100644
@@ -252,14 +252,3 @@ Each cell is one byte.
 
        -  
        -  Y
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/pixfmt-yuv422m.rst +0 -11
index 625d4ccf73d9..d8e438857e14 100644
@@ -261,14 +261,3 @@ Each cell is one byte.
        -  C
 
        -  Y
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/pixfmt-yuv422p.rst +0 -11
index d21794b48496..a7934540f69a 100644
@@ -244,14 +244,3 @@ Each cell is one byte.
        -  C
 
        -  Y
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/pixfmt-yuv444m.rst +0 -11
index 3d25c5e0ca00..c70e74631d4d 100644
@@ -281,14 +281,3 @@ Each cell is one byte.
 
        -  
        -  YC
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/pixfmt-yuyv.rst +0 -11
index 2fed9b3c87c3..9f01ae03bd10 100644
@@ -204,14 +204,3 @@ Each cell is one byte.
        -  C
 
        -  Y
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/pixfmt-yvyu.rst +0 -11
index 40eb6eda9fb1..45e3dcd7d222 100644
@@ -203,14 +203,3 @@ Each cell is one byte.
        -  C
 
        -  Y
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/pixfmt-z16.rst +0 -11
index 25badab393ce..8804dd5cc1c0 100644
@@ -110,14 +110,3 @@ Each cell is one byte.
        -  Z\ :sub:`33low`
 
        -  Z\ :sub:`33high`
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/pixfmt.rst +0 -11
index 417796d39f00..81222a99f7ce 100644
@@ -33,14 +33,3 @@ see also :ref:`VIDIOC_G_FBUF <VIDIOC_G_FBUF>`.)
     pixfmt-013
     sdr-formats
     pixfmt-reserved
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/planar-apis.rst +0 -9
index db1e63bd691e..5fe2e1188230 100644
@@ -59,12 +59,3 @@ Calls that distinguish between single and multi-planar APIs
 
 :ref:`VIDIOC_REQBUFS <VIDIOC_REQBUFS>`
     Will allocate multi-planar buffers as requested.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/querycap.rst +0 -9
index f3fa6cb6befe..c19cce7a816f 100644
@@ -32,12 +32,3 @@ specific applications to reliably identify the driver.
 
 All V4L2 drivers must support :ref:`VIDIOC_QUERYCAP`.
 Applications should always call this ioctl after opening the device.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/remote_controllers.rst +0 -9
index 07add9452be2..4b36e992f59a 100644
@@ -42,12 +42,3 @@ Added the interface description and the RC sysfs class description.
 :revision: 1.0 / 2009-09-06 (*mcc*)
 
 Initial revision
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/remote_controllers_sysfs_nodes.rst +0 -9
index 03d2d422d4c0..6fb944fe21fd 100644
@@ -141,12 +141,3 @@ scancodes which match the filter will wake the system from e.g. suspend
 to RAM or power off. Otherwise the write will fail with an error.
 
 This value may be reset to 0 if the wakeup protocol is altered.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/rw.rst +0 -9
index beab37eccb1a..9dc58651ef02 100644
@@ -45,12 +45,3 @@ driver must also support the :ref:`select() <func-select>` and
 .. [2]
    At the driver level :c:func:`select()` and :c:func:`poll()` are
    the same, and :c:func:`select()` is too important to be optional.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/sdr-formats.rst +0 -11
index 78c373c5b678..f863c08f1add 100644
@@ -17,14 +17,3 @@ These formats are used for :ref:`SDR <sdr>` interface only.
     pixfmt-sdr-cs08
     pixfmt-sdr-cs14le
     pixfmt-sdr-ru12le
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/selection-api-002.rst +0 -9
index d1b2bc3d22e5..09ca93f91bf7 100644
@@ -26,12 +26,3 @@ Rectangles for all cropping and composing targets are defined even if
 the device does supports neither cropping nor composing. Their size and
 position will be fixed in such a case. If the device does not support
 scaling then the cropping and composing rectangles have the same size.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/selection-api-003.rst +0 -9
index 9769d87407aa..15cb3b79f12c 100644
@@ -18,12 +18,3 @@ Selection targets
 
 
 See :ref:`v4l2-selection-targets` for more information.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/selection-api-004.rst +0 -9
index 1a8f4d09bff1..d782cd5b2117 100644
@@ -135,12 +135,3 @@ and the height of rectangles obtained using ``V4L2_SEL_TGT_CROP`` and
 ``V4L2_SEL_TGT_COMPOSE`` targets. If these are not equal then the
 scaling is applied. The application can compute the scaling ratios using
 these values.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/selection-api-005.rst +0 -9
index 78448023a79a..94731a13efdb 100644
@@ -32,12 +32,3 @@ struct :ref:`v4l2_selection <v4l2-selection>` provides a lot of place
 for future extensions. Driver developers are encouraged to implement
 only selection API. The former cropping API would be simulated using the
 new one.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/selection-api-006.rst +0 -11
index a7c04879cb5d..54b769e2fd73 100644
@@ -79,14 +79,3 @@ for other devices
         /* computing scaling factors */
         hscale = (double)compose.r.width / crop.r.width;
         vscale = (double)compose.r.height / crop.r.height;
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/selection-api.rst +0 -11
index 1cc3b41b8435..81ea52d785b9 100644
@@ -14,14 +14,3 @@ API for cropping, composing and scaling
     selection-api-004
     selection-api-005
     selection-api-006
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/selections-common.rst +0 -11
index 93efdc398fa9..69dbce4e6e47 100644
@@ -21,14 +21,3 @@ on the two APIs.
 
     v4l2-selection-targets
     v4l2-selection-flags
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/standard.rst +0 -9
index 67e295daa054..49135e260acc 100644
@@ -177,12 +177,3 @@ standard ioctls can be used with the given input or output.
    Some users are already confused by technical terms PAL, NTSC and
    SECAM. There is no point asking them to distinguish between B, G, D,
    or K when the software or hardware can do that automatically.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/streaming-par.rst +0 -9
index 643bad8cfc1a..b07b0f0b35d4 100644
@@ -31,12 +31,3 @@ devices.
 
 These ioctls are optional, drivers need not implement them. If so, they
 return the ``EINVAL`` error code.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/subdev-formats.rst +0 -11
index a13c0cba3df0..02a4b20fb1e8 100644
@@ -11688,14 +11688,3 @@ formats.
 
        -  Interleaved raw UYVY and JPEG image format with embedded meta-data
           used by Samsung S3C73MX camera sensors.
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/tuner.rst +0 -9
index 9c98e4f64c85..23d0e00aefdd 100644
@@ -80,12 +80,3 @@ a pointer to a struct :ref:`v4l2_frequency <v4l2-frequency>`. These
 ioctls are used for TV and radio devices alike. Drivers must support
 both ioctls when the tuner or modulator ioctls are supported, or when
 the device is a radio device.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/user-func.rst +0 -11
index daa6fd465d30..3e0413b83a33 100644
@@ -79,14 +79,3 @@ Function Reference
     func-read
     func-select
     func-write
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/userp.rst +0 -9
index 23ef4b71444d..3f4df1fd984d 100644
@@ -112,12 +112,3 @@ Drivers implementing user pointer I/O must support the
    At the driver level :c:func:`select()` and :c:func:`poll()` are
    the same, and :c:func:`select()` is too important to be optional.
    The rest should be evident.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/v4l2-selection-flags.rst +0 -11
index d72d3fb0d057..6c3531fd0017 100644
@@ -69,14 +69,3 @@ Selection flags
        -  No
 
        -  Yes
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/v4l2-selection-targets.rst +0 -11
index 781c4c713394..e9dcff094c77 100644
@@ -133,14 +133,3 @@ of the two interfaces they are used.
        -  Yes
 
        -  No
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/v4l2.rst +0 -9
index c9ba2859ebe5..9284446e3cfa 100644
@@ -391,12 +391,3 @@ Second draft, with corrections pointed out by Gerd Knorr.
 
 First draft, based on documentation by Bill Dirks and discussions on the
 V4L mailing list.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/v4l2grab-example.rst +0 -11
index 8b933d7a341a..c240f0513bee 100644
@@ -15,14 +15,3 @@ with any V4L2 driver.
     :maxdepth: 1
 
     v4l2grab.c
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/v4l2grab.c.rst +0 -11
index 6934294e61d9..817cad406c6f 100644
@@ -167,14 +167,3 @@ file: media/v4l/v4l2grab.c
 
             return 0;
     }
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/video.rst +0 -11
index b8ecc774719c..b3c2b1d59f24 100644
@@ -61,14 +61,3 @@ all the output ioctls when the device has one or more outputs.
         perror("VIDIOC_S_INPUT");
         exit(EXIT_FAILURE);
     }
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/videodev.rst +0 -11
index 4d1f26a90a68..4826416b2ab4 100644
@@ -11,14 +11,3 @@ Video For Linux Two Header File
     :maxdepth: 1
 
     ../../videodev2.h
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/vidioc-create-bufs.rst +0 -9
index efd9629e099e..0535758fec14 100644
@@ -143,12 +143,3 @@ ENOMEM
 EINVAL
     The buffer type (``format.type`` field), requested I/O method
     (``memory``) or format (``format`` field) is not valid.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/vidioc-cropcap.rst +0 -9
index 22c4268ea54f..8391fc19126f 100644
@@ -164,12 +164,3 @@ appropriately. The generic error codes are described at the
 EINVAL
     The struct :ref:`v4l2_cropcap <v4l2-cropcap>` ``type`` is
     invalid.
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/vidioc-dbg-g-chip-info.rst +0 -9
index 7fc1e6b3e892..da8bd46288dc 100644
@@ -201,12 +201,3 @@ appropriately. The generic error codes are described at the
 
 EINVAL
[… more lines in the raw message]

Lines of this file are not shown. View the raw message.

Documentation/linux_tv/media/v4l/vidioc-dbg-g-register.rst +0 -9
index 2c5afc9a4012..c1b21f3f73f0 100644

Lines of this file are not shown. View the raw message.

Documentation/linux_tv/media/v4l/vidioc-decoder-cmd.rst +0 -9
index 3fd1da8c1132..5f7be4ee8a51 100644

Lines of this file are not shown. View the raw message.

Documentation/linux_tv/media/v4l/vidioc-dqevent.rst +0 -9
index 509f0df19746..ed37e07bbdc8 100644

Lines of this file are not shown. View the raw message.

Documentation/linux_tv/media/v4l/vidioc-dv-timings-cap.rst +0 -9
index dbfc5e92faf3..e852b6194f4a 100644

Lines of this file are not shown. View the raw message.

Documentation/linux_tv/media/v4l/vidioc-encoder-cmd.rst +0 -9
index b62b508c83a7..cd7cc4bfd756 100644

Lines of this file are not shown. View the raw message.

Documentation/linux_tv/media/v4l/vidioc-enum-dv-timings.rst +0 -9
index a3deae4844f5..1ff64c497ff1 100644

Lines of this file are not shown. View the raw message.

Documentation/linux_tv/media/v4l/vidioc-enum-fmt.rst +0 -9
index a8b162ed85a0..79162755ea75 100644

Lines of this file are not shown. View the raw message.

Documentation/linux_tv/media/v4l/vidioc-enum-frameintervals.rst +0 -9
index 24acbd928b9c..f7e41225e6b6 100644

Lines of this file are not shown. View the raw message.

Documentation/linux_tv/media/v4l/vidioc-enum-framesizes.rst +0 -9
index 1d2969220857..ef9bcdee0635 100644

Lines of this file are not shown. View the raw message.

Documentation/linux_tv/media/v4l/vidioc-enum-freq-bands.rst +0 -9
index bc0826bec1cb..5e4a6d4a8640 100644

Lines of this file are not shown. View the raw message.

Documentation/linux_tv/media/v4l/vidioc-enumaudio.rst +0 -9
index 51d783734107..9573e54271fc 100644

Lines of this file are not shown. View the raw message.

Documentation/linux_tv/media/v4l/vidioc-enumaudioout.rst +0 -9
index 660bcee62fcf..82ffb3194ed3 100644

Lines of this file are not shown. View the raw message.

Documentation/linux_tv/media/v4l/vidioc-enuminput.rst +0 -9
index 7344777e3514..b67cae1bcafd 100644

Lines of this file are not shown. View the raw message.

Documentation/linux_tv/media/v4l/vidioc-enumoutput.rst +0 -9
index de0952353ad0..8dc5f8ee2eb5 100644

Lines of this file are not shown. View the raw message.

Documentation/linux_tv/media/v4l/vidioc-enumstd.rst +0 -9
index 0f4433cefc49..098251b8be30 100644

Lines of this file are not shown. View the raw message.

Documentation/linux_tv/media/v4l/vidioc-expbuf.rst +0 -9
index 04216a0d658e..a1f62a33739f 100644

Lines of this file are not shown. View the raw message.

Documentation/linux_tv/media/v4l/vidioc-g-audio.rst +0 -9
index abf441a04673..5ec052165642 100644

Lines of this file are not shown. View the raw message.

Documentation/linux_tv/media/v4l/vidioc-g-audioout.rst +0 -9
index 6bfd5b1d5428..a2a492fccaed 100644

Lines of this file are not shown. View the raw message.

Documentation/linux_tv/media/v4l/vidioc-g-crop.rst +0 -9
index aba0dc9b4390..1610c3fc1d93 100644

Lines of this file are not shown. View the raw message.

Documentation/linux_tv/media/v4l/vidioc-g-ctrl.rst +0 -9
index 77a5d1aca78a..db1e7b252147 100644

Lines of this file are not shown. View the raw message.

Documentation/linux_tv/media/v4l/vidioc-g-dv-timings.rst +0 -11
index 2b2e154a2d1f..bd3d898acd53 100644

Lines of this file are not shown. View the raw message.

Documentation/linux_tv/media/v4l/vidioc-g-edid.rst +0 -9
index 26332ceb8b94..5a72bed87cbb 100644

Lines of this file are not shown. View the raw message.

Documentation/linux_tv/media/v4l/vidioc-g-enc-index.rst +0 -9
index 35df295e1809..864a347e6b1a 100644

Lines of this file are not shown. View the raw message.

Documentation/linux_tv/media/v4l/vidioc-g-ext-ctrls.rst +0 -9
index d12021c6fbb8..a85778172265 100644

Lines of this file are not shown. View the raw message.

Documentation/linux_tv/media/v4l/vidioc-g-fbuf.rst +0 -9
index e52361001bb9..32ce2738d598 100644

Lines of this file are not shown. View the raw message.

Documentation/linux_tv/media/v4l/vidioc-g-fmt.rst +0 -9
index 869c7cc08035..684793a47267 100644

Lines of this file are not shown. View the raw message.

Documentation/linux_tv/media/v4l/vidioc-g-frequency.rst +0 -9
index 40ef31938f79..c5f6846b498c 100644

Lines of this file are not shown. View the raw message.

Documentation/linux_tv/media/v4l/vidioc-g-input.rst +0 -9
index 1c14f7dcffeb..aae135ea2a77 100644

Lines of this file are not shown. View the raw message.

Documentation/linux_tv/media/v4l/vidioc-g-jpegcomp.rst +0 -9
index b2da34012df6..0adc8b2e2aac 100644

Lines of this file are not shown. View the raw message.

Documentation/linux_tv/media/v4l/vidioc-g-modulator.rst +0 -9
index 2342e036850b..8b213e858b39 100644

Lines of this file are not shown. View the raw message.

Documentation/linux_tv/media/v4l/vidioc-g-output.rst +0 -9
index 03defa561e5b..cd0646eb7539 100644

Lines of this file are not shown. View the raw message.

Documentation/linux_tv/media/v4l/vidioc-g-parm.rst +0 -9
index 73974cd938b8..0f96b95ebc0e 100644

Lines of this file are not shown. View the raw message.

Documentation/linux_tv/media/v4l/vidioc-g-priority.rst +0 -9
index b241970c8aee..f3fedd201c6d 100644

Lines of this file are not shown. View the raw message.

Documentation/linux_tv/media/v4l/vidioc-g-selection.rst +0 -9
index 1159b012a0a1..337ad78d9a7c 100644

Lines of this file are not shown. View the raw message.

Documentation/linux_tv/media/v4l/vidioc-g-sliced-vbi-cap.rst +0 -9
index ac08f606fdd8..f5052093a77a 100644

Lines of this file are not shown. View the raw message.

Documentation/linux_tv/media/v4l/vidioc-g-std.rst +0 -9
index 8cacecfb8c97..e1e3bb7fa726 100644

Lines of this file are not shown. View the raw message.

Documentation/linux_tv/media/v4l/vidioc-g-tuner.rst +0 -9
index c5f947811746..57a14811773c 100644

Lines of this file are not shown. View the raw message.

Documentation/linux_tv/media/v4l/vidioc-log-status.rst +0 -9
index af89f8f2dca6..afff82efe392 100644

Lines of this file are not shown. View the raw message.

Documentation/linux_tv/media/v4l/vidioc-overlay.rst +0 -9
index 990907643869..41ddeea5537f 100644

Lines of this file are not shown. View the raw message.

Documentation/linux_tv/media/v4l/vidioc-prepare-buf.rst +0 -9
index bf31aaaf6c76..2c88d3cedecf 100644

Lines of this file are not shown. View the raw message.

Documentation/linux_tv/media/v4l/vidioc-qbuf.rst +0 -9
index b51db1311e9f..88179f8019fa 100644

Lines of this file are not shown. View the raw message.

Documentation/linux_tv/media/v4l/vidioc-query-dv-timings.rst +0 -9
index 0c01ed49065f..6a37b6503399 100644

Lines of this file are not shown. View the raw message.

Documentation/linux_tv/media/v4l/vidioc-querybuf.rst +0 -9
index 11c9c59688ae..2fae7021b511 100644

Lines of this file are not shown. View the raw message.

Documentation/linux_tv/media/v4l/vidioc-querycap.rst +0 -9
index 0776232be520..a4091b482d75 100644

Lines of this file are not shown. View the raw message.

Documentation/linux_tv/media/v4l/vidioc-queryctrl.rst +0 -9
index 2c8ef053a1ab..7869ca7a04c3 100644

Lines of this file are not shown. View the raw message.

Documentation/linux_tv/media/v4l/vidioc-querystd.rst +0 -9
index de2fe176fc6d..8d6769f2b5c6 100644

Lines of this file are not shown. View the raw message.

Documentation/linux_tv/media/v4l/vidioc-reqbufs.rst +0 -9
index 065ea275c0df..b5a470935ce6 100644

Lines of this file are not shown. View the raw message.

Documentation/linux_tv/media/v4l/vidioc-s-hw-freq-seek.rst +0 -9
index 68c96236806d..4789c5b74a0a 100644

Lines of this file are not shown. View the raw message.

Documentation/linux_tv/media/v4l/vidioc-streamon.rst +0 -9
index 960c5965c7a6..c3ea38c6cb5b 100644

Lines of this file are not shown. View the raw message.

Documentation/linux_tv/media/v4l/vidioc-subdev-enum-frame-interval.rst +0 -9
index 8c5298175ba5..d332897b30e8 100644

Lines of this file are not shown. View the raw message.

Documentation/linux_tv/media/v4l/vidioc-subdev-enum-frame-size.rst +0 -9
index 5ddb766f4a16..0f901d815ca5 100644

Lines of this file are not shown. View the raw message.

Documentation/linux_tv/media/v4l/vidioc-subdev-enum-mbus-code.rst +0 -9
index 13d466c2a4e1..bc8e07912d81 100644

Lines of this file are not shown. View the raw message.

Documentation/linux_tv/media/v4l/vidioc-subdev-g-crop.rst +0 -9
index 88416ba28d86..a4cc5f8ebf5b 100644

Lines of this file are not shown. View the raw message.

Documentation/linux_tv/media/v4l/vidioc-subdev-g-fmt.rst +0 -9
index b4d109943fd2..6afa4fccb9ba 100644

Lines of this file are not shown. View the raw message.

Documentation/linux_tv/media/v4l/vidioc-subdev-g-frame-interval.rst +0 -9
index 9504e8b5de8a..3c45d4b28f43 100644

Lines of this file are not shown. View the raw message.

Documentation/linux_tv/media/v4l/vidioc-subdev-g-selection.rst +0 -9
index d95b5431004c..738131619a4d 100644

Lines of this file are not shown. View the raw message.

Documentation/linux_tv/media/v4l/vidioc-subscribe-event.rst +0 -9
index a127622d47b8..8323386c93f8 100644

Lines of this file are not shown. View the raw message.

Documentation/linux_tv/media/v4l/yuv-formats.rst +0 -11
index 2592d5b8527d..3334ea445657 100644

Lines of this file are not shown. View the raw message.

Documentation/linux_tv/net.h.rst +0 -11
index c0a0e9310333..4b01cefdb0b7 100644

Lines of this file are not shown. View the raw message.

Documentation/linux_tv/video.h.rst +0 -11
index b332a02b8fd6..4be16680ba01 100644

Lines of this file are not shown. View the raw message.

Documentation/linux_tv/videodev2.h.rst +0 -11
index 78f19aff04a7..bd433ab201cc 100644

Lines of this file are not shown. View the raw message.

scripts/kernel-doc +0 -0
old mode 100644
new mode 100755

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.7.4

Part of the diff is not shown here. View the raw message.

#15 lore raw

PATCH 15/51 Documentation: audio.rst: re-add captions for the examples

In reply to Mauro Carvalho Chehab

The captions were lost during the format conversion.

---
 Documentation/linux_tv/media/v4l/audio.rst | 2 ++
 1 file changed, 2 insertions(+)
Documentation/linux_tv/media/v4l/audio.rst +2 -0
index 8c3314218f75..e9d99f6a259a 100644
@@ -55,6 +55,7 @@ the :ref:`VIDIOC_QUERYCAP` ioctl.
 
 
 .. code-block:: c
+    :caption: Example 3: Information about the current audio input
 
     struct v4l2_audio audio;
 
@@ -69,6 +70,7 @@ the :ref:`VIDIOC_QUERYCAP` ioctl.
 
 
 .. code-block:: c
+    :caption: Example 4: Switching to the first audio input
 
     struct v4l2_audio audio;
 
Signature · 1 line
2.7.4
#16 lore raw

PATCH 16/51 Documentation: standard.rst: read the example captions

In reply to Mauro Carvalho Chehab

Those got lost during format conversion.

---
 Documentation/linux_tv/media/v4l/standard.rst | 3 +++
 1 file changed, 3 insertions(+)
Documentation/linux_tv/media/v4l/standard.rst +3 -0
index 20c0d044a129..11d1a7183c73 100644
@@ -66,6 +66,7 @@ standard ioctls can be used with the given input or output.
 
 
 .. code-block:: c
+    :caption: Example 5: Information about the current video standard
 
     v4l2_std_id std_id;
     struct v4l2_standard standard;
@@ -101,6 +102,7 @@ standard ioctls can be used with the given input or output.
 
 
 .. code-block:: c
+    :caption: Example 6: Listing the video standards supported by the current input
 
     struct v4l2_input input;
     struct v4l2_standard standard;
@@ -139,6 +141,7 @@ standard ioctls can be used with the given input or output.
 
 
 .. code-block:: c
+    :caption: Example 7: Selecting a new video standard
 
     struct v4l2_input input;
     v4l2_std_id std_id;
Signature · 1 line
2.7.4
#17 lore raw

PATCH 17/51 Documentation: linux_tv: remove controls.rst

In reply to Mauro Carvalho Chehab

This auto-generated file is bogus: it just adds a toc for two other files. Instead, just move the controls and extended-controls directly to the common.rst file.

this avoids a blank page, and better organize the document.

---
 Documentation/linux_tv/media/v4l/common.rst   |  3 ++-
 Documentation/linux_tv/media/v4l/controls.rst | 18 ------------------
 2 files changed, 2 insertions(+), 19 deletions(-)
 delete mode 100644 Documentation/linux_tv/media/v4l/controls.rst
Documentation/linux_tv/media/v4l/common.rst +2 -1
index 0e85b46b2efc..40d3feab5ab9 100644
@@ -37,7 +37,8 @@ applicable to all devices.
     tuner
     standard
     dv-timings
-    controls
+    control
+    extended-controls
     format
     planar-apis
     crop
Documentation/linux_tv/media/v4l/controls.rst deleted +0 -18
deleted file mode 100644
index fe5bca543699..000000000000
@@ -1,18 +0,0 @@
-.. -*- coding: utf-8; mode: rst -*-
-
-.. toctree::
-    :maxdepth: 1
-
-    control
-    extended-controls
-
-
-
-
-.. ------------------------------------------------------------------------------
-.. This file was automatically converted from DocBook-XML with the dbxml
-.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
-.. from the linux kernel, refer to:
-..
-.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
-.. ------------------------------------------------------------------------------
Signature · 1 line
2.7.4
#18 lore raw

PATCH 18/51 Documentation: control.rst: read the example captions

In reply to Mauro Carvalho Chehab

Those got removed by the doc conversion.

---
 Documentation/linux_tv/media/v4l/control.rst | 4 ++++
 1 file changed, 4 insertions(+)
Documentation/linux_tv/media/v4l/control.rst +4 -0
index d6df648767c5..5defd1995e13 100644
@@ -372,6 +372,8 @@ more menu type controls.
 
 
 .. code-block:: c
+    :caption: Example 8: Enumerating all user controls
+
 
     struct v4l2_queryctrl queryctrl;
     struct v4l2_querymenu querymenu;
@@ -435,6 +437,7 @@ more menu type controls.
 
 
 .. code-block:: c
+    :caption: Example 9: Enumerating all user controls (alternative)
 
     memset(&queryctrl, 0, sizeof(queryctrl));
 
@@ -459,6 +462,7 @@ more menu type controls.
 
 
 .. code-block:: c
+    :caption: Example 10: Changing controls
 
     struct v4l2_queryctrl queryctrl;
     struct v4l2_control control;
Signature · 1 line
2.7.4
#14 lore raw

PATCH 14/51 Documentation: linux_tv: don't simplify VIDIOC_G_foo references

In reply to Mauro Carvalho Chehab

As VIDIOC_G_foo is the reference used for VIDIOC_S_foo and VIDIOC_TRY_foo, we need to explicitly name the reference, as otherwise, it will mention the three ioctls altogether, with is not what we want.

---
 Documentation/linux_tv/media/v4l/app-pri.rst       |  2 +-
 Documentation/linux_tv/media/v4l/audio.rst         |  6 ++---
 Documentation/linux_tv/media/v4l/control.rst       |  2 +-
 Documentation/linux_tv/media/v4l/crop.rst          |  4 ++--
 Documentation/linux_tv/media/v4l/dev-capture.rst   | 12 +++++-----
 Documentation/linux_tv/media/v4l/dev-osd.rst       |  6 ++---
 Documentation/linux_tv/media/v4l/dev-output.rst    | 12 +++++-----
 Documentation/linux_tv/media/v4l/dev-overlay.rst   | 12 +++++-----
 Documentation/linux_tv/media/v4l/dev-radio.rst     |  4 ++--
 Documentation/linux_tv/media/v4l/dev-raw-vbi.rst   |  8 +++----
 .../linux_tv/media/v4l/dev-sliced-vbi.rst          |  6 ++---
 Documentation/linux_tv/media/v4l/diff-v4l.rst      | 24 +++++++++----------
 Documentation/linux_tv/media/v4l/dv-timings.rst    |  2 +-
 .../linux_tv/media/v4l/extended-controls.rst       |  4 ++--
 Documentation/linux_tv/media/v4l/format.rst        |  4 ++--
 Documentation/linux_tv/media/v4l/func-read.rst     |  2 +-
 Documentation/linux_tv/media/v4l/hist-v4l2.rst     | 28 +++++++++++-----------
 .../linux_tv/media/v4l/libv4l-introduction.rst     |  2 +-
 Documentation/linux_tv/media/v4l/pixfmt-013.rst    |  2 +-
 Documentation/linux_tv/media/v4l/pixfmt.rst        |  2 +-
 Documentation/linux_tv/media/v4l/planar-apis.rst   |  2 +-
 Documentation/linux_tv/media/v4l/standard.rst      |  4 ++--
 Documentation/linux_tv/media/v4l/streaming-par.rst |  2 +-
 Documentation/linux_tv/media/v4l/tuner.rst         |  8 +++----
 Documentation/linux_tv/media/v4l/video.rst         |  4 ++--
 .../linux_tv/media/v4l/vidioc-create-bufs.rst      |  2 +-
 .../linux_tv/media/v4l/vidioc-enumaudio.rst        |  2 +-
 .../linux_tv/media/v4l/vidioc-enumaudioout.rst     |  2 +-
 .../linux_tv/media/v4l/vidioc-enumstd.rst          |  2 +-
 .../linux_tv/media/v4l/vidioc-g-audio.rst          |  2 +-
 Documentation/linux_tv/media/v4l/vidioc-g-crop.rst |  4 ++--
 Documentation/linux_tv/media/v4l/vidioc-g-ctrl.rst |  4 ++--
 .../linux_tv/media/v4l/vidioc-g-dv-timings.rst     |  2 +-
 Documentation/linux_tv/media/v4l/vidioc-g-edid.rst |  4 ++--
 .../linux_tv/media/v4l/vidioc-g-enc-index.rst      |  6 ++---
 .../linux_tv/media/v4l/vidioc-g-ext-ctrls.rst      |  8 +++----
 Documentation/linux_tv/media/v4l/vidioc-g-fbuf.rst |  8 +++----
 Documentation/linux_tv/media/v4l/vidioc-g-fmt.rst  |  6 ++---
 .../linux_tv/media/v4l/vidioc-g-frequency.rst      |  2 +-
 .../linux_tv/media/v4l/vidioc-g-input.rst          |  2 +-
 .../linux_tv/media/v4l/vidioc-g-modulator.rst      |  2 +-
 .../linux_tv/media/v4l/vidioc-g-output.rst         |  2 +-
 Documentation/linux_tv/media/v4l/vidioc-g-parm.rst |  2 +-
 .../linux_tv/media/v4l/vidioc-g-priority.rst       |  2 +-
 .../linux_tv/media/v4l/vidioc-g-sliced-vbi-cap.rst |  2 +-
 Documentation/linux_tv/media/v4l/vidioc-g-std.rst  |  6 ++---
 .../linux_tv/media/v4l/vidioc-queryctrl.rst        |  2 +-
 47 files changed, 119 insertions(+), 119 deletions(-)
Documentation/linux_tv/media/v4l/app-pri.rst +1 -1
index 4faf9042f612..7ff6f44eb591 100644
@@ -16,7 +16,7 @@ applications and automatically regain control of the device at a later
 time.
 
 Since these features cannot be implemented entirely in user space V4L2
-defines the :ref:`VIDIOC_G_PRIORITY` and
+defines the :ref:`VIDIOC_G_PRIORITY <VIDIOC_G_PRIORITY>` and
 :ref:`VIDIOC_S_PRIORITY <VIDIOC_G_PRIORITY>` ioctls to request and
 query the access priority associate with a file descriptor. Opening a
 device assigns a medium priority, compatible with earlier versions of
Documentation/linux_tv/media/v4l/audio.rst +3 -3
index 21db1b97b83c..8c3314218f75 100644
@@ -33,11 +33,11 @@ The struct :ref:`v4l2_audio <v4l2-audio>` returned by the
 :ref:`VIDIOC_ENUMAUDIO` ioctl also contains signal
 :status information applicable when the current audio input is queried.
 
-The :ref:`VIDIOC_G_AUDIO` and
+The :ref:`VIDIOC_G_AUDIO <VIDIOC_G_AUDIO>` and
 :ref:`VIDIOC_G_AUDOUT <VIDIOC_G_AUDIOout>` ioctls report the current
 audio input and output, respectively. Note that, unlike
-:ref:`VIDIOC_G_INPUT` and
-:ref:`VIDIOC_G_OUTPUT` these ioctls return a
+:ref:`VIDIOC_G_INPUT <VIDIOC_G_INPUT>` and
+:ref:`VIDIOC_G_OUTPUT <VIDIOC_G_OUTPUT>` these ioctls return a
 structure as :ref:`VIDIOC_ENUMAUDIO` and
 :ref:`VIDIOC_ENUMAUDOUT <VIDIOC_ENUMAUDIOout>` do, not just an index.
 
Documentation/linux_tv/media/v4l/control.rst +1 -1
index 02bd455a2616..d6df648767c5 100644
@@ -364,7 +364,7 @@ Control IDs
 Applications can enumerate the available controls with the
 :ref:`VIDIOC_QUERYCTRL` and
 :ref:`VIDIOC_QUERYMENU <VIDIOC_QUERYCTRL>` ioctls, get and set a
-control value with the :ref:`VIDIOC_G_CTRL` and
+control value with the :ref:`VIDIOC_G_CTRL <VIDIOC_G_CTRL>` and
 :ref:`VIDIOC_S_CTRL <VIDIOC_G_CTRL>` ioctls. Drivers must implement
 ``VIDIOC_QUERYCTRL``, ``VIDIOC_G_CTRL`` and ``VIDIOC_S_CTRL`` when the
 device has one or more controls, ``VIDIOC_QUERYMENU`` when it has one or
Documentation/linux_tv/media/v4l/crop.rst +2 -2
index 41a5efaaa679..bfb30568df23 100644
@@ -15,7 +15,7 @@ offset into a video signal.
 Applications can use the following API to select an area in the video
 signal, query the default area and the hardware limits. *Despite their
 name, the :ref:`VIDIOC_CROPCAP`,
-:ref:`VIDIOC_G_CROP` and
+:ref:`VIDIOC_G_CROP <VIDIOC_G_CROP>` and
 :ref:`VIDIOC_S_CROP <VIDIOC_G_CROP>` ioctls apply to input as well
 as output devices.*
 
@@ -23,7 +23,7 @@ Scaling requires a source and a target. On a video capture or overlay
 device the source is the video signal, and the cropping ioctls determine
 the area actually sampled. The target are images read by the application
 or overlaid onto the graphics screen. Their size (and position for an
-overlay) is negotiated with the :ref:`VIDIOC_G_FMT`
+overlay) is negotiated with the :ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>`
 and :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` ioctls.
 
 On a video output device the source are the images passed in by the
Documentation/linux_tv/media/v4l/dev-capture.rst +6 -6
index c970a1fd1439..0e62dc026251 100644
@@ -65,7 +65,7 @@ To query the current image format applications set the ``type`` field of
 a struct :ref:`v4l2_format <v4l2-format>` to
 ``V4L2_BUF_TYPE_VIDEO_CAPTURE`` or
 ``V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE`` and call the
-:ref:`VIDIOC_G_FMT` ioctl with a pointer to this
+:ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>` ioctl with a pointer to this
 structure. Drivers fill the struct
 :ref:`v4l2_pix_format <v4l2-pix-format>` ``pix`` or the struct
 :ref:`v4l2_pix_format_mplane <v4l2-pix-format-mplane>` ``pix_mp``
@@ -75,9 +75,9 @@ To request different parameters applications set the ``type`` field of a
 struct :ref:`v4l2_format <v4l2-format>` as above and initialize all
 fields of the struct :ref:`v4l2_pix_format <v4l2-pix-format>`
 ``vbi`` member of the ``fmt`` union, or better just modify the results
-of :ref:`VIDIOC_G_FMT`, and call the :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>`
+of :ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>`, and call the :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>`
 ioctl with a pointer to this structure. Drivers may adjust the
-parameters and finally return the actual parameters as :ref:`VIDIOC_G_FMT`
+parameters and finally return the actual parameters as :ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>`
 does.
 
 Like :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` the :ref:`VIDIOC_TRY_FMT <VIDIOC_G_FMT>` ioctl
@@ -87,10 +87,10 @@ possibly time consuming hardware preparations.
 The contents of struct :ref:`v4l2_pix_format <v4l2-pix-format>` and
 struct :ref:`v4l2_pix_format_mplane <v4l2-pix-format-mplane>` are
 discussed in :ref:`pixfmt`. See also the specification of the
-:ref:`VIDIOC_G_FMT`, :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` and :ref:`VIDIOC_TRY_FMT <VIDIOC_G_FMT>` ioctls for
-details. Video capture devices must implement both the :ref:`VIDIOC_G_FMT`
+:ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>`, :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` and :ref:`VIDIOC_TRY_FMT <VIDIOC_G_FMT>` ioctls for
+details. Video capture devices must implement both the :ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>`
 and :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` ioctl, even if :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` ignores all
-requests and always returns default parameters as :ref:`VIDIOC_G_FMT` does.
+requests and always returns default parameters as :ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>` does.
 :ref:`VIDIOC_TRY_FMT <VIDIOC_G_FMT>` is optional.
 
 
Documentation/linux_tv/media/v4l/dev-osd.rst +3 -3
index 4b668a3544b8..f9337001f50d 100644
@@ -36,7 +36,7 @@ Contrary to the *Video Overlay* interface the framebuffer is normally
 implemented on the TV card and not the graphics card. On Linux it is
 accessible as a framebuffer device (``/dev/fbN``). Given a V4L2 device,
 applications can find the corresponding framebuffer device by calling
-the :ref:`VIDIOC_G_FBUF` ioctl. It returns, amongst
+the :ref:`VIDIOC_G_FBUF <VIDIOC_G_FBUF>` ioctl. It returns, amongst
 other information, the physical address of the framebuffer in the
 ``base`` field of struct :ref:`v4l2_framebuffer <v4l2-framebuffer>`.
 The framebuffer device ioctl ``FBIOGET_FSCREENINFO`` returns the same
@@ -115,7 +115,7 @@ clipping/blending method to be used for the overlay. To get the current
 parameters applications set the ``type`` field of a struct
 :ref:`v4l2_format <v4l2-format>` to
 ``V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY`` and call the
-:ref:`VIDIOC_G_FMT` ioctl. The driver fills the
+:ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>` ioctl. The driver fills the
 :c:type:`struct v4l2_window` substructure named ``win``. It is not
 possible to retrieve a previously programmed clipping list or bitmap.
 
@@ -124,7 +124,7 @@ struct :ref:`v4l2_format <v4l2-format>` to
 ``V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY``, initialize the ``win``
 substructure and call the :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` ioctl.
 The driver adjusts the parameters against hardware limits and returns
-the actual parameters as :ref:`VIDIOC_G_FMT` does. Like :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>`,
+the actual parameters as :ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>` does. Like :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>`,
 the :ref:`VIDIOC_TRY_FMT <VIDIOC_G_FMT>` ioctl can be used to learn
 about driver capabilities without actually changing driver state. Unlike
 :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` this also works after the overlay has been enabled.
Documentation/linux_tv/media/v4l/dev-output.rst +6 -6
index ee62d1a0fb87..5253498db95a 100644
@@ -62,7 +62,7 @@ defaults. An example is given in :ref:`crop`.
 To query the current image format applications set the ``type`` field of
 a struct :ref:`v4l2_format <v4l2-format>` to
 ``V4L2_BUF_TYPE_VIDEO_OUTPUT`` or ``V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE``
-and call the :ref:`VIDIOC_G_FMT` ioctl with a pointer
+and call the :ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>` ioctl with a pointer
 to this structure. Drivers fill the struct
 :ref:`v4l2_pix_format <v4l2-pix-format>` ``pix`` or the struct
 :ref:`v4l2_pix_format_mplane <v4l2-pix-format-mplane>` ``pix_mp``
@@ -72,9 +72,9 @@ To request different parameters applications set the ``type`` field of a
 struct :ref:`v4l2_format <v4l2-format>` as above and initialize all
 fields of the struct :ref:`v4l2_pix_format <v4l2-pix-format>`
 ``vbi`` member of the ``fmt`` union, or better just modify the results
-of :ref:`VIDIOC_G_FMT`, and call the :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>`
+of :ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>`, and call the :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>`
 ioctl with a pointer to this structure. Drivers may adjust the
-parameters and finally return the actual parameters as :ref:`VIDIOC_G_FMT`
+parameters and finally return the actual parameters as :ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>`
 does.
 
 Like :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` the :ref:`VIDIOC_TRY_FMT <VIDIOC_G_FMT>` ioctl
@@ -84,10 +84,10 @@ possibly time consuming hardware preparations.
 The contents of struct :ref:`v4l2_pix_format <v4l2-pix-format>` and
 struct :ref:`v4l2_pix_format_mplane <v4l2-pix-format-mplane>` are
 discussed in :ref:`pixfmt`. See also the specification of the
-:ref:`VIDIOC_G_FMT`, :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` and :ref:`VIDIOC_TRY_FMT <VIDIOC_G_FMT>` ioctls for
-details. Video output devices must implement both the :ref:`VIDIOC_G_FMT`
+:ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>`, :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` and :ref:`VIDIOC_TRY_FMT <VIDIOC_G_FMT>` ioctls for
+details. Video output devices must implement both the :ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>`
 and :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` ioctl, even if :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` ignores all
-requests and always returns default parameters as :ref:`VIDIOC_G_FMT` does.
+requests and always returns default parameters as :ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>` does.
 :ref:`VIDIOC_TRY_FMT <VIDIOC_G_FMT>` is optional.
 
 
Documentation/linux_tv/media/v4l/dev-overlay.rst +6 -6
index 26bd4a15a125..083cf07e55c5 100644
@@ -63,7 +63,7 @@ Setup
 Before overlay can commence applications must program the driver with
 frame buffer parameters, namely the address and size of the frame buffer
 and the image format, for example RGB 5:6:5. The
-:ref:`VIDIOC_G_FBUF` and
+:ref:`VIDIOC_G_FBUF <VIDIOC_G_FBUF>` and
 :ref:`VIDIOC_S_FBUF <VIDIOC_G_FBUF>` ioctls are available to get and
 set these parameters, respectively. The :ref:`VIDIOC_S_FBUF <VIDIOC_G_FBUF>` ioctl is
 privileged because it allows to set up DMA into physical memory,
@@ -77,7 +77,7 @@ Some devices add the video overlay to the output signal of the graphics
 card. In this case the frame buffer is not modified by the video device,
 and the frame buffer address and pixel format are not needed by the
 driver. The :ref:`VIDIOC_S_FBUF <VIDIOC_G_FBUF>` ioctl is not privileged. An application
-can check for this type of device by calling the :ref:`VIDIOC_G_FBUF`
+can check for this type of device by calling the :ref:`VIDIOC_G_FBUF <VIDIOC_G_FBUF>`
 ioctl.
 
 A driver may support any (or none) of five clipping/blending methods:
@@ -121,7 +121,7 @@ its position over the graphics surface and the clipping to be applied.
 To get the current parameters applications set the ``type`` field of a
 struct :ref:`v4l2_format <v4l2-format>` to
 ``V4L2_BUF_TYPE_VIDEO_OVERLAY`` and call the
-:ref:`VIDIOC_G_FMT` ioctl. The driver fills the
+:ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>` ioctl. The driver fills the
 :c:type:`struct v4l2_window` substructure named ``win``. It is not
 possible to retrieve a previously programmed clipping list or bitmap.
 
@@ -130,7 +130,7 @@ struct :ref:`v4l2_format <v4l2-format>` to
 ``V4L2_BUF_TYPE_VIDEO_OVERLAY``, initialize the ``win`` substructure and
 call the :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` ioctl. The driver
 adjusts the parameters against hardware limits and returns the actual
-parameters as :ref:`VIDIOC_G_FMT` does. Like :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>`, the
+parameters as :ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>` does. Like :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>`, the
 :ref:`VIDIOC_TRY_FMT <VIDIOC_G_FMT>` ioctl can be used to learn
 about driver capabilities without actually changing driver state. Unlike
 :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` this also works after the overlay has been enabled.
@@ -179,7 +179,7 @@ struct v4l2_window
 
 ``struct v4l2_clip * clips``
     When chroma-keying has *not* been negotiated and
-    :ref:`VIDIOC_G_FBUF` indicated this capability,
+    :ref:`VIDIOC_G_FBUF <VIDIOC_G_FBUF>` indicated this capability,
     applications can set this field to point to an array of clipping
     rectangles.
 
@@ -204,7 +204,7 @@ are undefined.
 
 ``void * bitmap``
     When chroma-keying has *not* been negotiated and
-    :ref:`VIDIOC_G_FBUF` indicated this capability,
+    :ref:`VIDIOC_G_FBUF <VIDIOC_G_FBUF>` indicated this capability,
     applications can set this field to point to a clipping bit mask.
 
 It must be of the same size as the window, ``w.width`` and ``w.height``.
Documentation/linux_tv/media/v4l/dev-radio.rst +2 -2
index 7a0d25a143a6..55a56fb5d958 100644
@@ -47,8 +47,8 @@ discussed in :ref:`tuner`) with index number zero to select the radio
 frequency and to determine if a monaural or FM stereo program is
 received/emitted. Drivers switch automatically between AM and FM
 depending on the selected frequency. The
-:ref:`VIDIOC_G_TUNER` or
-:ref:`VIDIOC_G_MODULATOR` ioctl reports the
+:ref:`VIDIOC_G_TUNER <VIDIOC_G_TUNER>` or
+:ref:`VIDIOC_G_MODULATOR <VIDIOC_G_MODULATOR>` ioctl reports the
 supported frequency range.
 
 
Documentation/linux_tv/media/v4l/dev-raw-vbi.rst +4 -4
index 2cd813a5b4e4..596b0a6b2177 100644
@@ -71,7 +71,7 @@ parameters and then checking if the actual parameters are suitable.
 To query the current raw VBI capture parameters applications set the
 ``type`` field of a struct :ref:`v4l2_format <v4l2-format>` to
 ``V4L2_BUF_TYPE_VBI_CAPTURE`` or ``V4L2_BUF_TYPE_VBI_OUTPUT``, and call
-the :ref:`VIDIOC_G_FMT` ioctl with a pointer to this
+the :ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>` ioctl with a pointer to this
 structure. Drivers fill the struct
 :ref:`v4l2_vbi_format <v4l2-vbi-format>` ``vbi`` member of the
 ``fmt`` union.
@@ -80,7 +80,7 @@ To request different parameters applications set the ``type`` field of a
 struct :ref:`v4l2_format <v4l2-format>` as above and initialize all
 fields of the struct :ref:`v4l2_vbi_format <v4l2-vbi-format>`
 ``vbi`` member of the ``fmt`` union, or better just modify the results
-of :ref:`VIDIOC_G_FMT`, and call the :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>`
+of :ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>`, and call the :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>`
 ioctl with a pointer to this structure. Drivers return an EINVAL error
 code only when the given parameters are ambiguous, otherwise they modify
 the parameters according to the hardware capabilities and return the
@@ -94,9 +94,9 @@ expect other resource allocation points which may return EBUSY, at the
 :ref:`VIDIOC_STREAMON` ioctl and the first read(),
 write() and select() call.
 
-VBI devices must implement both the :ref:`VIDIOC_G_FMT` and
+VBI devices must implement both the :ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>` and
 :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` ioctl, even if :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` ignores all requests
-and always returns default parameters as :ref:`VIDIOC_G_FMT` does.
+and always returns default parameters as :ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>` does.
 :ref:`VIDIOC_TRY_FMT <VIDIOC_G_FMT>` is optional.
 
 
Documentation/linux_tv/media/v4l/dev-sliced-vbi.rst +3 -3
index d53353afbedf..3692cdf8e756 100644
@@ -57,7 +57,7 @@ Sliced VBI Format Negotiation
 
 To find out which data services are supported by the hardware
 applications can call the
-:ref:`VIDIOC_G_SLICED_VBI_CAP` ioctl.
+:ref:`VIDIOC_G_SLICED_VBI_CAP <VIDIOC_G_SLICED_VBI_CAP>` ioctl.
 All drivers implementing the sliced VBI interface must support this
 ioctl. The results may differ from those of the
 :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` ioctl when the number of VBI
@@ -70,7 +70,7 @@ To determine the currently selected services applications set the
 ``type`` field of struct :ref:`v4l2_format <v4l2-format>` to
 ``V4L2_BUF_TYPE_SLICED_VBI_CAPTURE`` or
 ``V4L2_BUF_TYPE_SLICED_VBI_OUTPUT``, and the
-:ref:`VIDIOC_G_FMT` ioctl fills the ``fmt.sliced``
+:ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>` ioctl fills the ``fmt.sliced``
 member, a struct
 :ref:`v4l2_sliced_vbi_format <v4l2-sliced-vbi-format>`.
 
@@ -432,7 +432,7 @@ the :ref:`VIDIOC_QBUF` ioctl must return an EINVAL
 error code when applications violate this rule. They must also return an
 EINVAL error code when applications pass an incorrect field or line
 number, or a combination of ``field``, ``line`` and ``id`` which has not
-been negotiated with the :ref:`VIDIOC_G_FMT` or
+been negotiated with the :ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>` or
 :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` ioctl. When the line numbers are
 unknown the driver must pass the packets in transmitted order. The
 driver can insert empty packets with ``id`` set to zero anywhere in the
Documentation/linux_tv/media/v4l/diff-v4l.rst +12 -12
index 06fdd877d77d..ee9623b454a4 100644
@@ -204,7 +204,7 @@ introduction.
 
        -  ``-``
 
-       -  Applications can call the :ref:`VIDIOC_G_CROP`
+       -  Applications can call the :ref:`VIDIOC_G_CROP <VIDIOC_G_CROP>`
           ioctl to determine if the device supports capturing a subsection
           of the full picture ("cropping" in V4L2). If not, the ioctl
           returns the EINVAL error code. For more information on cropping
@@ -248,7 +248,7 @@ introduction.
 The ``audios`` field was replaced by ``capabilities`` flag
 ``V4L2_CAP_AUDIO``, indicating *if* the device has any audio inputs or
 outputs. To determine their number applications can enumerate audio
-inputs with the :ref:`VIDIOC_G_AUDIO` ioctl. The
+inputs with the :ref:`VIDIOC_G_AUDIO <VIDIOC_G_AUDIO>` ioctl. The
 audio ioctls are described in :ref:`audio`.
 
 The ``maxwidth``, ``maxheight``, ``minwidth`` and ``minheight`` fields
@@ -265,7 +265,7 @@ V4L provides the ``VIDIOCGCHAN`` and ``VIDIOCSCHAN`` ioctl using struct
 :c:type:`struct video_channel` to enumerate the video inputs of a V4L
 device. The equivalent V4L2 ioctls are
 :ref:`VIDIOC_ENUMINPUT`,
-:ref:`VIDIOC_G_INPUT` and
+:ref:`VIDIOC_G_INPUT <VIDIOC_G_INPUT>` and
 :ref:`VIDIOC_S_INPUT <VIDIOC_G_INPUT>` using struct
 :ref:`v4l2_input <v4l2-input>` as discussed in :ref:`video`.
 
@@ -328,7 +328,7 @@ Tuning
 The V4L ``VIDIOCGTUNER`` and ``VIDIOCSTUNER`` ioctl and struct
 :c:type:`struct video_tuner` can be used to enumerate the tuners of a
 V4L TV or radio device. The equivalent V4L2 ioctls are
-:ref:`VIDIOC_G_TUNER` and
+:ref:`VIDIOC_G_TUNER <VIDIOC_G_TUNER>` and
 :ref:`VIDIOC_S_TUNER <VIDIOC_G_TUNER>` using struct
 :ref:`v4l2_tuner <v4l2-tuner>`. Tuners are covered in :ref:`tuner`.
 
@@ -360,7 +360,7 @@ the struct :ref:`v4l2_tuner <v4l2-tuner>` ``capability`` field.
 
 The ``VIDIOCGFREQ`` and ``VIDIOCSFREQ`` ioctl to change the tuner
 frequency where renamed to
-:ref:`VIDIOC_G_FREQUENCY` and
+:ref:`VIDIOC_G_FREQUENCY <VIDIOC_G_FREQUENCY>` and
 :ref:`VIDIOC_S_FREQUENCY <VIDIOC_G_FREQUENCY>`. They take a pointer
 to a struct :ref:`v4l2_frequency <v4l2-frequency>` instead of an
 unsigned long integer.
@@ -375,7 +375,7 @@ V4L2 has no equivalent of the ``VIDIOCGPICT`` and ``VIDIOCSPICT`` ioctl
 and struct :c:type:`struct video_picture`. The following fields where
 replaced by V4L2 controls accessible with the
 :ref:`VIDIOC_QUERYCTRL`,
-:ref:`VIDIOC_G_CTRL` and
+:ref:`VIDIOC_G_CTRL <VIDIOC_G_CTRL>` and
 :ref:`VIDIOC_S_CTRL <VIDIOC_G_CTRL>` ioctls:
 
 
@@ -554,7 +554,7 @@ Audio
 The ``VIDIOCGAUDIO`` and ``VIDIOCSAUDIO`` ioctl and struct
 :c:type:`struct video_audio` are used to enumerate the audio inputs
 of a V4L device. The equivalent V4L2 ioctls are
-:ref:`VIDIOC_G_AUDIO` and
+:ref:`VIDIOC_G_AUDIO <VIDIOC_G_AUDIO>` and
 :ref:`VIDIOC_S_AUDIO <VIDIOC_G_AUDIO>` using struct
 :ref:`v4l2_audio <v4l2-audio>` as discussed in :ref:`audio`.
 
@@ -577,7 +577,7 @@ stereo input, regardless if the source is a tuner.
 
 The following fields where replaced by V4L2 controls accessible with the
 :ref:`VIDIOC_QUERYCTRL`,
-:ref:`VIDIOC_G_CTRL` and
+:ref:`VIDIOC_G_CTRL <VIDIOC_G_CTRL>` and
 :ref:`VIDIOC_S_CTRL <VIDIOC_G_CTRL>` ioctls:
 
 
@@ -638,7 +638,7 @@ Frame Buffer Overlay
 ====================
 
 The V4L2 ioctls equivalent to ``VIDIOCGFBUF`` and ``VIDIOCSFBUF`` are
-:ref:`VIDIOC_G_FBUF` and
+:ref:`VIDIOC_G_FBUF <VIDIOC_G_FBUF>` and
 :ref:`VIDIOC_S_FBUF <VIDIOC_G_FBUF>`. The ``base`` field of struct
 :c:type:`struct video_buffer` remained unchanged, except V4L2 defines
 a flag to indicate non-destructive overlays instead of a ``NULL``
@@ -650,7 +650,7 @@ list of RGB formats and their respective color depths.
 
 Instead of the special ioctls ``VIDIOCGWIN`` and ``VIDIOCSWIN`` V4L2
 uses the general-purpose data format negotiation ioctls
-:ref:`VIDIOC_G_FMT` and
+:ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>` and
 :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>`. They take a pointer to a struct
 :ref:`v4l2_format <v4l2-format>` as argument. Here the ``win`` member
 of the ``fmt`` union is used, a struct
@@ -687,7 +687,7 @@ Cropping
 To capture only a subsection of the full picture V4L defines the
 ``VIDIOCGCAPTURE`` and ``VIDIOCSCAPTURE`` ioctls using struct
 :c:type:`struct video_capture`. The equivalent V4L2 ioctls are
-:ref:`VIDIOC_G_CROP` and
+:ref:`VIDIOC_G_CROP <VIDIOC_G_CROP>` and
 :ref:`VIDIOC_S_CROP <VIDIOC_G_CROP>` using struct
 :ref:`v4l2_crop <v4l2-crop>`, and the related
 :ref:`VIDIOC_CROPCAP` ioctl. This is a rather
@@ -726,7 +726,7 @@ functions.
 
 To select an image format and size, V4L provides the ``VIDIOCSPICT`` and
 ``VIDIOCSWIN`` ioctls. V4L2 uses the general-purpose data format
-negotiation ioctls :ref:`VIDIOC_G_FMT` and
+negotiation ioctls :ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>` and
 :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>`. They take a pointer to a struct
 :ref:`v4l2_format <v4l2-format>` as argument, here the struct
 :ref:`v4l2_pix_format <v4l2-pix-format>` named ``pix`` of its
Documentation/linux_tv/media/v4l/dv-timings.rst +1 -1
index 4b22b1b0fccb..cde46bc95c79 100644
@@ -29,7 +29,7 @@ device applications use the
 DV timings for the device applications use the
 :ref:`VIDIOC_S_DV_TIMINGS <VIDIOC_G_DV_TIMINGS>` ioctl and to get
 current DV timings they use the
-:ref:`VIDIOC_G_DV_TIMINGS` ioctl. To detect
+:ref:`VIDIOC_G_DV_TIMINGS <VIDIOC_G_DV_TIMINGS>` ioctl. To detect
 the DV timings as seen by the video receiver applications use the
 :ref:`VIDIOC_QUERY_DV_TIMINGS` ioctl.
 
Documentation/linux_tv/media/v4l/extended-controls.rst +2 -2
index 9a10edc50fa0..38b85d7b1022 100644
@@ -39,11 +39,11 @@ The Extended Control API
 ========================
 
 Three new ioctls are available:
-:ref:`VIDIOC_G_EXT_CTRLS`,
+:ref:`VIDIOC_G_EXT_CTRLS <VIDIOC_G_EXT_CTRLS>`,
 :ref:`VIDIOC_S_EXT_CTRLS <VIDIOC_G_EXT_CTRLS>` and
 :ref:`VIDIOC_TRY_EXT_CTRLS <VIDIOC_G_EXT_CTRLS>`. These ioctls act
 on arrays of controls (as opposed to the
-:ref:`VIDIOC_G_CTRL` and
+:ref:`VIDIOC_G_CTRL <VIDIOC_G_CTRL>` and
 :ref:`VIDIOC_S_CTRL <VIDIOC_G_CTRL>` ioctls that act on a single
 control). This is needed since it is often required to atomically change
 several controls at once.
Documentation/linux_tv/media/v4l/format.rst +2 -2
index 0184b5931709..e9b1201fe316 100644
@@ -23,7 +23,7 @@ current selection.
 
 A single mechanism exists to negotiate all data formats using the
 aggregate struct :ref:`v4l2_format <v4l2-format>` and the
-:ref:`VIDIOC_G_FMT` and
+:ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>` and
 :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` ioctls. Additionally the
 :ref:`VIDIOC_TRY_FMT <VIDIOC_G_FMT>` ioctl can be used to examine
 what the hardware *could* do, without actually selecting a new data
@@ -64,7 +64,7 @@ earlier versions of V4L2. Switching the logical stream or returning into
 *may* support a switch using :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>`.
 
 All drivers exchanging data with applications must support the
-:ref:`VIDIOC_G_FMT` and :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` ioctl. Implementation of the
+:ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>` and :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` ioctl. Implementation of the
 :ref:`VIDIOC_TRY_FMT <VIDIOC_G_FMT>` is highly recommended but optional.
 
 
Documentation/linux_tv/media/v4l/func-read.rst +1 -1
index 0eae26288189..497bc9a9dd5a 100644
@@ -85,7 +85,7 @@ enough. Again, the behavior when the driver runs out of free buffers
 depends on the discarding policy.
 
 Applications can get and set the number of buffers used internally by
-the driver with the :ref:`VIDIOC_G_PARM` and
+the driver with the :ref:`VIDIOC_G_PARM <VIDIOC_G_PARM>` and
 :ref:`VIDIOC_S_PARM <VIDIOC_G_PARM>` ioctls. They are optional,
 however. The discarding policy is not reported and cannot be changed.
 For minimum requirements see :ref:`devices`.
Documentation/linux_tv/media/v4l/hist-v4l2.rst +14 -14
index 4bd621b3aa03..bb115a0f2427 100644
@@ -40,7 +40,7 @@ enumerable.
 :c:type:`struct video_standard` and the color subcarrier fields were
 renamed. The :ref:`VIDIOC_QUERYSTD` ioctl was
 renamed to :ref:`VIDIOC_ENUMSTD`,
-:ref:`VIDIOC_G_INPUT` to
+:ref:`VIDIOC_G_INPUT <VIDIOC_G_INPUT>` to
 :ref:`VIDIOC_ENUMINPUT`. A first draft of the
 Codec API was released.
 
@@ -52,7 +52,7 @@ material changes to struct :ref:`v4l2_capability <v4l2-capability>`.
 1998-11-14: ``V4L2_PIX_FMT_RGB24`` changed to ``V4L2_PIX_FMT_BGR24``,
 and ``V4L2_PIX_FMT_RGB32`` changed to ``V4L2_PIX_FMT_BGR32``. Audio
 controls are now accessible with the
-:ref:`VIDIOC_G_CTRL` and
+:ref:`VIDIOC_G_CTRL <VIDIOC_G_CTRL>` and
 :ref:`VIDIOC_S_CTRL <VIDIOC_G_CTRL>` ioctls under names starting
 with ``V4L2_CID_AUDIO``. The ``V4L2_MAJOR`` define was removed from
 ``videodev.h`` since it was only used once in the ``videodev`` kernel
@@ -142,7 +142,7 @@ common Linux driver API conventions.
        int a = V4L2_XXX; err = ioctl(fd, VIDIOC_XXX, &a);
 
 4. All the different get- and set-format commands were swept into one
-   :ref:`VIDIOC_G_FMT` and
+   :ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>` and
    :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` ioctl taking a union and a
    type field selecting the union member as parameter. Purpose is to
    simplify the API by eliminating several ioctls and to allow new and
@@ -246,13 +246,13 @@ correctly through the backward compatibility layer. [Solution?]
 2001-04-13: Big endian 16-bit RGB formats were added.
 
 2001-09-17: New YUV formats and the
-:ref:`VIDIOC_G_FREQUENCY` and
+:ref:`VIDIOC_G_FREQUENCY <VIDIOC_G_FREQUENCY>` and
 :ref:`VIDIOC_S_FREQUENCY <VIDIOC_G_FREQUENCY>` ioctls were added.
 (The old ``VIDIOC_G_FREQ`` and ``VIDIOC_S_FREQ`` ioctls did not take
 multiple tuners into account.)
 
 2000-09-18: ``V4L2_BUF_TYPE_VBI`` was added. This may *break
-compatibility* as the :ref:`VIDIOC_G_FMT` and
+compatibility* as the :ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>` and
 :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` ioctls may fail now if the struct
 :c:type:`struct v4l2_fmt` ``type`` field does not contain
 ``V4L2_BUF_TYPE_VBI``. In the documentation of the struct
@@ -401,7 +401,7 @@ This unnamed version was finally merged into Linux 2.5.46.
     supported standards with an ioctl applications can now refer to
     standards by :ref:`v4l2_std_id <v4l2-std-id>` and symbols
     defined in the ``videodev2.h`` header file. For details see
-    :ref:`standard`. The :ref:`VIDIOC_G_STD` and
+    :ref:`standard`. The :ref:`VIDIOC_G_STD <VIDIOC_G_STD>` and
     :ref:`VIDIOC_S_STD <VIDIOC_G_STD>` now take a pointer to this
     type as argument. :ref:`VIDIOC_QUERYSTD` was
     added to autodetect the received standard, if the hardware has this
@@ -716,14 +716,14 @@ V4L2 2003-06-19
 
 3. The audio input and output interface was found to be incomplete.
 
-   Previously the :ref:`VIDIOC_G_AUDIO` ioctl would
+   Previously the :ref:`VIDIOC_G_AUDIO <VIDIOC_G_AUDIO>` ioctl would
    enumerate the available audio inputs. An ioctl to determine the
    current audio input, if more than one combines with the current video
    input, did not exist. So ``VIDIOC_G_AUDIO`` was renamed to
    ``VIDIOC_G_AUDIO_OLD``, this ioctl was removed on Kernel 2.6.39. The
    :ref:`VIDIOC_ENUMAUDIO` ioctl was added to
    enumerate audio inputs, while
-   :ref:`VIDIOC_G_AUDIO` now reports the current
+   :ref:`VIDIOC_G_AUDIO <VIDIOC_G_AUDIO>` now reports the current
    audio input.
 
    The same changes were made to
@@ -940,7 +940,7 @@ V4L2 in Linux 2.6.17
 2. A new ``V4L2_TUNER_MODE_LANG1_LANG2`` was defined to record both
    languages of a bilingual program. The use of
    ``V4L2_TUNER_MODE_STEREO`` for this purpose is deprecated now. See
-   the :ref:`VIDIOC_G_TUNER` section for details.
+   the :ref:`VIDIOC_G_TUNER <VIDIOC_G_TUNER>` section for details.
 
 
 V4L2 spec erratum 2006-09-23 (Draft 0.15)
@@ -950,13 +950,13 @@ V4L2 spec erratum 2006-09-23 (Draft 0.15)
    ``V4L2_BUF_TYPE_SLICED_VBI_OUTPUT`` of the sliced VBI interface were
    not mentioned along with other buffer types.
 
-2. In :ref:`VIDIOC_G_AUDIO` it was clarified that the struct
+2. In :ref:`VIDIOC_G_AUDIO <VIDIOC_G_AUDIO>` it was clarified that the struct
    :ref:`v4l2_audio <v4l2-audio>` ``mode`` field is a flags field.
 
 3. :ref:`VIDIOC_QUERYCAP` did not mention the sliced VBI and radio
    capability flags.
 
-4. In :ref:`VIDIOC_G_FREQUENCY` it was clarified that applications
+4. In :ref:`VIDIOC_G_FREQUENCY <VIDIOC_G_FREQUENCY>` it was clarified that applications
    must initialize the tuner ``type`` field of struct
    :ref:`v4l2_frequency <v4l2-frequency>` before calling
    :ref:`VIDIOC_S_FREQUENCY <VIDIOC_G_FREQUENCY>`.
@@ -976,7 +976,7 @@ V4L2 spec erratum 2006-09-23 (Draft 0.15)
 V4L2 in Linux 2.6.18
 ====================
 
-1. New ioctls :ref:`VIDIOC_G_EXT_CTRLS`,
+1. New ioctls :ref:`VIDIOC_G_EXT_CTRLS <VIDIOC_G_EXT_CTRLS>`,
    :ref:`VIDIOC_S_EXT_CTRLS <VIDIOC_G_EXT_CTRLS>` and
    :ref:`VIDIOC_TRY_EXT_CTRLS <VIDIOC_G_EXT_CTRLS>` were added, a
    flag to skip unsupported controls with
@@ -995,7 +995,7 @@ V4L2 in Linux 2.6.19
    buffer type field was added replacing a reserved field. Note on
    architectures where the size of enum types differs from int types the
    size of the structure changed. The
-   :ref:`VIDIOC_G_SLICED_VBI_CAP` ioctl
+   :ref:`VIDIOC_G_SLICED_VBI_CAP <VIDIOC_G_SLICED_VBI_CAP>` ioctl
    was redefined from being read-only to write-read. Applications must
    initialize the type field and clear the reserved fields now. These
    changes may *break the compatibility* with older drivers and
@@ -1034,7 +1034,7 @@ V4L2 in Linux 2.6.22
 
 2. Three new clipping/blending methods with a global or straight or
    inverted local alpha value were added to the video overlay interface.
-   See the description of the :ref:`VIDIOC_G_FBUF`
+   See the description of the :ref:`VIDIOC_G_FBUF <VIDIOC_G_FBUF>`
    and :ref:`VIDIOC_S_FBUF <VIDIOC_G_FBUF>` ioctls for details.
 
    A new ``global_alpha`` field was added to
Documentation/linux_tv/media/v4l/libv4l-introduction.rst +1 -1
index bc3eb48e1d9f..b8d247dc236d 100644
@@ -92,7 +92,7 @@ and to enhance the image quality.
 In most cases, libv4l2 just passes the calls directly through to the
 v4l2 driver, intercepting the calls to
 :ref:`VIDIOC_TRY_FMT <VIDIOC_G_FMT>`,
-:ref:`VIDIOC_G_FMT`
+:ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>`
 :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>`
 :ref:`VIDIOC_ENUM_FRAMESIZES` and
 :ref:`VIDIOC_ENUM_FRAMEINTERVALS` in
Documentation/linux_tv/media/v4l/pixfmt-013.rst +1 -1
index 7584cb2e5702..b3cb7c48eb74 100644
@@ -27,7 +27,7 @@ Compressed Formats
 
        -  'JPEG'
 
-       -  TBD. See also :ref:`VIDIOC_G_JPEGCOMP`,
+       -  TBD. See also :ref:`VIDIOC_G_JPEGCOMP <VIDIOC_G_JPEGCOMP>`,
           :ref:`VIDIOC_S_JPEGCOMP <VIDIOC_G_JPEGCOMP>`.
 
     -  .. _`V4L2-PIX-FMT-MPEG`:
Documentation/linux_tv/media/v4l/pixfmt.rst +1 -1
index b0e6a95a7205..f2c599aaa502 100644
@@ -13,7 +13,7 @@ single-planar API, while the latter is used with the multi-planar
 version (see :ref:`planar-apis`). Image formats are negotiated with
 the :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` ioctl. (The explanations here
 focus on video capturing and output, for overlay frame buffer formats
-see also :ref:`VIDIOC_G_FBUF`.)
+see also :ref:`VIDIOC_G_FBUF <VIDIOC_G_FBUF>`.)
 
 
 .. toctree::
Documentation/linux_tv/media/v4l/planar-apis.rst +1 -1
index 0546210f868f..cf078650a0a8 100644
@@ -44,7 +44,7 @@ Calls that distinguish between single and multi-planar APIs
     together with non-multi-planar ones for devices that handle both
     single- and multi-planar formats.
 
-:ref:`VIDIOC_G_FMT`,
+:ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>`,
 :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>`,
 :ref:`VIDIOC_TRY_FMT <VIDIOC_G_FMT>`
     New structures for describing multi-planar formats are added: struct
Documentation/linux_tv/media/v4l/standard.rst +2 -2
index ec39b2b39e67..20c0d044a129 100644
@@ -36,7 +36,7 @@ Composite input may collapse standards, enumerating "PAL-B/G/H/I",
 "NTSC-M" and "SECAM-D/K". [1]_
 
 To query and select the standard used by the current video input or
-output applications call the :ref:`VIDIOC_G_STD` and
+output applications call the :ref:`VIDIOC_G_STD <VIDIOC_G_STD>` and
 :ref:`VIDIOC_S_STD <VIDIOC_G_STD>` ioctl, respectively. The
 *received* standard can be sensed with the
 :ref:`VIDIOC_QUERYSTD` ioctl. Note that the
@@ -56,7 +56,7 @@ output device which is:
 
 Here the driver shall set the ``std`` field of struct
 :ref:`v4l2_input <v4l2-input>` and struct
-:ref:`v4l2_output <v4l2-output>` to zero and the :ref:`VIDIOC_G_STD`,
+:ref:`v4l2_output <v4l2-output>` to zero and the :ref:`VIDIOC_G_STD <VIDIOC_G_STD>`,
 :ref:`VIDIOC_S_STD <VIDIOC_G_STD>`, :ref:`VIDIOC_QUERYSTD` and :ref:`VIDIOC_ENUMSTD` ioctls
 shall return the ENOTTY error code or the EINVAL error code.
 
Documentation/linux_tv/media/v4l/streaming-par.rst +1 -1
index 10420478a3b0..bb8100b6ef87 100644
@@ -23,7 +23,7 @@ internally by a driver in read/write mode. For implications see the
 section discussing the :ref:`read() <func-read>` function.
 
 To get and set the streaming parameters applications call the
-:ref:`VIDIOC_G_PARM` and
+:ref:`VIDIOC_G_PARM <VIDIOC_G_PARM>` and
 :ref:`VIDIOC_S_PARM <VIDIOC_G_PARM>` ioctl, respectively. They take
 a pointer to a struct :ref:`v4l2_streamparm <v4l2-streamparm>`, which
 contains a union holding separate parameters for input and output
Documentation/linux_tv/media/v4l/tuner.rst +4 -4
index 67f4e24709b5..9c98e4f64c85 100644
@@ -22,9 +22,9 @@ Radio input devices have exactly one tuner with index zero, no video
 inputs.
 
 To query and change tuner properties applications use the
-:ref:`VIDIOC_G_TUNER` and
+:ref:`VIDIOC_G_TUNER <VIDIOC_G_TUNER>` and
 :ref:`VIDIOC_S_TUNER <VIDIOC_G_TUNER>` ioctls, respectively. The
-struct :ref:`v4l2_tuner <v4l2-tuner>` returned by :ref:`VIDIOC_G_TUNER`
+struct :ref:`v4l2_tuner <v4l2-tuner>` returned by :ref:`VIDIOC_G_TUNER <VIDIOC_G_TUNER>`
 also contains signal status information applicable when the tuner of the
 current video or radio input is queried. Note that :ref:`VIDIOC_S_TUNER <VIDIOC_G_TUNER>`
 does not switch the current tuner, when there is more than one at all.
@@ -59,7 +59,7 @@ functionality. The reason is a limitation with the
 cannot specify whether the frequency is for a tuner or a modulator.
 
 To query and change modulator properties applications use the
-:ref:`VIDIOC_G_MODULATOR` and
+:ref:`VIDIOC_G_MODULATOR <VIDIOC_G_MODULATOR>` and
 :ref:`VIDIOC_S_MODULATOR <VIDIOC_G_MODULATOR>` ioctl. Note that
 :ref:`VIDIOC_S_MODULATOR <VIDIOC_G_MODULATOR>` does not switch the current modulator, when there
 is more than one at all. The modulator is solely determined by the
@@ -74,7 +74,7 @@ Radio Frequency
 ===============
 
 To get and set the tuner or modulator radio frequency applications use
-the :ref:`VIDIOC_G_FREQUENCY` and
+the :ref:`VIDIOC_G_FREQUENCY <VIDIOC_G_FREQUENCY>` and
 :ref:`VIDIOC_S_FREQUENCY <VIDIOC_G_FREQUENCY>` ioctl which both take
 a pointer to a struct :ref:`v4l2_frequency <v4l2-frequency>`. These
 ioctls are used for TV and radio devices alike. Drivers must support
Documentation/linux_tv/media/v4l/video.rst +2 -2
index 9f2dc4ee4fcd..8e10ecc27123 100644
@@ -20,8 +20,8 @@ struct :ref:`v4l2_input <v4l2-input>` returned by the
 :ref:`VIDIOC_ENUMINPUT` ioctl also contains signal
 :status information applicable when the current video input is queried.
 
-The :ref:`VIDIOC_G_INPUT` and
-:ref:`VIDIOC_G_OUTPUT` ioctls return the index of
+The :ref:`VIDIOC_G_INPUT <VIDIOC_G_INPUT>` and
+:ref:`VIDIOC_G_OUTPUT <VIDIOC_G_OUTPUT>` ioctls return the index of
 the current video input or output. To select a different input or output
 applications call the :ref:`VIDIOC_S_INPUT <VIDIOC_G_INPUT>` and
 :ref:`VIDIOC_S_OUTPUT <VIDIOC_G_OUTPUT>` ioctls. Drivers must
Documentation/linux_tv/media/v4l/vidioc-create-bufs.rst +1 -1
index d269eab4d2b6..53db867aa9db 100644
@@ -48,7 +48,7 @@ The ``format`` field specifies the image format that the buffers must be
 able to handle. The application has to fill in this struct
 :ref:`v4l2_format <v4l2-format>`. Usually this will be done using the
 :ref:`VIDIOC_TRY_FMT <VIDIOC_G_FMT>` or
-:ref:`VIDIOC_G_FMT` ioctls to ensure that the
+:ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>` ioctls to ensure that the
 requested format is supported by the driver. Based on the format's
 ``type`` field the requested buffer size (for single-planar) or plane
 sizes (for multi-planar formats) will be used for the allocated buffers.
Documentation/linux_tv/media/v4l/vidioc-enumaudio.rst +1 -1
index 0fc0c3eeae5f..8ae7b8bd9333 100644
@@ -39,7 +39,7 @@ structure or return an EINVAL error code when the index is out of
 bounds. To enumerate all audio inputs applications shall begin at index
 zero, incrementing by one until the driver returns EINVAL.
 
-See :ref:`VIDIOC_G_AUDIO` for a description of struct
+See :ref:`VIDIOC_G_AUDIO <VIDIOC_G_AUDIO>` for a description of struct
 :ref:`v4l2_audio <v4l2-audio>`.
 
 
Documentation/linux_tv/media/v4l/vidioc-enumaudioout.rst +1 -1
index 29735eddac5d..0e45f41fa608 100644
@@ -42,7 +42,7 @@ zero, incrementing by one until the driver returns EINVAL.
 Note connectors on a TV card to loop back the received audio signal to a
 sound card are not audio outputs in this sense.
 
-See :ref:`VIDIOC_G_AUDIOout` for a description of struct
+See :ref:`VIDIOC_G_AUDIOout <VIDIOC_G_AUDIOout>` for a description of struct
 :ref:`v4l2_audioout <v4l2-audioout>`.
 
 
Documentation/linux_tv/media/v4l/vidioc-enumstd.rst +1 -1
index e292b7d50cc3..03353b92449a 100644
@@ -401,7 +401,7 @@ ENODATA
 
 .. [1]
    The supported standards may overlap and we need an unambiguous set to
-   find the current standard returned by :ref:`VIDIOC_G_STD`.
+   find the current standard returned by :ref:`VIDIOC_G_STD <VIDIOC_G_STD>`.
 
 .. [2]
    Japan uses a standard similar to M/NTSC (V4L2_STD_NTSC_M_JP).
Documentation/linux_tv/media/v4l/vidioc-g-audio.rst +1 -1
index be8899d87e33..4b79523bfbab 100644
@@ -36,7 +36,7 @@ Description
 
 To query the current audio input applications zero out the ``reserved``
 array of a struct :ref:`v4l2_audio <v4l2-audio>` and call the
-:ref:`VIDIOC_G_AUDIO` ioctl with a pointer to this structure. Drivers fill
+:ref:`VIDIOC_G_AUDIO <VIDIOC_G_AUDIO>` ioctl with a pointer to this structure. Drivers fill
 the rest of the structure or return an EINVAL error code when the device
 has no audio inputs, or none which combine with the current video input.
 
Documentation/linux_tv/media/v4l/vidioc-g-crop.rst +2 -2
index 0a9ede92bc9f..b0503710c2dd 100644
@@ -36,7 +36,7 @@ Description
 
 To query the cropping rectangle size and position applications set the
 ``type`` field of a :c:type:`struct v4l2_crop` structure to the
-respective buffer (stream) type and call the :ref:`VIDIOC_G_CROP` ioctl
+respective buffer (stream) type and call the :ref:`VIDIOC_G_CROP <VIDIOC_G_CROP>` ioctl
 with a pointer to this structure. The driver fills the rest of the
 structure or returns the EINVAL error code if cropping is not supported.
 
@@ -66,7 +66,7 @@ vertical scaling factor.
 Finally the driver programs the hardware with the actual cropping and
 image parameters. :ref:`VIDIOC_S_CROP <VIDIOC_G_CROP>` is a write-only ioctl, it does not
 return the actual parameters. To query them applications must call
-:ref:`VIDIOC_G_CROP` and :ref:`VIDIOC_G_FMT`. When the
+:ref:`VIDIOC_G_CROP <VIDIOC_G_CROP>` and :ref:`VIDIOC_G_FMT`. When the
 parameters are unsuitable the application may modify the cropping or
 image parameters and repeat the cycle until satisfactory parameters have
 been negotiated.
Documentation/linux_tv/media/v4l/vidioc-g-ctrl.rst +2 -2
index 41561c5e444d..55bb8ae9be10 100644
@@ -34,7 +34,7 @@ Description
 
 To get the current value of a control applications initialize the ``id``
 field of a struct :c:type:`struct v4l2_control` and call the
-:ref:`VIDIOC_G_CTRL` ioctl with a pointer to this structure. To change the
+:ref:`VIDIOC_G_CTRL <VIDIOC_G_CTRL>` ioctl with a pointer to this structure. To change the
 value of a control applications initialize the ``id`` and ``value``
 fields of a struct :c:type:`struct v4l2_control` and call the
 :ref:`VIDIOC_S_CTRL <VIDIOC_G_CTRL>` ioctl.
@@ -48,7 +48,7 @@ actual new value. If the ``value`` is inappropriate for the control
 EINVAL error code is returned as well.
 
 These ioctls work only with user controls. For other control classes the
-:ref:`VIDIOC_G_EXT_CTRLS`,
+:ref:`VIDIOC_G_EXT_CTRLS <VIDIOC_G_EXT_CTRLS>`,
 :ref:`VIDIOC_S_EXT_CTRLS <VIDIOC_G_EXT_CTRLS>` or
 :ref:`VIDIOC_TRY_EXT_CTRLS <VIDIOC_G_EXT_CTRLS>` must be used.
 
Documentation/linux_tv/media/v4l/vidioc-g-dv-timings.rst +1 -1
index cc7cf06e74ee..43734bb649c5 100644
@@ -37,7 +37,7 @@ Description
 
 To set DV timings for the input or output, applications use the
 :ref:`VIDIOC_S_DV_TIMINGS <VIDIOC_G_DV_TIMINGS>` ioctl and to get the current timings,
-applications use the :ref:`VIDIOC_G_DV_TIMINGS` ioctl. The detailed timing
+applications use the :ref:`VIDIOC_G_DV_TIMINGS <VIDIOC_G_DV_TIMINGS>` ioctl. The detailed timing
 information is filled in using the structure struct
 :ref:`v4l2_dv_timings <v4l2-dv-timings>`. These ioctls take a
 pointer to the struct :ref:`v4l2_dv_timings <v4l2-dv-timings>`
Documentation/linux_tv/media/v4l/vidioc-g-edid.rst +2 -2
index a1311a52b8fa..d6ccae92e107 100644
@@ -52,7 +52,7 @@ value, then the EINVAL error code will be returned.
 
 To get the EDID data the application has to fill in the ``pad``,
 ``start_block``, ``blocks`` and ``edid`` fields, zero the ``reserved``
-array and call :ref:`VIDIOC_G_EDID`. The current EDID from block
+array and call :ref:`VIDIOC_G_EDID <VIDIOC_G_EDID>`. The current EDID from block
 ``start_block`` and of size ``blocks`` will be placed in the memory
 ``edid`` points to. The ``edid`` pointer must point to memory at least
 ``blocks`` * 128 bytes large (the size of one block is 128 bytes).
@@ -65,7 +65,7 @@ If blocks have to be retrieved from the sink, then this call will block
 until they have been read.
 
 If ``start_block`` and ``blocks`` are both set to 0 when
-:ref:`VIDIOC_G_EDID` is called, then the driver will set ``blocks`` to the
+:ref:`VIDIOC_G_EDID <VIDIOC_G_EDID>` is called, then the driver will set ``blocks`` to the
 total number of available EDID blocks and it will return 0 without
 copying any data. This is an easy way to discover how many EDID blocks
 there are. Note that if there are no EDID blocks available at all, then
Documentation/linux_tv/media/v4l/vidioc-g-enc-index.rst +3 -3
index 77c7eff9732d..c22907cddfac 100644
@@ -31,19 +31,19 @@ Arguments
 Description
 ===========
 
-The :ref:`VIDIOC_G_ENC_INDEX` ioctl provides meta data about a compressed
+The :ref:`VIDIOC_G_ENC_INDEX <VIDIOC_G_ENC_INDEX>` ioctl provides meta data about a compressed
 video stream the same or another application currently reads from the
 driver, which is useful for random access into the stream without
 decoding it.
 
-To read the data applications must call :ref:`VIDIOC_G_ENC_INDEX` with a
+To read the data applications must call :ref:`VIDIOC_G_ENC_INDEX <VIDIOC_G_ENC_INDEX>` with a
 pointer to a struct :ref:`v4l2_enc_idx <v4l2-enc-idx>`. On success
 the driver fills the ``entry`` array, stores the number of elements
 written in the ``entries`` field, and initializes the ``entries_cap``
 field.
 
 Each element of the ``entry`` array contains meta data about one
-picture. A :ref:`VIDIOC_G_ENC_INDEX` call reads up to
+picture. A :ref:`VIDIOC_G_ENC_INDEX <VIDIOC_G_ENC_INDEX>` call reads up to
 ``V4L2_ENC_IDX_ENTRIES`` entries from a driver buffer, which can hold up
 to ``entries_cap`` entries. This number can be lower or higher than
 ``V4L2_ENC_IDX_ENTRIES``, but not zero. When the application fails to
Documentation/linux_tv/media/v4l/vidioc-g-ext-ctrls.rst +4 -4
index fb62cd0a991c..040deef04f7d 100644
@@ -48,7 +48,7 @@ by the ``controls`` fields.
 To get the current value of a set of controls applications initialize
 the ``id``, ``size`` and ``reserved2`` fields of each struct
 :ref:`v4l2_ext_control <v4l2-ext-control>` and call the
-:ref:`VIDIOC_G_EXT_CTRLS` ioctl. String controls controls must also set the
+:ref:`VIDIOC_G_EXT_CTRLS <VIDIOC_G_EXT_CTRLS>` ioctl. String controls controls must also set the
 ``string`` field. Controls of compound types
 (``V4L2_CTRL_FLAG_HAS_PAYLOAD`` is set) must set the ``ptr`` field.
 
@@ -122,7 +122,7 @@ still cause this situation.
        -  The total size in bytes of the payload of this control. This is
           normally 0, but for pointer controls this should be set to the
           size of the memory containing the payload, or that will receive
-          the payload. If :ref:`VIDIOC_G_EXT_CTRLS` finds that this value is
+          the payload. If :ref:`VIDIOC_G_EXT_CTRLS <VIDIOC_G_EXT_CTRLS>` finds that this value is
           less than is required to store the payload result, then it is set
           to a value large enough to store the payload result and ENOSPC is
           returned. Note that for string controls this ``size`` field should
@@ -328,7 +328,7 @@ still cause this situation.
           :ref:`VIDIOC_S_EXT_CTRLS <VIDIOC_G_EXT_CTRLS>` fails with ``error_idx`` set to ``count``,
           then you can call :ref:`VIDIOC_TRY_EXT_CTRLS <VIDIOC_G_EXT_CTRLS>` to try to discover the
           actual control that failed the validation step. Unfortunately,
-          there is no ``TRY`` equivalent for :ref:`VIDIOC_G_EXT_CTRLS`.
+          there is no ``TRY`` equivalent for :ref:`VIDIOC_G_EXT_CTRLS <VIDIOC_G_EXT_CTRLS>`.
 
     -  .. row 6
 
@@ -367,7 +367,7 @@ still cause this situation.
        -  The class containing user controls. These controls are described
           in :ref:`control`. All controls that can be set using the
           :ref:`VIDIOC_S_CTRL <VIDIOC_G_CTRL>` and
-          :ref:`VIDIOC_G_CTRL` ioctl belong to this
+          :ref:`VIDIOC_G_CTRL <VIDIOC_G_CTRL>` ioctl belong to this
           class.
 
     -  .. row 2
Documentation/linux_tv/media/v4l/vidioc-g-fbuf.rst +4 -4
index e622e2f2435c..dbc68cfc608a 100644
@@ -34,7 +34,7 @@ Arguments
 Description
 ===========
 
-Applications can use the :ref:`VIDIOC_G_FBUF` and :ref:`VIDIOC_S_FBUF <VIDIOC_G_FBUF>` ioctl
+Applications can use the :ref:`VIDIOC_G_FBUF <VIDIOC_G_FBUF>` and :ref:`VIDIOC_S_FBUF <VIDIOC_G_FBUF>` ioctl
 to get and set the framebuffer parameters for a
 :ref:`Video Overlay <overlay>` or :ref:`Video Output Overlay <osd>`
 (OSD). The type of overlay is implied by the device type (capture or
@@ -48,7 +48,7 @@ of a graphics card. A non-destructive overlay blends video images into a
 VGA signal or graphics into a video signal. *Video Output Overlays* are
 always non-destructive.
 
-To get the current parameters applications call the :ref:`VIDIOC_G_FBUF`
+To get the current parameters applications call the :ref:`VIDIOC_G_FBUF <VIDIOC_G_FBUF>`
 ioctl with a pointer to a :c:type:`struct v4l2_framebuffer`
 structure. The driver fills all fields of the structure or returns an
 EINVAL error code when overlays are not supported.
@@ -59,13 +59,13 @@ initialize the ``flags`` field of a struct
 implemented on the TV card all other parameters are determined by the
 driver. When an application calls :ref:`VIDIOC_S_FBUF <VIDIOC_G_FBUF>` with a pointer to
 this structure, the driver prepares for the overlay and returns the
-framebuffer parameters as :ref:`VIDIOC_G_FBUF` does, or it returns an error
+framebuffer parameters as :ref:`VIDIOC_G_FBUF <VIDIOC_G_FBUF>` does, or it returns an error
 code.
 
 To set the parameters for a *non-destructive Video Overlay*,
 applications must initialize the ``flags`` field, the ``fmt``
 substructure, and call :ref:`VIDIOC_S_FBUF <VIDIOC_G_FBUF>`. Again the driver prepares for
-the overlay and returns the framebuffer parameters as :ref:`VIDIOC_G_FBUF`
+the overlay and returns the framebuffer parameters as :ref:`VIDIOC_G_FBUF <VIDIOC_G_FBUF>`
 does, or it returns an error code.
 
 For a *destructive Video Overlay* applications must additionally provide
Documentation/linux_tv/media/v4l/vidioc-g-fmt.rst +3 -3
index 8c07fe2454e2..3ac4fb764a7e 100644
@@ -41,7 +41,7 @@ struct :c:type:`struct v4l2_format` to the respective buffer (stream)
 type. For example video capture devices use
 ``V4L2_BUF_TYPE_VIDEO_CAPTURE`` or
 ``V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE``. When the application calls the
-:ref:`VIDIOC_G_FMT` ioctl with a pointer to this structure the driver fills
+:ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>` ioctl with a pointer to this structure the driver fills
 the respective member of the ``fmt`` union. In case of video capture
 devices that is either the struct
 :ref:`v4l2_pix_format <v4l2-pix-format>` ``pix`` or the struct
@@ -62,10 +62,10 @@ this is a mechanism to fathom device capabilities and to approach
 parameters acceptable for both the application and driver. On success
 the driver may program the hardware, allocate resources and generally
 prepare for data exchange. Finally the :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` ioctl returns
-the current format parameters as :ref:`VIDIOC_G_FMT` does. Very simple,
+the current format parameters as :ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>` does. Very simple,
 inflexible devices may even ignore all input and always return the
 default parameters. However all V4L2 devices exchanging data with the
-application must implement the :ref:`VIDIOC_G_FMT` and :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>`
+application must implement the :ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>` and :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>`
 ioctl. When the requested buffer type is not supported drivers return an
 EINVAL error code on a :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` attempt. When I/O is already in
 progress or the resource is not available for other reasons drivers
Documentation/linux_tv/media/v4l/vidioc-g-frequency.rst +1 -1
index 19a5ae9c4bcd..b187f1345bb4 100644
@@ -39,7 +39,7 @@ the ``tuner`` field of a struct
 :ref:`v4l2_frequency <v4l2-frequency>` to the respective tuner or
 modulator number (only input devices have tuners, only output devices
 have modulators), zero out the ``reserved`` array and call the
-:ref:`VIDIOC_G_FREQUENCY` ioctl with a pointer to this structure. The
+:ref:`VIDIOC_G_FREQUENCY <VIDIOC_G_FREQUENCY>` ioctl with a pointer to this structure. The
 driver stores the current frequency in the ``frequency`` field.
 
 To change the current tuner or modulator radio frequency applications
Documentation/linux_tv/media/v4l/vidioc-g-input.rst +1 -1
index 2bcaa324aa33..bb5944449650 100644
@@ -33,7 +33,7 @@ Description
 ===========
 
 To query the current video input applications call the
-:ref:`VIDIOC_G_INPUT` ioctl with a pointer to an integer where the driver
+:ref:`VIDIOC_G_INPUT <VIDIOC_G_INPUT>` ioctl with a pointer to an integer where the driver
 stores the number of the input, as in the struct
 :ref:`v4l2_input <v4l2-input>` ``index`` field. This ioctl will fail
 only when there are no video inputs, returning EINVAL.
Documentation/linux_tv/media/v4l/vidioc-g-modulator.rst +1 -1
index 83e761eaef2b..913b7d96faba 100644
@@ -37,7 +37,7 @@ Description
 To query the attributes of a modulator applications initialize the
 ``index`` field and zero out the ``reserved`` array of a struct
 :ref:`v4l2_modulator <v4l2-modulator>` and call the
-:ref:`VIDIOC_G_MODULATOR` ioctl with a pointer to this structure. Drivers
+:ref:`VIDIOC_G_MODULATOR <VIDIOC_G_MODULATOR>` ioctl with a pointer to this structure. Drivers
 fill the rest of the structure or return an EINVAL error code when the
 index is out of bounds. To enumerate all modulators applications shall
 begin at index zero, incrementing by one until the driver returns
Documentation/linux_tv/media/v4l/vidioc-g-output.rst +1 -1
index ebed04ae48da..e48bf39cfa10 100644
@@ -33,7 +33,7 @@ Description
 ===========
 
 To query the current video output applications call the
-:ref:`VIDIOC_G_OUTPUT` ioctl with a pointer to an integer where the driver
+:ref:`VIDIOC_G_OUTPUT <VIDIOC_G_OUTPUT>` ioctl with a pointer to an integer where the driver
 stores the number of the output, as in the struct
 :ref:`v4l2_output <v4l2-output>` ``index`` field. This ioctl will
 fail only when there are no video outputs, returning the EINVAL error
Documentation/linux_tv/media/v4l/vidioc-g-parm.rst +1 -1
index 906faaa85bfa..0567fce18144 100644
@@ -44,7 +44,7 @@ internally by a driver in read/write mode. For implications see the
 section discussing the :ref:`read() <func-read>` function.
 
 To get and set the streaming parameters applications call the
-:ref:`VIDIOC_G_PARM` and :ref:`VIDIOC_S_PARM <VIDIOC_G_PARM>` ioctl, respectively. They take a
+:ref:`VIDIOC_G_PARM <VIDIOC_G_PARM>` and :ref:`VIDIOC_S_PARM <VIDIOC_G_PARM>` ioctl, respectively. They take a
 pointer to a struct :c:type:`struct v4l2_streamparm` which contains a
 union holding separate parameters for input and output devices.
 
Documentation/linux_tv/media/v4l/vidioc-g-priority.rst +1 -1
index db95647d3a80..b241970c8aee 100644
@@ -36,7 +36,7 @@ Description
 ===========
 
 To query the current access priority applications call the
-:ref:`VIDIOC_G_PRIORITY` ioctl with a pointer to an enum v4l2_priority
+:ref:`VIDIOC_G_PRIORITY <VIDIOC_G_PRIORITY>` ioctl with a pointer to an enum v4l2_priority
 variable where the driver stores the current priority.
 
 To request an access priority applications store the desired priority in
Documentation/linux_tv/media/v4l/vidioc-g-sliced-vbi-cap.rst +1 -1
index 635cb9b2c250..a051f93252d0 100644
@@ -34,7 +34,7 @@ Description
 To find out which data services are supported by a sliced VBI capture or
 output device, applications initialize the ``type`` field of a struct
 :ref:`v4l2_sliced_vbi_cap <v4l2-sliced-vbi-cap>`, clear the
-``reserved`` array and call the :ref:`VIDIOC_G_SLICED_VBI_CAP` ioctl. The
+``reserved`` array and call the :ref:`VIDIOC_G_SLICED_VBI_CAP <VIDIOC_G_SLICED_VBI_CAP>` ioctl. The
 driver fills in the remaining fields or returns an EINVAL error code if
 the sliced VBI API is unsupported or ``type`` is invalid.
 
Documentation/linux_tv/media/v4l/vidioc-g-std.rst +3 -3
index bc8e071401b0..a7257f0b38a2 100644
@@ -35,15 +35,15 @@ Description
 ===========
 
 To query and select the current video standard applications use the
-:ref:`VIDIOC_G_STD` and :ref:`VIDIOC_S_STD <VIDIOC_G_STD>` ioctls which take a pointer to a
-:ref:`v4l2_std_id <v4l2-std-id>` type as argument. :ref:`VIDIOC_G_STD`
+:ref:`VIDIOC_G_STD <VIDIOC_G_STD>` and :ref:`VIDIOC_S_STD <VIDIOC_G_STD>` ioctls which take a pointer to a
+:ref:`v4l2_std_id <v4l2-std-id>` type as argument. :ref:`VIDIOC_G_STD <VIDIOC_G_STD>`
 can return a single flag or a set of flags as in struct
 :ref:`v4l2_standard <v4l2-standard>` field ``id``. The flags must be
 unambiguous such that they appear in only one enumerated
 :c:type:`struct v4l2_standard` structure.
 
 :ref:`VIDIOC_S_STD <VIDIOC_G_STD>` accepts one or more flags, being a write-only ioctl it
-does not return the actual new standard as :ref:`VIDIOC_G_STD` does. When
+does not return the actual new standard as :ref:`VIDIOC_G_STD <VIDIOC_G_STD>` does. When
 no flags are given or the current input does not support the requested
 standard the driver returns an EINVAL error code. When the standard set
 is ambiguous drivers may return EINVAL or choose any of the requested
Documentation/linux_tv/media/v4l/vidioc-queryctrl.rst +1 -1
index 2b11efc3d257..7d38a51c4f73 100644
@@ -569,7 +569,7 @@ See also the examples in :ref:`control`.
           :ref:`VIDIOC_S_EXT_CTRLS <VIDIOC_G_EXT_CTRLS>` you need to
           set the ``size`` field of struct
           :ref:`v4l2_ext_control <v4l2-ext-control>` to 9. For
-          :ref:`VIDIOC_G_EXT_CTRLS` you can set
+          :ref:`VIDIOC_G_EXT_CTRLS <VIDIOC_G_EXT_CTRLS>` you can set
           the ``size`` field to ``maximum`` + 1. Which character encoding is
           used will depend on the string control itself and should be part
           of the control documentation.
Signature · 1 line
2.7.4
#29 lore raw

PATCH 29/51 Documentation: linux_tv: use references for structures

In reply to Mauro Carvalho Chehab

On several places, instead of using references, the code was using some other tag. Not sure if this was due to the conversion, or if something were already wrong on the DocBook. In any case, let's fix them.

---
 Documentation/linux_tv/media/v4l/buffer.rst             | 12 ++++++------
 Documentation/linux_tv/media/v4l/dev-osd.rst            |  2 +-
 Documentation/linux_tv/media/v4l/dev-overlay.rst        |  2 +-
 Documentation/linux_tv/media/v4l/dev-sliced-vbi.rst     |  6 +++---
 Documentation/linux_tv/media/v4l/extended-controls.rst  |  2 +-
 Documentation/linux_tv/media/v4l/func-poll.rst          |  2 +-
 Documentation/linux_tv/media/v4l/func-select.rst        |  2 +-
 Documentation/linux_tv/media/v4l/pixfmt-002.rst         |  4 ++--
 Documentation/linux_tv/media/v4l/pixfmt-003.rst         |  6 +++---
 Documentation/linux_tv/media/v4l/pixfmt.rst             |  4 ++--
 Documentation/linux_tv/media/v4l/vidioc-create-bufs.rst |  2 +-
 Documentation/linux_tv/media/v4l/vidioc-enumstd.rst     |  2 +-
 Documentation/linux_tv/media/v4l/vidioc-g-audio.rst     |  2 +-
 Documentation/linux_tv/media/v4l/vidioc-g-audioout.rst  |  2 +-
 Documentation/linux_tv/media/v4l/vidioc-g-crop.rst      |  2 +-
 Documentation/linux_tv/media/v4l/vidioc-g-ctrl.rst      |  4 ++--
 Documentation/linux_tv/media/v4l/vidioc-g-fbuf.rst      |  4 ++--
 Documentation/linux_tv/media/v4l/vidioc-g-fmt.rst       |  4 ++--
 Documentation/linux_tv/media/v4l/vidioc-g-parm.rst      |  2 +-
 Documentation/linux_tv/media/v4l/vidioc-g-std.rst       |  2 +-
 Documentation/linux_tv/media/v4l/vidioc-g-tuner.rst     |  2 +-
 Documentation/linux_tv/media/v4l/vidioc-prepare-buf.rst |  2 +-
 Documentation/linux_tv/media/v4l/vidioc-qbuf.rst        |  4 ++--
 Documentation/linux_tv/media/v4l/vidioc-querybuf.rst    |  2 +-
 Documentation/linux_tv/media/v4l/vidioc-reqbufs.rst     |  2 +-
 25 files changed, 40 insertions(+), 40 deletions(-)
Documentation/linux_tv/media/v4l/buffer.rst +6 -6
index b535177724b9..1c6c96c37155 100644
@@ -11,14 +11,14 @@ the Streaming I/O methods. In the multi-planar API, the data is held in
 planes, while the buffer structure acts as a container for the planes.
 Only pointers to buffers (planes) are exchanged, the data itself is not
 copied. These pointers, together with meta-information like timestamps
-or field parity, are stored in a struct :c:type:`struct v4l2_buffer`,
+or field parity, are stored in a struct :ref:`struct v4l2_buffer <v4l2-buffer>`,
 argument to the :ref:`VIDIOC_QUERYBUF`,
 :ref:`VIDIOC_QBUF` and
 :ref:`VIDIOC_DQBUF <VIDIOC_QBUF>` ioctl. In the multi-planar API,
-some plane-specific members of struct :c:type:`struct v4l2_buffer`,
+some plane-specific members of struct :ref:`struct v4l2_buffer <v4l2-buffer>`,
 such as pointers and sizes for each plane, are stored in struct
-:c:type:`struct v4l2_plane` instead. In that case, struct
-:c:type:`struct v4l2_buffer` contains an array of plane structures.
+:ref:`struct v4l2_plane <v4l2-plane>` instead. In that case, struct
+:ref:`struct v4l2_buffer <v4l2-buffer>` contains an array of plane structures.
 
 Dequeued video buffers come with timestamps. The driver decides at which
 part of the frame and with which clock the timestamp is taken. Please
@@ -221,7 +221,7 @@ buffer.
        -  When using the multi-planar API, contains a userspace pointer to
           an array of struct :ref:`v4l2_plane <v4l2-plane>`. The size of
           the array should be put in the ``length`` field of this
-          :c:type:`struct v4l2_buffer` structure.
+          :ref:`struct v4l2_buffer <v4l2-buffer>` structure.
 
     -  .. row 15
 
@@ -780,7 +780,7 @@ buffer.
 Timecodes
 =========
 
-The :c:type:`struct v4l2_timecode` structure is designed to hold a
+The :ref:`struct v4l2_timecode <v4l2-timecode>` structure is designed to hold a
 :ref:`smpte12m` or similar timecode. (struct
 :c:type:`struct timeval` timestamps are stored in struct
 :ref:`v4l2_buffer <v4l2-buffer>` field ``timestamp``.)
Documentation/linux_tv/media/v4l/dev-osd.rst +1 -1
index f9337001f50d..8b05e3f0587d 100644
@@ -116,7 +116,7 @@ parameters applications set the ``type`` field of a struct
 :ref:`v4l2_format <v4l2-format>` to
 ``V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY`` and call the
 :ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>` ioctl. The driver fills the
-:c:type:`struct v4l2_window` substructure named ``win``. It is not
+:ref:`struct v4l2_window <v4l2-window>` substructure named ``win``. It is not
 possible to retrieve a previously programmed clipping list or bitmap.
 
 To program the source rectangle applications set the ``type`` field of a
Documentation/linux_tv/media/v4l/dev-overlay.rst +1 -1
index fc71406369a8..dd786b6fc936 100644
@@ -122,7 +122,7 @@ To get the current parameters applications set the ``type`` field of a
 struct :ref:`v4l2_format <v4l2-format>` to
 ``V4L2_BUF_TYPE_VIDEO_OVERLAY`` and call the
 :ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>` ioctl. The driver fills the
-:c:type:`struct v4l2_window` substructure named ``win``. It is not
+:ref:`struct v4l2_window <v4l2-window>` substructure named ``win``. It is not
 possible to retrieve a previously programmed clipping list or bitmap.
 
 To program the overlay window applications set the ``type`` field of a
Documentation/linux_tv/media/v4l/dev-sliced-vbi.rst +3 -3
index b3e89f93d6ad..0b299b51aceb 100644
@@ -77,7 +77,7 @@ member, a struct
 Applications can request different parameters by initializing or
 modifying the ``fmt.sliced`` member and calling the
 :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` ioctl with a pointer to the
-:c:type:`struct v4l2_format` structure.
+:ref:`struct v4l2_format <v4l2-format>` structure.
 
 The sliced VBI API is more complicated than the raw VBI API because the
 hardware must be told which VBI service to expect on each scan line. Not
@@ -353,11 +353,11 @@ Reading and writing sliced VBI data
 
 A single :ref:`read() <func-read>` or :ref:`write() <func-write>`
 call must pass all data belonging to one video frame. That is an array
-of :c:type:`struct v4l2_sliced_vbi_data` structures with one or
+of :ref:`struct v4l2_sliced_vbi_data <v4l2-sliced-vbi-data>` structures with one or
 more elements and a total size not exceeding ``io_size`` bytes. Likewise
 in streaming I/O mode one buffer of ``io_size`` bytes must contain data
 of one video frame. The ``id`` of unused
-:c:type:`struct v4l2_sliced_vbi_data` elements must be zero.
+:ref:`struct v4l2_sliced_vbi_data <v4l2-sliced-vbi-data>` elements must be zero.
 
 
 .. _v4l2-sliced-vbi-data:
Documentation/linux_tv/media/v4l/extended-controls.rst +1 -1
index d5efb5bbf5bf..50598b479273 100644
@@ -66,7 +66,7 @@ whether the specified control class is supported.
 
 The control array is a struct
 :ref:`v4l2_ext_control <v4l2-ext-control>` array. The
-:c:type:`struct v4l2_ext_control` structure is very similar to
+:ref:`struct v4l2_ext_control <v4l2-ext-control>` structure is very similar to
 struct :ref:`v4l2_control <v4l2-control>`, except for the fact that
 it also allows for 64-bit values and pointers to be passed.
 
Documentation/linux_tv/media/v4l/func-poll.rst +1 -1
index 2de7f8a3a971..3e96d9b0ce38 100644
@@ -39,7 +39,7 @@ returns immediately.
 
 On success :c:func:`poll()` returns the number of file descriptors
 that have been selected (that is, file descriptors for which the
-``revents`` field of the respective :c:type:`struct pollfd` structure
+``revents`` field of the respective :c:func:`struct pollfd` structure
 is non-zero). Capture devices set the ``POLLIN`` and ``POLLRDNORM``
 flags in the ``revents`` field, output devices the ``POLLOUT`` and
 ``POLLWRNORM`` flags. When the function timed out it returns a value of
Documentation/linux_tv/media/v4l/func-select.rst +1 -1
index 56d01b33e25d..de5583c4ffb3 100644
@@ -36,7 +36,7 @@ buffer has been filled or displayed and can be dequeued with the
 the outgoing queue of the driver the function returns immediately.
 
 On success :c:func:`select()` returns the total number of bits set in
-the :c:type:`struct fd_set`s. When the function timed out it returns
+:c:func:`struct fd_set`. When the function timed out it returns
 a value of zero. On failure it returns -1 and the ``errno`` variable is
 set appropriately. When the application did not call
 :ref:`VIDIOC_QBUF` or
Documentation/linux_tv/media/v4l/pixfmt-002.rst +2 -2
index d72c36552c4e..a0c8c2298bdd 100644
@@ -133,7 +133,7 @@ Single-planar format structure
        -  ``priv``
 
        -  This field indicates whether the remaining fields of the
-          :c:type:`struct v4l2_pix_format` structure, also called the
+          :ref:`struct v4l2_pix_format <v4l2-pix-format>` structure, also called the
           extended fields, are valid. When set to
           ``V4L2_PIX_FMT_PRIV_MAGIC``, it indicates that the extended fields
           have been correctly initialized. When set to any other value it
@@ -149,7 +149,7 @@ Single-planar format structure
           To use the extended fields, applications must set the ``priv``
           field to ``V4L2_PIX_FMT_PRIV_MAGIC``, initialize all the extended
           fields and zero the unused bytes of the
-          :c:type:`struct v4l2_format` ``raw_data`` field.
+          :ref:`struct v4l2_format <v4l2-format>` ``raw_data`` field.
 
           When the ``priv`` field isn't set to ``V4L2_PIX_FMT_PRIV_MAGIC``
           drivers must act as if all the extended fields were set to zero.
Documentation/linux_tv/media/v4l/pixfmt-003.rst +3 -3
index 6ee05ff1dbb5..cc8ef6137618 100644
@@ -4,11 +4,11 @@
 Multi-planar format structures
 ******************************
 
-The :c:type:`struct v4l2_plane_pix_format` structures define size
+The :ref:`struct v4l2_plane_pix_format <v4l2-plane-pix-format>` structures define size
 and layout for each of the planes in a multi-planar format. The
-:c:type:`struct v4l2_pix_format_mplane` structure contains
+:ref:`struct v4l2_pix_format_mplane <v4l2-pix-format-mplane>` structure contains
 information common to all planes (such as image width and height) and an
-array of :c:type:`struct v4l2_plane_pix_format` structures,
+array of :ref:`struct v4l2_plane_pix_format <v4l2-plane-pix-format>` structures,
 describing all planes of that format.
 
 
Documentation/linux_tv/media/v4l/pixfmt.rst +2 -2
index f2c599aaa502..417796d39f00 100644
@@ -6,8 +6,8 @@
 Image Formats
 #############
 The V4L2 API was primarily designed for devices exchanging image data
-with applications. The :c:type:`struct v4l2_pix_format` and
-:c:type:`struct v4l2_pix_format_mplane` structures define the
+with applications. The :ref:`struct v4l2_pix_format <v4l2-pix-format>` and
+:ref:`struct v4l2_pix_format_mplane <v4l2-pix-format-mplane>` structures define the
 format and layout of an image in memory. The former is used with the
 single-planar API, while the latter is used with the multi-planar
 version (see :ref:`planar-apis`). Image formats are negotiated with
Documentation/linux_tv/media/v4l/vidioc-create-bufs.rst +1 -1
index 9d872e3b9c22..efd9629e099e 100644
@@ -39,7 +39,7 @@ over buffers is required. This ioctl can be called multiple times to
 create buffers of different sizes.
 
 To allocate the device buffers applications must initialize the relevant
-fields of the :c:type:`struct v4l2_create_buffers` structure. The
+fields of the :ref:`struct v4l2_create_buffers <v4l2-create-buffers>` structure. The
 ``count`` field must be set to the number of requested buffers, the
 ``memory`` field specifies the requested I/O method and the ``reserved``
 array must be zeroed.
Documentation/linux_tv/media/v4l/vidioc-enumstd.rst +1 -1
index f4866719e099..0f4433cefc49 100644
@@ -69,7 +69,7 @@ or output. [1]_
           set as custom standards. Multiple bits can be set if the hardware
           does not distinguish between these standards, however separate
           indices do not indicate the opposite. The ``id`` must be unique.
-          No other enumerated :c:type:`struct v4l2_standard` structure,
+          No other enumerated :ref:`struct v4l2_standard <v4l2-standard>` structure,
           for this input or output anyway, can contain the same set of bits.
 
     -  .. row 3
Documentation/linux_tv/media/v4l/vidioc-g-audio.rst +1 -1
index 8430b49b770a..abf441a04673 100644
@@ -43,7 +43,7 @@ has no audio inputs, or none which combine with the current video input.
 Audio inputs have one writable property, the audio mode. To select the
 current audio input *and* change the audio mode, applications initialize
 the ``index`` and ``mode`` fields, and the ``reserved`` array of a
-:c:type:`struct v4l2_audio` structure and call the :ref:`VIDIOC_S_AUDIO <VIDIOC_G_AUDIO>`
+:ref:`struct v4l2_audio <v4l2-audio>` structure and call the :ref:`VIDIOC_S_AUDIO <VIDIOC_G_AUDIO>`
 ioctl. Drivers may switch to a different audio mode if the request
 cannot be satisfied. However, this is a write-only ioctl, it does not
 return the actual new audio mode.
Documentation/linux_tv/media/v4l/vidioc-g-audioout.rst +1 -1
index e2ca42cbe9ae..6bfd5b1d5428 100644
@@ -44,7 +44,7 @@ output.
 Audio outputs have no writable properties. Nevertheless, to select the
 current audio output applications can initialize the ``index`` field and
 ``reserved`` array (which in the future may contain writable properties)
-of a :c:type:`struct v4l2_audioout` structure and call the
+of a :ref:`struct v4l2_audioout <v4l2-audioout>` structure and call the
 ``VIDIOC_S_AUDOUT`` ioctl. Drivers switch to the requested output or
 return the ``EINVAL`` error code when the index is out of bounds. This is a
 write-only ioctl, it does not return the current audio output attributes
Documentation/linux_tv/media/v4l/vidioc-g-crop.rst +1 -1
index 888ddb045340..aba0dc9b4390 100644
@@ -35,7 +35,7 @@ Description
 ===========
 
 To query the cropping rectangle size and position applications set the
-``type`` field of a :c:type:`struct v4l2_crop` structure to the
+``type`` field of a :ref:`struct v4l2_crop <v4l2-crop>` structure to the
 respective buffer (stream) type and call the :ref:`VIDIOC_G_CROP <VIDIOC_G_CROP>` ioctl
 with a pointer to this structure. The driver fills the rest of the
 structure or returns the ``EINVAL`` error code if cropping is not supported.
Documentation/linux_tv/media/v4l/vidioc-g-ctrl.rst +2 -2
index 07e27e474326..77a5d1aca78a 100644
@@ -33,10 +33,10 @@ Description
 ===========
 
 To get the current value of a control applications initialize the ``id``
-field of a struct :c:type:`struct v4l2_control` and call the
+field of a struct :ref:`struct v4l2_control <v4l2-control>` and call the
 :ref:`VIDIOC_G_CTRL <VIDIOC_G_CTRL>` ioctl with a pointer to this structure. To change the
 value of a control applications initialize the ``id`` and ``value``
-fields of a struct :c:type:`struct v4l2_control` and call the
+fields of a struct :ref:`struct v4l2_control <v4l2-control>` and call the
 :ref:`VIDIOC_S_CTRL <VIDIOC_G_CTRL>` ioctl.
 
 When the ``id`` is invalid drivers return an ``EINVAL`` error code. When the
Documentation/linux_tv/media/v4l/vidioc-g-fbuf.rst +2 -2
index abf997fea991..e52361001bb9 100644
@@ -49,13 +49,13 @@ VGA signal or graphics into a video signal. *Video Output Overlays* are
 always non-destructive.
 
 To get the current parameters applications call the :ref:`VIDIOC_G_FBUF <VIDIOC_G_FBUF>`
-ioctl with a pointer to a :c:type:`struct v4l2_framebuffer`
+ioctl with a pointer to a :ref:`struct v4l2_framebuffer <v4l2-framebuffer>`
 structure. The driver fills all fields of the structure or returns an
 EINVAL error code when overlays are not supported.
 
 To set the parameters for a *Video Output Overlay*, applications must
 initialize the ``flags`` field of a struct
-:c:type:`struct v4l2_framebuffer`. Since the framebuffer is
+:ref:`struct v4l2_framebuffer <v4l2-framebuffer>`. Since the framebuffer is
 implemented on the TV card all other parameters are determined by the
 driver. When an application calls :ref:`VIDIOC_S_FBUF <VIDIOC_G_FBUF>` with a pointer to
 this structure, the driver prepares for the overlay and returns the
Documentation/linux_tv/media/v4l/vidioc-g-fmt.rst +2 -2
index 24fac4536196..869c7cc08035 100644
@@ -37,7 +37,7 @@ These ioctls are used to negotiate the format of data (typically image
 format) exchanged between driver and application.
 
 To query the current parameters applications set the ``type`` field of a
-struct :c:type:`struct v4l2_format` to the respective buffer (stream)
+struct :ref:`struct v4l2_format <v4l2-format>` to the respective buffer (stream)
 type. For example video capture devices use
 ``V4L2_BUF_TYPE_VIDEO_CAPTURE`` or
 ``V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE``. When the application calls the
@@ -55,7 +55,7 @@ For details see the documentation of the various devices types in
 :ref:`devices`. Good practice is to query the current parameters
 first, and to modify only those parameters not suitable for the
 application. When the application calls the :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` ioctl with
-a pointer to a :c:type:`struct v4l2_format` structure the driver
+a pointer to a :ref:`struct v4l2_format <v4l2-format>` structure the driver
 checks and adjusts the parameters against hardware abilities. Drivers
 should not return an error code unless the ``type`` field is invalid,
 this is a mechanism to fathom device capabilities and to approach
Documentation/linux_tv/media/v4l/vidioc-g-parm.rst +1 -1
index 2fbec8a6adfc..73974cd938b8 100644
@@ -45,7 +45,7 @@ section discussing the :ref:`read() <func-read>` function.
 
 To get and set the streaming parameters applications call the
 :ref:`VIDIOC_G_PARM <VIDIOC_G_PARM>` and :ref:`VIDIOC_S_PARM <VIDIOC_G_PARM>` ioctl, respectively. They take a
-pointer to a struct :c:type:`struct v4l2_streamparm` which contains a
+pointer to a struct :ref:`struct v4l2_streamparm <v4l2-streamparm>` which contains a
 union holding separate parameters for input and output devices.
 
 
Documentation/linux_tv/media/v4l/vidioc-g-std.rst +1 -1
index 67b4d7da6473..8cacecfb8c97 100644
@@ -40,7 +40,7 @@ To query and select the current video standard applications use the
 can return a single flag or a set of flags as in struct
 :ref:`v4l2_standard <v4l2-standard>` field ``id``. The flags must be
 unambiguous such that they appear in only one enumerated
-:c:type:`struct v4l2_standard` structure.
+:ref:`struct v4l2_standard <v4l2-standard>` structure.
 
 :ref:`VIDIOC_S_STD <VIDIOC_G_STD>` accepts one or more flags, being a write-only ioctl it
 does not return the actual new standard as :ref:`VIDIOC_G_STD <VIDIOC_G_STD>` does. When
Documentation/linux_tv/media/v4l/vidioc-g-tuner.rst +1 -1
index 078fe6db751e..c5f947811746 100644
@@ -221,7 +221,7 @@ To change the radio frequency the
           received audio programs do not match.
 
           Currently this is the only field of struct
-          :c:type:`struct v4l2_tuner` applications can change.
+          :ref:`struct v4l2_tuner <v4l2-tuner>` applications can change.
 
     -  .. row 15
 
Documentation/linux_tv/media/v4l/vidioc-prepare-buf.rst +1 -1
index 79a6a1009703..bf31aaaf6c76 100644
@@ -40,7 +40,7 @@ operations are not required, the application can use one of
 ``V4L2_BUF_FLAG_NO_CACHE_INVALIDATE`` and
 ``V4L2_BUF_FLAG_NO_CACHE_CLEAN`` flags to skip the respective step.
 
-The :c:type:`struct v4l2_buffer` structure is specified in
+The :ref:`struct v4l2_buffer <v4l2-buffer>` structure is specified in
 :ref:`buffer`.
 
 
Documentation/linux_tv/media/v4l/vidioc-qbuf.rst +2 -2
index ab567559a0ac..b51db1311e9f 100644
@@ -44,7 +44,7 @@ Applications must also set the ``index`` field. Valid index numbers
 range from zero to the number of buffers allocated with
 :ref:`VIDIOC_REQBUFS` (struct
 :ref:`v4l2_requestbuffers <v4l2-requestbuffers>` ``count``) minus
-one. The contents of the struct :c:type:`struct v4l2_buffer` returned
+one. The contents of the struct :ref:`struct v4l2_buffer <v4l2-buffer>` returned
 by a :ref:`VIDIOC_QUERYBUF` ioctl will do as well.
 When the buffer is intended for output (``type`` is
 ``V4L2_BUF_TYPE_VIDEO_OUTPUT``, ``V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE``,
@@ -112,7 +112,7 @@ queue. When the ``O_NONBLOCK`` flag was given to the
 :ref:`open() <func-open>` function, ``VIDIOC_DQBUF`` returns
 immediately with an ``EAGAIN`` error code when no buffer is available.
 
-The :c:type:`struct v4l2_buffer` structure is specified in
+The :ref:`struct v4l2_buffer <v4l2-buffer>` structure is specified in
 :ref:`buffer`.
 
 
Documentation/linux_tv/media/v4l/vidioc-querybuf.rst +1 -1
index efc8143edc34..11c9c59688ae 100644
@@ -63,7 +63,7 @@ elements will be used instead and the ``length`` field of struct
 array elements. The driver may or may not set the remaining fields and
 flags, they are meaningless in this context.
 
-The :c:type:`struct v4l2_buffer` structure is specified in
+The :ref:`struct v4l2_buffer <v4l2-buffer>` structure is specified in
 :ref:`buffer`.
 
 
Documentation/linux_tv/media/v4l/vidioc-reqbufs.rst +1 -1
index 411b5bf80313..065ea275c0df 100644
@@ -43,7 +43,7 @@ configures the driver into DMABUF I/O mode without performing any direct
 allocation.
 
 To allocate device buffers applications initialize all fields of the
-:c:type:`struct v4l2_requestbuffers` structure. They set the ``type``
+:ref:`struct v4l2_requestbuffers <v4l2-requestbuffers>` structure. They set the ``type``
 field to the respective stream or buffer type, the ``count`` field to
 the desired number of buffers, ``memory`` must be set to the requested
 I/O method and the ``reserved`` array must be zeroed. When the ioctl is
Signature · 1 line
2.7.4
#28 lore raw

PATCH 28/51 Documentation: linux_tv: Error codes should be const

In reply to Mauro Carvalho Chehab

All error codes should be const. Most are, but there are lots of places where we forgot to add <constant> at the DocBook.

Fix those via this small script:

	for i in $(git grep -lE "\s+E[A-Z]+\b" Documentation/linux_tv/); do perl -ne 's,([^\`])\b(E[A-Z]+)\b,\1``\2``,g; print $_' <$i >a && mv a $i; done

As there are false positives, we needed to merge only the changes that make sense, skipping the c blocks and skipping things like EDID, EN, ETS that were also converted by the above code.

---
 Documentation/linux_tv/media/dvb/FE_GET_EVENT.rst  |   6 ++--
 .../linux_tv/media/dvb/FE_GET_FRONTEND.rst         |   2 +-
 .../linux_tv/media/dvb/FE_SET_FRONTEND.rst         |   2 +-
 .../linux_tv/media/dvb/audio_function_calls.rst    |  22 ++++++------
 .../linux_tv/media/dvb/ca_function_calls.rst       |  10 +++---
 Documentation/linux_tv/media/dvb/dmx_fcalls.rst    |  40 ++++++++++-----------
 .../linux_tv/media/dvb/frontend_f_open.rst         |   2 +-
 .../linux_tv/media/dvb/intro_files/dvbstb.png      | Bin 22655 -> 22703 bytes
 .../linux_tv/media/dvb/video_function_calls.rst    |  40 ++++++++++-----------
 Documentation/linux_tv/media/v4l/app-pri.rst       |   2 +-
 Documentation/linux_tv/media/v4l/buffer.rst        |   2 +-
 Documentation/linux_tv/media/v4l/dev-overlay.rst   |   4 +--
 Documentation/linux_tv/media/v4l/dev-raw-vbi.rst   |   8 ++---
 .../linux_tv/media/v4l/dev-sliced-vbi.rst          |  10 +++---
 Documentation/linux_tv/media/v4l/dev-subdev.rst    |   4 +--
 Documentation/linux_tv/media/v4l/diff-v4l.rst      |   8 ++---
 Documentation/linux_tv/media/v4l/dmabuf.rst        |   2 +-
 .../media/v4l/field-order_files/fieldseq_tb.gif    | Bin 25323 -> 25339 bytes
 Documentation/linux_tv/media/v4l/func-open.rst     |   2 +-
 Documentation/linux_tv/media/v4l/func-read.rst     |   2 +-
 Documentation/linux_tv/media/v4l/gen-errors.rst    |  20 +++++------
 Documentation/linux_tv/media/v4l/hist-v4l2.rst     |   8 ++---
 Documentation/linux_tv/media/v4l/lirc_write.rst    |   2 +-
 .../linux_tv/media/v4l/media-ioc-enum-entities.rst |   2 +-
 .../linux_tv/media/v4l/media-ioc-setup-link.rst    |   6 ++--
 Documentation/linux_tv/media/v4l/mmap.rst          |   2 +-
 Documentation/linux_tv/media/v4l/open.rst          |   2 +-
 Documentation/linux_tv/media/v4l/querycap.rst      |   2 +-
 .../media/v4l/remote_controllers_sysfs_nodes.rst   |   4 +--
 Documentation/linux_tv/media/v4l/standard.rst      |   2 +-
 Documentation/linux_tv/media/v4l/streaming-par.rst |   2 +-
 Documentation/linux_tv/media/v4l/userp.rst         |   2 +-
 .../linux_tv/media/v4l/vidioc-create-bufs.rst      |   4 +--
 .../linux_tv/media/v4l/vidioc-dbg-g-chip-info.rst  |   2 +-
 .../linux_tv/media/v4l/vidioc-decoder-cmd.rst      |   6 ++--
 .../linux_tv/media/v4l/vidioc-dv-timings-cap.rst   |   2 +-
 .../linux_tv/media/v4l/vidioc-encoder-cmd.rst      |   6 ++--
 .../linux_tv/media/v4l/vidioc-enum-dv-timings.rst  |   6 ++--
 .../linux_tv/media/v4l/vidioc-enum-fmt.rst         |   4 +--
 .../linux_tv/media/v4l/vidioc-enumaudio.rst        |   4 +--
 .../linux_tv/media/v4l/vidioc-enumaudioout.rst     |   4 +--
 .../linux_tv/media/v4l/vidioc-enuminput.rst        |   4 +--
 .../linux_tv/media/v4l/vidioc-enumoutput.rst       |   2 +-
 .../linux_tv/media/v4l/vidioc-enumstd.rst          |   4 +--
 .../linux_tv/media/v4l/vidioc-g-audio.rst          |   2 +-
 .../linux_tv/media/v4l/vidioc-g-audioout.rst       |   4 +--
 Documentation/linux_tv/media/v4l/vidioc-g-crop.rst |   4 +--
 Documentation/linux_tv/media/v4l/vidioc-g-ctrl.rst |   4 +--
 .../linux_tv/media/v4l/vidioc-g-dv-timings.rst     |   4 +--
 Documentation/linux_tv/media/v4l/vidioc-g-edid.rst |  12 +++----
 .../linux_tv/media/v4l/vidioc-g-ext-ctrls.rst      |  10 +++---
 Documentation/linux_tv/media/v4l/vidioc-g-fmt.rst  |   6 ++--
 .../linux_tv/media/v4l/vidioc-g-input.rst          |   2 +-
 .../linux_tv/media/v4l/vidioc-g-modulator.rst      |   6 ++--
 .../linux_tv/media/v4l/vidioc-g-output.rst         |   2 +-
 .../linux_tv/media/v4l/vidioc-g-selection.rst      |   2 +-
 .../linux_tv/media/v4l/vidioc-g-sliced-vbi-cap.rst |   2 +-
 Documentation/linux_tv/media/v4l/vidioc-g-std.rst  |   6 ++--
 .../linux_tv/media/v4l/vidioc-g-tuner.rst          |   4 +--
 Documentation/linux_tv/media/v4l/vidioc-qbuf.rst   |   2 +-
 .../linux_tv/media/v4l/vidioc-query-dv-timings.rst |   4 +--
 .../linux_tv/media/v4l/vidioc-querycap.rst         |   2 +-
 .../linux_tv/media/v4l/vidioc-queryctrl.rst        |  32 ++++++++---------
 .../linux_tv/media/v4l/vidioc-reqbufs.rst          |   2 +-
 .../linux_tv/media/v4l/vidioc-s-hw-freq-seek.rst   |   2 +-
 .../v4l/vidioc-subdev-enum-frame-interval.rst      |   2 +-
 .../media/v4l/vidioc-subdev-enum-mbus-code.rst     |   4 +--
 .../linux_tv/media/v4l/vidioc-subdev-g-crop.rst    |   2 +-
 68 files changed, 196 insertions(+), 196 deletions(-)
Documentation/linux_tv/media/dvb/FE_GET_EVENT.rst +3 -3
index 8d1caedd2f97..1951857cde65 100644
@@ -11,7 +11,7 @@ DESCRIPTION
 This ioctl call returns a frontend event if available. If an event is
 not available, the behavior depends on whether the device is in blocking
 or non-blocking mode. In the latter case, the call fails immediately
-with errno set to EWOULDBLOCK. In the former case, the call blocks until
+with errno set to ``EWOULDBLOCK``. In the former case, the call blocks until
 an event becomes available.
 
 SYNOPSIS
@@ -67,13 +67,13 @@ appropriately. The generic error codes are described at the
 
     -  .. row 1
 
-       -  EWOULDBLOCK
+       -  ``EWOULDBLOCK``
 
        -  There is no event pending, and the device is in non-blocking mode.
 
     -  .. row 2
 
-       -  EOVERFLOW
+       -  ``EOVERFLOW``
 
        -  Overflow in event queue - one or more events were lost.
 
Documentation/linux_tv/media/dvb/FE_GET_FRONTEND.rst +1 -1
index 2e60b239d1da..5bf39ff72bd7 100644
@@ -61,7 +61,7 @@ appropriately. The generic error codes are described at the
 
     -  .. row 1
 
-       -  EINVAL
+       -  ``EINVAL``
 
        -  Maximum supported symbol rate reached.
 
Documentation/linux_tv/media/dvb/FE_SET_FRONTEND.rst +1 -1
index f18e12cb3dff..4cb393bbc2e1 100644
@@ -68,7 +68,7 @@ appropriately. The generic error codes are described at the
 
     -  .. row 1
 
-       -  EINVAL
+       -  ``EINVAL``
 
        -  Maximum supported symbol rate reached.
 
Documentation/linux_tv/media/dvb/audio_function_calls.rst +11 -11
index a68149e16116..d8abdd0e9417 100644
@@ -85,19 +85,19 @@ RETURN VALUE
 
     -  .. row 1
 
-       -  ENODEV
+       -  ``ENODEV``
 
        -  Device driver not loaded/available.
 
     -  .. row 2
 
-       -  EBUSY
+       -  ``EBUSY``
 
        -  Device or resource busy.
 
     -  .. row 3
 
-       -  EINVAL
+       -  ``EINVAL``
 
        -  Invalid argument.
 
@@ -143,7 +143,7 @@ RETURN VALUE
 
     -  .. row 1
 
-       -  EBADF
+       -  ``EBADF``
 
        -  fd is not a valid open file descriptor.
 
@@ -205,19 +205,19 @@ RETURN VALUE
 
     -  .. row 1
 
-       -  EPERM
+       -  ``EPERM``
 
        -  Mode AUDIO_SOURCE_MEMORY not selected.
 
     -  .. row 2
 
-       -  ENOMEM
+       -  ``ENOMEM``
 
        -  Attempted to write more data than the internal buffer can hold.
 
     -  .. row 3
 
-       -  EBADF
+       -  ``EBADF``
 
        -  fd is not a valid open file descriptor.
 
@@ -1102,7 +1102,7 @@ appropriately. The generic error codes are described at the
 
     -  .. row 1
 
-       -  EINVAL
+       -  ``EINVAL``
 
        -  type is not a valid or supported stream type.
 
@@ -1165,7 +1165,7 @@ appropriately. The generic error codes are described at the
 
     -  .. row 1
 
-       -  EINVAL
+       -  ``EINVAL``
 
        -  id is not a valid id.
 
@@ -1229,7 +1229,7 @@ appropriately. The generic error codes are described at the
 
     -  .. row 1
 
-       -  EINVAL
+       -  ``EINVAL``
 
        -  attr is not a valid or supported attribute setting.
 
@@ -1292,7 +1292,7 @@ appropriately. The generic error codes are described at the
 
     -  .. row 1
 
-       -  EINVAL
+       -  ``EINVAL``
 
        -  karaoke is not a valid or supported karaoke setting.
 
Documentation/linux_tv/media/dvb/ca_function_calls.rst +5 -5
index 9984b355f48f..83bce0420881 100644
@@ -84,25 +84,25 @@ RETURN VALUE
 
     -  .. row 1
 
-       -  ENODEV
+       -  ``ENODEV``
 
        -  Device driver not loaded/available.
 
     -  .. row 2
 
-       -  EINTERNAL
+       -  ``EINTERNAL``
 
        -  Internal error.
 
     -  .. row 3
 
-       -  EBUSY
+       -  ``EBUSY``
 
        -  Device or resource busy.
 
     -  .. row 4
 
-       -  EINVAL
+       -  ``EINVAL``
 
        -  Invalid argument.
 
@@ -148,7 +148,7 @@ RETURN VALUE
 
     -  .. row 1
 
-       -  EBADF
+       -  ``EBADF``
 
        -  fd is not a valid open file descriptor.
 
Documentation/linux_tv/media/dvb/dmx_fcalls.rst +20 -20
index 5982b57f0a3b..4563c8f2a1b8 100644
@@ -83,25 +83,25 @@ RETURN VALUE
 
     -  .. row 1
 
-       -  ENODEV
+       -  ``ENODEV``
 
        -  Device driver not loaded/available.
 
     -  .. row 2
 
-       -  EINVAL
+       -  ``EINVAL``
 
        -  Invalid argument.
 
     -  .. row 3
 
-       -  EMFILE
+       -  ``EMFILE``
 
        -  “Too many open files”, i.e. no more filters available.
 
     -  .. row 4
 
-       -  ENOMEM
+       -  ``ENOMEM``
 
        -  The driver failed to allocate enough memory.
 
@@ -148,7 +148,7 @@ RETURN VALUE
 
     -  .. row 1
 
-       -  EBADF
+       -  ``EBADF``
 
        -  fd is not a valid open file descriptor.
 
@@ -209,26 +209,26 @@ RETURN VALUE
 
     -  .. row 1
 
-       -  EWOULDBLOCK
+       -  ``EWOULDBLOCK``
 
        -  No data to return and O_NONBLOCK was specified.
 
     -  .. row 2
 
-       -  EBADF
+       -  ``EBADF``
 
        -  fd is not a valid open file descriptor.
 
     -  .. row 3
 
-       -  ECRC
+       -  ``ECRC``
 
        -  Last section had a CRC error - no data returned. The buffer is
           flushed.
 
     -  .. row 4
 
-       -  EOVERFLOW
+       -  ``EOVERFLOW``
 
        -  
 
@@ -240,14 +240,14 @@ RETURN VALUE
 
     -  .. row 6
 
-       -  ETIMEDOUT
+       -  ``ETIMEDOUT``
 
        -  The section was not loaded within the stated timeout period. See
           ioctl DMX_SET_FILTER for how to set a timeout.
 
     -  .. row 7
 
-       -  EFAULT
+       -  ``EFAULT``
 
        -  The driver failed to write to the callers buffer due to an invalid
           *buf pointer.
@@ -311,7 +311,7 @@ RETURN VALUE
 
     -  .. row 1
 
-       -  EWOULDBLOCK
+       -  ``EWOULDBLOCK``
 
        -  No data was written. This might happen if O_NONBLOCK was
           specified and there is no more buffer space available (if
@@ -320,7 +320,7 @@ RETURN VALUE
 
     -  .. row 2
 
-       -  EBUSY
+       -  ``EBUSY``
 
        -  This error code indicates that there are conflicting requests. The
           corresponding demux device is setup to receive data from the
@@ -329,7 +329,7 @@ RETURN VALUE
 
     -  .. row 3
 
-       -  EBADF
+       -  ``EBADF``
 
        -  fd is not a valid open file descriptor.
 
@@ -386,14 +386,14 @@ appropriately. The generic error codes are described at the
 
     -  .. row 1
 
-       -  EINVAL
+       -  ``EINVAL``
 
        -  Invalid argument, i.e. no filtering parameters provided via the
           DMX_SET_FILTER or DMX_SET_PES_FILTER functions.
 
     -  .. row 2
 
-       -  EBUSY
+       -  ``EBUSY``
 
        -  This error code indicates that there are conflicting requests.
           There are active filters filtering data from another input source.
@@ -564,7 +564,7 @@ appropriately. The generic error codes are described at the
 
     -  .. row 1
 
-       -  EBUSY
+       -  ``EBUSY``
 
        -  This error code indicates that there are conflicting requests.
           There are active filters filtering data from another input source.
@@ -635,7 +635,7 @@ DESCRIPTION
 This ioctl call returns an event if available. If an event is not
 available, the behavior depends on whether the device is in blocking or
 non-blocking mode. In the latter case, the call fails immediately with
-errno set to EWOULDBLOCK. In the former case, the call blocks until an
+errno set to ``EWOULDBLOCK``. In the former case, the call blocks until an
 event becomes available.
 
 SYNOPSIS
@@ -686,7 +686,7 @@ appropriately. The generic error codes are described at the
 
     -  .. row 1
 
-       -  EWOULDBLOCK
+       -  ``EWOULDBLOCK``
 
        -  There is no event pending, and the device is in non-blocking mode.
 
@@ -753,7 +753,7 @@ appropriately. The generic error codes are described at the
 
     -  .. row 1
 
-       -  EINVAL
+       -  ``EINVAL``
 
        -  Invalid stc number.
 
Documentation/linux_tv/media/dvb/frontend_f_open.rst +1 -1
index 9ef430abcba4..bdc9a8139444 100644
@@ -37,7 +37,7 @@ Arguments
     allowed.
 
     When the ``O_NONBLOCK`` flag is given, the system calls may return
-    EAGAIN error code when no data is available or when the device
+    ``EAGAIN`` error code when no data is available or when the device
     driver is temporarily busy.
 
     Other flags have no effect.
Documentation/linux_tv/media/dvb/intro_files/dvbstb.png binary +0 -0
index 9b8f372e7afd9d016854973ba705dcdfbd1bbf13..5836ea94eba4ec4fd13a83e89ef86b312cc04c02 100644
GIT binary patch
Documentation/linux_tv/media/dvb/video_function_calls.rst +20 -20
index 78917bdf51ed..39eaecd8755a 100644
@@ -87,25 +87,25 @@ RETURN VALUE
 
     -  .. row 1
 
-       -  ENODEV
+       -  ``ENODEV``
 
        -  Device driver not loaded/available.
 
     -  .. row 2
 
-       -  EINTERNAL
+       -  ``EINTERNAL``
 
        -  Internal error.
 
     -  .. row 3
 
-       -  EBUSY
+       -  ``EBUSY``
 
        -  Device or resource busy.
 
     -  .. row 4
 
-       -  EINVAL
+       -  ``EINVAL``
 
        -  Invalid argument.
 
@@ -151,7 +151,7 @@ RETURN VALUE
 
     -  .. row 1
 
-       -  EBADF
+       -  ``EBADF``
 
        -  fd is not a valid open file descriptor.
 
@@ -213,19 +213,19 @@ RETURN VALUE
 
     -  .. row 1
 
-       -  EPERM
+       -  ``EPERM``
 
        -  Mode VIDEO_SOURCE_MEMORY not selected.
 
     -  .. row 2
 
-       -  ENOMEM
+       -  ``ENOMEM``
 
        -  Attempted to write more data than the internal buffer can hold.
 
     -  .. row 3
 
-       -  EBADF
+       -  ``EBADF``
 
        -  fd is not a valid open file descriptor.
 
@@ -768,7 +768,7 @@ use the V4L2 :ref:`VIDIOC_DQEVENT` ioctl instead.
 This ioctl call returns an event of type video_event if available. If
 an event is not available, the behavior depends on whether the device is
 in blocking or non-blocking mode. In the latter case, the call fails
-immediately with errno set to EWOULDBLOCK. In the former case, the call
+immediately with errno set to ``EWOULDBLOCK``. In the former case, the call
 blocks until an event becomes available. The standard Linux poll()
 and/or select() system calls can be used with the device file descriptor
 to watch for new events. For select(), the file descriptor should be
@@ -823,13 +823,13 @@ appropriately. The generic error codes are described at the
 
     -  .. row 1
 
-       -  EWOULDBLOCK
+       -  ``EWOULDBLOCK``
 
        -  There is no event pending, and the device is in non-blocking mode.
 
     -  .. row 2
 
-       -  EOVERFLOW
+       -  ``EOVERFLOW``
 
        -  Overflow in event queue - one or more events were lost.
 
@@ -1154,7 +1154,7 @@ appropriately. The generic error codes are described at the
 
     -  .. row 1
 
-       -  EPERM
+       -  ``EPERM``
 
        -  Mode VIDEO_SOURCE_MEMORY not selected.
 
@@ -1218,7 +1218,7 @@ appropriately. The generic error codes are described at the
 
     -  .. row 1
 
-       -  EPERM
+       -  ``EPERM``
 
        -  Mode VIDEO_SOURCE_MEMORY not selected.
 
@@ -1332,7 +1332,7 @@ appropriately. The generic error codes are described at the
 
     -  .. row 1
 
-       -  EINVAL
+       -  ``EINVAL``
 
        -  Invalid sub-stream id.
 
@@ -1490,7 +1490,7 @@ appropriately. The generic error codes are described at the
 
     -  .. row 1
 
-       -  EINVAL
+       -  ``EINVAL``
 
        -  format is not a valid video format.
 
@@ -1556,7 +1556,7 @@ appropriately. The generic error codes are described at the
 
     -  .. row 1
 
-       -  EINVAL
+       -  ``EINVAL``
 
        -  system is not a valid or supported video system.
 
@@ -1670,7 +1670,7 @@ appropriately. The generic error codes are described at the
 
     -  .. row 1
 
-       -  EINVAL
+       -  ``EINVAL``
 
        -  input is not a valid spu setting or driver cannot handle SPU.
 
@@ -1733,7 +1733,7 @@ appropriately. The generic error codes are described at the
 
     -  .. row 1
 
-       -  EINVAL
+       -  ``EINVAL``
 
        -  input is not a valid palette or driver doesn’t handle SPU.
 
@@ -1798,7 +1798,7 @@ appropriately. The generic error codes are described at the
 
     -  .. row 1
 
-       -  EFAULT
+       -  ``EFAULT``
 
        -  driver is not able to return navigational information
 
@@ -1864,7 +1864,7 @@ appropriately. The generic error codes are described at the
 
     -  .. row 1
 
-       -  EINVAL
+       -  ``EINVAL``
 
        -  input is not a valid attribute setting.
 
Documentation/linux_tv/media/v4l/app-pri.rst +1 -1
index 7ff6f44eb591..8c4624dd50e2 100644
@@ -26,7 +26,7 @@ different priority will usually call :ref:`VIDIOC_S_PRIORITY
 :ref:`VIDIOC_QUERYCAP` ioctl.
 
 Ioctls changing driver properties, such as
-:ref:`VIDIOC_S_INPUT <VIDIOC_G_INPUT>`, return an EBUSY error code
+:ref:`VIDIOC_S_INPUT <VIDIOC_G_INPUT>`, return an ``EBUSY`` error code
 after another application obtained higher priority.
 
 
Documentation/linux_tv/media/v4l/buffer.rst +1 -1
index 374e9ba6b4bb..b535177724b9 100644
@@ -651,7 +651,7 @@ buffer.
           the driver will set the ``bytesused`` field to 0, regardless of
           the format. Any Any subsequent call to the
           :ref:`VIDIOC_DQBUF <VIDIOC_QBUF>` ioctl will not block anymore,
-          but return an EPIPE error code.
+          but return an ``EPIPE`` error code.
 
     -  .. row 13
 
Documentation/linux_tv/media/v4l/dev-overlay.rst +2 -2
index 083cf07e55c5..fc71406369a8 100644
@@ -102,7 +102,7 @@ When simultaneous capturing and overlay is supported and the hardware
 prohibits different image and frame buffer formats, the format requested
 first takes precedence. The attempt to capture
 (:ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>`) or overlay
-(:ref:`VIDIOC_S_FBUF <VIDIOC_G_FBUF>`) may fail with an EBUSY error
+(:ref:`VIDIOC_S_FBUF <VIDIOC_G_FBUF>`) may fail with an ``EBUSY`` error
 code or return accordingly modified parameters..
 
 
@@ -142,7 +142,7 @@ of the cropping rectangle. For more information see :ref:`crop`.
 When simultaneous capturing and overlay is supported and the hardware
 prohibits different image and window sizes, the size requested first
 takes precedence. The attempt to capture or overlay as well
-(:ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>`) may fail with an EBUSY error
+(:ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>`) may fail with an ``EBUSY`` error
 code or return accordingly modified parameters.
 
 
Documentation/linux_tv/media/v4l/dev-raw-vbi.rst +4 -4
index 596b0a6b2177..20942bf9232e 100644
@@ -81,16 +81,16 @@ struct :ref:`v4l2_format <v4l2-format>` as above and initialize all
 fields of the struct :ref:`v4l2_vbi_format <v4l2-vbi-format>`
 ``vbi`` member of the ``fmt`` union, or better just modify the results
 of :ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>`, and call the :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>`
-ioctl with a pointer to this structure. Drivers return an EINVAL error
+ioctl with a pointer to this structure. Drivers return an ``EINVAL`` error
 code only when the given parameters are ambiguous, otherwise they modify
 the parameters according to the hardware capabilities and return the
 actual parameters. When the driver allocates resources at this point, it
-may return an EBUSY error code to indicate the returned parameters are
+may return an ``EBUSY`` error code to indicate the returned parameters are
 valid but the required resources are currently not available. That may
 happen for instance when the video and VBI areas to capture would
 overlap, or when the driver supports multiple opens and another process
 already requested VBI capturing or output. Anyway, applications must
-expect other resource allocation points which may return EBUSY, at the
+expect other resource allocation points which may return ``EBUSY``, at the
 :ref:`VIDIOC_STREAMON` ioctl and the first read(),
 write() and select() call.
 
@@ -341,7 +341,7 @@ using buffer timestamps.
 
 Remember the :ref:`VIDIOC_STREAMON` ioctl and the
 first read(), write() and select() call can be resource allocation
-points returning an EBUSY error code if the required hardware resources
+points returning an ``EBUSY`` error code if the required hardware resources
 are temporarily unavailable, for example the device is already in use by
 another process.
 
Documentation/linux_tv/media/v4l/dev-sliced-vbi.rst +5 -5
index 3692cdf8e756..b3e89f93d6ad 100644
@@ -92,9 +92,9 @@ explicitly.
 
 The :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` ioctl modifies the parameters
 according to hardware capabilities. When the driver allocates resources
-at this point, it may return an EBUSY error code if the required
+at this point, it may return an ``EBUSY`` error code if the required
 resources are temporarily unavailable. Other resource allocation points
-which may return EBUSY can be the
+which may return ``EBUSY`` can be the
 :ref:`VIDIOC_STREAMON` ioctl and the first
 :ref:`read() <func-read>`, :ref:`write() <func-write>` and
 :ref:`select() <func-select>` call.
@@ -336,12 +336,12 @@ which may return EBUSY can be the
        -  :cspan:`2` Set of services applicable to 625 line systems.
 
 
-Drivers may return an EINVAL error code when applications attempt to
+Drivers may return an ``EINVAL`` error code when applications attempt to
 read or write data without prior format negotiation, after switching the
 video standard (which may invalidate the negotiated VBI parameters) and
 after switching the video input (which may change the video standard as
 a side effect). The :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` ioctl may
-return an EBUSY error code when applications attempt to change the
+return an ``EBUSY`` error code when applications attempt to change the
 format while i/o is in progress (between a
 :ref:`VIDIOC_STREAMON` and
 :ref:`VIDIOC_STREAMOFF <VIDIOC_STREAMON>` call, and after the first
@@ -428,7 +428,7 @@ of one video frame. The ``id`` of unused
 
 Packets are always passed in ascending line number order, without
 duplicate line numbers. The :ref:`write() <func-write>` function and
-the :ref:`VIDIOC_QBUF` ioctl must return an EINVAL
+the :ref:`VIDIOC_QBUF` ioctl must return an ``EINVAL``
 error code when applications violate this rule. They must also return an
 EINVAL error code when applications pass an incorrect field or line
 number, or a combination of ``field``, ``line`` and ``id`` which has not
Documentation/linux_tv/media/v4l/dev-subdev.rst +2 -2
index 67732da53be5..87a2cec37645 100644
@@ -125,12 +125,12 @@ negotiate formats on a per-pad basis.
 Applications are responsible for configuring coherent parameters on the
 whole pipeline and making sure that connected pads have compatible
 formats. The pipeline is checked for formats mismatch at
-:ref:`VIDIOC_STREAMON` time, and an EPIPE error
+:ref:`VIDIOC_STREAMON` time, and an ``EPIPE`` error
 code is then returned if the configuration is invalid.
 
 Pad-level image format configuration support can be tested by calling
 the :ref:`VIDIOC_SUBDEV_G_FMT` ioctl on pad
-0. If the driver returns an EINVAL error code pad-level format
+0. If the driver returns an ``EINVAL`` error code pad-level format
 configuration is not supported by the sub-device.
 
 
Documentation/linux_tv/media/v4l/diff-v4l.rst +4 -4
index ee9623b454a4..da4b391116b5 100644
@@ -78,7 +78,7 @@ V4L prohibits (or used to prohibit) multiple opens of a device file.
 V4L2 drivers *may* support multiple opens, see :ref:`open` for details
 and consequences.
 
-V4L drivers respond to V4L2 ioctls with an EINVAL error code.
+V4L drivers respond to V4L2 ioctls with an ``EINVAL`` error code.
 
 
 Querying Capabilities
@@ -207,7 +207,7 @@ introduction.
        -  Applications can call the :ref:`VIDIOC_G_CROP <VIDIOC_G_CROP>`
           ioctl to determine if the device supports capturing a subsection
           of the full picture ("cropping" in V4L2). If not, the ioctl
-          returns the EINVAL error code. For more information on cropping
+          returns the ``EINVAL`` error code. For more information on cropping
           and scaling see :ref:`crop`.
 
     -  .. row 12
@@ -791,7 +791,7 @@ differences.
 
        -  The ``VIDIOCMCAPTURE`` ioctl prepares a buffer for capturing. It
           also determines the image format for this buffer. The ioctl
-          returns immediately, eventually with an EAGAIN error code if no
+          returns immediately, eventually with an ``EAGAIN`` error code if no
           video signal had been detected. When the driver supports more than
           one buffer applications can call the ioctl multiple times and thus
           have multiple outstanding capture requests.
@@ -899,7 +899,7 @@ remaining fields are probably equivalent to struct
 Apparently only the Zoran (ZR 36120) driver implements these ioctls. The
 semantics differ from those specified for V4L2 in two ways. The
 parameters are reset on :ref:`open() <func-open>` and
-``VIDIOCSVBIFMT`` always returns an EINVAL error code if the parameters
+``VIDIOCSVBIFMT`` always returns an ``EINVAL`` error code if the parameters
 are invalid.
 
 
Documentation/linux_tv/media/v4l/dmabuf.rst +1 -1
index 773d39308fd6..6f4f0f03e91d 100644
@@ -129,7 +129,7 @@ Two methods exist to suspend execution of the application until one or
 more buffers can be dequeued. By default ``VIDIOC_DQBUF`` blocks when no
 buffer is in the outgoing queue. When the ``O_NONBLOCK`` flag was given
 to the :ref:`open() <func-open>` function, ``VIDIOC_DQBUF`` returns
-immediately with an EAGAIN error code when no buffer is available. The
+immediately with an ``EAGAIN`` error code when no buffer is available. The
 :ref:`select() <func-select>` and :ref:`poll() <func-poll>`
 functions are always available.
 
Documentation/linux_tv/media/v4l/field-order_files/fieldseq_tb.gif binary +0 -0
index 718492f1cfc703e6553c3b0e2afc4b269258412b..bf1c3f1b50d5ff04b196659ca5c2629ec9deae03 100644
GIT binary patch
Documentation/linux_tv/media/v4l/func-open.rst +1 -1
index 06937b925be3..dcfce511e273 100644
@@ -33,7 +33,7 @@ Arguments
     devices only writing.
 
     When the ``O_NONBLOCK`` flag is given, the read() function and the
-    :ref:`VIDIOC_DQBUF <VIDIOC_QBUF>` ioctl will return the EAGAIN
+    :ref:`VIDIOC_DQBUF <VIDIOC_QBUF>` ioctl will return the ``EAGAIN``
     error code when no data is available or no buffer is in the driver
     outgoing queue, otherwise these functions block until data becomes
     available. All V4L2 drivers exchanging data with applications must
Documentation/linux_tv/media/v4l/func-read.rst +1 -1
index 94349fa19215..4a4f3e86fd13 100644
@@ -45,7 +45,7 @@ worth of data.
 
 By default :c:func:`read()` blocks until data becomes available. When
 the ``O_NONBLOCK`` flag was given to the :ref:`open() <func-open>`
-function it returns immediately with an EAGAIN error code when no data
+function it returns immediately with an ``EAGAIN`` error code when no data
 is available. The :ref:`select() <func-select>` or
 :ref:`poll() <func-poll>` functions can always be used to suspend
 execution until data becomes available. All drivers supporting the
Documentation/linux_tv/media/v4l/gen-errors.rst +10 -10
index 862cdff45f36..ad119579e9ea 100644
@@ -16,7 +16,7 @@ Generic Error Codes
 
     -  .. row 1
 
-       -  EAGAIN (aka EWOULDBLOCK)
+       -  ``EAGAIN`` (aka ``EWOULDBLOCK``)
 
        -  The ioctl can't be handled because the device is in state where it
           can't perform it. This could happen for example in case where
@@ -26,13 +26,13 @@ Generic Error Codes
 
     -  .. row 2
 
-       -  EBADF
+       -  ``EBADF``
 
        -  The file descriptor is not a valid.
 
     -  .. row 3
 
-       -  EBUSY
+       -  ``EBUSY``
 
        -  The ioctl can't be handled because the device is busy. This is
           typically return while device is streaming, and an ioctl tried to
@@ -43,14 +43,14 @@ Generic Error Codes
 
     -  .. row 4
 
-       -  EFAULT
+       -  ``EFAULT``
 
        -  There was a failure while copying data from/to userspace, probably
           caused by an invalid pointer reference.
 
     -  .. row 5
 
-       -  EINVAL
+       -  ``EINVAL``
 
        -  One or more of the ioctl parameters are invalid or out of the
           allowed range. This is a widely used error code. See the
@@ -58,19 +58,19 @@ Generic Error Codes
 
     -  .. row 6
 
-       -  ENODEV
+       -  ``ENODEV``
 
        -  Device not found or was removed.
 
     -  .. row 7
 
-       -  ENOMEM
+       -  ``ENOMEM``
 
        -  There's not enough memory to handle the desired operation.
 
     -  .. row 8
 
-       -  ENOTTY
+       -  ``ENOTTY``
 
        -  The ioctl is not supported by the driver, actually meaning that
           the required functionality is not available, or the file
@@ -78,7 +78,7 @@ Generic Error Codes
 
     -  .. row 9
 
-       -  ENOSPC
+       -  ``ENOSPC``
 
        -  On USB devices, the stream ioctl's can return this error, meaning
           that this request would overcommit the usb bandwidth reserved for
@@ -86,7 +86,7 @@ Generic Error Codes
 
     -  .. row 10
 
-       -  EPERM
+       -  ``EPERM``
 
        -  Permission denied. Can be returned if the device needs write
           permission, or some special capabilities is needed (e. g. root)
Documentation/linux_tv/media/v4l/hist-v4l2.rst +4 -4
index bb115a0f2427..664fbe4780af 100644
@@ -280,14 +280,14 @@ A number of changes were made to the raw VBI interface.
    transmitted only on the first field. The comment that both ``count``
    values will usually be equal is misleading and pointless and has been
    removed. This change *breaks compatibility* with earlier versions:
-   Drivers may return EINVAL, applications may not function correctly.
+   Drivers may return ``EINVAL``, applications may not function correctly.
 
 3. Drivers are again permitted to return negative (unknown) start values
    as proposed earlier. Why this feature was dropped is unclear. This
    change may *break compatibility* with applications depending on the
    start values being positive. The use of ``EBUSY`` and ``EINVAL``
    error codes with the :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` ioctl was
-   clarified. The EBUSY error code was finally documented, and the
+   clarified. The ``EBUSY`` error code was finally documented, and the
    ``reserved2`` field which was previously mentioned only in the
    ``videodev.h`` header file.
 
@@ -324,7 +324,7 @@ This unnamed version was finally merged into Linux 2.5.46.
 3.  The struct :ref:`v4l2_capability <v4l2-capability>` changed
     dramatically. Note that also the size of the structure changed,
     which is encoded in the ioctl request code, thus older V4L2 devices
-    will respond with an EINVAL error code to the new
+    will respond with an ``EINVAL`` error code to the new
     :ref:`VIDIOC_QUERYCAP` ioctl.
 
     There are new fields to identify the driver, a new RDS device
@@ -855,7 +855,7 @@ V4L2 spec erratum 2004-08-01
 4. The documentation of the :ref:`VIDIOC_QBUF` and
    :ref:`VIDIOC_DQBUF <VIDIOC_QBUF>` ioctls did not mention the
    struct :ref:`v4l2_buffer <v4l2-buffer>` ``memory`` field. It was
-   also missing from examples. Also on the ``VIDIOC_DQBUF`` page the EIO
+   also missing from examples. Also on the ``VIDIOC_DQBUF`` page the ``EIO``
    error code was not documented.
 
 
Documentation/linux_tv/media/v4l/lirc_write.rst +1 -1
index 167d8b5198d8..234c8f43613e 100644
@@ -11,7 +11,7 @@ values. Pulses and spaces are only marked implicitly by their position.
 The data must start and end with a pulse, therefore, the data must
 always include an uneven number of samples. The write function must
 block until the data has been transmitted by the hardware. If more data
-is provided than the hardware can send, the driver returns EINVAL.
+is provided than the hardware can send, the driver returns ``EINVAL``.
 
 
 .. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/media-ioc-enum-entities.rst +1 -1
index 2549857e681e..6d2deba8dea8 100644
@@ -40,7 +40,7 @@ EINVAL error code when the id is invalid.
 Entities can be enumerated by or'ing the id with the
 ``MEDIA_ENT_ID_FLAG_NEXT`` flag. The driver will return information
 about the entity with the smallest id strictly larger than the requested
-one ('next entity'), or the EINVAL error code if there is none.
+one ('next entity'), or the ``EINVAL`` error code if there is none.
 
 Entity IDs can be non-contiguous. Applications must *not* try to
 enumerate entities by calling MEDIA_IOC_ENUM_ENTITIES with increasing
Documentation/linux_tv/media/v4l/media-ioc-setup-link.rst +3 -3
index aa6495fe3608..5b9c44e4ee77 100644
@@ -43,13 +43,13 @@ not be enabled or disabled.
 
 Link configuration has no side effect on other links. If an enabled link
 at the sink pad prevents the link from being enabled, the driver returns
-with an EBUSY error code.
+with an ``EBUSY`` error code.
 
 Only links marked with the ``DYNAMIC`` link flag can be enabled/disabled
 while streaming media data. Attempting to enable or disable a streaming
-non-dynamic link will return an EBUSY error code.
+non-dynamic link will return an ``EBUSY`` error code.
 
-If the specified link can't be found the driver returns with an EINVAL
+If the specified link can't be found the driver returns with an ``EINVAL``
 error code.
 
 
Documentation/linux_tv/media/v4l/mmap.rst +1 -1
index 2013e882f0d4..5f7450ff16c2 100644
@@ -235,7 +235,7 @@ suspend execution of the application until one or more buffers can be
 dequeued. By default ``VIDIOC_DQBUF`` blocks when no buffer is in the
 outgoing queue. When the ``O_NONBLOCK`` flag was given to the
 :ref:`open() <func-open>` function, ``VIDIOC_DQBUF`` returns
-immediately with an EAGAIN error code when no buffer is available. The
+immediately with an ``EAGAIN`` error code when no buffer is available. The
 :ref:`select() <func-select>` or :ref:`poll() <func-poll>` functions
 are always available.
 
Documentation/linux_tv/media/v4l/open.rst +1 -1
index ec6b456e37f0..963d2923aaa3 100644
@@ -146,7 +146,7 @@ sections.
 .. [1]
    There are still some old and obscure drivers that have not been
    updated to allow for multiple opens. This implies that for such
-   drivers :ref:`open() <func-open>` can return an EBUSY error code
+   drivers :ref:`open() <func-open>` can return an ``EBUSY`` error code
    when the device is already in use.
 
 .. [2]
Documentation/linux_tv/media/v4l/querycap.rst +1 -1
index bb905eb82c08..f3fa6cb6befe 100644
@@ -20,7 +20,7 @@ Starting with kernel version 3.1, :ref:`VIDIOC_QUERYCAP`
 will return the V4L2 API version used by the driver, with generally
 matches the Kernel version. There's no need of using
 :ref:`VIDIOC_QUERYCAP` to check if a specific ioctl
-is supported, the V4L2 core now returns ENOTTY if a driver doesn't
+is supported, the V4L2 core now returns ``ENOTTY`` if a driver doesn't
 provide support for an ioctl.
 
 Other features can be queried by calling the respective ioctl, for
Documentation/linux_tv/media/v4l/remote_controllers_sysfs_nodes.rst +2 -2
index e2fb81144a4d..03d2d422d4c0 100644
@@ -49,7 +49,7 @@ Writing "proto" will enable only "proto".
 
 Writing "none" will disable all protocols.
 
-Write fails with EINVAL if an invalid protocol combination or unknown
+Write fails with ``EINVAL`` if an invalid protocol combination or unknown
 protocol name is used.
 
 
@@ -106,7 +106,7 @@ Writing "proto" will use "proto" for wakeup events.
 
 Writing "none" will disable wakeup.
 
-Write fails with EINVAL if an invalid protocol combination or unknown
+Write fails with ``EINVAL`` if an invalid protocol combination or unknown
 protocol name is used, or if wakeup is not supported by the hardware.
 
 
Documentation/linux_tv/media/v4l/standard.rst +1 -1
index 4131ca880268..67e295daa054 100644
@@ -58,7 +58,7 @@ Here the driver shall set the ``std`` field of struct
 :ref:`v4l2_input <v4l2-input>` and struct
 :ref:`v4l2_output <v4l2-output>` to zero and the :ref:`VIDIOC_G_STD <VIDIOC_G_STD>`,
 :ref:`VIDIOC_S_STD <VIDIOC_G_STD>`, :ref:`VIDIOC_QUERYSTD` and :ref:`VIDIOC_ENUMSTD` ioctls
-shall return the ENOTTY error code or the EINVAL error code.
+shall return the ``ENOTTY`` error code or the ``EINVAL`` error code.
 
 Applications can make use of the :ref:`input-capabilities` and
 :ref:`output-capabilities` flags to determine whether the video
Documentation/linux_tv/media/v4l/streaming-par.rst +1 -1
index bb8100b6ef87..643bad8cfc1a 100644
@@ -30,7 +30,7 @@ contains a union holding separate parameters for input and output
 devices.
 
 These ioctls are optional, drivers need not implement them. If so, they
-return the EINVAL error code.
+return the ``EINVAL`` error code.
 
 
 .. ------------------------------------------------------------------------------
Documentation/linux_tv/media/v4l/userp.rst +1 -1
index a5426d10ceb8..23ef4b71444d 100644
@@ -77,7 +77,7 @@ Two methods exist to suspend execution of the application until one or
 more buffers can be dequeued. By default ``VIDIOC_DQBUF`` blocks when no
 buffer is in the outgoing queue. When the ``O_NONBLOCK`` flag was given
 to the :ref:`open() <func-open>` function, ``VIDIOC_DQBUF`` returns
-immediately with an EAGAIN error code when no buffer is available. The
+immediately with an ``EAGAIN`` error code when no buffer is available. The
 :ref:`select() <func-select>` or :ref:`poll() <func-poll>` function
 are always available.
 
Documentation/linux_tv/media/v4l/vidioc-create-bufs.rst +2 -2
index fc9542e4204c..9d872e3b9c22 100644
@@ -97,8 +97,8 @@ than the number requested.
           :ref:`VIDIOC_CREATE_BUFS` will set ``index`` to the current number of
           created buffers, and it will check the validity of ``memory`` and
           ``format.type``. If those are invalid -1 is returned and errno is
-          set to EINVAL error code, otherwise :ref:`VIDIOC_CREATE_BUFS` returns
-          0. It will never set errno to EBUSY error code in this particular
+          set to ``EINVAL`` error code, otherwise :ref:`VIDIOC_CREATE_BUFS` returns
+          0. It will never set errno to ``EBUSY`` error code in this particular
           case.
 
     -  .. row 3
Documentation/linux_tv/media/v4l/vidioc-dbg-g-chip-info.rst +1 -1
index 4baf472b658b..7fc1e6b3e892 100644
@@ -56,7 +56,7 @@ and ``flags`` fields.
 When ``match.type`` is ``V4L2_CHIP_MATCH_BRIDGE``, ``match.addr``
 selects the nth bridge 'chip' on the TV card. You can enumerate all
 chips by starting at zero and incrementing ``match.addr`` by one until
-:ref:`VIDIOC_DBG_G_CHIP_INFO` fails with an EINVAL error code. The number
+:ref:`VIDIOC_DBG_G_CHIP_INFO` fails with an ``EINVAL`` error code. The number
 zero always selects the bridge chip itself, e. g. the chip connected to
 the PCI or USB bus. Non-zero numbers identify specific parts of the
 bridge chip such as an AC97 register block.
Documentation/linux_tv/media/v4l/vidioc-decoder-cmd.rst +3 -3
index d3b3c8a2ad08..3fd1da8c1132 100644
@@ -225,7 +225,7 @@ introduced in Linux 3.3.
           indicated by the driver setting the ``bytesused`` field to 0. Once
           the ``V4L2_BUF_FLAG_LAST`` flag was set, the
           :ref:`VIDIOC_DQBUF <VIDIOC_QBUF>` ioctl will not block anymore,
-          but return an EPIPE error code. If
+          but return an ``EPIPE`` error code. If
           ``V4L2_DEC_CMD_STOP_IMMEDIATELY`` is set, then the decoder stops
           immediately (ignoring the ``pts`` value), otherwise it will keep
           decoding until timestamp >= pts or until the last of the pending
@@ -238,7 +238,7 @@ introduced in Linux 3.3.
        -  2
 
        -  Pause the decoder. When the decoder has not been started yet, the
-          driver will return an EPERM error code. When the decoder is
+          driver will return an ``EPERM`` error code. When the decoder is
           already paused, this command does nothing. This command has one
           flag: if ``V4L2_DEC_CMD_PAUSE_TO_BLACK`` is set, then set the
           decoder output to black when paused.
@@ -250,7 +250,7 @@ introduced in Linux 3.3.
        -  3
 
        -  Resume decoding after a PAUSE command. When the decoder has not
-          been started yet, the driver will return an EPERM error code. When
+          been started yet, the driver will return an ``EPERM`` error code. When
           the decoder is already running, this command does nothing. No
           flags are defined for this command.
 
Documentation/linux_tv/media/v4l/vidioc-dv-timings-cap.rst +1 -1
index 50133087af5b..dbfc5e92faf3 100644
@@ -46,7 +46,7 @@ receivers) or outputs (for DV transmitters), applications must specify
 the desired pad number in the struct
 :ref:`v4l2_dv_timings_cap <v4l2-dv-timings-cap>` ``pad`` field and
 zero the ``reserved`` array. Attempts to query capabilities on a pad
-that doesn't support them will return an EINVAL error code.
+that doesn't support them will return an ``EINVAL`` error code.
 
 
 .. _v4l2-bt-timings-cap:
Documentation/linux_tv/media/v4l/vidioc-encoder-cmd.rst +3 -3
index 7d029498d700..b62b508c83a7 100644
@@ -135,7 +135,7 @@ introduced in Linux 2.6.21.
           driver setting the ``bytesused`` field to 0. Once the
           ``V4L2_BUF_FLAG_LAST`` flag was set, the
           :ref:`VIDIOC_DQBUF <VIDIOC_QBUF>` ioctl will not block anymore,
-          but return an EPIPE error code.
+          but return an ``EPIPE`` error code.
 
     -  .. row 3
 
@@ -144,7 +144,7 @@ introduced in Linux 2.6.21.
        -  2
 
        -  Pause the encoder. When the encoder has not been started yet, the
-          driver will return an EPERM error code. When the encoder is
+          driver will return an ``EPERM`` error code. When the encoder is
           already paused, this command does nothing. No flags are defined
           for this command.
 
@@ -155,7 +155,7 @@ introduced in Linux 2.6.21.
        -  3
 
        -  Resume encoding after a PAUSE command. When the encoder has not
-          been started yet, the driver will return an EPERM error code. When
+          been started yet, the driver will return an ``EPERM`` error code. When
           the encoder is already running, this command does nothing. No
           flags are defined for this command.
 
Documentation/linux_tv/media/v4l/vidioc-enum-dv-timings.rst +3 -3
index 4639d9a9f0a6..a3deae4844f5 100644
@@ -43,10 +43,10 @@ To query the available timings, applications initialize the ``index``
 field, set the ``pad`` field to 0, zero the reserved array of struct
 :ref:`v4l2_enum_dv_timings <v4l2-enum-dv-timings>` and call the
 ``VIDIOC_ENUM_DV_TIMINGS`` ioctl on a video node with a pointer to this
-structure. Drivers fill the rest of the structure or return an EINVAL
+structure. Drivers fill the rest of the structure or return an ``EINVAL``
 error code when the index is out of bounds. To enumerate all supported
 DV timings, applications shall begin at index zero, incrementing by one
-until the driver returns EINVAL. Note that drivers may enumerate a
+until the driver returns ``EINVAL``. Note that drivers may enumerate a
 different set of DV timings after switching the video input or output.
 
 When implemented by the driver DV timings of subdevices can be queried
@@ -56,7 +56,7 @@ or outputs (for DV transmitters), applications must specify the desired
 pad number in the struct
 :ref:`v4l2_enum_dv_timings <v4l2-enum-dv-timings>` ``pad`` field.
 Attempts to enumerate timings on a pad that doesn't support them will
-return an EINVAL error code.
+return an ``EINVAL`` error code.
 
 
 .. _v4l2-enum-dv-timings:
Documentation/linux_tv/media/v4l/vidioc-enum-fmt.rst +2 -2
index a20ed3ae3417..a8b162ed85a0 100644
@@ -34,9 +34,9 @@ Description
 To enumerate image formats applications initialize the ``type`` and
 ``index`` field of struct :ref:`v4l2_fmtdesc <v4l2-fmtdesc>` and call
 the :ref:`VIDIOC_ENUM_FMT` ioctl with a pointer to this structure. Drivers
-fill the rest of the structure or return an EINVAL error code. All
+fill the rest of the structure or return an ``EINVAL`` error code. All
 formats are enumerable by beginning at index zero and incrementing by
-one until EINVAL is returned.
+one until ``EINVAL`` is returned.
 
 Note that after switching input or output the list of enumerated image
 formats may be different.
Documentation/linux_tv/media/v4l/vidioc-enumaudio.rst +2 -2
index 32ef1fcb013d..51d783734107 100644
@@ -35,9 +35,9 @@ To query the attributes of an audio input applications initialize the
 ``index`` field and zero out the ``reserved`` array of a struct
 :ref:`v4l2_audio <v4l2-audio>` and call the :ref:`VIDIOC_ENUMAUDIO`
 ioctl with a pointer to this structure. Drivers fill the rest of the
-structure or return an EINVAL error code when the index is out of
+structure or return an ``EINVAL`` error code when the index is out of
 bounds. To enumerate all audio inputs applications shall begin at index
-zero, incrementing by one until the driver returns EINVAL.
+zero, incrementing by one until the driver returns ``EINVAL``.
 
 See :ref:`VIDIOC_G_AUDIO <VIDIOC_G_AUDIO>` for a description of struct
 :ref:`v4l2_audio <v4l2-audio>`.
Documentation/linux_tv/media/v4l/vidioc-enumaudioout.rst +2 -2
index 8412f1c0e4cf..660bcee62fcf 100644
@@ -35,9 +35,9 @@ To query the attributes of an audio output applications initialize the
 ``index`` field and zero out the ``reserved`` array of a struct
 :ref:`v4l2_audioout <v4l2-audioout>` and call the ``VIDIOC_G_AUDOUT``
 ioctl with a pointer to this structure. Drivers fill the rest of the
-structure or return an EINVAL error code when the index is out of
+structure or return an ``EINVAL`` error code when the index is out of
 bounds. To enumerate all audio outputs applications shall begin at index
-zero, incrementing by one until the driver returns EINVAL.
+zero, incrementing by one until the driver returns ``EINVAL``.
 
 Note connectors on a TV card to loop back the received audio signal to a
 sound card are not audio outputs in this sense.
Documentation/linux_tv/media/v4l/vidioc-enuminput.rst +2 -2
index 3b0577a307e9..7344777e3514 100644
@@ -34,9 +34,9 @@ Description
 To query the attributes of a video input applications initialize the
 ``index`` field of struct :ref:`v4l2_input <v4l2-input>` and call the
 :ref:`VIDIOC_ENUMINPUT` ioctl with a pointer to this structure. Drivers
-fill the rest of the structure or return an EINVAL error code when the
+fill the rest of the structure or return an ``EINVAL`` error code when the
 index is out of bounds. To enumerate all inputs applications shall begin
-at index zero, incrementing by one until the driver returns EINVAL.
+at index zero, incrementing by one until the driver returns ``EINVAL``.
 
 
 .. _v4l2-input:
Documentation/linux_tv/media/v4l/vidioc-enumoutput.rst +1 -1
index 1ad68a88e594..de0952353ad0 100644
@@ -34,7 +34,7 @@ Description
 To query the attributes of a video outputs applications initialize the
 ``index`` field of struct :ref:`v4l2_output <v4l2-output>` and call
 the :ref:`VIDIOC_ENUMOUTPUT` ioctl with a pointer to this structure.
-Drivers fill the rest of the structure or return an EINVAL error code
+Drivers fill the rest of the structure or return an ``EINVAL`` error code
 when the index is out of bounds. To enumerate all outputs applications
 shall begin at index zero, incrementing by one until the driver returns
 EINVAL.
Documentation/linux_tv/media/v4l/vidioc-enumstd.rst +2 -2
index 6421b37b5ace..f4866719e099 100644
@@ -35,9 +35,9 @@ To query the attributes of a video standard, especially a custom (driver
 defined) one, applications initialize the ``index`` field of struct
 :ref:`v4l2_standard <v4l2-standard>` and call the :ref:`VIDIOC_ENUMSTD`
 ioctl with a pointer to this structure. Drivers fill the rest of the
-structure or return an EINVAL error code when the index is out of
+structure or return an ``EINVAL`` error code when the index is out of
 bounds. To enumerate all standards applications shall begin at index
-zero, incrementing by one until the driver returns EINVAL. Drivers may
+zero, incrementing by one until the driver returns ``EINVAL``. Drivers may
 enumerate a different set of standards after switching the video input
 or output. [1]_
 
Documentation/linux_tv/media/v4l/vidioc-g-audio.rst +1 -1
index 66d74f3964f3..8430b49b770a 100644
@@ -37,7 +37,7 @@ Description
 To query the current audio input applications zero out the ``reserved``
 array of a struct :ref:`v4l2_audio <v4l2-audio>` and call the
 :ref:`VIDIOC_G_AUDIO <VIDIOC_G_AUDIO>` ioctl with a pointer to this structure. Drivers fill
-the rest of the structure or return an EINVAL error code when the device
+the rest of the structure or return an ``EINVAL`` error code when the device
 has no audio inputs, or none which combine with the current video input.
 
 Audio inputs have one writable property, the audio mode. To select the
Documentation/linux_tv/media/v4l/vidioc-g-audioout.rst +2 -2
index 990f86a20bd2..e2ca42cbe9ae 100644
@@ -37,7 +37,7 @@ Description
 To query the current audio output applications zero out the ``reserved``
 array of a struct :ref:`v4l2_audioout <v4l2-audioout>` and call the
 ``VIDIOC_G_AUDOUT`` ioctl with a pointer to this structure. Drivers fill
-the rest of the structure or return an EINVAL error code when the device
+the rest of the structure or return an ``EINVAL`` error code when the device
 has no audio inputs, or none which combine with the current video
 output.
 
@@ -46,7 +46,7 @@ current audio output applications can initialize the ``index`` field and
 ``reserved`` array (which in the future may contain writable properties)
 of a :c:type:`struct v4l2_audioout` structure and call the
 ``VIDIOC_S_AUDOUT`` ioctl. Drivers switch to the requested output or
-return the EINVAL error code when the index is out of bounds. This is a
+return the ``EINVAL`` error code when the index is out of bounds. This is a
 write-only ioctl, it does not return the current audio output attributes
 as ``VIDIOC_G_AUDOUT`` does.
 
Documentation/linux_tv/media/v4l/vidioc-g-crop.rst +2 -2
index e2ffef351edf..888ddb045340 100644
@@ -38,7 +38,7 @@ To query the cropping rectangle size and position applications set the
 ``type`` field of a :c:type:`struct v4l2_crop` structure to the
 respective buffer (stream) type and call the :ref:`VIDIOC_G_CROP <VIDIOC_G_CROP>` ioctl
 with a pointer to this structure. The driver fills the rest of the
-structure or returns the EINVAL error code if cropping is not supported.
+structure or returns the ``EINVAL`` error code if cropping is not supported.
 
 To change the cropping rectangle applications initialize the ``type``
 and struct :ref:`v4l2_rect <v4l2-rect>` substructure named ``c`` of a
@@ -72,7 +72,7 @@ image parameters and repeat the cycle until satisfactory parameters have
 been negotiated.
 
 When cropping is not supported then no parameters are changed and
-:ref:`VIDIOC_S_CROP <VIDIOC_G_CROP>` returns the EINVAL error code.
+:ref:`VIDIOC_S_CROP <VIDIOC_G_CROP>` returns the ``EINVAL`` error code.
 
 
 .. _v4l2-crop:
Documentation/linux_tv/media/v4l/vidioc-g-ctrl.rst +2 -2
index 333eb4fa5099..07e27e474326 100644
@@ -39,9 +39,9 @@ value of a control applications initialize the ``id`` and ``value``
 fields of a struct :c:type:`struct v4l2_control` and call the
 :ref:`VIDIOC_S_CTRL <VIDIOC_G_CTRL>` ioctl.
 
-When the ``id`` is invalid drivers return an EINVAL error code. When the
+When the ``id`` is invalid drivers return an ``EINVAL`` error code. When the
 ``value`` is out of bounds drivers can choose to take the closest valid
-value or return an ERANGE error code, whatever seems more appropriate.
+value or return an ``ERANGE`` error code, whatever seems more appropriate.
 However, :ref:`VIDIOC_S_CTRL <VIDIOC_G_CTRL>` is a write-only ioctl, it does not return the
 actual new value. If the ``value`` is inappropriate for the control
 (e.g. if it refers to an unsupported menu index of a menu control), then
Documentation/linux_tv/media/v4l/vidioc-g-dv-timings.rst +2 -2
index c9de292ca1d2..2b2e154a2d1f 100644
@@ -42,13 +42,13 @@ information is filled in using the structure struct
 :ref:`v4l2_dv_timings <v4l2-dv-timings>`. These ioctls take a
 pointer to the struct :ref:`v4l2_dv_timings <v4l2-dv-timings>`
 structure as argument. If the ioctl is not supported or the timing
-values are not correct, the driver returns EINVAL error code.
+values are not correct, the driver returns ``EINVAL`` error code.
 
 The ``linux/v4l2-dv-timings.h`` header can be used to get the timings of
 the formats in the :ref:`cea861` and :ref:`vesadmt` standards. If
 the current input or output does not support DV timings (e.g. if
 :ref:`VIDIOC_ENUMINPUT` does not set the
-``V4L2_IN_CAP_DV_TIMINGS`` flag), then ENODATA error code is returned.
+``V4L2_IN_CAP_DV_TIMINGS`` flag), then ``ENODATA`` error code is returned.
 
 
 Return Value
Documentation/linux_tv/media/v4l/vidioc-g-edid.rst +6 -6
index 54f364bdde8e..b7d56ba0032a 100644
@@ -48,7 +48,7 @@ returned by :ref:`VIDIOC_ENUMINPUT` and
 :ref:`VIDIOC_ENUMOUTPUT` respectively. When used
 with subdevice nodes the ``pad`` field represents the input or output
 pad of the subdevice. If there is no EDID support for the given ``pad``
-value, then the EINVAL error code will be returned.
+value, then the ``EINVAL`` error code will be returned.
 
 To get the EDID data the application has to fill in the ``pad``,
 ``start_block``, ``blocks`` and ``edid`` fields, zero the ``reserved``
@@ -59,7 +59,7 @@ array and call :ref:`VIDIOC_G_EDID <VIDIOC_G_EDID>`. The current EDID from block
 
 If there are fewer blocks than specified, then the driver will set
 ``blocks`` to the actual number of blocks. If there are no EDID blocks
-available at all, then the error code ENODATA is set.
+available at all, then the error code ``ENODATA`` is set.
 
 If blocks have to be retrieved from the sink, then this call will block
 until they have been read.
@@ -79,9 +79,9 @@ receivers as it makes no sense for a transmitter.
 
 The driver assumes that the full EDID is passed in. If there are more
 EDID blocks than the hardware can handle then the EDID is not written,
-but instead the error code E2BIG is set and ``blocks`` is set to the
+but instead the error code ``E2BIG`` is set and ``blocks`` is set to the
 maximum that the hardware supports. If ``start_block`` is any value
-other than 0 then the error code EINVAL is set.
+other than 0 then the error code ``EINVAL`` is set.
 
 To disable an EDID you set ``blocks`` to 0. Depending on the hardware
 this will drive the hotplug pin low and/or block the source from reading
@@ -155,10 +155,10 @@ On success 0 is returned, on error -1 and the ``errno`` variable is set
 appropriately. The generic error codes are described at the
 :ref:`Generic Error Codes <gen-errors>` chapter.
 
-ENODATA
+``ENODATA``
     The EDID data is not available.
 
-E2BIG
+``E2BIG``
     The EDID data you provided is more than the hardware can handle.
 
 
Documentation/linux_tv/media/v4l/vidioc-g-ext-ctrls.rst +5 -5
index 91a0b8227423..d12021c6fbb8 100644
@@ -54,7 +54,7 @@ the ``id``, ``size`` and ``reserved2`` fields of each struct
 
 If the ``size`` is too small to receive the control result (only
 relevant for pointer-type controls like strings), then the driver will
-set ``size`` to a valid value and return an ENOSPC error code. You
+set ``size`` to a valid value and return an ``ENOSPC`` error code. You
 should re-allocate the memory to this new size and try again. For the
 string type it is possible that the same issue occurs again if the
 string has grown in the meantime. It is recommended to call
@@ -81,13 +81,13 @@ initialize the ``id``, ``size``, ``reserved2`` and
 values are automatically adjusted to a valid value or if an error is
 returned.
 
-When the ``id`` or ``which`` is invalid drivers return an EINVAL error
+When the ``id`` or ``which`` is invalid drivers return an ``EINVAL`` error
 code. When the value is out of bounds drivers can choose to take the
-closest valid value or return an ERANGE error code, whatever seems more
+closest valid value or return an ``ERANGE`` error code, whatever seems more
 appropriate. In the first case the new value is set in struct
 :ref:`v4l2_ext_control <v4l2-ext-control>`. If the new control value
 is inappropriate (e.g. the given menu index is not supported by the menu
-control), then this will also result in an EINVAL error code error.
+control), then this will also result in an ``EINVAL`` error code error.
 
 The driver will only set/get these controls if all control values are
 correct. This prevents the situation where only some of the controls
@@ -124,7 +124,7 @@ still cause this situation.
           size of the memory containing the payload, or that will receive
           the payload. If :ref:`VIDIOC_G_EXT_CTRLS <VIDIOC_G_EXT_CTRLS>` finds that this value is
           less than is required to store the payload result, then it is set
-          to a value large enough to store the payload result and ENOSPC is
+          to a value large enough to store the payload result and ``ENOSPC`` is
           returned. Note that for string controls this ``size`` field should
           not be confused with the length of the string. This field refers
           to the size of the memory that contains the string. The actual
Documentation/linux_tv/media/v4l/vidioc-g-fmt.rst +3 -3
index 173e4aca7ee1..24fac4536196 100644
@@ -47,7 +47,7 @@ devices that is either the struct
 :ref:`v4l2_pix_format <v4l2-pix-format>` ``pix`` or the struct
 :ref:`v4l2_pix_format_mplane <v4l2-pix-format-mplane>` ``pix_mp``
 member. When the requested buffer type is not supported drivers return
-an EINVAL error code.
+an ``EINVAL`` error code.
 
 To change the current format parameters applications initialize the
 ``type`` field and all fields of the respective ``fmt`` union member.
@@ -69,11 +69,11 @@ application must implement the :ref:`VIDIOC_G_FMT <VIDIOC_G_FMT>` and :ref:`VIDI
 ioctl. When the requested buffer type is not supported drivers return an
 EINVAL error code on a :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` attempt. When I/O is already in
 progress or the resource is not available for other reasons drivers
-return the EBUSY error code.
+return the ``EBUSY`` error code.
 
 The :ref:`VIDIOC_TRY_FMT <VIDIOC_G_FMT>` ioctl is equivalent to :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` with one
 exception: it does not change driver state. It can also be called at any
-time, never returning EBUSY. This function is provided to negotiate
+time, never returning ``EBUSY``. This function is provided to negotiate
 parameters, to learn about hardware limitations, without disabling I/O
 or possibly time consuming hardware preparations. Although strongly
 recommended drivers are not required to implement this ioctl.
Documentation/linux_tv/media/v4l/vidioc-g-input.rst +1 -1
index 6b1fc39c602f..1c14f7dcffeb 100644
@@ -36,7 +36,7 @@ To query the current video input applications call the
 :ref:`VIDIOC_G_INPUT <VIDIOC_G_INPUT>` ioctl with a pointer to an integer where the driver
 stores the number of the input, as in the struct
 :ref:`v4l2_input <v4l2-input>` ``index`` field. This ioctl will fail
-only when there are no video inputs, returning EINVAL.
+only when there are no video inputs, returning ``EINVAL``.
 
 To select a video input applications store the number of the desired
 input in an integer and call the :ref:`VIDIOC_S_INPUT <VIDIOC_G_INPUT>` ioctl with a pointer
Documentation/linux_tv/media/v4l/vidioc-g-modulator.rst +3 -3
index b41ec0fe6acc..2342e036850b 100644
@@ -38,7 +38,7 @@ To query the attributes of a modulator applications initialize the
 ``index`` field and zero out the ``reserved`` array of a struct
 :ref:`v4l2_modulator <v4l2-modulator>` and call the
 :ref:`VIDIOC_G_MODULATOR <VIDIOC_G_MODULATOR>` ioctl with a pointer to this structure. Drivers
-fill the rest of the structure or return an EINVAL error code when the
+fill the rest of the structure or return an ``EINVAL`` error code when the
 index is out of bounds. To enumerate all modulators applications shall
 begin at index zero, incrementing by one until the driver returns
 EINVAL.
@@ -199,7 +199,7 @@ To change the radio frequency the
           ``V4L2_TUNER_SUB_SAP``. If the hardware does not support the
           respective audio matrix, or the current video standard does not
           permit bilingual audio the :ref:`VIDIOC_S_MODULATOR <VIDIOC_G_MODULATOR>` ioctl shall
-          return an EINVAL error code and the driver shall fall back to mono
+          return an ``EINVAL`` error code and the driver shall fall back to mono
           or stereo mode.
 
     -  .. row 4
@@ -230,7 +230,7 @@ To change the radio frequency the
           ``V4L2_TUNER_SUB_MONO`` or ``V4L2_TUNER_SUB_STEREO``. If the
           hardware does not support the respective audio matrix, or the
           current video standard does not permit SAP the
-          :ref:`VIDIOC_S_MODULATOR <VIDIOC_G_MODULATOR>` ioctl shall return an EINVAL error code and
+          :ref:`VIDIOC_S_MODULATOR <VIDIOC_G_MODULATOR>` ioctl shall return an ``EINVAL`` error code and
           driver shall fall back to mono or stereo mode.
 
     -  .. row 6
Documentation/linux_tv/media/v4l/vidioc-g-output.rst +1 -1
index 95d7a9b19166..03defa561e5b 100644
@@ -36,7 +36,7 @@ To query the current video output applications call the
 :ref:`VIDIOC_G_OUTPUT <VIDIOC_G_OUTPUT>` ioctl with a pointer to an integer where the driver
 stores the number of the output, as in the struct
 :ref:`v4l2_output <v4l2-output>` ``index`` field. This ioctl will
-fail only when there are no video outputs, returning the EINVAL error
+fail only when there are no video outputs, returning the ``EINVAL`` error
 code.
 
 To select a video output applications store the number of the desired
Documentation/linux_tv/media/v4l/vidioc-g-selection.rst +1 -1
index 271610e06b2b..1159b012a0a1 100644
@@ -113,7 +113,7 @@ On success the struct :ref:`v4l2_rect <v4l2-rect>` ``r`` field
 contains the adjusted rectangle. When the parameters are unsuitable the
 application may modify the cropping (composing) or image parameters and
 repeat the cycle until satisfactory parameters have been negotiated. If
-constraints flags have to be violated at then ERANGE is returned. The
+constraints flags have to be violated at then ``ERANGE`` is returned. The
 error indicates that *there exist no rectangle* that satisfies the
 constraints.
 
Documentation/linux_tv/media/v4l/vidioc-g-sliced-vbi-cap.rst +1 -1
index 00a9b61002de..ac08f606fdd8 100644
@@ -35,7 +35,7 @@ To find out which data services are supported by a sliced VBI capture or
 output device, applications initialize the ``type`` field of a struct
 :ref:`v4l2_sliced_vbi_cap <v4l2-sliced-vbi-cap>`, clear the
 ``reserved`` array and call the :ref:`VIDIOC_G_SLICED_VBI_CAP <VIDIOC_G_SLICED_VBI_CAP>` ioctl. The
-driver fills in the remaining fields or returns an EINVAL error code if
+driver fills in the remaining fields or returns an ``EINVAL`` error code if
 the sliced VBI API is unsupported or ``type`` is invalid.
 
 Note the ``type`` field was added, and the ioctl changed from read-only
Documentation/linux_tv/media/v4l/vidioc-g-std.rst +3 -3
index 5644cc670381..67b4d7da6473 100644
@@ -45,11 +45,11 @@ unambiguous such that they appear in only one enumerated
 :ref:`VIDIOC_S_STD <VIDIOC_G_STD>` accepts one or more flags, being a write-only ioctl it
 does not return the actual new standard as :ref:`VIDIOC_G_STD <VIDIOC_G_STD>` does. When
 no flags are given or the current input does not support the requested
-standard the driver returns an EINVAL error code. When the standard set
-is ambiguous drivers may return EINVAL or choose any of the requested
+standard the driver returns an ``EINVAL`` error code. When the standard set
+is ambiguous drivers may return ``EINVAL`` or choose any of the requested
 standards. If the current input or output does not support standard
 video timings (e.g. if :ref:`VIDIOC_ENUMINPUT`
-does not set the ``V4L2_IN_CAP_STD`` flag), then ENODATA error code is
+does not set the ``V4L2_IN_CAP_STD`` flag), then ``ENODATA`` error code is
 returned.
 
 
Documentation/linux_tv/media/v4l/vidioc-g-tuner.rst +2 -2
index 8e119fa28ccd..078fe6db751e 100644
@@ -38,9 +38,9 @@ To query the attributes of a tuner applications initialize the ``index``
 field and zero out the ``reserved`` array of a struct
 :ref:`v4l2_tuner <v4l2-tuner>` and call the ``VIDIOC_G_TUNER`` ioctl
 with a pointer to this structure. Drivers fill the rest of the structure
-or return an EINVAL error code when the index is out of bounds. To
+or return an ``EINVAL`` error code when the index is out of bounds. To
 enumerate all tuners applications shall begin at index zero,
-incrementing by one until the driver returns EINVAL.
+incrementing by one until the driver returns ``EINVAL``.
 
 Tuners have two writable properties, the audio mode and the radio
 frequency. To change the audio mode, applications initialize the
Documentation/linux_tv/media/v4l/vidioc-qbuf.rst +1 -1
index 380970ba9a12..ab567559a0ac 100644
@@ -110,7 +110,7 @@ array must be passed in as well.
 By default ``VIDIOC_DQBUF`` blocks when no buffer is in the outgoing
 queue. When the ``O_NONBLOCK`` flag was given to the
 :ref:`open() <func-open>` function, ``VIDIOC_DQBUF`` returns
-immediately with an EAGAIN error code when no buffer is available.
+immediately with an ``EAGAIN`` error code when no buffer is available.
 
 The :c:type:`struct v4l2_buffer` structure is specified in
 :ref:`buffer`.
Documentation/linux_tv/media/v4l/vidioc-query-dv-timings.rst +2 -2
index 9f067f587e42..0c01ed49065f 100644
@@ -51,11 +51,11 @@ and start streaming again.
 
 If the timings could not be detected because there was no signal, then
 ENOLINK is returned. If a signal was detected, but it was unstable and
-the receiver could not lock to the signal, then ENOLCK is returned. If
+the receiver could not lock to the signal, then ``ENOLCK`` is returned. If
 the receiver could lock to the signal, but the format is unsupported
 (e.g. because the pixelclock is out of range of the hardware
 capabilities), then the driver fills in whatever timings it could find
-and returns ERANGE. In that case the application can call
+and returns ``ERANGE``. In that case the application can call
 :ref:`VIDIOC_DV_TIMINGS_CAP` to compare the
 found timings with the hardware's capabilities in order to give more
 precise feedback to the user.
Documentation/linux_tv/media/v4l/vidioc-querycap.rst +1 -1
index 91551fe448fc..0776232be520 100644
@@ -36,7 +36,7 @@ identify kernel devices compatible with this specification and to obtain
 information about driver and hardware capabilities. The ioctl takes a
 pointer to a struct :ref:`v4l2_capability <v4l2-capability>` which is
 filled by the driver. When the driver is not compatible with this
-specification the ioctl returns an EINVAL error code.
+specification the ioctl returns an ``EINVAL`` error code.
 
 
 .. _v4l2-capability:
Documentation/linux_tv/media/v4l/vidioc-queryctrl.rst +16 -16
index a08c68262871..2c8ef053a1ab 100644
@@ -40,30 +40,30 @@ Description
 To query the attributes of a control applications set the ``id`` field
 of a struct :ref:`v4l2_queryctrl <v4l2-queryctrl>` and call the
 ``VIDIOC_QUERYCTRL`` ioctl with a pointer to this structure. The driver
-fills the rest of the structure or returns an EINVAL error code when the
+fills the rest of the structure or returns an ``EINVAL`` error code when the
 ``id`` is invalid.
 
 It is possible to enumerate controls by calling ``VIDIOC_QUERYCTRL``
 with successive ``id`` values starting from ``V4L2_CID_BASE`` up to and
-exclusive ``V4L2_CID_LASTP1``. Drivers may return EINVAL if a control in
+exclusive ``V4L2_CID_LASTP1``. Drivers may return ``EINVAL`` if a control in
 this range is not supported. Further applications can enumerate private
 controls, which are not defined in this specification, by starting at
 ``V4L2_CID_PRIVATE_BASE`` and incrementing ``id`` until the driver
-returns EINVAL.
+returns ``EINVAL``.
 
 In both cases, when the driver sets the ``V4L2_CTRL_FLAG_DISABLED`` flag
 in the ``flags`` field this control is permanently disabled and should
 be ignored by the application. [1]_
 
 When the application ORs ``id`` with ``V4L2_CTRL_FLAG_NEXT_CTRL`` the
-driver returns the next supported non-compound control, or EINVAL if
+driver returns the next supported non-compound control, or ``EINVAL`` if
 there is none. In addition, the ``V4L2_CTRL_FLAG_NEXT_COMPOUND`` flag
 can be specified to enumerate all compound controls (i.e. controls with
 type ≥ ``V4L2_CTRL_COMPOUND_TYPES`` and/or array control, in other words
 controls that contain more than one value). Specify both
 ``V4L2_CTRL_FLAG_NEXT_CTRL`` and ``V4L2_CTRL_FLAG_NEXT_COMPOUND`` in
 order to enumerate all controls, compound or not. Drivers which do not
-support these flags yet always return EINVAL.
+support these flags yet always return ``EINVAL``.
 
 The ``VIDIOC_QUERY_EXT_CTRL`` ioctl was introduced in order to better
 support controls that can use compound types, and to expose additional
@@ -78,12 +78,12 @@ Additional information is required for menu controls: the names of the
 menu items. To query them applications set the ``id`` and ``index``
 fields of struct :ref:`v4l2_querymenu <v4l2-querymenu>` and call the
 ``VIDIOC_QUERYMENU`` ioctl with a pointer to this structure. The driver
-fills the rest of the structure or returns an EINVAL error code when the
+fills the rest of the structure or returns an ``EINVAL`` error code when the
 ``id`` or ``index`` is invalid. Menu items are enumerated by calling
 ``VIDIOC_QUERYMENU`` with successive ``index`` values from struct
 :ref:`v4l2_queryctrl <v4l2-queryctrl>` ``minimum`` to ``maximum``,
 inclusive. Note that it is possible for ``VIDIOC_QUERYMENU`` to return
-an EINVAL error code for some indices between ``minimum`` and
+an ``EINVAL`` error code for some indices between ``minimum`` and
 ``maximum``. In that case that particular menu item is not supported by
 this driver. Also note that the ``minimum`` value is not necessarily 0.
 
@@ -108,7 +108,7 @@ See also the examples in :ref:`control`.
           :ref:`control-id` for predefined IDs. When the ID is ORed with
           V4L2_CTRL_FLAG_NEXT_CTRL the driver clears the flag and
           returns the first control with a higher ID. Drivers which do not
-          support this flag yet always return an EINVAL error code.
+          support this flag yet always return an ``EINVAL`` error code.
 
     -  .. row 2
 
@@ -533,7 +533,7 @@ See also the examples in :ref:`control`.
        -  0
 
        -  A control which performs an action when set. Drivers must ignore
-          the value passed with ``VIDIOC_S_CTRL`` and return an EINVAL error
+          the value passed with ``VIDIOC_S_CTRL`` and return an ``EINVAL`` error
           code on a ``VIDIOC_G_CTRL`` attempt.
 
     -  .. row 8
@@ -588,7 +588,7 @@ See also the examples in :ref:`control`.
           control ID equal to a control class code (see :ref:`ctrl-class`)
           + 1, the ioctl returns the name of the control class and this
           control type. Older drivers which do not support this feature
-          return an EINVAL error code.
+          return an ``EINVAL`` error code.
 
     -  .. row 11
 
@@ -647,7 +647,7 @@ See also the examples in :ref:`control`.
 
        -  This control is permanently disabled and should be ignored by the
           application. Any attempt to change the control will result in an
-          EINVAL error code.
+          ``EINVAL`` error code.
 
     -  .. row 2
 
@@ -658,7 +658,7 @@ See also the examples in :ref:`control`.
        -  This control is temporarily unchangeable, for example because
           another application took over control of the respective resource.
           Such controls may be displayed specially in a user interface.
-          Attempts to change the control may result in an EBUSY error code.
+          Attempts to change the control may result in an ``EBUSY`` error code.
 
     -  .. row 3
 
@@ -667,7 +667,7 @@ See also the examples in :ref:`control`.
        -  0x0004
 
        -  This control is permanently readable only. Any attempt to change
-          the control will result in an EINVAL error code.
+          the control will result in an ``EINVAL`` error code.
 
     -  .. row 4
 
@@ -706,7 +706,7 @@ See also the examples in :ref:`control`.
        -  0x0040
 
        -  This control is permanently writable only. Any attempt to read the
-          control will result in an EACCES error code error code. This flag
+          control will result in an ``EACCES`` error code error code. This flag
           is typically present for relative controls or action controls
           where writing a value will cause the device to carry out a given
           action (e. g. motor control) but no meaningful value can be
@@ -775,9 +775,9 @@ EACCES
 .. [1]
    ``V4L2_CTRL_FLAG_DISABLED`` was intended for two purposes: Drivers
    can skip predefined controls not supported by the hardware (although
-   returning EINVAL would do as well), or disable predefined and private
+   returning ``EINVAL`` would do as well), or disable predefined and private
    controls after hardware detection without the trouble of reordering
-   control arrays and indices (EINVAL cannot be used to skip private
+   control arrays and indices (``EINVAL`` cannot be used to skip private
    controls because it would prematurely end the enumeration).
 
 
Documentation/linux_tv/media/v4l/vidioc-reqbufs.rst +1 -1
index 23b2fee646a1..411b5bf80313 100644
@@ -55,7 +55,7 @@ number is also possible when the driver requires more buffers to
 function correctly. For example video output requires at least two
 buffers, one displayed and one filled by the application.
 
-When the I/O method is not supported the ioctl returns an EINVAL error
+When the I/O method is not supported the ioctl returns an ``EINVAL`` error
 code.
 
 Applications can call :ref:`VIDIOC_REQBUFS` again to change the number of
Documentation/linux_tv/media/v4l/vidioc-s-hw-freq-seek.rst +1 -1
index 226440e4bb76..68c96236806d 100644
@@ -55,7 +55,7 @@ If an error is returned, then the original frequency will be restored.
 This ioctl is supported if the ``V4L2_CAP_HW_FREQ_SEEK`` capability is
 set.
 
-If this ioctl is called from a non-blocking filehandle, then EAGAIN
+If this ioctl is called from a non-blocking filehandle, then ``EAGAIN``
 error code is returned and no seek takes place.
 
 
Documentation/linux_tv/media/v4l/vidioc-subdev-enum-frame-interval.rst +1 -1
index bcf161cd5012..8c5298175ba5 100644
@@ -48,7 +48,7 @@ and call the :ref:`VIDIOC_SUBDEV_ENUM_FRAME_INTERVAL` ioctl with a pointer
 to this structure. Drivers fill the rest of the structure or return an
 EINVAL error code if one of the input fields is invalid. All frame
 intervals are enumerable by beginning at index zero and incrementing by
-one until EINVAL is returned.
+one until ``EINVAL`` is returned.
 
 Available frame intervals may depend on the current 'try' formats at
 other pads of the sub-device, as well as on the current active links.
Documentation/linux_tv/media/v4l/vidioc-subdev-enum-mbus-code.rst +2 -2
index dbaf866e82fe..13d466c2a4e1 100644
@@ -36,10 +36,10 @@ applications initialize the ``pad``, ``which`` and ``index`` fields of
 struct
 :ref:`v4l2_subdev_mbus_code_enum <v4l2-subdev-mbus-code-enum>` and
 call the :ref:`VIDIOC_SUBDEV_ENUM_MBUS_CODE` ioctl with a pointer to this
-structure. Drivers fill the rest of the structure or return an EINVAL
+structure. Drivers fill the rest of the structure or return an ``EINVAL``
 error code if either the ``pad`` or ``index`` are invalid. All media bus
 formats are enumerable by beginning at index zero and incrementing by
-one until EINVAL is returned.
+one until ``EINVAL`` is returned.
 
 Available media bus formats may depend on the current 'try' formats at
 other pads of the sub-device, as well as on the current active links.
Documentation/linux_tv/media/v4l/vidioc-subdev-g-crop.rst +1 -1
index 46776cdfa7b5..88416ba28d86 100644
@@ -45,7 +45,7 @@ field of a struct :ref:`v4l2_subdev_crop <v4l2-subdev-crop>` to the
 desired pad number as reported by the media API and the ``which`` field
 to ``V4L2_SUBDEV_FORMAT_ACTIVE``. They then call the
 ``VIDIOC_SUBDEV_G_CROP`` ioctl with a pointer to this structure. The
-driver fills the members of the ``rect`` field or returns EINVAL error
+driver fills the members of the ``rect`` field or returns ``EINVAL`` error
 code if the input arguments are invalid, or if cropping is not supported
 on the given pad.
 
Signature · 1 line
2.7.4