Home
last modified time | relevance | path

Searched refs:spacing (Results 1 – 12 of 12) sorted by relevance

/drivers/media/platform/vivid/
Dvivid-radio-rx.c164 unsigned spacing; in vivid_radio_rx_s_hw_freq_seek() local
201 spacing = band == BAND_AM ? 1600 : 16000; in vivid_radio_rx_s_hw_freq_seek()
205 freq = spacing * (freq / spacing) + spacing; in vivid_radio_rx_s_hw_freq_seek()
209 freq = spacing * (low / spacing) + spacing; in vivid_radio_rx_s_hw_freq_seek()
214 freq = spacing * ((freq + spacing - 1) / spacing) - spacing; in vivid_radio_rx_s_hw_freq_seek()
218 freq = spacing * ((high + spacing - 1) / spacing) - spacing; in vivid_radio_rx_s_hw_freq_seek()
/drivers/media/radio/wl128x/
Dfmdrv_rx.c145 static int fm_rx_set_channel_spacing(struct fmdev *fmdev, u32 spacing) in fm_rx_set_channel_spacing() argument
150 if (spacing > 0 && spacing <= 50000) in fm_rx_set_channel_spacing()
151 spacing = FM_CHANNEL_SPACING_50KHZ; in fm_rx_set_channel_spacing()
152 else if (spacing > 50000 && spacing <= 100000) in fm_rx_set_channel_spacing()
153 spacing = FM_CHANNEL_SPACING_100KHZ; in fm_rx_set_channel_spacing()
155 spacing = FM_CHANNEL_SPACING_200KHZ; in fm_rx_set_channel_spacing()
158 payload = spacing; in fm_rx_set_channel_spacing()
164 fmdev->rx.region.chanl_space = spacing * FM_FREQ_MUL; in fm_rx_set_channel_spacing()
170 u32 wrap_around, u32 spacing) in fm_rx_seek() argument
180 ret = fm_rx_set_channel_spacing(fmdev, spacing); in fm_rx_seek()
Dfmdrv_v4l2.c421 seek->spacing); in fm_v4l2_vidioc_s_hw_freq_seek()
/drivers/parport/
Dparport_ax88796.c279 int spacing; in parport_ax88796_probe() local
297 spacing = size / 3; in parport_ax88796_probe()
332 dd->spp_spr = dd->base + (spacing * 1); in parport_ax88796_probe()
333 dd->spp_cpr = dd->base + (spacing * 2); in parport_ax88796_probe()
/drivers/media/radio/
Dradio-wl1273.c60 unsigned int spacing; member
793 if (dir && f + radio->spacing <= radio->rangehigh) in wl1273_fm_set_seek()
794 r = wl1273_fm_set_rx_freq(radio, f + radio->spacing); in wl1273_fm_set_seek()
797 else if (f - radio->spacing >= radio->rangelow) in wl1273_fm_set_seek()
798 r = wl1273_fm_set_rx_freq(radio, f - radio->spacing); in wl1273_fm_set_seek()
1348 unsigned int spacing) in wl1273_fm_tx_set_spacing() argument
1353 if (spacing == 0) { in wl1273_fm_tx_set_spacing()
1356 radio->spacing = 100; in wl1273_fm_tx_set_spacing()
1357 } else if (spacing - 50000 < 25000) { in wl1273_fm_tx_set_spacing()
1360 radio->spacing = 50; in wl1273_fm_tx_set_spacing()
[all …]
Dradio-tea5777.c393 int i, res, spacing; in vidioc_s_hw_freq_seek() local
426 spacing = (tea->band == BAND_AM) ? (5 * 16) : (200 * 16); /* kHz */ in vidioc_s_hw_freq_seek()
451 tea->freq = orig_freq + spacing; in vidioc_s_hw_freq_seek()
454 tea->freq = orig_freq - spacing; in vidioc_s_hw_freq_seek()
Dtea575x.c364 int i, spacing; in vidioc_s_hw_freq_seek() local
394 spacing = (tea->band == BAND_AM) ? 5 : 50; /* kHz */ in vidioc_s_hw_freq_seek()
430 if (abs(tea->freq - freq) < 16 * spacing || in vidioc_s_hw_freq_seek()
Dradio-si476x.c827 if (seek->spacing) { in si476x_radio_s_hw_freq_seek()
831 seek->spacing)); in si476x_radio_s_hw_freq_seek()
/drivers/tty/vt/
Dcp437.uni286 # Square bullet, non-spacing blank
/drivers/atm/
Diphase.c465 u32 spacing; in ia_cbr_setup() local
501 spacing = dev->CbrTotEntries / entries; in ia_cbr_setup()
506 IF_CBR(printk("Vci=0x%x,Spacing=0x%x,Sp_mod=0x%x\n",vcIndex,spacing,sp_mod);) in ia_cbr_setup()
518 idealSlot += (u32)(spacing + fracSlot); // Point to the next location in ia_cbr_setup()
/drivers/char/ipmi/
Dipmi_si_intf.c243 unsigned int spacing; member
/drivers/media/v4l2-core/
Dv4l2-ioctl.c417 p->tuner, p->type, p->seek_upward, p->wrap_around, p->spacing, in v4l_print_hw_freq_seek()