Lines Matching refs:frequency
263 utmp = ((c->frequency < 100000000) && in tda18250_set_agc()
281 utmp = (c->frequency < 800000000) ? 6 : 4; in tda18250_set_agc()
284 utmp = (c->frequency < 100000000) ? 2 : 3; in tda18250_set_agc()
299 utmp = (c->frequency < 320000000) ? 20 : 16; in tda18250_set_agc()
300 utmp2 = (c->frequency < 320000000) ? 22 : 18; in tda18250_set_agc()
305 if (c->frequency < 600000000) { in tda18250_set_agc()
308 } else if (c->frequency < 800000000) { in tda18250_set_agc()
317 utmp = (c->frequency < 320000000) ? 16 : 18; in tda18250_set_agc()
318 utmp2 = (c->frequency < 320000000) ? 18 : 20; in tda18250_set_agc()
348 (c->frequency > 800000000) ? 0x40 : 0x20); in tda18250_set_agc()
357 utmp = (c->frequency < 320000000) ? 5 : 7; in tda18250_set_agc()
358 utmp2 = (c->frequency < 320000000) ? 10 : 12; in tda18250_set_agc()
377 utmp = (c->frequency < 320000000) ? 0x04 : 0x02; in tda18250_set_agc()
381 utmp = ((c->frequency > 172544000) && in tda18250_set_agc()
382 (c->frequency < 320000000)) ? 0x04 : 0x02; in tda18250_set_agc()
384 utmp = ((c->frequency > 320000000) && in tda18250_set_agc()
385 (c->frequency < 600000000)) ? 0x02 : 0x04; in tda18250_set_agc()
399 utmp = (c->frequency < 600000000) ? 0 : 3; in tda18250_set_agc()
447 fvco = lopd * scale * ((c->frequency / 1000) + dev->if_frequency); in tda18250_pll_calc()
534 c->delivery_system, c->frequency, c->bandwidth_hz); in tda18250_set_params()
616 buf[0] = ((c->frequency / 1000) >> 16) & 0xff; in tda18250_set_params()
617 buf[1] = ((c->frequency / 1000) >> 8) & 0xff; in tda18250_set_params()
618 buf[2] = ((c->frequency / 1000) >> 0) & 0xff; in tda18250_set_params()
702 static int tda18250_get_if_frequency(struct dvb_frontend *fe, u32 *frequency) in tda18250_get_if_frequency() argument
707 *frequency = dev->if_frequency * 1000; in tda18250_get_if_frequency()