Searched refs:sample (Results 276 - 300 of 311) sorted by relevance

<<111213

/linux-master/sound/pci/cs46xx/
H A Ddsp_spos.c249 /* default SPDIF input sample rate
329 struct dsp_segment_desc *sample)
333 if (!sample) {
335 "dsp_spos: module got no sample segment\n");
339 doffset = (sample->offset * 4 + DSP_SAMPLE_BYTE_OFFSET);
340 dsize = sample->size * 4;
343 "dsp_spos: downloading sample data to chip (%08x-%08x)\n",
346 if (snd_cs46xx_download (chip,sample->data,doffset,dsize)) {
348 "dsp_spos: failed to sample data to DSP\n");
381 dev_dbg(chip->card->dev, "dsp_spos: clearing sample are
328 dsp_load_sample(struct snd_cs46xx *chip, struct dsp_segment_desc *sample) argument
[all...]
/linux-master/drivers/power/supply/
H A Dab8500_fg.c378 * @sample: the capacity in mAh to add to the filter
383 static int ab8500_fg_add_cap_sample(struct ab8500_fg *di, int sample) argument
389 avg->sum += sample - avg->samples[avg->pos];
390 avg->samples[avg->pos] = sample;
401 * Check the time stamp for each sample. If too old,
402 * replace with latest sample
436 * @sample: the capacity in mAh to fill the filter with
440 static void ab8500_fg_fill_cap_sample(struct ab8500_fg *di, int sample) argument
449 avg->samples[i] = sample;
455 avg->sum = sample * NBR_AVG_SAMPLE
[all...]
/linux-master/net/sched/
H A Dsch_fq.c593 unsigned long sample; local
602 sample = (unsigned long)(now - q->time_next_delayed_flow);
604 q->unthrottle_latency_ns += sample >> 3;
/linux-master/drivers/iio/accel/
H A Dadxl367.c730 u16 sample; local
744 sample = FIELD_GET(ADXL367_DATA_MASK, be16_to_cpu(st->sample_buf));
745 *val = sign_extend32(sample, chan->scan_type.realbits - 1);
/linux-master/tools/perf/util/
H A Dannotate.c983 struct perf_sample *sample)
1019 h->period += sample->period;
1021 entry->period += sample->period;
1080 struct perf_sample *sample)
1088 return src ? __symbol__inc_addr_samples(ms, src, evsel->core.idx, addr, sample) : 0;
1260 int addr_map_symbol__inc_samples(struct addr_map_symbol *ams, struct perf_sample *sample, argument
1263 return symbol__inc_addr_samples(&ams->ms, evsel, ams->al_addr, sample);
1266 int hist_entry__inc_addr_samples(struct hist_entry *he, struct perf_sample *sample, argument
1269 return symbol__inc_addr_samples(&he->ms, evsel, ip, sample);
981 __symbol__inc_addr_samples(struct map_symbol *ms, struct annotated_source *src, int evidx, u64 addr, struct perf_sample *sample) argument
1078 symbol__inc_addr_samples(struct map_symbol *ms, struct evsel *evsel, u64 addr, struct perf_sample *sample) argument
H A Dparse-events.l247 aux-sample-size { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_AUX_SAMPLE_SIZE); }
/linux-master/sound/soc/intel/skylake/
H A Dskl-ssp-clk.c94 fmt_cfg->fmt_ext.sample.valid_bits_per_sample;
/linux-master/sound/pci/emu10k1/
H A Demupcm.c580 u32 sample, bool stereo)
591 snd_emu10k1_ptr_write(emu, CD0 + i, voice, sample);
613 u32 sample = w_16 ? 0 : 0x80808080; local
624 snd_emu10k1_playback_fill_cache(emu, voice, sample, stereo);
578 snd_emu10k1_playback_fill_cache(struct snd_emu10k1 *emu, unsigned voice, u32 sample, bool stereo) argument
/linux-master/drivers/media/usb/hackrf/
H A Dhackrf.c166 unsigned int sample; member in struct:hackrf_dev
459 /* calculate sample rate and output it in 10 seconds intervals */
464 unsigned int samples = dev->sample - dev->sample_measured;
467 dev->sample_measured = dev->sample;
468 dev_dbg(dev->dev, "slen=%u samples=%u msecs=%u sample rate=%lu\n",
474 dev->sample += src_len / 2;
/linux-master/drivers/media/dvb-frontends/
H A Drtl2832_sdr.c146 /* for sample rate calc */
147 unsigned int sample; member in struct:rtl2832_sdr_dev
193 /* calculate sample rate and output it in 10 seconds intervals */
198 unsigned int samples = dev->sample - dev->sample_measured;
201 dev->sample_measured = dev->sample;
203 "slen=%u samples=%u msecs=%u sample rate=%lu\n",
208 dev->sample += src_len / 2;
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_txrx.c1334 struct dim_sample *sample,
1365 dim_update_sample(q_vector->total_events, packets, bytes, sample);
1366 sample->comp_ctr = 0;
1373 if (ktime_ms_delta(sample->time, rc->dim.start_sample.time) >= 1000)
1381 * Create a DIM sample and notify net_dim() so that it can possibly decide
1332 __ice_update_sample(struct ice_q_vector *q_vector, struct ice_ring_container *rc, struct dim_sample *sample, bool is_tx) argument
/linux-master/drivers/isdn/mISDN/
H A Ddsp_tones.c42 /* the last sample+1 is in phase with the first sample. the error is low */
368 * count - the sample from the beginning of the pattern (phase)
371 * return - the sk_buff with the sample
391 count = tone->count; /* gives current sample */
393 /* copy sample */
395 /* find sample to start with */
438 dsp_tone_hw_message(struct dsp *dsp, u8 *sample, int len) argument
444 (len) ? HFC_SPL_LOOP_ON : HFC_SPL_LOOP_OFF, len, sample,
/linux-master/fs/gfs2/
H A Dlock_dlm.c29 * @sample: New data to include
32 s64 sample)
35 * @delta is the difference between the current rtt sample and the
52 s64 delta = sample - s->stats[index];
31 gfs2_update_stats(struct gfs2_lkstats *s, unsigned index, s64 sample) argument
/linux-master/tools/lib/bpf/
H A Dlibbpf.h1378 * @brief **user_ring_buffer__reserve()** reserves a pointer to a sample in the
1381 * @param size The size of the sample, in bytes.
1383 * buffer; NULL, and errno being set if a sample could not be reserved.
1392 * After initializing the sample, callers must invoke
1393 * **user_ring_buffer__submit()** to post the sample to the kernel. Otherwise,
1394 * the sample must be freed with **user_ring_buffer__discard()**.
1400 * ring buffer, possibly blocking for up to @timeout_ms until a sample becomes
1403 * @param size The size of the sample, in bytes.
1405 * should block when waiting for a sample. -1 causes the caller to block
1408 * buffer; NULL, and errno being set if a sample coul
[all...]
/linux-master/include/uapi/drm/
H A Di915_drm.h269 #define __I915_PMU_ENGINE(class, instance, sample) \
272 (sample))
2907 * every sample.
2909 * The order of these sample properties given by userspace has no
2910 * affect on the ordering of data within a sample. The order is
/linux-master/tools/include/uapi/drm/
H A Di915_drm.h269 #define __I915_PMU_ENGINE(class, instance, sample) \
272 (sample))
2907 * every sample.
2909 * The order of these sample properties given by userspace has no
2910 * affect on the ordering of data within a sample. The order is
/linux-master/arch/m68k/fpsp040/
H A Dskeleton.S270 | This sample handler simply clears the nan bit in the FPSR.
/linux-master/include/net/
H A Dflow_offload.h277 } sample; member in union:flow_action_entry::__anon2578
/linux-master/sound/synth/emux/
H A Demux_synth.c102 if (vp->zone->sample)
103 vp->block = vp->zone->sample->block;
806 * 0xE000 is no pitch offset at 44100Hz sample.
/linux-master/sound/soc/sunxi/
H A Dsun4i-i2s.c88 #define SUN4I_I2S_TX_CHAN_MAP(chan, sample) ((sample) << (chan << 2))
163 * @field_fmt_sr: regmap field to set sample resolution.
171 * @get_sr: callback to get sample resolution
201 * @slot_width: bits per sample + padding bits, regardless of format
369 dev_err(dai->dev, "Unsupported sample rate: %u\n", rate);
632 dev_err(dai->dev, "Unsupported physical sample width: %d\n",
/linux-master/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_enet.c4445 struct dim_sample sample = {}; local
4451 rx_group->total_bytes, &sample);
4452 net_dim(&rx_group->dim, sample);
4458 struct dim_sample sample = {}; local
4464 tx_group->total_bytes, &sample);
4465 net_dim(&tx_group->dim, sample);
/linux-master/net/openvswitch/
H A Dactions.c1028 /* When 'last' is true, sample() should always consume the 'skb'.
1029 * Otherwise, sample() should keep 'skb' intact regardless what
1030 * actions are executed within sample().
1032 static int sample(struct datapath *dp, struct sk_buff *skb, function
1415 err = sample(dp, skb, key, a, last);
1573 pr_warn("%s: deferred action limit reached, drop sample action\n",
/linux-master/tools/testing/selftests/bpf/
H A Dtest_offload.py212 def bpftool_prog_load(sample, file_name, maps=[], prog_type="xdp", dev=None,
214 args = "prog load %s %s" % (os.path.join(bpf_test_dir, sample), file_name)
790 skip(ret != 0, "sample %s/%s not found, please compile it" %
/linux-master/drivers/net/wireless/broadcom/b43/
H A Dphy_lp.c1773 struct cordic_iq sample; local
1789 sample = cordic_calc_iq(CORDIC_FIXED(theta));
1791 buf[i] = CORDIC_FLOAT((sample.i * max) & 0xFF) << 8;
1792 buf[i] |= CORDIC_FLOAT((sample.q * max) & 0xFF);
/linux-master/tools/testing/selftests/drivers/net/mlxsw/
H A Ddevlink_trap_control.sh656 skip_sw action sample rate 1 group 1

Completed in 387 milliseconds

<<111213