Lines Matching refs:bands
49 static const struct v4l2_frequency_band bands[] = {
170 return clamp(freq * 16, bands[tea->band].rangelow,
171 bands[tea->band].rangehigh); /* from kHz */
257 *band = bands[index];
287 v->rangelow = tea->has_am ? bands[BAND_AM].rangelow : band_fm.rangelow;
350 tea->freq = clamp_t(u32, f->frequency, bands[tea->band].rangelow,
351 bands[tea->band].rangehigh);
371 for (i = 0; i < ARRAY_SIZE(bands); i++) {
376 if (bands[i].rangelow == a->rangelow &&
377 bands[i].rangehigh == a->rangehigh)
380 if (i == ARRAY_SIZE(bands))
384 tea->freq = clamp(tea->freq, bands[i].rangelow,
385 bands[i].rangehigh);