Go to the source code of this file.
|
#define | FE_ERROR 0 |
|
#define | FE_NOTICE 1 |
|
#define | FE_INFO 2 |
|
#define | FE_DEBUG 3 |
|
#define | FE_DEBUGREG 4 |
|
#define | dprintk(__y, __z, format, arg...) |
|
#define | STV090x_READ_DEMOD(__state, __reg) |
|
#define | STV090x_WRITE_DEMOD(__state, __reg, __data) |
|
#define | STV090x_ADDR_OFFST(__state, __x) |
|
#define | STV090x_SETFIELD(mask, bitf, val) |
|
#define | STV090x_GETFIELD(val, bitf) ((val >> STV090x_OFFST_##bitf) & ((1 << STV090x_WIDTH_##bitf) - 1)) |
|
#define | STV090x_SETFIELD_Px(mask, bitf, val) |
|
#define | STV090x_GETFIELD_Px(val, bitf) ((val >> STV090x_OFFST_Px_##bitf) & ((1 << STV090x_WIDTH_Px_##bitf) - 1)) |
|
#define | MAKEWORD16(__a, __b) (((__a) << 8) | (__b)) |
|
#define | MSB(__x) ((__x >> 8) & 0xff) |
|
#define | LSB(__x) (__x & 0xff) |
|
#define | STV090x_IQPOWER_THRESHOLD 30 |
|
#define | STV090x_SEARCH_AGC2_TH_CUT20 700 |
|
#define | STV090x_SEARCH_AGC2_TH_CUT30 1400 |
|
#define | STV090x_SEARCH_AGC2_TH(__ver) |
|
|
enum | stv090x_signal_state {
STV090x_NOAGC1,
STV090x_NOCARRIER,
STV090x_NODATA,
STV090x_DATAOK,
STV090x_RANGEOK,
STV090x_OUTOFRANGE
} |
|
enum | stv090x_fec {
STV090x_PR12 = 0,
STV090x_PR23,
STV090x_PR34,
STV090x_PR45,
STV090x_PR56,
STV090x_PR67,
STV090x_PR78,
STV090x_PR89,
STV090x_PR910,
STV090x_PRERR
} |
|
enum | stv090x_modulation {
STV090x_QPSK,
STV090x_8PSK,
STV090x_16APSK,
STV090x_32APSK,
STV090x_UNKNOWN
} |
|
enum | stv090x_frame { STV090x_LONG_FRAME,
STV090x_SHORT_FRAME
} |
|
enum | stv090x_pilot { STV090x_PILOTS_OFF,
STV090x_PILOTS_ON
} |
|
enum | stv090x_rolloff { STV090x_RO_35,
STV090x_RO_25,
STV090x_RO_20
} |
|
enum | stv090x_inversion { STV090x_IQ_AUTO,
STV090x_IQ_NORMAL,
STV090x_IQ_SWAP
} |
|
enum | stv090x_modcod {
STV090x_DUMMY_PLF = 0,
STV090x_QPSK_14,
STV090x_QPSK_13,
STV090x_QPSK_25,
STV090x_QPSK_12,
STV090x_QPSK_35,
STV090x_QPSK_23,
STV090x_QPSK_34,
STV090x_QPSK_45,
STV090x_QPSK_56,
STV090x_QPSK_89,
STV090x_QPSK_910,
STV090x_8PSK_35,
STV090x_8PSK_23,
STV090x_8PSK_34,
STV090x_8PSK_56,
STV090x_8PSK_89,
STV090x_8PSK_910,
STV090x_16APSK_23,
STV090x_16APSK_34,
STV090x_16APSK_45,
STV090x_16APSK_56,
STV090x_16APSK_89,
STV090x_16APSK_910,
STV090x_32APSK_34,
STV090x_32APSK_45,
STV090x_32APSK_56,
STV090x_32APSK_89,
STV090x_32APSK_910,
STV090x_MODCODE_UNKNOWN
} |
|
enum | stv090x_search { STV090x_SEARCH_DSS = 0,
STV090x_SEARCH_DVBS1,
STV090x_SEARCH_DVBS2,
STV090x_SEARCH_AUTO
} |
|
enum | stv090x_algo { STV090x_BLIND_SEARCH,
STV090x_COLD_SEARCH,
STV090x_WARM_SEARCH
} |
|
enum | stv090x_delsys { STV090x_ERROR = 0,
STV090x_DVBS1 = 1,
STV090x_DVBS2,
STV090x_DSS
} |
|
#define dprintk |
( |
|
__y, |
|
|
|
__z, |
|
|
|
format, |
|
|
|
arg... |
|
) |
| |
Value:do { \
if (__z) { \
} else { \
} \
} while (0)
Definition at line 33 of file stv090x_priv.h.
#define LSB |
( |
|
__x | ) |
(__x & 0xff) |
#define MAKEWORD16 |
( |
|
__a, |
|
|
|
__b |
|
) |
| (((__a) << 8) | (__b)) |
#define MSB |
( |
|
__x | ) |
((__x >> 8) & 0xff) |
#define STV090x_ADDR_OFFST |
( |
|
__state, |
|
|
|
__x |
|
) |
| |
Value:(( \
STV090x_P1_##__x : \
STV090x_P2_##__x)
Definition at line 59 of file stv090x_priv.h.
#define STV090x_GETFIELD |
( |
|
val, |
|
|
|
bitf |
|
) |
| ((val >> STV090x_OFFST_##bitf) & ((1 << STV090x_WIDTH_##bitf) - 1)) |
#define STV090x_GETFIELD_Px |
( |
|
val, |
|
|
|
bitf |
|
) |
| ((val >> STV090x_OFFST_Px_##bitf) & ((1 << STV090x_WIDTH_Px_##bitf) - 1)) |
#define STV090x_IQPOWER_THRESHOLD 30 |
#define STV090x_READ_DEMOD |
( |
|
__state, |
|
|
|
__reg |
|
) |
| |
Value:(( \
stv090x_read_reg(__state, STV090x_P2_##
__reg) : \
stv090x_read_reg(__state, STV090x_P1_##__reg))
Definition at line 49 of file stv090x_priv.h.
#define STV090x_SEARCH_AGC2_TH |
( |
|
__ver | ) |
|
#define STV090x_SEARCH_AGC2_TH_CUT20 700 |
#define STV090x_SEARCH_AGC2_TH_CUT30 1400 |
Value:(( \
stv090x_write_reg(__state, STV090x_P2_##
__reg,
__data) :\
stv090x_write_reg(__state, STV090x_P1_##__reg,
__data))
Definition at line 54 of file stv090x_priv.h.
- Enumerator:
STV090x_BLIND_SEARCH |
|
STV090x_COLD_SEARCH |
|
STV090x_WARM_SEARCH |
|
Definition at line 185 of file stv090x_priv.h.
- Enumerator:
STV090x_ERROR |
|
STV090x_DVBS1 |
|
STV090x_DVBS2 |
|
STV090x_DSS |
|
Definition at line 191 of file stv090x_priv.h.
- Enumerator:
STV090x_PR12 |
|
STV090x_PR23 |
|
STV090x_PR34 |
|
STV090x_PR45 |
|
STV090x_PR56 |
|
STV090x_PR67 |
|
STV090x_PR78 |
|
STV090x_PR89 |
|
STV090x_PR910 |
|
STV090x_PRERR |
|
Definition at line 102 of file stv090x_priv.h.
- Enumerator:
STV090x_LONG_FRAME |
|
STV090x_SHORT_FRAME |
|
Definition at line 123 of file stv090x_priv.h.
- Enumerator:
STV090x_IQ_AUTO |
|
STV090x_IQ_NORMAL |
|
STV090x_IQ_SWAP |
|
Definition at line 139 of file stv090x_priv.h.
- Enumerator:
STV090x_DUMMY_PLF |
|
STV090x_QPSK_14 |
|
STV090x_QPSK_13 |
|
STV090x_QPSK_25 |
|
STV090x_QPSK_12 |
|
STV090x_QPSK_35 |
|
STV090x_QPSK_23 |
|
STV090x_QPSK_34 |
|
STV090x_QPSK_45 |
|
STV090x_QPSK_56 |
|
STV090x_QPSK_89 |
|
STV090x_QPSK_910 |
|
STV090x_8PSK_35 |
|
STV090x_8PSK_23 |
|
STV090x_8PSK_34 |
|
STV090x_8PSK_56 |
|
STV090x_8PSK_89 |
|
STV090x_8PSK_910 |
|
STV090x_16APSK_23 |
|
STV090x_16APSK_34 |
|
STV090x_16APSK_45 |
|
STV090x_16APSK_56 |
|
STV090x_16APSK_89 |
|
STV090x_16APSK_910 |
|
STV090x_32APSK_34 |
|
STV090x_32APSK_45 |
|
STV090x_32APSK_56 |
|
STV090x_32APSK_89 |
|
STV090x_32APSK_910 |
|
STV090x_MODCODE_UNKNOWN |
|
Definition at line 145 of file stv090x_priv.h.
- Enumerator:
STV090x_QPSK |
|
STV090x_8PSK |
|
STV090x_16APSK |
|
STV090x_32APSK |
|
STV090x_UNKNOWN |
|
Definition at line 115 of file stv090x_priv.h.
- Enumerator:
STV090x_PILOTS_OFF |
|
STV090x_PILOTS_ON |
|
Definition at line 128 of file stv090x_priv.h.
- Enumerator:
STV090x_RO_35 |
|
STV090x_RO_25 |
|
STV090x_RO_20 |
|
Definition at line 133 of file stv090x_priv.h.
- Enumerator:
STV090x_SEARCH_DSS |
|
STV090x_SEARCH_DVBS1 |
|
STV090x_SEARCH_DVBS2 |
|
STV090x_SEARCH_AUTO |
|
Definition at line 178 of file stv090x_priv.h.
- Enumerator:
STV090x_NOAGC1 |
|
STV090x_NOCARRIER |
|
STV090x_NODATA |
|
STV090x_DATAOK |
|
STV090x_RANGEOK |
|
STV090x_OUTOFRANGE |
|
Definition at line 93 of file stv090x_priv.h.