]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
[media] dvb_frontend.h: document the struct dvb_frontend
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sat, 22 Aug 2015 17:20:25 +0000 (14:20 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sat, 22 Aug 2015 17:52:59 +0000 (14:52 -0300)
That struct is used on every DVB Front End driver, as it
contains what's needed to register/use a frontend at the
Kernel.

Document it.

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Acked-by: Jonathan Corbet <corbet@lwn.net>
drivers/media/dvb-core/dvb_frontend.h

index 796cc5dca81957d1da53b2189d8d80c7a19ab22c..97661b2f247ad9352862d0385d1964981db39a23 100644 (file)
@@ -647,6 +647,25 @@ struct dtv_frontend_properties {
 #define DVB_FE_DEVICE_REMOVED   2
 #define DVB_FE_DEVICE_RESUME    3
 
+/**
+ * struct dvb_frontend - Frontend structure to be used on drivers.
+ *
+ * @ops:               embedded struct dvb_frontend_ops
+ * @dvb:               pointer to struct dvb_adapter
+ * @demodulator_priv:  demod private data
+ * @tuner_priv:                tuner private data
+ * @frontend_priv:     frontend private data
+ * @sec_priv:          SEC private data
+ * @analog_demod_priv: Analog demod private data
+ * @dtv_property_cache:        embedded struct dtv_frontend_properties
+ * @callback:          callback function used on some drivers to call
+ *                     either the tuner or the demodulator.
+ * @id:                        Frontend ID
+ * @exit:              Used to inform the DVB core that the frontend
+ *                     thread should exit (usually, means that the hardware
+ *                     got disconnected.
+ */
+
 struct dvb_frontend {
        struct dvb_frontend_ops ops;
        struct dvb_adapter *dvb;