Searched refs:current_agc (Results 1 – 3 of 3) sorted by relevance
| /Linux-v4.19/drivers/media/dvb-frontends/ |
| D | dib7000m.c | 49 struct dibx000_agc_config *current_agc; member 645 …if(!state->current_agc || !state->current_agc->perform_agc_softsplit || state->current_agc->split.… in dib7000m_agc_soft_split() 651 if (agc > state->current_agc->split.min_thres) in dib7000m_agc_soft_split() 652 split_offset = state->current_agc->split.min; in dib7000m_agc_soft_split() 653 else if (agc < state->current_agc->split.max_thres) in dib7000m_agc_soft_split() 654 split_offset = state->current_agc->split.max; in dib7000m_agc_soft_split() 656 split_offset = state->current_agc->split.max * in dib7000m_agc_soft_split() 657 (agc - state->current_agc->split.min_thres) / in dib7000m_agc_soft_split() 658 (state->current_agc->split.max_thres - state->current_agc->split.min_thres); in dib7000m_agc_soft_split() 686 if (state->current_band == band && state->current_agc != NULL) in dib7000m_set_agc_config() [all …]
|
| D | dib7000p.c | 56 struct dibx000_agc_config *current_agc; member 758 if (state->current_band == band && state->current_agc != NULL) in dib7000p_set_agc_config() 773 state->current_agc = agc; in dib7000p_set_agc_config() 889 if (!state->current_agc->perform_agc_softsplit) { in dib7000p_agc_startup() 892 …dib7000p_write_word(state, 106, (state->current_agc->wbd_sel << 13) | (state->current_agc->wbd_alp… in dib7000p_agc_startup() 906 dib7000p_write_word(state, 75, state->current_agc->setup | (1 << 4)); /* freeze AGC loop */ in dib7000p_agc_startup() 907 …dib7000p_write_word(state, 106, (state->current_agc->wbd_sel << 13) | (2 << 9) | (0 << 8)); /* fas… in dib7000p_agc_startup() 916 dib7000p_write_word(state, 75, state->current_agc->setup); /* std AGC loop */ in dib7000p_agc_startup() 917 …dib7000p_write_word(state, 106, (state->current_agc->wbd_sel << 13) | (state->current_agc->wbd_alp… in dib7000p_agc_startup()
|
| D | dib8000.c | 79 struct dibx000_agc_config *current_agc; member 1096 state->current_agc = NULL; in dib8000_reset() 1175 if (state->current_band == band && state->current_agc != NULL) in dib8000_set_agc_config() 1190 state->current_agc = agc; in dib8000_set_agc_config() 1246 …if (!state->current_agc || !state->current_agc->perform_agc_softsplit || state->current_agc->split… in dib8000_agc_soft_split() 1252 if (agc > state->current_agc->split.min_thres) in dib8000_agc_soft_split() 1253 split_offset = state->current_agc->split.min; in dib8000_agc_soft_split() 1254 else if (agc < state->current_agc->split.max_thres) in dib8000_agc_soft_split() 1255 split_offset = state->current_agc->split.max; in dib8000_agc_soft_split() 1257 split_offset = state->current_agc->split.max * in dib8000_agc_soft_split() [all …]
|