Lines Matching refs:band
136 int vivid_radio_rx_enum_freq_bands(struct file *file, void *fh, struct v4l2_frequency_band *band) in vivid_radio_rx_enum_freq_bands() argument
138 if (band->tuner != 0) in vivid_radio_rx_enum_freq_bands()
141 if (band->index >= TOT_BANDS) in vivid_radio_rx_enum_freq_bands()
144 *band = vivid_radio_bands[band->index]; in vivid_radio_rx_enum_freq_bands()
154 unsigned band; in vivid_radio_rx_s_hw_freq_seek() local
170 for (band = 0; band < TOT_BANDS; band++) in vivid_radio_rx_s_hw_freq_seek()
171 if (a->rangelow >= vivid_radio_bands[band].rangelow && in vivid_radio_rx_s_hw_freq_seek()
172 a->rangehigh <= vivid_radio_bands[band].rangehigh) in vivid_radio_rx_s_hw_freq_seek()
174 if (band == TOT_BANDS) in vivid_radio_rx_s_hw_freq_seek()
177 (a->rangelow != vivid_radio_bands[band].rangelow || in vivid_radio_rx_s_hw_freq_seek()
178 a->rangehigh != vivid_radio_bands[band].rangehigh)) in vivid_radio_rx_s_hw_freq_seek()
183 for (band = 0; band < TOT_BANDS; band++) in vivid_radio_rx_s_hw_freq_seek()
184 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()
187 if (band == TOT_BANDS) in vivid_radio_rx_s_hw_freq_seek()
189 low = vivid_radio_bands[band].rangelow; in vivid_radio_rx_s_hw_freq_seek()
190 high = vivid_radio_bands[band].rangehigh; in vivid_radio_rx_s_hw_freq_seek()
192 spacing = band == BAND_AM ? 1600 : 16000; in vivid_radio_rx_s_hw_freq_seek()