• Home
  • Raw
  • Download

Lines Matching refs:region

54 	if (freq < fmdev->rx.region.bot_freq || freq > fmdev->rx.region.top_freq) {  in fm_rx_set_freq()
75 payload = (freq - fmdev->rx.region.bot_freq) / FM_FREQ_MUL; in fm_rx_set_freq()
120 curr_frq_in_khz = (fmdev->rx.region.bot_freq + ((u32)curr_frq * FM_FREQ_MUL)); in fm_rx_set_freq()
164 fmdev->rx.region.chanl_space = spacing * FM_FREQ_MUL; in fm_rx_set_channel_spacing()
193 last_frq = (fmdev->rx.region.top_freq - fmdev->rx.region.bot_freq) / FM_FREQ_MUL; in fm_rx_seek()
196 space_idx = fmdev->rx.region.chanl_space / FM_FREQ_MUL; in fm_rx_seek()
270 fmdev->rx.region.top_freq : in fm_rx_seek()
271 fmdev->rx.region.bot_freq; in fm_rx_seek()
274 fmdev->rx.region.bot_freq : in fm_rx_seek()
275 fmdev->rx.region.top_freq; in fm_rx_seek()
278 fmdev->rx.region.bot_freq) / FM_FREQ_MUL; in fm_rx_seek()
289 fmdev->rx.freq = (fmdev->rx.region.bot_freq + in fm_rx_seek()
345 *bot_freq = fmdev->rx.region.bot_freq; in fm_rx_get_band_freq_range()
348 *top_freq = fmdev->rx.region.top_freq; in fm_rx_get_band_freq_range()
354 void fm_rx_get_region(struct fmdev *fmdev, u8 *region) in fm_rx_get_region() argument
356 *region = fmdev->rx.region.fm_band; in fm_rx_get_region()
372 if (fmdev->rx.region.fm_band == region_to_set) { in fm_rx_set_region()
387 if (fmdev->rx.freq < fmdev->rx.region.bot_freq) in fm_rx_set_region()
388 new_frq = fmdev->rx.region.bot_freq; in fm_rx_set_region()
389 else if (fmdev->rx.freq > fmdev->rx.region.top_freq) in fm_rx_set_region()
390 new_frq = fmdev->rx.region.top_freq; in fm_rx_set_region()