• Home
  • Raw
  • Download

Lines Matching refs:internal

571 	struct stb0899_internal *internal = &state->internal;  in stb0899_set_mclk()  local
579 internal->master_clk = stb0899_get_mclk(state); in stb0899_set_mclk()
581 dprintk(state->verbose, FE_DEBUG, 1, "MasterCLOCK=%d", internal->master_clk); in stb0899_set_mclk()
637 struct stb0899_internal *internal = &state->internal; in stb0899_init_calc() local
647 internal->t_agc1 = 0; in stb0899_init_calc()
648 internal->t_agc2 = 0; in stb0899_init_calc()
649 internal->master_clk = master_clk; in stb0899_init_calc()
650 internal->mclk = master_clk / 65536L; in stb0899_init_calc()
651 internal->rolloff = stb0899_get_alpha(state); in stb0899_init_calc()
655 internal->agc_gain = 8154; in stb0899_init_calc()
657 STB0899_SETFIELD_VAL(IF_GAIN_INIT, reg, internal->agc_gain); in stb0899_init_calc()
661 internal->rrc_alpha = STB0899_GETFIELD(RRC_ALPHA, reg); in stb0899_init_calc()
663 internal->center_freq = 0; in stb0899_init_calc()
664 internal->av_frame_coarse = 10; in stb0899_init_calc()
665 internal->av_frame_fine = 20; in stb0899_init_calc()
666 internal->step_size = 2; in stb0899_init_calc()
957 struct stb0899_internal *internal = &state->internal; in stb0899_read_signal_strength() local
965 if (internal->lock) { in stb0899_read_signal_strength()
980 if (internal->lock) { in stb0899_read_signal_strength()
1001 struct stb0899_internal *internal = &state->internal; in stb0899_read_snr() local
1012 if (internal->lock) { in stb0899_read_snr()
1025 if (internal->lock) { in stb0899_read_snr()
1058 struct stb0899_internal *internal = &state->internal; in stb0899_read_status() local
1066 if (internal->lock) { in stb0899_read_status()
1084 if (internal->lock) { in stb0899_read_status()
1129 struct stb0899_internal *internal = &state->internal; in stb0899_read_ber() local
1138 if (internal->lock) { in stb0899_read_ber()
1143 if (STB0899_GETFIELD(VSTATUS_PRFVIT, internal->v_status)) { in stb0899_read_ber()
1147 *ber /= (-1 + (1 << (2 * STB0899_GETFIELD(NOE, internal->err_ctrl)))); in stb0899_read_ber()
1153 if (internal->lock) { in stb0899_read_ber()
1159 *ber /= (-1 + (1 << (4 + 2 * STB0899_GETFIELD(NOE, internal->err_ctrl)))); in stb0899_read_ber()
1200 struct stb0899_internal *internal = &state->internal; in stb0899_set_tone() local
1210 div = (internal->master_clk / 100) / 5632; in stb0899_set_tone()
1401 struct stb0899_internal *internal = &state->internal; in stb0899_set_iterations() local
1407 iter_scale = 17 * (internal->master_clk / 1000); in stb0899_set_iterations()
1409 iter_scale /= (internal->srate / 1000000); in stb0899_set_iterations()
1424 struct stb0899_internal *internal = &state->internal; in stb0899_search() local
1443 if (internal->srate > 15000000) in stb0899_search()
1445 else if (internal->srate > 5000000) in stb0899_search()
1461 internal->freq = i_params->freq; in stb0899_search()
1462 internal->srate = i_params->srate; in stb0899_search()
1469 internal->srch_range = SearchRange + 1500000 + (i_params->srate / 5); in stb0899_search()
1470 internal->derot_percent = 30; in stb0899_search()
1479 state->config->tuner_get_bandwidth(fe, &internal->tuner_bw); in stb0899_search()
1490 internal->lock = 1; in stb0899_search()
1502 internal->lock = 0; in stb0899_search()
1508 internal->freq = i_params->freq; in stb0899_search()
1509 internal->srate = i_params->srate; in stb0899_search()
1510 internal->srch_range = SearchRange; in stb0899_search()
1518 state->config->tuner_get_bandwidth(fe, &internal->tuner_bw); in stb0899_search()
1534 internal->lock = 1; in stb0899_search()
1544 internal->lock = 0; in stb0899_search()
1562 struct stb0899_internal *internal = &state->internal; in stb0899_get_frontend() local
1565 p->symbol_rate = internal->srate; in stb0899_get_frontend()
1566 p->frequency = internal->freq; in stb0899_get_frontend()
1633 state->internal.inversion = inversion; in stb0899_attach()