Home
last modified time | relevance | path

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

/Linux-v5.4/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-v5.4/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()
/Linux-v5.4/Documentation/devicetree/bindings/ipmi/
Dipmi-smic.txt12 - reg-spacing - The number of bytes between register starts. Defaults to 1
24 reg-spacing = <4>;
/Linux-v5.4/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-v5.4/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()
/Linux-v5.4/Documentation/devicetree/bindings/iio/frequency/
Dadf4350.txt15 - adi,channel-spacing: Channel spacing in Hz (influences MODULUS).
80 adi,channel-spacing = <10000>;
/Linux-v5.4/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()
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.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.c807 if (seek->spacing) { in si476x_radio_s_hw_freq_seek()
811 seek->spacing)); in si476x_radio_s_hw_freq_seek()
/Linux-v5.4/Documentation/media/uapi/v4l/
Dvidioc-s-hw-freq-seek.rst44 ``wrap_around``, ``spacing``, ``rangelow`` and ``rangehigh`` fields, and
99 - ``spacing``
102 If spacing is zero a reasonable default value is used.
/Linux-v5.4/arch/arm/boot/dts/
Decx-common.dtsi127 reg-spacing = <4>;
/Linux-v5.4/tools/perf/
Dbuiltin-script.c1214 static int spacing; in perf_sample__fprintf_callindent() local
1246 if (len > spacing || (len && len < spacing - 52)) in perf_sample__fprintf_callindent()
1247 spacing = round_up(len + 4, 32); in perf_sample__fprintf_callindent()
1249 if (len < spacing) in perf_sample__fprintf_callindent()
1250 len += fprintf(fp, "%*s", spacing - len, ""); in perf_sample__fprintf_callindent()
1513 static int perf_sample__fprintf_spacing(int len, int spacing, FILE *fp) in perf_sample__fprintf_spacing() argument
1515 if (len > 0 && len < spacing) in perf_sample__fprintf_spacing()
1516 return fprintf(fp, "%*s", spacing - len, ""); in perf_sample__fprintf_spacing()
/Linux-v5.4/arch/arm64/boot/dts/amd/
Damd-seattle-soc.dtsi248 reg-spacing = <4>;
/Linux-v5.4/drivers/tty/vt/
Dcp437.uni287 # Square bullet, non-spacing blank
/Linux-v5.4/Documentation/devicetree/bindings/
Dxilinx.txt290 different register spacing and an offset from the base address.
/Linux-v5.4/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-v5.4/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-v5.4/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()
/Linux-v5.4/include/uapi/linux/
Dvideodev2.h1876 __u32 spacing; member
/Linux-v5.4/scripts/
Dcheckpatch.pl4791 my $spacing = $1;
4800 } elsif ($spacing !~ /\s+/) {
/Linux-v5.4/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()