Lines Matching full:band
74 /* Band FM */
84 /* Band AM */
93 /* Band SW */
112 u32 band; member
122 static int raremono_cmd_main(struct raremono_device *radio, unsigned band, unsigned freq) in raremono_cmd_main() argument
127 switch (band) { in raremono_cmd_main()
153 radio->curfreq = (band == BAND_FM) ? freq * 10 : freq; in raremono_cmd_main()
191 struct v4l2_frequency_band *band) in vidioc_enum_freq_bands() argument
193 if (band->tuner != 0) in vidioc_enum_freq_bands()
196 if (band->index >= ARRAY_SIZE(bands)) in vidioc_enum_freq_bands()
199 *band = bands[band->index]; in vidioc_enum_freq_bands()
244 unsigned band; in vidioc_s_frequency() local
250 band = BAND_FM; in vidioc_s_frequency()
252 band = BAND_AM; in vidioc_s_frequency()
254 band = BAND_SW; in vidioc_s_frequency()
256 freq = clamp_t(u32, f->frequency, bands[band].rangelow, bands[band].rangehigh); in vidioc_s_frequency()
257 return raremono_cmd_main(radio, band, freq / 16); in vidioc_s_frequency()