Searched refs:current_agc (Results 1 – 3 of 3) sorted by relevance
/linux-4.1.27/drivers/media/dvb-frontends/ |
D | dib7000m.c | 42 struct dibx000_agc_config *current_agc; member 638 …if(!state->current_agc || !state->current_agc->perform_agc_softsplit || state->current_agc->split.… in dib7000m_agc_soft_split() 644 if (agc > state->current_agc->split.min_thres) in dib7000m_agc_soft_split() 645 split_offset = state->current_agc->split.min; in dib7000m_agc_soft_split() 646 else if (agc < state->current_agc->split.max_thres) in dib7000m_agc_soft_split() 647 split_offset = state->current_agc->split.max; in dib7000m_agc_soft_split() 649 split_offset = state->current_agc->split.max * in dib7000m_agc_soft_split() 650 (agc - state->current_agc->split.min_thres) / in dib7000m_agc_soft_split() 651 (state->current_agc->split.max_thres - state->current_agc->split.min_thres); in dib7000m_agc_soft_split() 679 if (state->current_band == band && state->current_agc != NULL) in dib7000m_set_agc_config() [all …]
|
D | dib7000p.c | 49 struct dibx000_agc_config *current_agc; member 751 if (state->current_band == band && state->current_agc != NULL) in dib7000p_set_agc_config() 766 state->current_agc = agc; in dib7000p_set_agc_config() 873 if (!state->current_agc->perform_agc_softsplit) { in dib7000p_agc_startup() 876 …dib7000p_write_word(state, 106, (state->current_agc->wbd_sel << 13) | (state->current_agc->wbd_alp… in dib7000p_agc_startup() 890 dib7000p_write_word(state, 75, state->current_agc->setup | (1 << 4)); /* freeze AGC loop */ in dib7000p_agc_startup() 891 …dib7000p_write_word(state, 106, (state->current_agc->wbd_sel << 13) | (2 << 9) | (0 << 8)); /* fas… in dib7000p_agc_startup() 900 dib7000p_write_word(state, 75, state->current_agc->setup); /* std AGC loop */ in dib7000p_agc_startup() 901 …dib7000p_write_word(state, 106, (state->current_agc->wbd_sel << 13) | (state->current_agc->wbd_alp… in dib7000p_agc_startup()
|
D | dib8000.c | 72 struct dibx000_agc_config *current_agc; member 1089 state->current_agc = NULL; in dib8000_reset() 1168 if (state->current_band == band && state->current_agc != NULL) in dib8000_set_agc_config() 1183 state->current_agc = agc; in dib8000_set_agc_config() 1239 …if (!state->current_agc || !state->current_agc->perform_agc_softsplit || state->current_agc->split… in dib8000_agc_soft_split() 1245 if (agc > state->current_agc->split.min_thres) in dib8000_agc_soft_split() 1246 split_offset = state->current_agc->split.min; in dib8000_agc_soft_split() 1247 else if (agc < state->current_agc->split.max_thres) in dib8000_agc_soft_split() 1248 split_offset = state->current_agc->split.max; in dib8000_agc_soft_split() 1250 split_offset = state->current_agc->split.max * in dib8000_agc_soft_split() [all …]
|