Home
last modified time | relevance | path

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

12345678910>>...12

/linux-6.6.21/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-6.6.21/Documentation/sound/cards/
Daudigy-mixer.rst49 This control is used to attenuate samples from left and right front PCM FX-bus
51 samples for 5.1 playback. The result samples are forwarded to the front speakers.
55 This control is used to attenuate samples from left and right surround PCM FX-bus
57 samples for 5.1 playback. The result samples are forwarded to the surround (rear)
62 This control is used to attenuate samples from left and right side PCM FX-bus
64 samples for 7.1 playback. The result samples are forwarded to the side speakers.
68 This control is used to attenuate samples from center PCM FX-bus accumulator.
69 ALSA uses accumulator 6 for center PCM samples for 5.1 playback. The result
70 samples are forwarded to the center speaker.
75 ALSA uses accumulator 7 for LFE PCM samples for 5.1 playback. The result
[all …]
Demu-mixer.rst100 This control is used to attenuate samples from left and right front PCM FX-bus
102 samples for 5.1 playback. The result samples are forwarded to the DSP 0 & 1
107 This control is used to attenuate samples from left and right surround PCM FX-bus
109 samples for 5.1 playback. The result samples are forwarded to the DSP 2 & 3
114 This control is used to attenuate samples from left and right side PCM FX-bus
116 samples for 7.1 playback. The result samples are forwarded to the DSP 6 & 7
121 This control is used to attenuate samples from the center PCM FX-bus accumulator.
122 ALSA uses accumulator 6 for center PCM samples for 5.1 playback. The result samples
127 This control is used to attenuate samples from the LFE PCM FX-bus accumulator.
128 ALSA uses accumulator 7 for LFE PCM samples for 5.1 playback. The result samples
[all …]
Dsb-live-mixer.rst64 This control is used to attenuate samples from 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 from 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 from 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 from left and right PCM FX-bus
91 These controls are used to attenuate samples from left and right PCM FX-bus
[all …]
/linux-6.6.21/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-6.6.21/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()
273 void thread_group_sample_cputime(struct task_struct *tsk, u64 *samples) in thread_group_sample_cputime() argument
280 proc_sample_cputime_atomic(&cputimer->cputime_atomic, samples); in thread_group_sample_cputime()
[all …]
/linux-6.6.21/samples/bpf/
DREADME.rst7 Note that the XDP-specific samples have been removed from this directory and
10 convert specific command invocations between the old samples and the utilities
29 It can be needed to clean tools, samples or kernel before trying new arch or
33 make -C samples/bpf clean
56 For building the BPF samples, issue the below command from the kernel
59 make M=samples/bpf
94 …make M=samples/bpf LLC=~/git/llvm-project/llvm/build/bin/llc CLANG=~/git/llvm-project/llvm/build/b…
96 Cross compiling samples
101 build samples for the cross target::
113 Build samples::
[all …]
/linux-6.6.21/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-6.6.21/tools/testing/selftests/alsa/
Dtest-pcmtest-driver.c172 void *samples; in TEST_F() local
175 samples = calloc(self->params.sec_buf_len * self->params.time, 1); in TEST_F()
176 ASSERT_NE(samples, NULL); in TEST_F()
183 snd_pcm_format_set_silence(params->format, samples, in TEST_F()
185 it = samples; in TEST_F()
192 write_res = snd_pcm_writei(handle, samples, params->rate * params->time); in TEST_F()
196 free(samples); in TEST_F()
211 void *samples; in TEST_F() local
214 samples = calloc(self->params.sec_buf_len * self->params.time, 1); in TEST_F()
215 ASSERT_NE(samples, NULL); in TEST_F()
[all …]
Dpcm-test.c269 unsigned char *samples = NULL; in test_pcm_time() local
318 samples = malloc((rate * channels * snd_pcm_format_physical_width(format)) / 8); in test_pcm_time()
319 if (!samples) in test_pcm_time()
321 snd_pcm_format_set_silence(format, samples, rate * channels); in test_pcm_time()
362 samples = realloc(samples, (rate * channels * in test_pcm_time()
364 if (!samples) in test_pcm_time()
366 snd_pcm_format_set_silence(format, samples, rate * channels); in test_pcm_time()
449 frames = snd_pcm_writei(handle, samples, rate); in test_pcm_time()
461 frames = snd_pcm_readi(handle, samples, rate); in test_pcm_time()
519 free(samples); in test_pcm_time()
/linux-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/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
151 on - the samples period or the number of samples (hits).
/linux-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/samples/landlock/
DMakefile10 $(MAKE) -C ../.. samples/landlock/
13 $(MAKE) -C ../.. M=samples/landlock/ clean
/linux-6.6.21/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-6.6.21/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()

12345678910>>...12