Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/media/platform/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()
/Linux-v4.19/drivers/media/radio/wl128x/
Dfmdrv_rx.c141 static int fm_rx_set_channel_spacing(struct fmdev *fmdev, u32 spacing) in fm_rx_set_channel_spacing() argument
146 if (spacing > 0 && spacing <= 50000) in fm_rx_set_channel_spacing()
147 spacing = FM_CHANNEL_SPACING_50KHZ; in fm_rx_set_channel_spacing()
148 else if (spacing > 50000 && spacing <= 100000) in fm_rx_set_channel_spacing()
149 spacing = FM_CHANNEL_SPACING_100KHZ; in fm_rx_set_channel_spacing()
151 spacing = FM_CHANNEL_SPACING_200KHZ; in fm_rx_set_channel_spacing()
154 payload = spacing; in fm_rx_set_channel_spacing()
160 fmdev->rx.region.chanl_space = spacing * FM_FREQ_MUL; in fm_rx_set_channel_spacing()
166 u32 wrap_around, u32 spacing) in fm_rx_seek() argument
176 ret = fm_rx_set_channel_spacing(fmdev, spacing); in fm_rx_seek()
Dfmdrv_v4l2.c419 seek->spacing); in fm_v4l2_vidioc_s_hw_freq_seek()
/Linux-v4.19/Documentation/devicetree/bindings/ipmi/
Dipmi-smic.txt12 - reg-spacing - The number of bytes between register starts. Defaults to 1
24 reg-spacing = <4>;
/Linux-v4.19/Documentation/ABI/testing/
Dsysfs-bus-iio-frequency-adf43505 Stores channel Y frequency resolution/channel spacing in Hz.
9 generate proper values for multiples of channel spacing.
Dsysfs-tty136 Show the register shift indicating the spacing to be used
/Linux-v4.19/drivers/parport/
Dparport_ax88796.c279 int spacing; in parport_ax88796_probe() local
295 spacing = size / 3; in parport_ax88796_probe()
330 dd->spp_spr = dd->base + (spacing * 1); in parport_ax88796_probe()
331 dd->spp_cpr = dd->base + (spacing * 2); in parport_ax88796_probe()
/Linux-v4.19/Documentation/devicetree/bindings/iio/frequency/
Dadf4350.txt15 - adi,channel-spacing: Channel spacing in Hz (influences MODULUS).
80 adi,channel-spacing = <10000>;
/Linux-v4.19/drivers/media/radio/
Dradio-wl1273.c56 unsigned int spacing; member
802 if (dir && f + radio->spacing <= radio->rangehigh) in wl1273_fm_set_seek()
803 r = wl1273_fm_set_rx_freq(radio, f + radio->spacing); in wl1273_fm_set_seek()
806 else if (f - radio->spacing >= radio->rangelow) in wl1273_fm_set_seek()
807 r = wl1273_fm_set_rx_freq(radio, f - radio->spacing); in wl1273_fm_set_seek()
1364 unsigned int spacing) in wl1273_fm_tx_set_spacing() argument
1369 if (spacing == 0) { in wl1273_fm_tx_set_spacing()
1372 radio->spacing = 100; in wl1273_fm_tx_set_spacing()
1373 } else if (spacing - 50000 < 25000) { in wl1273_fm_tx_set_spacing()
1376 radio->spacing = 50; in wl1273_fm_tx_set_spacing()
[all …]
Dradio-tea5777.c389 int i, res, spacing; in vidioc_s_hw_freq_seek() local
422 spacing = (tea->band == BAND_AM) ? (5 * 16) : (200 * 16); /* kHz */ in vidioc_s_hw_freq_seek()
447 tea->freq = orig_freq + spacing; in vidioc_s_hw_freq_seek()
450 tea->freq = orig_freq - spacing; in vidioc_s_hw_freq_seek()
Dtea575x.c375 int i, spacing; in snd_tea575x_s_hw_freq_seek() local
405 spacing = (tea->band == BAND_AM) ? 5 : 50; /* kHz */ in snd_tea575x_s_hw_freq_seek()
441 if (abs(tea->freq - freq) < 16 * spacing || in snd_tea575x_s_hw_freq_seek()
Dradio-si476x.c829 if (seek->spacing) { in si476x_radio_s_hw_freq_seek()
833 seek->spacing)); in si476x_radio_s_hw_freq_seek()
/Linux-v4.19/Documentation/media/uapi/v4l/
Dvidioc-s-hw-freq-seek.rst37 ``wrap_around``, ``spacing``, ``rangelow`` and ``rangehigh`` fields, and
92 - ``spacing``
95 If spacing is zero a reasonable default value is used.
/Linux-v4.19/tools/perf/
Dbuiltin-script.c1116 static int spacing; in perf_sample__fprintf_callindent() local
1156 if (len > spacing || (len && len < spacing - 52)) in perf_sample__fprintf_callindent()
1157 spacing = round_up(len + 4, 32); in perf_sample__fprintf_callindent()
1159 if (len < spacing) in perf_sample__fprintf_callindent()
1160 len += fprintf(fp, "%*s", spacing - len, ""); in perf_sample__fprintf_callindent()
1370 static int perf_sample__fprintf_spacing(int len, int spacing, FILE *fp) in perf_sample__fprintf_spacing() argument
1372 if (len > 0 && len < spacing) in perf_sample__fprintf_spacing()
1373 return fprintf(fp, "%*s", spacing - len, ""); in perf_sample__fprintf_spacing()
/Linux-v4.19/arch/arm/boot/dts/
Decx-common.dtsi138 reg-spacing = <4>;
/Linux-v4.19/arch/arm64/boot/dts/amd/
Damd-seattle-soc.dtsi248 reg-spacing = <4>;
/Linux-v4.19/drivers/tty/vt/
Dcp437.uni286 # Square bullet, non-spacing blank
/Linux-v4.19/Documentation/devicetree/bindings/
Dxilinx.txt290 different register spacing and an offset from the base address.
/Linux-v4.19/Documentation/scsi/
Dst.txt437 MT_ST_FAST_EOM using the SCSI spacing to EOD (global)
556 The MTEOM command is by default implemented as spacing over 32767
558 correct. The user can request using direct spacing to EOD by setting
/Linux-v4.19/net/mac80211/
Dtdls.c73 u16 spacing) in ieee80211_tdls_add_subband() argument
81 for (i = start; i <= end; i += spacing) { in ieee80211_tdls_add_subband()
/Linux-v4.19/drivers/atm/
Diphase.c466 u32 spacing; in ia_cbr_setup() local
502 spacing = dev->CbrTotEntries / entries; in ia_cbr_setup()
507 IF_CBR(printk("Vci=0x%x,Spacing=0x%x,Sp_mod=0x%x\n",vcIndex,spacing,sp_mod);) in ia_cbr_setup()
519 idealSlot += (u32)(spacing + fracSlot); // Point to the next location in ia_cbr_setup()
/Linux-v4.19/include/uapi/linux/
Dvideodev2.h1785 __u32 spacing; member
/Linux-v4.19/scripts/
Dcheckpatch.pl4700 my $spacing = $1;
4709 } elsif ($spacing !~ /\s+/) {
/Linux-v4.19/drivers/media/v4l2-core/
Dv4l2-ioctl.c456 p->tuner, p->type, p->seek_upward, p->wrap_around, p->spacing, in v4l_print_hw_freq_seek()