Home
last modified time | relevance | path

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

/drivers/media/test-drivers/vivid/
Dvivid-radio-rx.c153 unsigned spacing; in vivid_radio_rx_s_hw_freq_seek() local
192 spacing = band == BAND_AM ? 1600 : 16000; in vivid_radio_rx_s_hw_freq_seek()
196 freq = spacing * (freq / spacing) + spacing; in vivid_radio_rx_s_hw_freq_seek()
200 freq = spacing * (low / spacing) + spacing; in vivid_radio_rx_s_hw_freq_seek()
205 freq = spacing * ((freq + spacing - 1) / spacing) - spacing; in vivid_radio_rx_s_hw_freq_seek()
209 freq = spacing * ((high + spacing - 1) / spacing) - spacing; in vivid_radio_rx_s_hw_freq_seek()
/drivers/media/radio/wl128x/
Dfmdrv_rx.c132 static int fm_rx_set_channel_spacing(struct fmdev *fmdev, u32 spacing) in fm_rx_set_channel_spacing() argument
137 if (spacing > 0 && spacing <= 50000) in fm_rx_set_channel_spacing()
138 spacing = FM_CHANNEL_SPACING_50KHZ; in fm_rx_set_channel_spacing()
139 else if (spacing > 50000 && spacing <= 100000) in fm_rx_set_channel_spacing()
140 spacing = FM_CHANNEL_SPACING_100KHZ; in fm_rx_set_channel_spacing()
142 spacing = FM_CHANNEL_SPACING_200KHZ; in fm_rx_set_channel_spacing()
145 payload = spacing; in fm_rx_set_channel_spacing()
151 fmdev->rx.region.chanl_space = spacing * FM_FREQ_MUL; in fm_rx_set_channel_spacing()
157 u32 wrap_around, u32 spacing) in fm_rx_seek() argument
167 ret = fm_rx_set_channel_spacing(fmdev, spacing); in fm_rx_seek()
Dfmdrv_v4l2.c403 seek->spacing); in fm_v4l2_vidioc_s_hw_freq_seek()
/drivers/parport/
Dparport_ax88796.c275 int spacing; in parport_ax88796_probe() local
291 spacing = size / 3; in parport_ax88796_probe()
326 dd->spp_spr = dd->base + (spacing * 1); in parport_ax88796_probe()
327 dd->spp_cpr = dd->base + (spacing * 2); in parport_ax88796_probe()
/drivers/media/radio/
Dradio-wl1273.c48 unsigned int spacing; member
794 if (dir && f + radio->spacing <= radio->rangehigh) in wl1273_fm_set_seek()
795 r = wl1273_fm_set_rx_freq(radio, f + radio->spacing); in wl1273_fm_set_seek()
798 else if (f - radio->spacing >= radio->rangelow) in wl1273_fm_set_seek()
799 r = wl1273_fm_set_rx_freq(radio, f - radio->spacing); in wl1273_fm_set_seek()
1347 unsigned int spacing) in wl1273_fm_tx_set_spacing() argument
1352 if (spacing == 0) { in wl1273_fm_tx_set_spacing()
1355 radio->spacing = 100; in wl1273_fm_tx_set_spacing()
1356 } else if (spacing - 50000 < 25000) { in wl1273_fm_tx_set_spacing()
1359 radio->spacing = 50; in wl1273_fm_tx_set_spacing()
[all …]
Dradio-tea5777.c376 int i, res, spacing; in vidioc_s_hw_freq_seek() local
409 spacing = (tea->band == BAND_AM) ? (5 * 16) : (200 * 16); /* kHz */ in vidioc_s_hw_freq_seek()
434 tea->freq = orig_freq + spacing; in vidioc_s_hw_freq_seek()
437 tea->freq = orig_freq - spacing; in vidioc_s_hw_freq_seek()
Dtea575x.c360 int i, spacing; in snd_tea575x_s_hw_freq_seek() local
390 spacing = (tea->band == BAND_AM) ? 5 : 50; /* kHz */ in snd_tea575x_s_hw_freq_seek()
426 if (abs(tea->freq - freq) < 16 * spacing || in snd_tea575x_s_hw_freq_seek()
Dradio-si476x.c808 if (seek->spacing) { in si476x_radio_s_hw_freq_seek()
812 seek->spacing)); in si476x_radio_s_hw_freq_seek()
/drivers/staging/wfx/
Dhif_api_mib.h282 u8 spacing:1; member
Dhif_tx_mib.c196 .spacing = 1, in hif_set_association_mode()
/drivers/tty/vt/
Dcp437.uni287 # Square bullet, non-spacing blank
/drivers/atm/
Diphase.c467 u32 spacing; in ia_cbr_setup() local
503 spacing = dev->CbrTotEntries / entries; in ia_cbr_setup()
508 IF_CBR(printk("Vci=0x%x,Spacing=0x%x,Sp_mod=0x%x\n",vcIndex,spacing,sp_mod);) in ia_cbr_setup()
520 idealSlot += (u32)(spacing + fracSlot); // Point to the next location in ia_cbr_setup()
/drivers/media/v4l2-core/
Dv4l2-ioctl.c468 p->tuner, p->type, p->seek_upward, p->wrap_around, p->spacing, in v4l_print_hw_freq_seek()