Lines Matching defs:dib0090_state
123 struct dib0090_state { struct
124 struct i2c_adapter *i2c;
125 struct dvb_frontend *fe;
126 const struct dib0090_config *config;
128 u8 current_band;
129 enum frontend_tune_state tune_state;
130 u32 current_rf;
132 u16 wbd_offset;
133 s16 wbd_target; /* in dB */
135 s16 rf_gain_limit; /* take-over-point: where to split between bb and rf gain */
136 s16 current_gain; /* keeps the currently programmed gain */
137 u8 agc_step; /* new binary search */
139 u16 gain[2]; /* for channel monitoring */
141 const u16 *rf_ramp;
142 const u16 *bb_ramp;
145 u16 bb_1_def;
146 u16 rf_lt_def;
147 u16 gain_reg[4];
150 s8 step;
151 s16 adc_diff;
152 s16 min_adc_diff;
154 s8 captrim;
155 s8 fcaptrim;
157 const struct dc_calibration *dc;
158 u16 bb6, bb7;
160 const struct dib0090_tuning *current_tune_table_index;
161 const struct dib0090_pll *current_pll_table_index;
163 u8 tuner_is_tuned;
164 u8 agc_freeze;
166 struct dib0090_identity identity;
168 u32 rf_request;
169 u8 current_standard;
171 u8 calibrate;
172 u32 rest;
173 u16 bias;
174 s16 temperature;
176 u8 wbd_calibration_gain;
200 static u16 dib0090_read_reg(struct dib0090_state *state, u8 reg) in dib0090_read_reg() argument