• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/media/dvb/frontends/

Lines Matching defs:agc

791 	struct dibx000_agc_config *agc = NULL;
798 if (state->cfg.agc[i].band_caps & band) {
799 agc = &state->cfg.agc[i];
803 if (agc == NULL) {
808 state->current_agc = agc;
811 dib8000_write_word(state, 76, agc->setup);
812 dib8000_write_word(state, 77, agc->inv_gain);
813 dib8000_write_word(state, 78, agc->time_stabiliz);
814 dib8000_write_word(state, 101, (agc->alpha_level << 12) | agc->thlock);
817 dib8000_write_word(state, 102, (agc->alpha_mant << 5) | agc->alpha_exp);
818 dib8000_write_word(state, 103, (agc->beta_mant << 6) | agc->beta_exp);
821 state->wbd_ref != 0 ? state->wbd_ref : agc->wbd_ref, agc->wbd_sel, !agc->perform_agc_softsplit, agc->wbd_sel);
827 dib8000_write_word(state, 106, agc->wbd_ref);
828 dib8000_write_word(state, 107, (agc->wbd_alpha << 9) | (agc->perform_agc_softsplit << 8));
829 dib8000_write_word(state, 108, agc->agc1_max);
830 dib8000_write_word(state, 109, agc->agc1_min);
831 dib8000_write_word(state, 110, agc->agc2_max);
832 dib8000_write_word(state, 111, agc->agc2_min);
833 dib8000_write_word(state, 112, (agc->agc1_pt1 << 8) | agc->agc1_pt2);
834 dib8000_write_word(state, 113, (agc->agc1_slope1 << 8) | agc->agc1_slope2);
835 dib8000_write_word(state, 114, (agc->agc2_pt1 << 8) | agc->agc2_pt2);
836 dib8000_write_word(state, 115, (agc->agc2_slope1 << 8) | agc->agc2_slope2);
838 dib8000_write_word(state, 75, agc->agc1_pt3);
839 dib8000_write_word(state, 923, (dib8000_read_word(state, 923) & 0xffe3) | (agc->wbd_inv << 4) | (agc->wbd_sel << 2)); /*LB : 929 -> 923 */
854 u16 agc, split_offset;
860 agc = dib8000_read_word(state, 390);
862 if (agc > state->current_agc->split.min_thres)
864 else if (agc < state->current_agc->split.max_thres)
868 (agc - state->current_agc->split.min_thres) / (state->current_agc->split.max_thres - state->current_agc->split.min_thres);