Lines Matching refs:split
598 if(!state->current_agc || !state->current_agc->perform_agc_softsplit || state->current_agc->split.max == 0)
604 if (agc > state->current_agc->split.min_thres)
605 split_offset = state->current_agc->split.min;
606 else if (agc < state->current_agc->split.max_thres)
607 split_offset = state->current_agc->split.max;
609 split_offset = state->current_agc->split.max *
610 (agc - state->current_agc->split.min_thres) /
611 (state->current_agc->split.max_thres - state->current_agc->split.min_thres);
737 dib7000m_write_word(state, 103, 1 << 8); /* force 0 split on WBD and restart AGC */
750 case 2: /* fast split search path after 5sec */
752 dib7000m_write_word(state, 103, 2 << 9); /* fast split search 0.25kHz */
757 case 3: /* split search ended */
758 agc_split = (u8)dib7000m_read_word(state, 392); /* store the split value for the next time */
762 dib7000m_write_word(state, 103, (state->current_agc->wbd_alpha << 9) | agc_split); /* standard split search */