Home
last modified time | relevance | path

Searched refs:current_agc (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/media/dvb-frontends/
H A Ddib7000m.c46 struct dibx000_agc_config *current_agc; member
642 …if(!state->current_agc || !state->current_agc->perform_agc_softsplit || state->current_agc->split.… in dib7000m_agc_soft_split()
648 if (agc > state->current_agc->split.min_thres) in dib7000m_agc_soft_split()
649 split_offset = state->current_agc->split.min; in dib7000m_agc_soft_split()
650 else if (agc < state->current_agc->split.max_thres) in dib7000m_agc_soft_split()
651 split_offset = state->current_agc->split.max; in dib7000m_agc_soft_split()
653 split_offset = state->current_agc->split.max * in dib7000m_agc_soft_split()
654 (agc - state->current_agc->split.min_thres) / in dib7000m_agc_soft_split()
655 (state->current_agc->split.max_thres - state->current_agc->split.min_thres); in dib7000m_agc_soft_split()
683 if (state->current_band == band && state->current_agc != NULL) in dib7000m_set_agc_config()
[all …]
H A Ddib7000p.c48 struct dibx000_agc_config *current_agc; member
750 if (state->current_band == band && state->current_agc != NULL) in dib7000p_set_agc_config()
765 state->current_agc = agc; in dib7000p_set_agc_config()
881 if (!state->current_agc->perform_agc_softsplit) { in dib7000p_agc_startup()
884 …dib7000p_write_word(state, 106, (state->current_agc->wbd_sel << 13) | (state->current_agc->wbd_alp… in dib7000p_agc_startup()
898 dib7000p_write_word(state, 75, state->current_agc->setup | (1 << 4)); /* freeze AGC loop */ in dib7000p_agc_startup()
899 …dib7000p_write_word(state, 106, (state->current_agc->wbd_sel << 13) | (2 << 9) | (0 << 8)); /* fas… in dib7000p_agc_startup()
908 dib7000p_write_word(state, 75, state->current_agc->setup); /* std AGC loop */ in dib7000p_agc_startup()
909 …dib7000p_write_word(state, 106, (state->current_agc->wbd_sel << 13) | (state->current_agc->wbd_alp… in dib7000p_agc_startup()
H A Ddib8000.c76 struct dibx000_agc_config *current_agc; member
1093 state->current_agc = NULL; in dib8000_reset()
1172 if (state->current_band == band && state->current_agc != NULL) in dib8000_set_agc_config()
1187 state->current_agc = agc; in dib8000_set_agc_config()
1243 …if (!state->current_agc || !state->current_agc->perform_agc_softsplit || state->current_agc->split… in dib8000_agc_soft_split()
1249 if (agc > state->current_agc->split.min_thres) in dib8000_agc_soft_split()
1250 split_offset = state->current_agc->split.min; in dib8000_agc_soft_split()
1251 else if (agc < state->current_agc->split.max_thres) in dib8000_agc_soft_split()
1252 split_offset = state->current_agc->split.max; in dib8000_agc_soft_split()
1254 split_offset = state->current_agc->split.max * in dib8000_agc_soft_split()
[all …]