Lines Matching refs:if_frequency
238 dev->if_frequency = 0; /* we no longer know current tuner state */ in si2157_init()
451 u32 if_frequency = 5000000; in si2157_set_params() local
482 if_frequency = 3250000; in si2157_set_params()
486 if_frequency = 4000000; in si2157_set_params()
530 if (if_frequency != dev->if_frequency) { in si2157_set_params()
532 cmd.args[4] = (if_frequency / 1000) & 0xff; in si2157_set_params()
533 cmd.args[5] = ((if_frequency / 1000) >> 8) & 0xff; in si2157_set_params()
540 dev->if_frequency = if_frequency; in si2157_set_params()
564 dev->if_frequency = 0; in si2157_set_params()
578 u32 if_frequency = 0; in si2157_set_analog_params() local
624 if_frequency = 6000000; in si2157_set_analog_params()
634 if_frequency = 6000000; in si2157_set_analog_params()
644 if_frequency = 5400000; in si2157_set_analog_params()
649 if_frequency = 7250000; /* TODO: does not work yet */ in si2157_set_analog_params()
654 if_frequency = 6900000; /* TODO: does not work yet */ in si2157_set_analog_params()
663 if_frequency = 6750000; /* TODO: untested */ in si2157_set_analog_params()
669 if_frequency = 1250000; /* TODO: untested */ in si2157_set_analog_params()
681 freq, if_frequency, bandwidth); in si2157_set_analog_params()
706 dev->if_frequency = if_frequency | 1; in si2157_set_analog_params()
709 if_frequency = if_frequency + 1250000 - (bandwidth / 2); in si2157_set_analog_params()
710 dev_dbg(&client->dev, "IF Ctr freq=%d\n", if_frequency); in si2157_set_analog_params()
713 cmd.args[4] = (if_frequency / 1000) & 0xff; in si2157_set_analog_params()
714 cmd.args[5] = ((if_frequency / 1000) >> 8) & 0xff; in si2157_set_analog_params()
761 dev->if_frequency = 0; in si2157_set_analog_params()
791 *frequency = dev->if_frequency & ~1; /* strip analog IF indicator bit */ in si2157_get_if_frequency()
900 dev->if_frequency = 5000000; /* default value of property 0x0706 */ in si2157_probe()