Lines Matching refs:bands
133 static const struct v4l2_frequency_band bands[] = { variable
268 *freq = chan * si470x_get_step(radio) + bands[radio->band].rangelow; in si470x_get_freq()
281 freq = clamp(freq, bands[radio->band].rangelow, in si470x_set_freq()
282 bands[radio->band].rangehigh); in si470x_set_freq()
284 chan = (freq - bands[radio->band].rangelow) / si470x_get_step(radio); in si470x_set_freq()
304 for (band = 0; band < ARRAY_SIZE(bands); band++) { in si470x_set_seek()
305 if (bands[band].rangelow == seek->rangelow && in si470x_set_seek()
306 bands[band].rangehigh == seek->rangehigh) in si470x_set_seek()
309 if (band == ARRAY_SIZE(bands)) in si470x_set_seek()
711 if (freq->frequency < bands[radio->band].rangelow || in si470x_vidioc_s_frequency()
712 freq->frequency > bands[radio->band].rangehigh) { in si470x_vidioc_s_frequency()
747 if (band->index >= ARRAY_SIZE(bands)) in si470x_vidioc_enum_freq_bands()
749 *band = bands[band->index]; in si470x_vidioc_enum_freq_bands()