Lines Matching refs:band
81 static inline bool si476x_radio_freq_is_inside_of_the_band(u32 freq, int band) in si476x_radio_freq_is_inside_of_the_band() argument
83 return freq >= si476x_bands[band].rangelow && in si476x_radio_freq_is_inside_of_the_band()
84 freq <= si476x_bands[band].rangehigh; in si476x_radio_freq_is_inside_of_the_band()
88 int band) in si476x_radio_range_is_inside_of_the_band() argument
90 return low >= si476x_bands[band].rangelow && in si476x_radio_range_is_inside_of_the_band()
91 high <= si476x_bands[band].rangehigh; in si476x_radio_range_is_inside_of_the_band()
361 struct v4l2_frequency_band *band) in si476x_radio_enum_freq_bands() argument
366 if (band->tuner != 0) in si476x_radio_enum_freq_bands()
373 if (band->index < ARRAY_SIZE(si476x_bands)) { in si476x_radio_enum_freq_bands()
374 *band = si476x_bands[band->index]; in si476x_radio_enum_freq_bands()
383 if (band->index == SI476X_BAND_FM) { in si476x_radio_enum_freq_bands()
384 *band = si476x_bands[band->index]; in si476x_radio_enum_freq_bands()
711 const int band = (freq > midrange) ? in si476x_radio_s_frequency() local
713 const enum si476x_func func = (band == SI476X_BAND_AM) ? in si476x_radio_s_frequency()
723 si476x_bands[band].rangelow, in si476x_radio_s_frequency()
724 si476x_bands[band].rangehigh); in si476x_radio_s_frequency()