Searched refs:spacing (Results 1 - 19 of 19) sorted by relevance

/linux-master/drivers/media/test-drivers/vivid/
H A Dvivid-radio-rx.c153 unsigned spacing; local
192 spacing = band == BAND_AM ? 1600 : 16000;
196 freq = spacing * (freq / spacing) + spacing;
200 freq = spacing * (low / spacing) + spacing;
205 freq = spacing * ((freq + spacing
[all...]
/linux-master/drivers/net/ethernet/intel/idpf/
H A Didpf_dev.c95 u32 spacing; local
103 spacing = IDPF_ITR_IDX_SPACING(reg_vals[vec_id].itrn_index_spacing,
107 spacing);
110 spacing);
H A Didpf_vf_dev.c95 u32 spacing; local
102 spacing = IDPF_ITR_IDX_SPACING(reg_vals[vec_id].itrn_index_spacing,
106 spacing);
109 spacing);
H A Didpf_txrx.h474 * @itrn_index_spacing: Register spacing between ITR registers of the same
600 #define IDPF_ITR_IDX_SPACING(spacing, dflt) (spacing ? spacing : dflt)
/linux-master/drivers/media/radio/wl128x/
H A Dfmdrv_rx.c132 static int fm_rx_set_channel_spacing(struct fmdev *fmdev, u32 spacing) argument
137 if (spacing > 0 && spacing <= 50000)
138 spacing = FM_CHANNEL_SPACING_50KHZ;
139 else if (spacing > 50000 && spacing <= 100000)
140 spacing = FM_CHANNEL_SPACING_100KHZ;
142 spacing = FM_CHANNEL_SPACING_200KHZ;
144 /* set channel spacing */
145 payload = spacing;
156 fm_rx_seek(struct fmdev *fmdev, u32 seek_upward, u32 wrap_around, u32 spacing) argument
[all...]
H A Dfmdrv_v4l2.c403 seek->spacing);
/linux-master/drivers/media/radio/
H A Dradio-wl1273.c48 unsigned int spacing; member in struct:wl1273_device
794 if (dir && f + radio->spacing <= radio->rangehigh)
795 r = wl1273_fm_set_rx_freq(radio, f + radio->spacing);
798 else if (f - radio->spacing >= radio->rangelow)
799 r = wl1273_fm_set_rx_freq(radio, f - radio->spacing);
1347 unsigned int spacing)
1352 if (spacing == 0) {
1355 radio->spacing = 100;
1356 } else if (spacing - 50000 < 25000) {
1359 radio->spacing
1346 wl1273_fm_tx_set_spacing(struct wl1273_device *radio, unsigned int spacing) argument
[all...]
H A Dradio-tea5777.c376 int i, res, spacing; local
409 spacing = (tea->band == BAND_AM) ? (5 * 16) : (200 * 16); /* kHz */
434 tea->freq = orig_freq + spacing;
437 tea->freq = orig_freq - spacing;
H A Dtea575x.c360 int i, spacing; local
390 spacing = (tea->band == BAND_AM) ? 5 : 50; /* kHz */
423 * if we moved by less than the spacing, or in the
426 if (abs(tea->freq - freq) < 16 * spacing ||
H A Dradio-si476x.c800 if (seek->spacing) {
804 seek->spacing));
/linux-master/drivers/md/dm-vdo/indexer/
H A Ddelta-index.c219 u64 spacing; local
237 spacing = list_bits / zone->list_count;
238 offset = spacing / 2;
241 offset += spacing;
783 size_t spacing; local
788 spacing = (delta_zone->size - used_space) / delta_zone->list_count;
793 get_delta_list_byte_size(&delta_lists[i]) + spacing);
797 delta_zone->new_offsets[i + 1] -= spacing / 2;
/linux-master/drivers/net/wireless/silabs/wfx/
H A Dhif_api_mib.h285 u8 spacing:1; member in struct:wfx_hif_mib_set_association_mode
H A Dhif_tx_mib.c185 .spacing = 1,
/linux-master/tools/perf/
H A Dbuiltin-script.c1463 static int spacing; local
1495 if (len > spacing || (len && len < spacing - 52))
1496 spacing = round_up(len + 4, 32);
1498 if (len < spacing)
1499 len += fprintf(fp, "%*s", spacing - len, "");
1790 static int perf_sample__fprintf_spacing(int len, int spacing, FILE *fp) argument
1792 if (len > 0 && len < spacing)
1793 return fprintf(fp, "%*s", spacing - len, "");
/linux-master/net/mac80211/
H A Dtdls.c74 u16 spacing)
82 for (i = start; i <= end; i += spacing) {
146 /* 2GHz, with 5MHz spacing */
149 /* 5GHz, with 20MHz spacing */
72 ieee80211_tdls_add_subband(struct ieee80211_sub_if_data *sdata, struct sk_buff *skb, u16 start, u16 end, u16 spacing) argument
/linux-master/drivers/atm/
H A Diphase.c467 u32 spacing; local
503 spacing = dev->CbrTotEntries / entries;
508 IF_CBR(printk("Vci=0x%x,Spacing=0x%x,Sp_mod=0x%x\n",vcIndex,spacing,sp_mod);)
520 idealSlot += (u32)(spacing + fracSlot); // Point to the next location
/linux-master/include/uapi/linux/
H A Dvideodev2.h2075 __u32 spacing; member in struct:v4l2_hw_freq_seek
/linux-master/scripts/
H A Dcheckpatch.pl4954 # check spacing between type, funcptr, and args
5023 # check for spacing round square brackets; allowed:
5076 # Check operator spacing.
5313 "need consistent spacing around '$op' $at\n" . $hereptr)) {
5448 # check spacing on square brackets
5466 # check spacing on parentheses
5567 my $spacing = $1;
5576 } elsif ($spacing !~ /\s+/) {
6621 # warn about spacing in #ifdefs
/linux-master/drivers/media/v4l2-core/
H A Dv4l2-ioctl.c422 pr_cont("tuner=%u, type=%u, seek_upward=%u, wrap_around=%u, spacing=%u, rangelow=%u, rangehigh=%u\n",
423 p->tuner, p->type, p->seek_upward, p->wrap_around, p->spacing,

Completed in 337 milliseconds