enum fe_stv0900_search_algo {
STV0900_BLIND_SEARCH,/* offset freq and SR are Unknown */
STV0900_COLD_START,/* only the SR is known */
STV0900_WARM_START/* offset freq and SR are known */
};
struct stv0900_init_params{
u32 dmd_ref_clk;/* Reference,Input clock for the demod in Hz */
/* Demodulator Type (single demod or dual demod) */ enum fe_stv0900_demod_mode demod_mode; enum fe_stv0900_rolloff rolloff; enum fe_stv0900_clock_type path1_ts_clock;
u8 tun1_maddress; int tuner1_adc; int tuner1_type;
/* IQ from the tuner1 to the demod */ enum stv0900_iq_inversion tun1_iq_inv; enum fe_stv0900_clock_type path2_ts_clock;
u8 tun2_maddress; int tuner2_adc; int tuner2_type;
/* IQ from the tuner2 to the demod */ enum stv0900_iq_inversion tun2_iq_inv; struct stv0900_reg *ts_config;
};
struct stv0900_search_params { enum fe_stv0900_demod_num path;/* Path Used demod1 or 2 */
u32 frequency;/* Transponder frequency (in KHz) */
u32 symbol_rate;/* Transponder symbol rate (in bds)*/
u32 search_range;/* Range of the search (in Hz) */
struct stv0900_signal_info { int locked;/* Transponder locked */
u32 frequency;/* Transponder frequency (in KHz) */
u32 symbol_rate;/* Transponder symbol rate (in Mbds) */
s32 Power;/* Power of the RF signal (dBm) */
s32 C_N;/* Carrier to noise ratio (dB x10)*/
u32 BER;/* Bit error rate (x10^7) */
};
struct stv0900_internal{
s32 quartz;
s32 mclk; /* manual RollOff for DVBS1/DSS only */ enum fe_stv0900_rolloff rolloff; /* Demodulator use for single demod or for dual demod) */ enum fe_stv0900_demod_mode demod_mode;
/*Demods */
s32 freq[2];
s32 bw[2];
s32 symbol_rate[2];
s32 srch_range[2]; /* for software/auto tuner */ int tuner_type[2];
/* algorithm for search Blind, Cold or Warm*/ enum fe_stv0900_search_algo srch_algo[2]; /* search standard: Auto, DVBS1/DSS only or DVBS2 only*/ enum fe_stv0900_search_standard srch_standard[2]; /* inversion search : auto, auto norma first, normal or inverted */ enum fe_stv0900_search_iq srch_iq_inv[2]; enum fe_stv0900_modcode modcode[2]; enum fe_stv0900_modulation modulation[2]; enum fe_stv0900_fec fec[2];
struct i2c_adapter *i2c_adap;
u8 i2c_addr;
u8 clkmode;/* 0 for CLKI, 2 for XTALI */
u8 chip_id; struct stv0900_reg *ts_config; enum fe_stv0900_error errs; int dmds_used;
};
/* state for each demod */ struct stv0900_state { /* pointer for internal params, one for each pair of demods */ struct stv0900_internal *internal; struct i2c_adapter *i2c_adap; conststruct stv0900_config *config; struct dvb_frontend frontend; int demod;
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.