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 /include/linux/dvb/frontend.h | |
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 'include/linux/dvb/frontend.h')
-rw-r--r-- | include/linux/dvb/frontend.h | 29 |
1 files changed, 20 insertions, 9 deletions
diff --git a/include/linux/dvb/frontend.h b/include/linux/dvb/frontend.h index c92b4d64e013..bb51edfc72a2 100644 --- a/include/linux/dvb/frontend.h +++ b/include/linux/dvb/frontend.h | |||
@@ -121,16 +121,27 @@ typedef enum fe_sec_mini_cmd { | |||
121 | } fe_sec_mini_cmd_t; | 121 | } fe_sec_mini_cmd_t; |
122 | 122 | ||
123 | 123 | ||
124 | /** | ||
125 | * enum fe_status - enumerates the possible frontend status | ||
126 | * @FE_HAS_SIGNAL: found something above the noise level | ||
127 | * @FE_HAS_CARRIER: found a DVB signal | ||
128 | * @FE_HAS_VITERBI: FEC is stable | ||
129 | * @FE_HAS_SYNC: found sync bytes | ||
130 | * @FE_HAS_LOCK: everything's working | ||
131 | * @FE_TIMEDOUT: no lock within the last ~2 seconds | ||
132 | * @FE_REINIT: frontend was reinitialized, application is recommended | ||
133 | * to reset DiSEqC, tone and parameters | ||
134 | */ | ||
135 | |||
124 | typedef enum fe_status { | 136 | typedef enum fe_status { |
125 | FE_HAS_SIGNAL = 0x01, /* found something above the noise level */ | 137 | FE_HAS_SIGNAL = 0x01, |
126 | FE_HAS_CARRIER = 0x02, /* found a DVB signal */ | 138 | FE_HAS_CARRIER = 0x02, |
127 | FE_HAS_VITERBI = 0x04, /* FEC is stable */ | 139 | FE_HAS_VITERBI = 0x04, |
128 | FE_HAS_SYNC = 0x08, /* found sync bytes */ | 140 | FE_HAS_SYNC = 0x08, |
129 | FE_HAS_LOCK = 0x10, /* everything's working... */ | 141 | FE_HAS_LOCK = 0x10, |
130 | FE_TIMEDOUT = 0x20, /* no lock within the last ~2 seconds */ | 142 | FE_TIMEDOUT = 0x20, |
131 | FE_REINIT = 0x40 /* frontend was reinitialized, */ | 143 | FE_REINIT = 0x40, |
132 | } fe_status_t; /* application is recommended to reset */ | 144 | } fe_status_t; |
133 | /* DiSEqC, tone and parameters */ | ||
134 | 145 | ||
135 | typedef enum fe_spectral_inversion { | 146 | typedef enum fe_spectral_inversion { |
136 | INVERSION_OFF, | 147 | INVERSION_OFF, |