ter_state 87 drivers/media/dvb-frontends/stv0367.c struct stv0367ter_state *ter_state; ter_state 970 drivers/media/dvb-frontends/stv0367.c struct stv0367ter_state *ter_state = state->ter_state; ter_state 974 drivers/media/dvb-frontends/stv0367.c ter_state->pBER = 0; ter_state 989 drivers/media/dvb-frontends/stv0367.c ter_state->first_lock = 0; ter_state 990 drivers/media/dvb-frontends/stv0367.c ter_state->unlock_counter = 2; ter_state 999 drivers/media/dvb-frontends/stv0367.c struct stv0367ter_state *ter_state = state->ter_state; ter_state 1011 drivers/media/dvb-frontends/stv0367.c ter_state->frequency = p->frequency; ter_state 1012 drivers/media/dvb-frontends/stv0367.c ter_state->force = FE_TER_FORCENONE ter_state 1014 drivers/media/dvb-frontends/stv0367.c ter_state->if_iq_mode = state->config->if_iq_mode; ter_state 1044 drivers/media/dvb-frontends/stv0367.c if (ter_state->if_iq_mode == FE_TER_IQ_TUNER) ter_state 1046 drivers/media/dvb-frontends/stv0367.c ter_state->sense); ter_state 1049 drivers/media/dvb-frontends/stv0367.c ter_state->sense); ter_state 1054 drivers/media/dvb-frontends/stv0367.c if (ter_state->if_iq_mode == FE_TER_IQ_TUNER) ter_state 1064 drivers/media/dvb-frontends/stv0367.c if ((ter_state->if_iq_mode != FE_TER_NORMAL_IF_TUNER) && ter_state 1065 drivers/media/dvb-frontends/stv0367.c (ter_state->pBW != ter_state->bw)) { ter_state 1079 drivers/media/dvb-frontends/stv0367.c if (!stv0367_iir_filt_init(state, ter_state->bw, ter_state 1083 drivers/media/dvb-frontends/stv0367.c ter_state->pBW = ter_state->bw; ter_state 1088 drivers/media/dvb-frontends/stv0367.c if (ter_state->hierarchy == FE_TER_HIER_LOW_PRIO) ter_state 1095 drivers/media/dvb-frontends/stv0367.c ((((ter_state->bw * 64 * (1 << 15) * 100) ter_state 1106 drivers/media/dvb-frontends/stv0367.c temp = (int)(((1 << 17) * ter_state->bw * 1000) / (7 * (InternalFreq))); ter_state 1119 drivers/media/dvb-frontends/stv0367.c ter_state->echo_pos = 0; ter_state 1120 drivers/media/dvb-frontends/stv0367.c ter_state->ucblocks = 0; /* liplianin */ ter_state 1121 drivers/media/dvb-frontends/stv0367.c ter_state->pBER = 0; /* liplianin */ ter_state 1122 drivers/media/dvb-frontends/stv0367.c stv0367_writebits(state, F367TER_LONG_ECHO, ter_state->echo_pos); ter_state 1127 drivers/media/dvb-frontends/stv0367.c ter_state->state = FE_TER_LOCKOK; ter_state 1129 drivers/media/dvb-frontends/stv0367.c ter_state->mode = stv0367_readbits(state, F367TER_SYR_MODE); ter_state 1130 drivers/media/dvb-frontends/stv0367.c ter_state->guard = stv0367_readbits(state, F367TER_SYR_GUARD); ter_state 1132 drivers/media/dvb-frontends/stv0367.c ter_state->first_lock = 1; /* we know sense now :) */ ter_state 1134 drivers/media/dvb-frontends/stv0367.c ter_state->agc_val = ter_state 1151 drivers/media/dvb-frontends/stv0367.c if (ter_state->mode == FE_TER_MODE_2K) ter_state 1153 drivers/media/dvb-frontends/stv0367.c else if (ter_state->mode == FE_TER_MODE_4K) ter_state 1155 drivers/media/dvb-frontends/stv0367.c else if (ter_state->mode == FE_TER_MODE_8K) ter_state 1165 drivers/media/dvb-frontends/stv0367.c if (ter_state->bw == 6) ter_state 1167 drivers/media/dvb-frontends/stv0367.c else if (ter_state->bw == 7) ter_state 1170 drivers/media/dvb-frontends/stv0367.c ter_state->frequency += offset; ter_state 1226 drivers/media/dvb-frontends/stv0367.c struct stv0367ter_state *ter_state = state->ter_state; ter_state 1247 drivers/media/dvb-frontends/stv0367.c ter_state->mode = FE_TER_MODE_2K; ter_state 1253 drivers/media/dvb-frontends/stv0367.c ter_state->mode = FE_TER_MODE_8K; ter_state 1263 drivers/media/dvb-frontends/stv0367.c ter_state->guard = p->guard_interval; ter_state 1266 drivers/media/dvb-frontends/stv0367.c ter_state->guard = GUARD_INTERVAL_1_32; ter_state 1272 drivers/media/dvb-frontends/stv0367.c ter_state->bw = FE_TER_CHAN_BW_6M; ter_state 1275 drivers/media/dvb-frontends/stv0367.c ter_state->bw = FE_TER_CHAN_BW_7M; ter_state 1279 drivers/media/dvb-frontends/stv0367.c ter_state->bw = FE_TER_CHAN_BW_8M; ter_state 1282 drivers/media/dvb-frontends/stv0367.c ter_state->hierarchy = FE_TER_HIER_NONE; ter_state 1291 drivers/media/dvb-frontends/stv0367.c if (ter_state->first_lock) ter_state 1296 drivers/media/dvb-frontends/stv0367.c ter_state->state = FE_TER_NOLOCK; ter_state 1299 drivers/media/dvb-frontends/stv0367.c while (((index) < num_trials) && (ter_state->state != FE_TER_LOCKOK)) { ter_state 1300 drivers/media/dvb-frontends/stv0367.c if (!ter_state->first_lock) { ter_state 1302 drivers/media/dvb-frontends/stv0367.c ter_state->sense = SenseTrials[index]; ter_state 1307 drivers/media/dvb-frontends/stv0367.c if ((ter_state->state == FE_TER_LOCKOK) && ter_state 1324 drivers/media/dvb-frontends/stv0367.c struct stv0367ter_state *ter_state = state->ter_state; ter_state 1335 drivers/media/dvb-frontends/stv0367.c ter_state->ucblocks = errs; ter_state 1338 drivers/media/dvb-frontends/stv0367.c (*ucblocks) = ter_state->ucblocks; ter_state 1347 drivers/media/dvb-frontends/stv0367.c struct stv0367ter_state *ter_state = state->ter_state; ter_state 1387 drivers/media/dvb-frontends/stv0367.c if (ter_state->hierarchy == FE_TER_HIER_LOW_PRIO) ter_state 1469 drivers/media/dvb-frontends/stv0367.c struct stv0367ter_state *ter_state = state->ter_state; ter_state 1474 drivers/media/dvb-frontends/stv0367.c ter_state->unlock_counter += 1; ter_state 1476 drivers/media/dvb-frontends/stv0367.c ter_state->unlock_counter = 0; ter_state 1478 drivers/media/dvb-frontends/stv0367.c if (ter_state->unlock_counter > 2) { ter_state 1515 drivers/media/dvb-frontends/stv0367.c struct stv0367ter_state *ter_state = state->ter_state; ter_state 1530 drivers/media/dvb-frontends/stv0367.c tber = ter_state->pBER; ter_state 1588 drivers/media/dvb-frontends/stv0367.c ter_state->pBER = tber; ter_state 1597 drivers/media/dvb-frontends/stv0367.c struct stv0367ter_state *ter_state = state->ter_state; ter_state 1657 drivers/media/dvb-frontends/stv0367.c ter_state->pPER = Per; ter_state 1677 drivers/media/dvb-frontends/stv0367.c kfree(state->ter_state); ter_state 1716 drivers/media/dvb-frontends/stv0367.c struct stv0367ter_state *ter_state = NULL; ter_state 1722 drivers/media/dvb-frontends/stv0367.c ter_state = kzalloc(sizeof(struct stv0367ter_state), GFP_KERNEL); ter_state 1723 drivers/media/dvb-frontends/stv0367.c if (ter_state == NULL) ter_state 1729 drivers/media/dvb-frontends/stv0367.c state->ter_state = ter_state; ter_state 1749 drivers/media/dvb-frontends/stv0367.c kfree(ter_state); ter_state 3175 drivers/media/dvb-frontends/stv0367.c struct stv0367ter_state *ter_state = state->ter_state; ter_state 3247 drivers/media/dvb-frontends/stv0367.c ter_state->pBER = 0; ter_state 3248 drivers/media/dvb-frontends/stv0367.c ter_state->first_lock = 0; ter_state 3249 drivers/media/dvb-frontends/stv0367.c ter_state->unlock_counter = 2; ter_state 3295 drivers/media/dvb-frontends/stv0367.c struct stv0367ter_state *ter_state = NULL; ter_state 3302 drivers/media/dvb-frontends/stv0367.c ter_state = kzalloc(sizeof(struct stv0367ter_state), GFP_KERNEL); ter_state 3303 drivers/media/dvb-frontends/stv0367.c if (ter_state == NULL) ter_state 3312 drivers/media/dvb-frontends/stv0367.c state->ter_state = ter_state; ter_state 3343 drivers/media/dvb-frontends/stv0367.c kfree(ter_state);