Lines Matching refs:tune_state

94 	enum frontend_tune_state tune_state;  member
1268 enum frontend_tune_state *tune_state = &state->tune_state; in dib8000_agc_startup() local
1273 switch (*tune_state) { in dib8000_agc_startup()
1296 *tune_state = CT_AGC_STOP; in dib8000_agc_startup()
1302 *tune_state = CT_AGC_STEP_0; in dib8000_agc_startup()
1314 *tune_state = CT_AGC_STEP_1; in dib8000_agc_startup()
1325 *tune_state = CT_AGC_STEP_2; in dib8000_agc_startup()
1334 *tune_state = CT_AGC_STOP; in dib8000_agc_startup()
2886 return state->tune_state; in dib8000_get_tune_state()
2889 static int dib8000_set_tune_state(struct dvb_frontend *fe, enum frontend_tune_state tune_state) in dib8000_set_tune_state() argument
2893 state->tune_state = tune_state; in dib8000_set_tune_state()
2902 state->tune_state = CT_DEMOD_START; in dib8000_tune_restart_from_demod()
3021 enum frontend_tune_state *tune_state = &state->tune_state; in dib8000_tune() local
3037 if (*tune_state < CT_DEMOD_STOP) in dib8000_tune()
3039 state->channel_parameters_set, *tune_state, state->autosearch_state, now); in dib8000_tune()
3042 switch (*tune_state) { in dib8000_tune()
3080 *tune_state = CT_DEMOD_SEARCH_NEXT; in dib8000_tune()
3083 *tune_state = CT_DEMOD_STEP_3; in dib8000_tune()
3094 *tune_state = CT_DEMOD_STEP_1; in dib8000_tune()
3102 *tune_state = CT_DEMOD_STOP; /* else we are done here */ in dib8000_tune()
3106 *tune_state = CT_DEMOD_STEP_3; in dib8000_tune()
3108 *tune_state = CT_DEMOD_STEP_2; in dib8000_tune()
3113 *tune_state = CT_DEMOD_STEP_2; in dib8000_tune()
3153 *tune_state = CT_DEMOD_SEARCH_NEXT; in dib8000_tune()
3168 *tune_state = CT_DEMOD_STEP_3; in dib8000_tune()
3174 *tune_state = CT_DEMOD_STOP; /* else we are done here */ in dib8000_tune()
3182 *tune_state = CT_DEMOD_STEP_4; in dib8000_tune()
3194 *tune_state = CT_DEMOD_STEP_5; in dib8000_tune()
3204 *tune_state = CT_DEMOD_STEP_7; in dib8000_tune()
3206 *tune_state = CT_DEMOD_STEP_8; in dib8000_tune()
3209 *tune_state = CT_DEMOD_STEP_6; /* goto check for diversity input connection */ in dib8000_tune()
3217 *tune_state = CT_DEMOD_STEP_8; /* go for mpeg */ in dib8000_tune()
3219 *tune_state = CT_DEMOD_STOP; /* else we are done here ; step 8 will close the loops and exit */ in dib8000_tune()
3227 *tune_state = CT_DEMOD_STOP; /* else we are done here ; step 8 will close the loops and exit */ in dib8000_tune()
3236 *tune_state = CT_DEMOD_STEP_8; in dib8000_tune()
3238 *tune_state = CT_DEMOD_STEP_6; /* goto check for diversity input connection */ in dib8000_tune()
3250 *tune_state = CT_DEMOD_STEP_11; in dib8000_tune()
3252 *tune_state = CT_DEMOD_STEP_9; in dib8000_tune()
3284 *tune_state = CT_DEMOD_STEP_10; in dib8000_tune()
3286 *tune_state = CT_DEMOD_STOP; in dib8000_tune()
3303 *tune_state = CT_DEMOD_STOP; in dib8000_tune()
3309 *tune_state = CT_DEMOD_STEP_11; in dib8000_tune()
3321 *tune_state = CT_DEMOD_STOP; in dib8000_tune()
3331 *tune_state = CT_DEMOD_STEP_9; in dib8000_tune()
3333 *tune_state = CT_DEMOD_STOP; in dib8000_tune()
3343 switch (*tune_state) { in dib8000_tune()
3363 if ((ret > 0) && (*tune_state > CT_DEMOD_STEP_3)) in dib8000_tune()