Lines Matching refs:ifkhz
331 static int stv0367_get_if_khz(struct stv0367_state *state, u32 *ifkhz) in stv0367_get_if_khz() argument
334 state->fe.ops.tuner_ops.get_if_frequency(&state->fe, ifkhz); in stv0367_get_if_khz()
335 *ifkhz = *ifkhz / 1000; /* hz -> khz */ in stv0367_get_if_khz()
337 *ifkhz = state->config->if_khz; in stv0367_get_if_khz()
1015 u32 trl_nomrate = 0, InternalFreq = 0, temp = 0, ifkhz = 0; in stv0367ter_algo() local
1019 stv0367_get_if_khz(state, &ifkhz); in stv0367ter_algo()
1123 ((InternalFreq - ifkhz) * (1 << 16) / (InternalFreq)); in stv0367ter_algo()
2340 u32 QAMFEC_Lock, QAM_Lock, u32_tmp, ifkhz, in stv0367cab_algo() local
2348 stv0367_get_if_khz(state, &ifkhz); in stv0367cab_algo()
2428 (1000 * (s32)ifkhz + cab_state->derot_offset)); in stv0367cab_algo()
2517 if (ifkhz != 0) { in stv0367cab_algo()
2518 if (ifkhz > cab_state->adc_clk / 1000) { in stv0367cab_algo()
2522 - cab_state->adc_clk / 1000 + ifkhz; in stv0367cab_algo()
2527 + ifkhz; in stv0367cab_algo()
2614 u32 ifkhz = 0; in stv0367cab_get_frontend() local
2620 stv0367_get_if_khz(state, &ifkhz); in stv0367cab_get_frontend()
2648 if (ifkhz == 0) { in stv0367cab_get_frontend()
2655 if (ifkhz > cab_state->adc_clk / 1000) in stv0367cab_get_frontend()
2656 p->frequency += (ifkhz in stv0367cab_get_frontend()
2660 p->frequency += (ifkhz in stv0367cab_get_frontend()