Home
last modified time | relevance | path

Searched refs:radio_rx_freq (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/media/platform/vivid/
Dvivid-radio-common.c87 vivid_rds_gen_fill(rds, dev->radio_rx_freq, alt); in vivid_radio_rds_init()
116 if (dev->radio_rx_freq <= AM_FREQ_RANGE_HIGH) { in vivid_radio_calc_sig_qual()
120 sig_qual = (dev->radio_rx_freq + delta) % mod - delta; in vivid_radio_calc_sig_qual()
122 sig_qual_tx = dev->radio_rx_freq - dev->radio_tx_freq; in vivid_radio_calc_sig_qual()
132 dev->radio_rds_loop = dev->radio_rx_freq >= FM_FREQ_RANGE_LOW; in vivid_radio_calc_sig_qual()
136 if (dev->radio_rx_freq <= AM_FREQ_RANGE_HIGH) in vivid_radio_calc_sig_qual()
Dvivid-radio-rx.c184 if (dev->radio_rx_freq >= vivid_radio_bands[band].rangelow && in vivid_radio_rx_s_hw_freq_seek()
185 dev->radio_rx_freq <= vivid_radio_bands[band].rangehigh) in vivid_radio_rx_s_hw_freq_seek()
193 freq = clamp(dev->radio_rx_freq, low, high); in vivid_radio_rx_s_hw_freq_seek()
201 if (freq >= dev->radio_rx_freq) in vivid_radio_rx_s_hw_freq_seek()
210 if (freq <= dev->radio_rx_freq) in vivid_radio_rx_s_hw_freq_seek()
254 else if (dev->radio_rx_freq < FM_FREQ_RANGE_LOW || vt->signal < 0x8000) in vivid_radio_rx_g_tuner()
262 dev->radio_rx_freq >= FM_FREQ_RANGE_LOW && vt->signal >= 0xc000) in vivid_radio_rx_g_tuner()
Dvivid-core.h495 unsigned radio_rx_freq; member
Dvivid-core.c262 &dev->radio_rx_freq : &dev->radio_tx_freq, vf); in vidioc_g_frequency()
276 &dev->radio_rx_freq : &dev->radio_tx_freq, vf); in vidioc_s_frequency()
1022 dev->radio_rx_freq = 95000 * 16; in vivid_create_instance()