aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/DocBook
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2012-08-13 16:03:12 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-08-13 16:03:12 -0400
commit0d27bbfe81cb087748dc1511683bd3e7335a7da5 (patch)
tree10b93c1eae76a08a6fd9eec51fafd4a6306764c7 /Documentation/DocBook
parent322c183cdc5f041d0f6a25fe519c7836649a6c8b (diff)
[media] frontend.h, Docbook: Improve status documentation
No functional changes. It just improves the description of the frontend status, using Documentation/kernel-doc-nano-HOWTO.txt for the status enumeration, and a table inside the DocBook. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'Documentation/DocBook')
-rw-r--r--Documentation/DocBook/media/dvb/frontend.xml48
1 files changed, 37 insertions, 11 deletions
diff --git a/Documentation/DocBook/media/dvb/frontend.xml b/Documentation/DocBook/media/dvb/frontend.xml
index 81082fb84b1c..1ab2e1af81f1 100644
--- a/Documentation/DocBook/media/dvb/frontend.xml
+++ b/Documentation/DocBook/media/dvb/frontend.xml
@@ -207,18 +207,44 @@ spec.</para>
207<para>Several functions of the frontend device use the fe_status data type defined 207<para>Several functions of the frontend device use the fe_status data type defined
208by</para> 208by</para>
209<programlisting> 209<programlisting>
210 typedef enum fe_status { 210typedef enum fe_status {
211 FE_HAS_SIGNAL = 0x01, /&#x22C6; found something above the noise level &#x22C6;/ 211 FE_HAS_SIGNAL = 0x01,
212 FE_HAS_CARRIER = 0x02, /&#x22C6; found a DVB signal &#x22C6;/ 212 FE_HAS_CARRIER = 0x02,
213 FE_HAS_VITERBI = 0x04, /&#x22C6; FEC is stable &#x22C6;/ 213 FE_HAS_VITERBI = 0x04,
214 FE_HAS_SYNC = 0x08, /&#x22C6; found sync bytes &#x22C6;/ 214 FE_HAS_SYNC = 0x08,
215 FE_HAS_LOCK = 0x10, /&#x22C6; everything's working... &#x22C6;/ 215 FE_HAS_LOCK = 0x10,
216 FE_TIMEDOUT = 0x20, /&#x22C6; no lock within the last ~2 seconds &#x22C6;/ 216 FE_TIMEDOUT = 0x20,
217 FE_REINIT = 0x40 /&#x22C6; frontend was reinitialized, &#x22C6;/ 217 FE_REINIT = 0x40,
218 } fe_status_t; /&#x22C6; application is recommned to reset &#x22C6;/ 218} fe_status_t;
219</programlisting> 219</programlisting>
220<para>to indicate the current state and/or state changes of the frontend hardware. 220<para>to indicate the current state and/or state changes of the frontend hardware:
221</para> 221</para>
222
223<informaltable><tgroup cols="2"><tbody>
224<row>
225<entry align="char">FE_HAS_SIGNAL</entry>
226<entry align="char">The frontend has found something above the noise level</entry>
227</row><row>
228<entry align="char">FE_HAS_CARRIER</entry>
229<entry align="char">The frontend has found a DVB signal</entry>
230</row><row>
231<entry align="char">FE_HAS_VITERBI</entry>
232<entry align="char">The frontend FEC code is stable</entry>
233</row><row>
234<entry align="char">FE_HAS_SYNC</entry>
235<entry align="char">Syncronization bytes was found</entry>
236</row><row>
237<entry align="char">FE_HAS_LOCK</entry>
238<entry align="char">The DVB were locked and everything is working</entry>
239</row><row>
240<entry align="char">FE_TIMEDOUT</entry>
241<entry align="char">no lock within the last about 2 seconds</entry>
242</row><row>
243<entry align="char">FE_REINIT</entry>
244<entry align="char">The frontend was reinitialized, application is
245recommended to reset DiSEqC, tone and parameters</entry>
246</row>
247</tbody></tgroup></informaltable>
222 248
223</section> 249</section>
224 250