Home
last modified time | relevance | path

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

12

/linux/drivers/media/test-drivers/vivid/
H A 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/drivers/media/radio/wl128x/
H A 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()
H A Dfmdrv_v4l2.c403 seek->spacing); in fm_v4l2_vidioc_s_hw_freq_seek()
/linux/drivers/net/ethernet/intel/idpf/
H A Didpf_vf_dev.c95 u32 spacing; in idpf_vf_intr_reg_init() local
105 spacing = IDPF_ITR_IDX_SPACING(reg_vals[vec_id].itrn_index_spacing, in idpf_vf_intr_reg_init()
109 spacing); in idpf_vf_intr_reg_init()
112 spacing); in idpf_vf_intr_reg_init()
H A Didpf_dev.c95 u32 spacing; in idpf_intr_reg_init() local
105 spacing = IDPF_ITR_IDX_SPACING(reg_vals[vec_id].itrn_index_spacing, in idpf_intr_reg_init()
109 spacing); in idpf_intr_reg_init()
112 spacing); in idpf_intr_reg_init()
H A Didpf_txrx.h475 #define IDPF_ITR_IDX_SPACING(spacing, dflt) (spacing ? spacing : dflt) argument
/linux/Documentation/ABI/testing/
H A Dsysfs-bus-iio-frequency-adf43505 Stores channel Y frequency resolution/channel spacing in Hz.
9 generate proper values for multiples of channel spacing.
H A Dsysfs-tty139 Show the register shift indicating the spacing to be used
/linux/drivers/media/radio/
H A 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 …]
H A 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()
H A 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()
H A Dradio-si476x.c800 if (seek->spacing) { in si476x_radio_s_hw_freq_seek()
804 seek->spacing)); in si476x_radio_s_hw_freq_seek()
/linux/Documentation/userspace-api/media/v4l/
H A Dvidioc-s-hw-freq-seek.rst36 ``wrap_around``, ``spacing``, ``rangelow`` and ``rangehigh`` fields, and
90 - ``spacing``
93 If spacing is zero a reasonable default value is used.
/linux/drivers/md/dm-vdo/indexer/
H A Ddelta-index.c219 u64 spacing; in uds_reset_delta_index() local
237 spacing = list_bits / zone->list_count; in uds_reset_delta_index()
238 offset = spacing / 2; in uds_reset_delta_index()
241 offset += spacing; in uds_reset_delta_index()
783 size_t spacing; in compute_new_list_offsets() local
788 spacing = (delta_zone->size - used_space) / delta_zone->list_count; in compute_new_list_offsets()
793 get_delta_list_byte_size(&delta_lists[i]) + spacing); in compute_new_list_offsets()
797 delta_zone->new_offsets[i + 1] -= spacing / 2; in compute_new_list_offsets()
/linux/rust/macros/
H A Dpaste.rs87 if a.as_char() == ':' && a.spacing() == Spacing::Joint && b.as_char() == ':' in expand()
/linux/Documentation/sphinx/
H A Dkerneldoc-preamble.sty138 %% One and half spacing for CJK contents
195 % Single spacing in literal blocks
/linux/arch/arm/boot/dts/calxeda/
H A Decx-common.dtsi128 reg-spacing = <4>;
/linux/drivers/net/wireless/silabs/wfx/
H A Dhif_api_mib.h285 u8 spacing:1; member
H A Dhif_tx_mib.c185 .spacing = 1, in wfx_hif_set_association_mode()
/linux/tools/perf/
H A Dbuiltin-script.c1551 static int spacing; in perf_sample__fprintf_callindent() local
1583 if (len > spacing || (len && len < spacing - 52)) in perf_sample__fprintf_callindent()
1584 spacing = round_up(len + 4, 32); in perf_sample__fprintf_callindent()
1586 if (len < spacing) in perf_sample__fprintf_callindent()
1587 len += fprintf(fp, "%*s", spacing - len, ""); in perf_sample__fprintf_callindent()
1880 static int perf_sample__fprintf_spacing(int len, int spacing, FILE *fp) in perf_sample__fprintf_spacing() argument
1882 if (len > 0 && len < spacing) in perf_sample__fprintf_spacing()
1883 return fprintf(fp, "%*s", spacing - len, ""); in perf_sample__fprintf_spacing()
/linux/arch/arm64/boot/dts/amd/
H A Damd-seattle-soc.dtsi282 reg-spacing = <4>;
/linux/drivers/tty/vt/
H A Dcp437.uni287 # Square bullet, non-spacing blank
/linux/Documentation/devicetree/bindings/
H A Dxilinx.txt147 different register spacing and an offset from the base address.
/linux/drivers/atm/
H A 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/Documentation/scsi/
H A Dst.rst502 using the SCSI spacing to EOD (global)
636 The MTEOM command is by default implemented as spacing over 32767
638 correct. The user can request using direct spacing to EOD by setting

12