Lines Matching refs:band
149 switch (tea->band) {
170 return clamp(freq * 16, bands[tea->band].rangelow,
171 bands[tea->band].rangehigh); /* from kHz */
182 u32 band = 0;
184 switch (tea->band) {
186 band = TEA575X_BIT_BAND_FM;
194 band = TEA575X_BIT_BAND_FM;
202 band = TEA575X_BIT_BAND_MW;
209 tea->val |= band;
233 struct v4l2_frequency_band *band)
237 if (band->tuner != 0)
240 switch (band->index) {
257 *band = bands[index];
259 band->capability |= V4L2_TUNER_CAP_HWSEEK_BOUNDED;
266 struct v4l2_frequency_band *band)
270 return snd_tea575x_enum_freq_bands(tea, band);
317 if (tea->band != BAND_AM && tea->val != orig_val)
344 tea->band = BAND_AM;
346 tea->band = BAND_FM_JAPAN;
348 tea->band = BAND_FM;
350 tea->freq = clamp_t(u32, f->frequency, bands[tea->band].rangelow,
351 bands[tea->band].rangehigh);
381 return -EINVAL; /* No matching band found */
382 if (i != tea->band) {
383 tea->band = i;
390 spacing = (tea->band == BAND_AM) ? 5 : 50; /* kHz */