Lines Matching refs:frequency
526 static int si4713_tx_tune_freq(struct si4713_device *sdev, u16 frequency) in si4713_tx_tune_freq() argument
537 msb(frequency), in si4713_tx_tune_freq()
538 lsb(frequency), in si4713_tx_tune_freq()
550 frequency, val[0]); in si4713_tx_tune_freq()
618 static int si4713_tx_tune_measure(struct si4713_device *sdev, u16 frequency, in si4713_tx_tune_measure() argument
631 msb(frequency), in si4713_tx_tune_measure()
632 lsb(frequency), in si4713_tx_tune_measure()
650 __func__, frequency, antcap, val[0]); in si4713_tx_tune_measure()
670 u16 *frequency, u8 *power, in si4713_tx_tune_status() argument
689 *frequency = compose_u16(val[2], val[3]); in si4713_tx_tune_status()
690 sdev->frequency = *frequency; in si4713_tx_tune_status()
696 *frequency, *power, *antcap, *noise); in si4713_tx_tune_status()
1049 f.frequency = sdev->frequency ? sdev->frequency : DEFAULT_FREQUENCY; in si4713_setup()
1050 f.frequency = si4713_to_v4l2(f.frequency); in si4713_setup()
1085 sdev->frequency = DEFAULT_FREQUENCY; in si4713_initialize()
1212 u16 frequency; in si4713_ioctl() local
1220 frequency = v4l2_to_si4713(rnl->frequency); in si4713_ioctl()
1224 rval = si4713_tx_tune_measure(sdev, frequency, 0); in si4713_ioctl()
1351 sdev->frequency = freq; in si4713_g_frequency()
1354 f->frequency = si4713_to_v4l2(sdev->frequency); in si4713_g_frequency()
1364 u16 frequency = v4l2_to_si4713(f->frequency); in si4713_s_frequency() local
1370 frequency = clamp_t(u16, frequency, FREQ_RANGE_LOW, FREQ_RANGE_HIGH); in si4713_s_frequency()
1373 rval = si4713_tx_tune_freq(sdev, frequency); in si4713_s_frequency()
1376 frequency = rval; in si4713_s_frequency()
1379 sdev->frequency = frequency; in si4713_s_frequency()