All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
To: Linux Media Mailing List <linux-media@vger.kernel.org>
Cc: Mauro Carvalho Chehab <mchehab@osg.samsung.com>,
	Mauro Carvalho Chehab <mchehab@infradead.org>,
	Jonathan Corbet <corbet@lwn.net>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Arnd Bergmann <arnd@arndb.de>,
	Tina Ruchandani <ruchandani.tina@gmail.com>,
	Stefan Richter <stefanr@s5r6.in-berlin.de>,
	linux-doc@vger.kernel.org
Subject: [PATCH 17/39] [media] DocBook: add dvb_frontend.h to documentation
Date: Sat, 22 Aug 2015 14:28:02 -0300	[thread overview]
Message-ID: <b7e7d9550b314418285045ba495ce7638eac3f5e.1440264165.git.mchehab@osg.samsung.com> (raw)
In-Reply-To: <cover.1440264165.git.mchehab@osg.samsung.com>
In-Reply-To: <cover.1440264165.git.mchehab@osg.samsung.com>

There are already some comments at dvb_frontend.h that are ready
for DocBook, although not properly formatted.

Convert them, and add this file to the device-drivers DocBook.

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>

diff --git a/Documentation/DocBook/device-drivers.tmpl b/Documentation/DocBook/device-drivers.tmpl
index e0c358760344..fb5c16a24e4b 100644
--- a/Documentation/DocBook/device-drivers.tmpl
+++ b/Documentation/DocBook/device-drivers.tmpl
@@ -228,6 +228,7 @@ X!Isound/sound_firmware.c
 !Iinclude/media/v4l2-subdev.h
 !Iinclude/media/rc-core.h
 !Idrivers/media/dvb-core/dvb_ca_en50221.h
+!Idrivers/media/dvb-core/dvb_frontend.h
 <!-- FIXME: Removed for now due to document generation inconsistency
 X!Iinclude/media/v4l2-ctrls.h
 X!Iinclude/media/v4l2-dv-timings.h
@@ -237,7 +238,6 @@ X!Iinclude/media/videobuf2-memops.h
 X!Iinclude/media/videobuf2-core.h
 X!Iinclude/media/lirc.h
 X!Edrivers/media/dvb-core/dvb_demux.c
-X!Idrivers/media/dvb-core/dvb_frontend.h
 X!Idrivers/media/dvb-core/dvbdev.h
 X!Edrivers/media/dvb-core/dvb_net.c
 X!Idrivers/media/dvb-core/dvb_ringbuffer.h
diff --git a/drivers/media/dvb-core/dvb_frontend.h b/drivers/media/dvb-core/dvb_frontend.h
index 4816947294fe..d20d3da97201 100644
--- a/drivers/media/dvb-core/dvb_frontend.h
+++ b/drivers/media/dvb-core/dvb_frontend.h
@@ -121,30 +121,28 @@ enum tuner_param {
 	DVBFE_TUNER_DUMMY		= (1 << 31)
 };
 
-/*
- * ALGO_HW: (Hardware Algorithm)
- * ----------------------------------------------------------------
- * Devices that support this algorithm do everything in hardware
- * and no software support is needed to handle them.
- * Requesting these devices to LOCK is the only thing required,
- * device is supposed to do everything in the hardware.
+/**
+ * enum dvbfe_algo - defines the algorithm used to tune into a channel
  *
- * ALGO_SW: (Software Algorithm)
- * ----------------------------------------------------------------
+ * @DVBFE_ALGO_HW: (Hardware Algorithm)
+ *	Devices that support this algorithm do everything in hardware
+ *	and no software support is needed to handle them.
+ *	Requesting these devices to LOCK is the only thing required,
+ *	device is supposed to do everything in the hardware.
+ *
+ * @DVBFE_ALGO_SW: (Software Algorithm)
  * These are dumb devices, that require software to do everything
  *
- * ALGO_CUSTOM: (Customizable Agorithm)
- * ----------------------------------------------------------------
- * Devices having this algorithm can be customized to have specific
- * algorithms in the frontend driver, rather than simply doing a
- * software zig-zag. In this case the zigzag maybe hardware assisted
- * or it maybe completely done in hardware. In all cases, usage of
- * this algorithm, in conjunction with the search and track
- * callbacks, utilizes the driver specific algorithm.
+ * @DVBFE_ALGO_CUSTOM: (Customizable Agorithm)
+ *	Devices having this algorithm can be customized to have specific
+ *	algorithms in the frontend driver, rather than simply doing a
+ *	software zig-zag. In this case the zigzag maybe hardware assisted
+ *	or it maybe completely done in hardware. In all cases, usage of
+ *	this algorithm, in conjunction with the search and track
+ *	callbacks, utilizes the driver specific algorithm.
  *
- * ALGO_RECOVERY: (Recovery Algorithm)
- * ----------------------------------------------------------------
- * These devices have AUTO recovery capabilities from LOCK failure
+ * @DVBFE_ALGO_RECOVERY: (Recovery Algorithm)
+ *	These devices have AUTO recovery capabilities from LOCK failure
  */
 enum dvbfe_algo {
 	DVBFE_ALGO_HW			= (1 <<  0),
@@ -162,27 +160,27 @@ struct tuner_state {
 	u32 refclock;
 };
 
-/*
- * search callback possible return status
+/**
+ * enum dvbfe_search - search callback possible return status
  *
- * DVBFE_ALGO_SEARCH_SUCCESS
- * The frontend search algorithm completed and returned successfully
+ * @DVBFE_ALGO_SEARCH_SUCCESS:
+ *	The frontend search algorithm completed and returned successfully
  *
- * DVBFE_ALGO_SEARCH_ASLEEP
- * The frontend search algorithm is sleeping
+ * @DVBFE_ALGO_SEARCH_ASLEEP:
+ *	The frontend search algorithm is sleeping
  *
- * DVBFE_ALGO_SEARCH_FAILED
- * The frontend search for a signal failed
+ * @DVBFE_ALGO_SEARCH_FAILED:
+ *	The frontend search for a signal failed
  *
- * DVBFE_ALGO_SEARCH_INVALID
- * The frontend search algorith was probably supplied with invalid
- * parameters and the search is an invalid one
+ * @DVBFE_ALGO_SEARCH_INVALID:
+ *	The frontend search algorith was probably supplied with invalid
+ *	parameters and the search is an invalid one
  *
- * DVBFE_ALGO_SEARCH_ERROR
- * The frontend search algorithm failed due to some error
+ * @DVBFE_ALGO_SEARCH_ERROR:
+ *	The frontend search algorithm failed due to some error
  *
- * DVBFE_ALGO_SEARCH_AGAIN
- * The frontend search algorithm was requested to search again
+ * @DVBFE_ALGO_SEARCH_AGAIN:
+ *	The frontend search algorithm was requested to search again
  */
 enum dvbfe_search {
 	DVBFE_ALGO_SEARCH_SUCCESS	= (1 <<  0),
-- 
2.4.3


  parent reply	other threads:[~2015-08-22 17:28 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-22 17:27 [PATCH 00/39] Document the kABI for the media subsystem Mauro Carvalho Chehab
2015-08-22 17:27 ` [PATCH 01/39] [media] DocBook: fix an unbalanced <para> tag Mauro Carvalho Chehab
2015-08-22 17:27 ` [PATCH 02/39] [media] DocBook/device-drivers: Add drivers/media core stuff Mauro Carvalho Chehab
2015-08-22 17:27 ` [PATCH 03/39] [media] Docbook: Fix description of struct media_devnode Mauro Carvalho Chehab
2015-08-22 17:27 ` [PATCH 04/39] [media] DocBook/media/Makefile: Avoid make htmldocs to fail Mauro Carvalho Chehab
2015-08-22 17:27 ` [PATCH 05/39] [media] Docbook: Fix comments at v4l2-async.h Mauro Carvalho Chehab
2015-08-22 17:27 ` [PATCH 06/39] [media] Docbook: Fix s_rx_carrier_range parameter description Mauro Carvalho Chehab
2015-08-22 17:27 ` [PATCH 07/39] [media] Docbook: fix comments at v4l2-flash-led-class.h Mauro Carvalho Chehab
2015-08-22 17:27 ` [PATCH 08/39] [media] Docbook: Fix comments at v4l2-mem2mem.h Mauro Carvalho Chehab
2015-08-22 17:27 ` [PATCH 09/39] [media] v4l2-subdev: convert documentation to the right format Mauro Carvalho Chehab
2015-08-22 17:27 ` [PATCH 10/39] [media] v4l2-subdev: Add description for core ioctl handlers Mauro Carvalho Chehab
2015-08-22 17:27 ` [PATCH 11/39] [media] v4l2-subdev: Add description for radio " Mauro Carvalho Chehab
2015-08-22 17:27 ` [PATCH 12/39] [media] v4l2-subdev: reorder the v4l2_subdev_video_ops comments Mauro Carvalho Chehab
2015-08-22 17:27 ` [PATCH 13/39] [media] v4l2_subdev: describe ioctl parms at v4l2_subdev_video_ops Mauro Carvalho Chehab
2015-08-22 17:27 ` [PATCH 14/39] [media] v4l2_subdev: describe ioctl parms at the remaining structs Mauro Carvalho Chehab
2015-08-22 17:28 ` [PATCH 15/39] [media] v4l2-subdev: add remaining argument descriptions Mauro Carvalho Chehab
2015-08-22 17:28 ` [PATCH 16/39] [media] DocBook: add dvb_ca_en50221.h to documentation Mauro Carvalho Chehab
2015-08-22 17:28 ` Mauro Carvalho Chehab [this message]
2015-08-22 17:28 ` [PATCH 18/39] [media] DocBook: add dvb_math.h " Mauro Carvalho Chehab
2015-08-22 17:28 ` [PATCH 19/39] [media] DocBook: add dvb_ringbuffer.h " Mauro Carvalho Chehab
2015-08-22 17:28 ` [PATCH 20/39] [media] v4l2-ctrls.h: add to device-drivers DocBook Mauro Carvalho Chehab
2015-08-22 17:28 ` [PATCH 21/39] [media] v4l2-ctls: don't document v4l2_ctrl_fill() Mauro Carvalho Chehab
2015-08-22 17:28 ` [PATCH 22/39] [media] v4l2-ctrls.h: Document a few missing arguments Mauro Carvalho Chehab
2015-08-22 17:28 ` [PATCH 23/39] [media] v4l2-event.h: fix comments and add to DocBook Mauro Carvalho Chehab
2015-08-22 17:28 ` [PATCH 24/39] [media] v4l-dv-timings.h: Add to device-drivers DocBook Mauro Carvalho Chehab
2015-08-22 17:28 ` [PATCH 25/39] [media] videobuf2-core: Add it " Mauro Carvalho Chehab
2015-08-22 17:28 ` [PATCH 26/39] [media] videobuf2-memops.h: add " Mauro Carvalho Chehab
2015-08-22 17:28 ` [PATCH 27/39] [media] v4l2-mediabus: Add to DocBook Mauro Carvalho Chehab
2015-08-22 17:28 ` [PATCH 28/39] [media] DocBook: Better organize media devices Mauro Carvalho Chehab
2015-08-22 17:28 ` [PATCH 29/39] [media] dvb_frontend: document dvb_frontend_tune_settings Mauro Carvalho Chehab
2015-08-22 17:28 ` [PATCH 30/39] [media] add documentation for struct dvb_tuner_info Mauro Carvalho Chehab
2015-08-22 17:28 ` [PATCH 31/39] [media] dvb_frontend.h: get rid of dvbfe_modcod Mauro Carvalho Chehab
2015-08-22 17:28 ` [PATCH 32/39] [media] Docbook: Document struct analog_parameters Mauro Carvalho Chehab
2015-08-22 17:28 ` [PATCH 33/39] fixup: dvb_tuner_info Mauro Carvalho Chehab
2015-08-22 17:52   ` Mauro Carvalho Chehab
2015-08-22 17:28 ` [PATCH 34/39] [media] dvb_frontend.h: Document struct dvb_tuner_ops Mauro Carvalho Chehab
2015-08-22 17:28 ` [PATCH 35/39] [media] dvb_frontend.h: document struct analog_demod_ops Mauro Carvalho Chehab
2015-08-22 17:28 ` [PATCH 36/39] [media] dvb: Use DVBFE_ALGO_HW where applicable Mauro Carvalho Chehab
2015-08-22 17:28 ` [PATCH 37/39] [media] dvb-frontend.h: document struct dvb_frontend_ops Mauro Carvalho Chehab
2015-08-22 17:28 ` [PATCH 38/39] [media] dvb-frontend.h: document struct dtv_frontend_properties Mauro Carvalho Chehab
2015-08-22 17:28 ` [PATCH 39/39] [media] dvb_frontend.h: document the struct dvb_frontend Mauro Carvalho Chehab
2015-08-23  9:43 ` [PATCH 00/39] Document the kABI for the media subsystem Jonathan Corbet

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b7e7d9550b314418285045ba495ce7638eac3f5e.1440264165.git.mchehab@osg.samsung.com \
    --to=mchehab@osg.samsung.com \
    --cc=arnd@arndb.de \
    --cc=corbet@lwn.net \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@infradead.org \
    --cc=ruchandani.tina@gmail.com \
    --cc=stefanr@s5r6.in-berlin.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.