diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-08-13 16:03:12 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-08-13 16:03:12 -0400 |
commit | 0d27bbfe81cb087748dc1511683bd3e7335a7da5 (patch) | |
tree | 10b93c1eae76a08a6fd9eec51fafd4a6306764c7 /Documentation/DocBook | |
parent | 322c183cdc5f041d0f6a25fe519c7836649a6c8b (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.xml | 48 |
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 |
208 | by</para> | 208 | by</para> |
209 | <programlisting> | 209 | <programlisting> |
210 | typedef enum fe_status { | 210 | typedef enum fe_status { |
211 | FE_HAS_SIGNAL = 0x01, /⋆ found something above the noise level ⋆/ | 211 | FE_HAS_SIGNAL = 0x01, |
212 | FE_HAS_CARRIER = 0x02, /⋆ found a DVB signal ⋆/ | 212 | FE_HAS_CARRIER = 0x02, |
213 | FE_HAS_VITERBI = 0x04, /⋆ FEC is stable ⋆/ | 213 | FE_HAS_VITERBI = 0x04, |
214 | FE_HAS_SYNC = 0x08, /⋆ found sync bytes ⋆/ | 214 | FE_HAS_SYNC = 0x08, |
215 | FE_HAS_LOCK = 0x10, /⋆ everything's working... ⋆/ | 215 | FE_HAS_LOCK = 0x10, |
216 | FE_TIMEDOUT = 0x20, /⋆ no lock within the last ~2 seconds ⋆/ | 216 | FE_TIMEDOUT = 0x20, |
217 | FE_REINIT = 0x40 /⋆ frontend was reinitialized, ⋆/ | 217 | FE_REINIT = 0x40, |
218 | } fe_status_t; /⋆ application is recommned to reset ⋆/ | 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 | ||
245 | recommended to reset DiSEqC, tone and parameters</entry> | ||
246 | </row> | ||
247 | </tbody></tgroup></informaltable> | ||
222 | 248 | ||
223 | </section> | 249 | </section> |
224 | 250 | ||