Lines Matching refs:ifkhz
303 static int stv0367_get_if_khz(struct stv0367_state *state, u32 *ifkhz) in stv0367_get_if_khz() argument
306 state->fe.ops.tuner_ops.get_if_frequency(&state->fe, ifkhz); in stv0367_get_if_khz()
307 *ifkhz = *ifkhz / 1000; /* hz -> khz */ in stv0367_get_if_khz()
309 *ifkhz = state->config->if_khz; in stv0367_get_if_khz()
987 u32 trl_nomrate = 0, InternalFreq = 0, temp = 0, ifkhz = 0; in stv0367ter_algo() local
991 stv0367_get_if_khz(state, &ifkhz); in stv0367ter_algo()
1095 ((InternalFreq - ifkhz) * (1 << 16) / (InternalFreq)); in stv0367ter_algo()
2308 u32 QAMFEC_Lock, QAM_Lock, u32_tmp, ifkhz, in stv0367cab_algo() local
2316 stv0367_get_if_khz(state, &ifkhz); in stv0367cab_algo()
2396 (1000 * (s32)ifkhz + cab_state->derot_offset)); in stv0367cab_algo()
2485 if (ifkhz != 0) { in stv0367cab_algo()
2486 if (ifkhz > cab_state->adc_clk / 1000) { in stv0367cab_algo()
2490 - cab_state->adc_clk / 1000 + ifkhz; in stv0367cab_algo()
2495 + ifkhz; in stv0367cab_algo()
2582 u32 ifkhz = 0; in stv0367cab_get_frontend() local
2588 stv0367_get_if_khz(state, &ifkhz); in stv0367cab_get_frontend()
2616 if (ifkhz == 0) { in stv0367cab_get_frontend()
2623 if (ifkhz > cab_state->adc_clk / 1000) in stv0367cab_get_frontend()
2624 p->frequency += (ifkhz in stv0367cab_get_frontend()
2628 p->frequency += (ifkhz in stv0367cab_get_frontend()