Home
last modified time | relevance | path

Searched refs:samples (Results 1 – 25 of 266) sorted by relevance

1234567891011

/Linux-v6.1/tools/testing/selftests/seccomp/
Dseccomp_benchmark.c23 unsigned long long timing(clockid_t clk_id, unsigned long long samples) in timing() argument
31 for (i = 0; i < samples; i++) { in timing()
52 unsigned long long i, samples, step = 9973; in calibrate() local
58 samples = 0; in calibrate()
68 samples += step; in calibrate()
74 return samples * seconds; in calibrate()
142 unsigned long long samples, calc; in main() local
157 samples = strtoull(argv[1], NULL, 0); in main()
159 samples = calibrate(); in main()
161 printf("Benchmarking %llu syscalls...\n", samples); in main()
[all …]
/Linux-v6.1/drivers/media/pci/cx88/
Dcx88-dsp.c139 int samples = 5; in noise_magnitude() local
147 freq_step = (freq_end - freq_start) / (samples - 1); in noise_magnitude()
149 for (i = 0; i < samples; i++) { in noise_magnitude()
154 return (u32)int_sqrt(sum / samples); in noise_magnitude()
240 s16 *samples; in read_rds_samples() local
255 samples = kmalloc_array(sample_count, sizeof(*samples), GFP_KERNEL); in read_rds_samples()
256 if (!samples) in read_rds_samples()
263 samples[i] = cx_read(srch->fifo_start + offset); in read_rds_samples()
267 dprintk(2, "RDS samples dump: %*ph\n", sample_count, samples); in read_rds_samples()
269 return samples; in read_rds_samples()
[all …]
/Linux-v6.1/Documentation/sound/cards/
Dsb-live-mixer.rst64 This control is used to attenuate samples for left and right PCM FX-bus
65 accumulators. ALSA uses accumulators 0 and 1 for left and right PCM samples.
66 The result samples are forwarded to the front DAC PCM slots of the AC97 codec.
70 This control is used to attenuate samples for left and right PCM FX-bus
71 accumulators. ALSA uses accumulators 0 and 1 for left and right PCM samples.
72 The result samples are forwarded to the rear I2S DACs. These DACs operates
77 This control is used to attenuate samples for left and right PCM FX-bus
78 accumulators. ALSA uses accumulators 0 and 1 for left and right PCM samples.
84 This control is used to attenuate samples for left and right PCM FX-bus
91 These controls are used to attenuate samples for left and right PCM FX-bus
[all …]
Daudigy-mixer.rst49 This control is used to attenuate samples for left and right front PCM FX-bus
51 samples for 5.1 playback. The result samples are forwarded to the front DAC PCM
56 This control is used to attenuate samples for left and right surround PCM FX-bus
58 samples for 5.1 playback. The result samples are forwarded to the surround DAC PCM
63 This control is used to attenuate samples for center PCM FX-bus accumulator.
75 This control is used to attenuate samples for left and right PCM FX-bus
76 accumulators. ALSA uses accumulators 0 and 1 for left and right PCM samples for
77 stereo playback. The result samples are forwarded to the front DAC PCM slots
82 This control is used to attenuate samples for left and right PCM FX-bus
89 This control is used to attenuate samples for left and right MIDI FX-bus
[all …]
/Linux-v6.1/kernel/time/
Dposix-cpu-timers.c214 static inline void store_samples(u64 *samples, u64 stime, u64 utime, u64 rtime) in store_samples() argument
216 samples[CPUCLOCK_PROF] = stime + utime; in store_samples()
217 samples[CPUCLOCK_VIRT] = utime; in store_samples()
218 samples[CPUCLOCK_SCHED] = rtime; in store_samples()
221 static void task_sample_cputime(struct task_struct *p, u64 *samples) in task_sample_cputime() argument
226 store_samples(samples, stime, utime, p->se.sum_exec_runtime); in task_sample_cputime()
230 u64 *samples) in proc_sample_cputime_atomic() argument
237 store_samples(samples, stime, utime, rtime); in proc_sample_cputime_atomic()
274 void thread_group_sample_cputime(struct task_struct *tsk, u64 *samples) in thread_group_sample_cputime() argument
281 proc_sample_cputime_atomic(&cputimer->cputime_atomic, samples); in thread_group_sample_cputime()
[all …]
/Linux-v6.1/tools/testing/selftests/timers/
Dfreq-step.c111 static void regress(struct sample *samples, int n, double *intercept, in regress() argument
120 x = samples[i].time; in regress()
121 y = samples[i].offset; in regress()
135 x = samples[i].time; in regress()
136 y = samples[i].offset; in regress()
148 struct sample samples[SAMPLES]; in run_test() local
169 get_sample(&samples[i]); in run_test()
173 regress(samples, SAMPLES, &intercept, &slope, &stddev1, &max1); in run_test()
180 regress(samples, SAMPLES / 2, &intercept, &slope, &stddev1, &max1); in run_test()
184 regress(samples + SAMPLES / 2, SAMPLES / 2, &intercept, &slope, in run_test()
/Linux-v6.1/include/trace/events/
Dkyber.h18 unsigned int denominator, unsigned int samples),
20 TP_ARGS(dev, domain, type, percentile, numerator, denominator, samples),
29 __field( unsigned int, samples )
39 __entry->samples = samples;
45 __entry->denominator, __entry->samples)
/Linux-v6.1/samples/bpf/
DREADME.rst20 It can be needed to clean tools, samples or kernel before trying new arch or
24 make -C samples/bpf clean
46 For building the BPF samples, issue the below command from the kernel
49 make M=samples/bpf
84 …make M=samples/bpf LLC=~/git/llvm-project/llvm/build/bin/llc CLANG=~/git/llvm-project/llvm/build/b…
86 Cross compiling samples
91 build samples for the cross target::
103 Build samples::
105 make M=samples/bpf
107 Or build samples with SYSROOT if some header or library is absent in toolchain,
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/input/touchscreen/
Dbrcm,iproc-touchscreen.txt39 - average_data: Number of data samples which are averaged before a final
43 1 = 2 samples
44 2 = 4 samples
45 3 = 8 samples
46 4 = 16 samples
47 5 = 32 samples
48 6 = 64 samples
49 7 = 128 samples
/Linux-v6.1/tools/testing/selftests/lkdtm/
Dstack-entropy.sh6 samples="${1:-1000}"
26 for i in $(seq 1 $samples); do
29 percent=$(( 100 * $i / $samples ))
39 seen=$(tac "$log" | grep -m1 -B"$samples"0 'Starting stack offset' | \
/Linux-v6.1/sound/core/
Dpcm_misc.c389 ssize_t snd_pcm_format_size(snd_pcm_format_t format, size_t samples) in snd_pcm_format_size() argument
394 return samples * phys_width / 8; in snd_pcm_format_size()
424 int snd_pcm_format_set_silence(snd_pcm_format_t format, void *data, unsigned int samples) in snd_pcm_format_set_silence() argument
432 if (samples == 0) in snd_pcm_format_set_silence()
440 unsigned int bytes = samples * width / 8; in snd_pcm_format_set_silence()
448 while (samples--) { in snd_pcm_format_set_silence()
456 while (samples--) { in snd_pcm_format_set_silence()
462 while (samples--) { in snd_pcm_format_set_silence()
468 while (samples--) { in snd_pcm_format_set_silence()
474 while (samples--) { in snd_pcm_format_set_silence()
/Linux-v6.1/Documentation/devicetree/bindings/input/
Dmicrochip,qt1050.txt38 - microchip,average-samples:
39 Number of data samples which are averaged for each read.
42 The scaling factor which is used to scale the average-samples.
60 microchip,average-samples = <64>;
68 microchip,average-samples = <64>;
75 microchip,average-samples = <256>;
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/dce/
Ddce_audio.c129 uint32_t samples; in check_audio_bandwidth_hdmi() local
175 samples = h_blank * 10; in check_audio_bandwidth_hdmi()
179 samples /= 32; in check_audio_bandwidth_hdmi()
180 samples *= crtc_info->v_active; in check_audio_bandwidth_hdmi()
182 samples *= crtc_info->refresh_rate; in check_audio_bandwidth_hdmi()
184 samples /= 10; in check_audio_bandwidth_hdmi()
195 samples *= 4; in check_audio_bandwidth_hdmi()
198 samples *= 5; in check_audio_bandwidth_hdmi()
201 samples *= 6; in check_audio_bandwidth_hdmi()
204 samples *= 4; in check_audio_bandwidth_hdmi()
[all …]
/Linux-v6.1/tools/perf/Documentation/
Dperf-diff.txt23 If no parameters are passed the samples will be sorted by dso and symbol.
128 Analyze samples within given time window. It supports time
150 It also supports analyzing samples within a given time window
174 --cpu:: Only diff samples for the list of CPUs provided. Multiple CPUs can
176 CPUs are specified with -: 0-2. Default is to report samples on all
180 Only diff samples for given process ID (comma separated list).
183 Only diff samples for given thread ID (comma separated list).
187 aggregated by the branch records from samples.
192 file is iterated for samples. All other perf.data files specified on
196 All samples from non-baseline perf.data files, that do not match any
[all …]
Dperf-arm-spe.txt66 the data, Perf generates "synthetic samples" as if these were generated at the time of the
67 recording. These samples are the same as if normal sampling was done by Perf without using SPE,
93 The 'sample_collision' PMU event can be used to determine the number of lost samples. Although this
95 number for samples dropped that would have made it through the filter, but can be a rough
101 If an implementation samples micro-operations instead of instructions, the results of sampling must
122 You can record a session with SPE samples:
139 min_latency=<n> - collect only samples with this latency or higher* (PMSLATFR)
167 By default perf report and perf script will assign samples to separate groups depending on the
169 them, the samples in these groups are not necessarily unique. For example perf report shows these
172 Available samples
[all …]
Dperf-annotate.txt47 --show-nr-samples::
48 Show the number of samples for each symbol
94 samples, TAB/UNTAB cycles through the lines with more samples.
99 --cpu=<cpu>:: Only report samples for the list of CPUs provided. Multiple CPUs can
101 CPUs are specified with -: 0-2. Default is to report samples on all
148 on - the samples period or the number of samples (hits).
/Linux-v6.1/drivers/input/touchscreen/
Dfsl-imx25-tcq.c238 unsigned int samples) in mx25_tcq_create_event_for_4wire() argument
246 for (i = 0; i < samples; i++) { in mx25_tcq_create_event_for_4wire()
270 if (samples != 0) { in mx25_tcq_create_event_for_4wire()
312 unsigned int samples; in mx25_tcq_irq_thread() local
322 samples = MX25_ADCQ_SR_FDN(stats); in mx25_tcq_irq_thread()
323 samples -= samples % priv->sample_count; in mx25_tcq_irq_thread()
325 if (!samples) in mx25_tcq_irq_thread()
328 for (i = 0; i != samples; ++i) in mx25_tcq_irq_thread()
331 mx25_tcq_create_event_for_4wire(priv, sample_buf, samples); in mx25_tcq_irq_thread()
/Linux-v6.1/Documentation/userspace-api/media/drivers/
Dmax2175.rst53 samples/sec with a 10.24 MHz sck.
56 samples/sec with a 32.768 MHz sck.
61 samples/sec with a 14.88375 MHz sck.
64 samples/sec with a 7.441875 MHz sck.
/Linux-v6.1/tools/perf/util/
Dtop.c32 if (top->samples) { in perf_top__header_snprintf()
33 samples_per_sec = top->samples / top->delay_secs; in perf_top__header_snprintf()
35 esamples_percent = (100.0 * top->exact_samples) / top->samples; in perf_top__header_snprintf()
117 top->samples = top->us_samples = top->kernel_samples = in perf_top__reset_sample_counters()
/Linux-v6.1/Documentation/ABI/stable/
Dsysfs-fs-orangefs32 perf_history_size, samples. The default is
36 samples are reset.
39 of samples is reset, and the samples from the
/Linux-v6.1/samples/landlock/
DMakefile10 $(MAKE) -C ../.. samples/landlock/
13 $(MAKE) -C ../.. M=samples/landlock/ clean
/Linux-v6.1/drivers/media/common/siano/
Dsmsir.c26 const s32 *samples = (const void *)buf; in sms_ir_event() local
30 .duration = abs(samples[i]), in sms_ir_event()
31 .pulse = (samples[i] > 0) ? false : true in sms_ir_event()
/Linux-v6.1/drivers/input/keyboard/
Dqt1050.c109 u32 samples; member
327 (button->samples << 4) | (button->scale)); in qt1050_apply_fw_data()
390 &button.samples)) { in qt1050_parse_fw()
391 button.samples = 0; in qt1050_parse_fw()
393 if (is_power_of_2(button.samples)) in qt1050_parse_fw()
394 button.samples = ilog2(button.samples); in qt1050_parse_fw()
396 button.samples = 0; in qt1050_parse_fw()
/Linux-v6.1/tools/tracing/rtla/src/
Dosnoise_hist.c43 int *samples; member
70 if (data->hist[cpu].samples) in osnoise_free_histogram()
71 free(data->hist[cpu].samples); in osnoise_free_histogram()
103 data->hist[cpu].samples = calloc(1, sizeof(*data->hist->samples) * (entries + 1)); in osnoise_alloc_histogram()
104 if (!data->hist[cpu].samples) in osnoise_alloc_histogram()
134 hist = data->hist[cpu].samples; in osnoise_hist_update_multiple()
387 total += data->hist[cpu].samples[bucket]; in osnoise_print_stats()
388 trace_seq_printf(trace->seq, "%9d ", data->hist[cpu].samples[bucket]); in osnoise_print_stats()
412 data->hist[cpu].samples[data->entries]); in osnoise_print_stats()
/Linux-v6.1/sound/soc/sh/
Dfsi.c448 static int fsi_sample2frame(struct fsi_priv *fsi, int samples) in fsi_sample2frame() argument
450 return samples / fsi->chan_num; in fsi_sample2frame()
1067 static void fsi_pio_push16(struct fsi_priv *fsi, u8 *_buf, int samples) in fsi_pio_push16() argument
1079 for (i = 0; i < samples / 2; i++) in fsi_pio_push16()
1085 for (i = 0; i < samples; i++) in fsi_pio_push16()
1090 static void fsi_pio_pop16(struct fsi_priv *fsi, u8 *_buf, int samples) in fsi_pio_pop16() argument
1095 for (i = 0; i < samples; i++) in fsi_pio_pop16()
1099 static void fsi_pio_push32(struct fsi_priv *fsi, u8 *_buf, int samples) in fsi_pio_push32() argument
1104 for (i = 0; i < samples; i++) in fsi_pio_push32()
1108 static void fsi_pio_pop32(struct fsi_priv *fsi, u8 *_buf, int samples) in fsi_pio_pop32() argument
[all …]

1234567891011