index_frontend 3349 drivers/media/dvb-frontends/dib8000.c u8 index_frontend; index_frontend 3360 drivers/media/dvb-frontends/dib8000.c for (index_frontend = 1; (index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[index_frontend] != NULL); index_frontend++) { index_frontend 3361 drivers/media/dvb-frontends/dib8000.c ret = state->fe[index_frontend]->ops.init(state->fe[index_frontend]); index_frontend 3372 drivers/media/dvb-frontends/dib8000.c u8 index_frontend; index_frontend 3375 drivers/media/dvb-frontends/dib8000.c for (index_frontend = 1; (index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[index_frontend] != NULL); index_frontend++) { index_frontend 3376 drivers/media/dvb-frontends/dib8000.c ret = state->fe[index_frontend]->ops.sleep(state->fe[index_frontend]); index_frontend 3395 drivers/media/dvb-frontends/dib8000.c u8 index_frontend, sub_index_frontend; index_frontend 3409 drivers/media/dvb-frontends/dib8000.c for (index_frontend = 1; (index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[index_frontend] != NULL); index_frontend++) { index_frontend 3410 drivers/media/dvb-frontends/dib8000.c state->fe[index_frontend]->ops.read_status(state->fe[index_frontend], &stat); index_frontend 3412 drivers/media/dvb-frontends/dib8000.c dprintk("TMCC lock on the slave%i\n", index_frontend); index_frontend 3414 drivers/media/dvb-frontends/dib8000.c state->fe[index_frontend]->ops.get_frontend(state->fe[index_frontend], c); index_frontend 3416 drivers/media/dvb-frontends/dib8000.c if (sub_index_frontend != index_frontend) { index_frontend 3417 drivers/media/dvb-frontends/dib8000.c state->fe[sub_index_frontend]->dtv_property_cache.isdbt_sb_mode = state->fe[index_frontend]->dtv_property_cache.isdbt_sb_mode; index_frontend 3418 drivers/media/dvb-frontends/dib8000.c state->fe[sub_index_frontend]->dtv_property_cache.inversion = state->fe[index_frontend]->dtv_property_cache.inversion; index_frontend 3419 drivers/media/dvb-frontends/dib8000.c state->fe[sub_index_frontend]->dtv_property_cache.transmission_mode = state->fe[index_frontend]->dtv_property_cache.transmission_mode; index_frontend 3420 drivers/media/dvb-frontends/dib8000.c state->fe[sub_index_frontend]->dtv_property_cache.guard_interval = state->fe[index_frontend]->dtv_property_cache.guard_interval; index_frontend 3421 drivers/media/dvb-frontends/dib8000.c state->fe[sub_index_frontend]->dtv_property_cache.isdbt_partial_reception = state->fe[index_frontend]->dtv_property_cache.isdbt_partial_reception; index_frontend 3423 drivers/media/dvb-frontends/dib8000.c state->fe[sub_index_frontend]->dtv_property_cache.layer[i].segment_count = state->fe[index_frontend]->dtv_property_cache.layer[i].segment_count; index_frontend 3424 drivers/media/dvb-frontends/dib8000.c state->fe[sub_index_frontend]->dtv_property_cache.layer[i].interleaving = state->fe[index_frontend]->dtv_property_cache.layer[i].interleaving; index_frontend 3425 drivers/media/dvb-frontends/dib8000.c state->fe[sub_index_frontend]->dtv_property_cache.layer[i].fec = state->fe[index_frontend]->dtv_property_cache.layer[i].fec; index_frontend 3426 drivers/media/dvb-frontends/dib8000.c state->fe[sub_index_frontend]->dtv_property_cache.layer[i].modulation = state->fe[index_frontend]->dtv_property_cache.layer[i].modulation; index_frontend 3560 drivers/media/dvb-frontends/dib8000.c for (index_frontend = 1; (index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[index_frontend] != NULL); index_frontend++) { index_frontend 3561 drivers/media/dvb-frontends/dib8000.c state->fe[index_frontend]->dtv_property_cache.isdbt_sb_mode = c->isdbt_sb_mode; index_frontend 3562 drivers/media/dvb-frontends/dib8000.c state->fe[index_frontend]->dtv_property_cache.inversion = c->inversion; index_frontend 3563 drivers/media/dvb-frontends/dib8000.c state->fe[index_frontend]->dtv_property_cache.transmission_mode = c->transmission_mode; index_frontend 3564 drivers/media/dvb-frontends/dib8000.c state->fe[index_frontend]->dtv_property_cache.guard_interval = c->guard_interval; index_frontend 3565 drivers/media/dvb-frontends/dib8000.c state->fe[index_frontend]->dtv_property_cache.isdbt_partial_reception = c->isdbt_partial_reception; index_frontend 3567 drivers/media/dvb-frontends/dib8000.c state->fe[index_frontend]->dtv_property_cache.layer[i].segment_count = c->layer[i].segment_count; index_frontend 3568 drivers/media/dvb-frontends/dib8000.c state->fe[index_frontend]->dtv_property_cache.layer[i].interleaving = c->layer[i].interleaving; index_frontend 3569 drivers/media/dvb-frontends/dib8000.c state->fe[index_frontend]->dtv_property_cache.layer[i].fec = c->layer[i].fec; index_frontend 3570 drivers/media/dvb-frontends/dib8000.c state->fe[index_frontend]->dtv_property_cache.layer[i].modulation = c->layer[i].modulation; index_frontend 3581 drivers/media/dvb-frontends/dib8000.c u8 exit_condition, index_frontend; index_frontend 3594 drivers/media/dvb-frontends/dib8000.c for (index_frontend = 0; (index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[index_frontend] != NULL); index_frontend++) { index_frontend 3596 drivers/media/dvb-frontends/dib8000.c state->fe[index_frontend]->dtv_property_cache.delivery_system = SYS_ISDBT; index_frontend 3597 drivers/media/dvb-frontends/dib8000.c memcpy(&state->fe[index_frontend]->dtv_property_cache, &fe->dtv_property_cache, sizeof(struct dtv_frontend_properties)); index_frontend 3601 drivers/media/dvb-frontends/dib8000.c dib8000_set_diversity_in(state->fe[index_frontend], 1); index_frontend 3602 drivers/media/dvb-frontends/dib8000.c if (index_frontend != 0) index_frontend 3603 drivers/media/dvb-frontends/dib8000.c dib8000_set_output_mode(state->fe[index_frontend], index_frontend 3608 drivers/media/dvb-frontends/dib8000.c dib8096p_set_diversity_in(state->fe[index_frontend], 1); index_frontend 3609 drivers/media/dvb-frontends/dib8000.c if (index_frontend != 0) index_frontend 3610 drivers/media/dvb-frontends/dib8000.c dib8096p_set_output_mode(state->fe[index_frontend], index_frontend 3617 drivers/media/dvb-frontends/dib8000.c if (state->fe[index_frontend]->ops.tuner_ops.set_params) index_frontend 3618 drivers/media/dvb-frontends/dib8000.c state->fe[index_frontend]->ops.tuner_ops.set_params(state->fe[index_frontend]); index_frontend 3620 drivers/media/dvb-frontends/dib8000.c dib8000_set_tune_state(state->fe[index_frontend], CT_AGC_START); index_frontend 3625 drivers/media/dvb-frontends/dib8000.c dib8000_set_diversity_in(state->fe[index_frontend - 1], 0); index_frontend 3627 drivers/media/dvb-frontends/dib8000.c dib8096p_set_diversity_in(state->fe[index_frontend - 1], 0); index_frontend 3632 drivers/media/dvb-frontends/dib8000.c for (index_frontend = 1; (index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[index_frontend] != NULL); index_frontend++) { index_frontend 3633 drivers/media/dvb-frontends/dib8000.c time_slave = dib8000_agc_startup(state->fe[index_frontend]); index_frontend 3653 drivers/media/dvb-frontends/dib8000.c for (index_frontend = 0; (index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[index_frontend] != NULL); index_frontend++) { index_frontend 3654 drivers/media/dvb-frontends/dib8000.c if (dib8000_get_tune_state(state->fe[index_frontend]) != CT_AGC_STOP) { index_frontend 3661 drivers/media/dvb-frontends/dib8000.c for (index_frontend = 0; (index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[index_frontend] != NULL); index_frontend++) index_frontend 3662 drivers/media/dvb-frontends/dib8000.c dib8000_set_tune_state(state->fe[index_frontend], CT_DEMOD_START); index_frontend 3667 drivers/media/dvb-frontends/dib8000.c for (index_frontend = 0; (index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[index_frontend] != NULL); index_frontend++) { index_frontend 3668 drivers/media/dvb-frontends/dib8000.c delay = dib8000_tune(state->fe[index_frontend]); index_frontend 3677 drivers/media/dvb-frontends/dib8000.c if ((dib8000_get_status(state->fe[index_frontend]) == FE_STATUS_DEMOD_SUCCESS) || (dib8000_get_status(state->fe[index_frontend]) == FE_STATUS_FFT_SUCCESS)) { index_frontend 3678 drivers/media/dvb-frontends/dib8000.c dprintk("autosearch succeeded on fe%i\n", index_frontend); index_frontend 3679 drivers/media/dvb-frontends/dib8000.c dib8000_get_frontend(state->fe[index_frontend], c); /* we read the channel parameters from the frontend which was successful */ index_frontend 3683 drivers/media/dvb-frontends/dib8000.c if (l != index_frontend) { /* and for all frontend except the successful one */ index_frontend 3687 drivers/media/dvb-frontends/dib8000.c state->fe[l]->dtv_property_cache.isdbt_sb_mode = state->fe[index_frontend]->dtv_property_cache.isdbt_sb_mode; index_frontend 3688 drivers/media/dvb-frontends/dib8000.c state->fe[l]->dtv_property_cache.inversion = state->fe[index_frontend]->dtv_property_cache.inversion; index_frontend 3689 drivers/media/dvb-frontends/dib8000.c state->fe[l]->dtv_property_cache.transmission_mode = state->fe[index_frontend]->dtv_property_cache.transmission_mode; index_frontend 3690 drivers/media/dvb-frontends/dib8000.c state->fe[l]->dtv_property_cache.guard_interval = state->fe[index_frontend]->dtv_property_cache.guard_interval; index_frontend 3691 drivers/media/dvb-frontends/dib8000.c state->fe[l]->dtv_property_cache.isdbt_partial_reception = state->fe[index_frontend]->dtv_property_cache.isdbt_partial_reception; index_frontend 3693 drivers/media/dvb-frontends/dib8000.c state->fe[l]->dtv_property_cache.layer[i].segment_count = state->fe[index_frontend]->dtv_property_cache.layer[i].segment_count; index_frontend 3694 drivers/media/dvb-frontends/dib8000.c state->fe[l]->dtv_property_cache.layer[i].interleaving = state->fe[index_frontend]->dtv_property_cache.layer[i].interleaving; index_frontend 3695 drivers/media/dvb-frontends/dib8000.c state->fe[l]->dtv_property_cache.layer[i].fec = state->fe[index_frontend]->dtv_property_cache.layer[i].fec; index_frontend 3696 drivers/media/dvb-frontends/dib8000.c state->fe[l]->dtv_property_cache.layer[i].modulation = state->fe[index_frontend]->dtv_property_cache.layer[i].modulation; index_frontend 3710 drivers/media/dvb-frontends/dib8000.c for (index_frontend = 0; (index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[index_frontend] != NULL); index_frontend++) { index_frontend 3711 drivers/media/dvb-frontends/dib8000.c if (dib8000_get_tune_state(state->fe[index_frontend]) != CT_DEMOD_STOP) index_frontend 3747 drivers/media/dvb-frontends/dib8000.c u8 index_frontend; index_frontend 3750 drivers/media/dvb-frontends/dib8000.c for (index_frontend = 1; (index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[index_frontend] != NULL); index_frontend++) index_frontend 3751 drivers/media/dvb-frontends/dib8000.c lock_slave |= dib8000_read_lock(state->fe[index_frontend]); index_frontend 3814 drivers/media/dvb-frontends/dib8000.c u8 index_frontend; index_frontend 3818 drivers/media/dvb-frontends/dib8000.c for (index_frontend = 1; (index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[index_frontend] != NULL); index_frontend++) { index_frontend 3819 drivers/media/dvb-frontends/dib8000.c state->fe[index_frontend]->ops.read_signal_strength(state->fe[index_frontend], &val); index_frontend 3870 drivers/media/dvb-frontends/dib8000.c u8 index_frontend; index_frontend 3874 drivers/media/dvb-frontends/dib8000.c for (index_frontend = 1; (index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[index_frontend] != NULL); index_frontend++) index_frontend 3875 drivers/media/dvb-frontends/dib8000.c snr_master += dib8000_get_snr(state->fe[index_frontend]); index_frontend 4241 drivers/media/dvb-frontends/dib8000.c u8 index_frontend = 1; index_frontend 4243 drivers/media/dvb-frontends/dib8000.c while ((index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[index_frontend] != NULL)) index_frontend 4244 drivers/media/dvb-frontends/dib8000.c index_frontend++; index_frontend 4245 drivers/media/dvb-frontends/dib8000.c if (index_frontend < MAX_NUMBER_OF_FRONTENDS) { index_frontend 4246 drivers/media/dvb-frontends/dib8000.c dprintk("set slave fe %p to index %i\n", fe_slave, index_frontend); index_frontend 4247 drivers/media/dvb-frontends/dib8000.c state->fe[index_frontend] = fe_slave; index_frontend 4352 drivers/media/dvb-frontends/dib8000.c u8 index_frontend; index_frontend 4354 drivers/media/dvb-frontends/dib8000.c for (index_frontend = 1; (index_frontend < MAX_NUMBER_OF_FRONTENDS) && (st->fe[index_frontend] != NULL); index_frontend++) index_frontend 4355 drivers/media/dvb-frontends/dib8000.c dvb_frontend_detach(st->fe[index_frontend]); index_frontend 1850 drivers/media/dvb-frontends/dib9000.c u8 index_frontend; index_frontend 1852 drivers/media/dvb-frontends/dib9000.c for (index_frontend = 1; (index_frontend < MAX_NUMBER_OF_FRONTENDS) && (st->fe[index_frontend] != NULL); index_frontend++) index_frontend 1853 drivers/media/dvb-frontends/dib9000.c dvb_frontend_detach(st->fe[index_frontend]); index_frontend 1871 drivers/media/dvb-frontends/dib9000.c u8 index_frontend; index_frontend 1878 drivers/media/dvb-frontends/dib9000.c for (index_frontend = 1; (index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[index_frontend] != NULL); index_frontend++) { index_frontend 1879 drivers/media/dvb-frontends/dib9000.c ret = state->fe[index_frontend]->ops.sleep(state->fe[index_frontend]); index_frontend 1900 drivers/media/dvb-frontends/dib9000.c u8 index_frontend, sub_index_frontend; index_frontend 1911 drivers/media/dvb-frontends/dib9000.c for (index_frontend = 1; (index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[index_frontend] != NULL); index_frontend++) { index_frontend 1912 drivers/media/dvb-frontends/dib9000.c state->fe[index_frontend]->ops.read_status(state->fe[index_frontend], &stat); index_frontend 1914 drivers/media/dvb-frontends/dib9000.c dprintk("TPS lock on the slave%i\n", index_frontend); index_frontend 1917 drivers/media/dvb-frontends/dib9000.c state->fe[index_frontend]->ops.get_frontend(state->fe[index_frontend], c); index_frontend 1920 drivers/media/dvb-frontends/dib9000.c if (sub_index_frontend != index_frontend) { index_frontend 1922 drivers/media/dvb-frontends/dib9000.c state->fe[index_frontend]->dtv_property_cache.modulation; index_frontend 1924 drivers/media/dvb-frontends/dib9000.c state->fe[index_frontend]->dtv_property_cache.inversion; index_frontend 1926 drivers/media/dvb-frontends/dib9000.c state->fe[index_frontend]->dtv_property_cache.transmission_mode; index_frontend 1928 drivers/media/dvb-frontends/dib9000.c state->fe[index_frontend]->dtv_property_cache.guard_interval; index_frontend 1930 drivers/media/dvb-frontends/dib9000.c state->fe[index_frontend]->dtv_property_cache.hierarchy; index_frontend 1932 drivers/media/dvb-frontends/dib9000.c state->fe[index_frontend]->dtv_property_cache.code_rate_HP; index_frontend 1934 drivers/media/dvb-frontends/dib9000.c state->fe[index_frontend]->dtv_property_cache.code_rate_LP; index_frontend 1936 drivers/media/dvb-frontends/dib9000.c state->fe[index_frontend]->dtv_property_cache.rolloff; index_frontend 1950 drivers/media/dvb-frontends/dib9000.c for (index_frontend = 1; (index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[index_frontend] != NULL); index_frontend++) { index_frontend 1951 drivers/media/dvb-frontends/dib9000.c state->fe[index_frontend]->dtv_property_cache.inversion = c->inversion; index_frontend 1952 drivers/media/dvb-frontends/dib9000.c state->fe[index_frontend]->dtv_property_cache.transmission_mode = c->transmission_mode; index_frontend 1953 drivers/media/dvb-frontends/dib9000.c state->fe[index_frontend]->dtv_property_cache.guard_interval = c->guard_interval; index_frontend 1954 drivers/media/dvb-frontends/dib9000.c state->fe[index_frontend]->dtv_property_cache.modulation = c->modulation; index_frontend 1955 drivers/media/dvb-frontends/dib9000.c state->fe[index_frontend]->dtv_property_cache.hierarchy = c->hierarchy; index_frontend 1956 drivers/media/dvb-frontends/dib9000.c state->fe[index_frontend]->dtv_property_cache.code_rate_HP = c->code_rate_HP; index_frontend 1957 drivers/media/dvb-frontends/dib9000.c state->fe[index_frontend]->dtv_property_cache.code_rate_LP = c->code_rate_LP; index_frontend 1958 drivers/media/dvb-frontends/dib9000.c state->fe[index_frontend]->dtv_property_cache.rolloff = c->rolloff; index_frontend 1997 drivers/media/dvb-frontends/dib9000.c u8 nbr_pending, exit_condition, index_frontend, index_frontend_success; index_frontend 2030 drivers/media/dvb-frontends/dib9000.c for (index_frontend = 0; (index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[index_frontend] != NULL); index_frontend++) { index_frontend 2031 drivers/media/dvb-frontends/dib9000.c dib9000_fw_set_diversity_in(state->fe[index_frontend], 1); index_frontend 2034 drivers/media/dvb-frontends/dib9000.c memcpy(&state->fe[index_frontend]->dtv_property_cache, &fe->dtv_property_cache, sizeof(struct dtv_frontend_properties)); index_frontend 2036 drivers/media/dvb-frontends/dib9000.c state->fe[index_frontend]->dtv_property_cache.delivery_system = SYS_DVBT; index_frontend 2037 drivers/media/dvb-frontends/dib9000.c dib9000_fw_set_output_mode(state->fe[index_frontend], OUTMODE_HIGH_Z); index_frontend 2039 drivers/media/dvb-frontends/dib9000.c dib9000_set_channel_status(state->fe[index_frontend], &state->channel_status); index_frontend 2040 drivers/media/dvb-frontends/dib9000.c dib9000_set_tune_state(state->fe[index_frontend], CT_DEMOD_START); index_frontend 2048 drivers/media/dvb-frontends/dib9000.c for (index_frontend = 1; (index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[index_frontend] != NULL); index_frontend++) { index_frontend 2049 drivers/media/dvb-frontends/dib9000.c sleep_time_slave = dib9000_fw_tune(state->fe[index_frontend]); index_frontend 2063 drivers/media/dvb-frontends/dib9000.c for (index_frontend = 0; (index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[index_frontend] != NULL); index_frontend++) { index_frontend 2064 drivers/media/dvb-frontends/dib9000.c frontend_status = -dib9000_get_status(state->fe[index_frontend]); index_frontend 2067 drivers/media/dvb-frontends/dib9000.c index_frontend_success = index_frontend; index_frontend 2096 drivers/media/dvb-frontends/dib9000.c for (index_frontend = 0; (index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[index_frontend] != NULL); index_frontend++) { index_frontend 2098 drivers/media/dvb-frontends/dib9000.c if (index_frontend != index_frontend_success) { index_frontend 2099 drivers/media/dvb-frontends/dib9000.c dib9000_set_channel_status(state->fe[index_frontend], &channel_status); index_frontend 2100 drivers/media/dvb-frontends/dib9000.c dib9000_set_tune_state(state->fe[index_frontend], CT_DEMOD_START); index_frontend 2105 drivers/media/dvb-frontends/dib9000.c for (index_frontend = 0; (index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[index_frontend] != NULL); index_frontend++) { index_frontend 2106 drivers/media/dvb-frontends/dib9000.c if (index_frontend != index_frontend_success) { index_frontend 2107 drivers/media/dvb-frontends/dib9000.c sleep_time_slave = dib9000_fw_tune(state->fe[index_frontend]); index_frontend 2120 drivers/media/dvb-frontends/dib9000.c for (index_frontend = 0; (index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[index_frontend] != NULL); index_frontend++) { index_frontend 2121 drivers/media/dvb-frontends/dib9000.c if (index_frontend != index_frontend_success) { index_frontend 2122 drivers/media/dvb-frontends/dib9000.c frontend_status = -dib9000_get_status(state->fe[index_frontend]); index_frontend 2123 drivers/media/dvb-frontends/dib9000.c if ((index_frontend != index_frontend_success) && (frontend_status == -FE_STATUS_TUNE_PENDING)) index_frontend 2131 drivers/media/dvb-frontends/dib9000.c for (index_frontend = 1; (index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[index_frontend] != NULL); index_frontend++) index_frontend 2132 drivers/media/dvb-frontends/dib9000.c dib9000_fw_set_output_mode(state->fe[index_frontend], OUTMODE_DIVERSITY); index_frontend 2135 drivers/media/dvb-frontends/dib9000.c dib9000_fw_set_diversity_in(state->fe[index_frontend - 1], 0); index_frontend 2172 drivers/media/dvb-frontends/dib9000.c u8 index_frontend; index_frontend 2179 drivers/media/dvb-frontends/dib9000.c for (index_frontend = 1; (index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[index_frontend] != NULL); index_frontend++) index_frontend 2180 drivers/media/dvb-frontends/dib9000.c lock_slave |= dib9000_read_lock(state->fe[index_frontend]); index_frontend 2238 drivers/media/dvb-frontends/dib9000.c u8 index_frontend; index_frontend 2248 drivers/media/dvb-frontends/dib9000.c for (index_frontend = 1; (index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[index_frontend] != NULL); index_frontend++) { index_frontend 2249 drivers/media/dvb-frontends/dib9000.c state->fe[index_frontend]->ops.read_signal_strength(state->fe[index_frontend], &val); index_frontend 2323 drivers/media/dvb-frontends/dib9000.c u8 index_frontend; index_frontend 2331 drivers/media/dvb-frontends/dib9000.c for (index_frontend = 1; (index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[index_frontend] != NULL); index_frontend++) index_frontend 2332 drivers/media/dvb-frontends/dib9000.c snr_master += dib9000_get_snr(state->fe[index_frontend]); index_frontend 2447 drivers/media/dvb-frontends/dib9000.c u8 index_frontend = 1; index_frontend 2449 drivers/media/dvb-frontends/dib9000.c while ((index_frontend < MAX_NUMBER_OF_FRONTENDS) && (state->fe[index_frontend] != NULL)) index_frontend 2450 drivers/media/dvb-frontends/dib9000.c index_frontend++; index_frontend 2451 drivers/media/dvb-frontends/dib9000.c if (index_frontend < MAX_NUMBER_OF_FRONTENDS) { index_frontend 2452 drivers/media/dvb-frontends/dib9000.c dprintk("set slave fe %p to index %i\n", fe_slave, index_frontend); index_frontend 2453 drivers/media/dvb-frontends/dib9000.c state->fe[index_frontend] = fe_slave;