Home
last modified time | relevance | path

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

12345678910>>...12

/linux-6.3-rc2/tools/testing/selftests/seccomp/
A Dseccomp_benchmark.c31 for (i = 0; i < samples; i++) { in timing()
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
159 samples = calibrate(); in main()
164 native = timing(CLOCK_PROCESS_CPUTIME_ID, samples) / samples; in main()
174 bitmap1 = timing(CLOCK_PROCESS_CPUTIME_ID, samples) / samples; in main()
181 bitmap2 = timing(CLOCK_PROCESS_CPUTIME_ID, samples) / samples; in main()
188 filter1 = timing(CLOCK_PROCESS_CPUTIME_ID, samples) / samples; in main()
[all …]
/linux-6.3-rc2/drivers/media/pci/cx88/
A Dcx88-dsp.c139 int samples = 5; in noise_magnitude() local
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()
269 return samples; in read_rds_samples()
274 s16 *samples; in cx88_dsp_detect_stereo_sap() local
288 samples = read_rds_samples(core, &N); in cx88_dsp_detect_stereo_sap()
290 if (!samples) in cx88_dsp_detect_stereo_sap()
[all …]
/linux-6.3-rc2/Documentation/sound/cards/
A Dsb-live-mixer.rst64 This control is used to attenuate samples for left and right PCM FX-bus
70 This control is used to attenuate samples for left and right PCM FX-bus
77 This control is used to attenuate samples for left and right PCM FX-bus
84 This control is used to attenuate samples for left and right PCM FX-bus
159 digital inputs (usually used by a CDROM drive). The result samples are
206 This control is used to attenuate samples from left and right I2S ADC
212 This control is used to attenuate samples from left and right I2S ADC
237 PCM samples are taken.
241 This control attenuates the samples for the headphone output.
348 digital sound samples can be concurrently loaded
[all …]
A Daudigy-mixer.rst51 samples for 5.1 playback. The result samples are forwarded to the front DAC PCM
58 samples for 5.1 playback. The result samples are forwarded to the surround DAC PCM
103 For Mic input is used AC97 codec. The result samples are forwarded to
139 This control is used to attenuate samples from left and right I2S ADC
145 This control is used to attenuate samples from left and right I2S ADC
151 This control is used to attenuate samples from left and right I2S ADC
158 This control is used to attenuate samples from left and right I2S ADC
159 inputs Philips ADC. The result samples are forwarded to the ADC
222 PCM samples are taken.
343 digital sound samples can be concurrently loaded
[all …]
/linux-6.3-rc2/kernel/time/
A Dposix-cpu-timers.c217 samples[CPUCLOCK_VIRT] = utime; in store_samples()
218 samples[CPUCLOCK_SCHED] = rtime; in store_samples()
230 u64 *samples) in proc_sample_cputime_atomic() argument
344 u64 samples[CPUCLOCK_MAX]; in cpu_clock_sample_group() local
355 return samples[clkid]; in cpu_clock_sample_group()
864 samples[i]); in collect_posix_cputimers()
899 u64 samples[CPUCLOCK_MAX]; in check_thread_timers() local
977 u64 samples[CPUCLOCK_MAX]; in check_process_timers() local
1119 u64 samples[CPUCLOCK_MAX]; in fastpath_timer_check() local
1144 u64 samples[CPUCLOCK_MAX]; in fastpath_timer_check() local
[all …]
/linux-6.3-rc2/tools/testing/selftests/timers/
A 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.3-rc2/include/trace/events/
A 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.3-rc2/samples/bpf/
A 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-6.3-rc2/Documentation/devicetree/bindings/input/touchscreen/
A 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.3-rc2/tools/testing/selftests/lkdtm/
A 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.3-rc2/sound/core/
A 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.3-rc2/Documentation/devicetree/bindings/input/
A 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.3-rc2/drivers/gpu/drm/amd/display/dc/dce/
A 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()
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()
208 samples /= 4; in check_audio_bandwidth_hdmi()
211 if (samples < 88200) in check_audio_bandwidth_hdmi()
[all …]
/linux-6.3-rc2/tools/perf/Documentation/
A Dperf-diff.txt128 Analyze samples within given time window. It supports time
150 It also supports analyzing samples within a given time window
183 Only diff samples for given thread ID (comma separated list).
187 aggregated by the branch records from samples.
200 Example files samples:
201 - file A with samples f1, f2, f3, f4, f6
202 - file B with samples f2, f4, f5
203 - file C with samples f1, f2, f5
211 baseline/A compute/B compute/C samples
222 baseline/B compute/A compute/C samples
[all …]
A 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,
95 number for samples dropped that would have made it through the filter, but can be a rough
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
172 Available samples
187 To get a full list of unique samples that are not sorted into groups, set the itrace option to
188 generate 'instruction' samples. The period option is also taken into account, so set it to 1
193 Memory access details are also stored on the samples and this can be viewed with:
[all …]
A 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-6.3-rc2/drivers/input/touchscreen/
A 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.3-rc2/Documentation/userspace-api/media/drivers/
A 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.3-rc2/tools/testing/selftests/alsa/
A Dpcm-test.c257 unsigned char *samples = NULL; in test_pcm_time() local
306 samples = malloc((rate * channels * snd_pcm_format_physical_width(format)) / 8); in test_pcm_time()
307 if (!samples) in test_pcm_time()
309 snd_pcm_format_set_silence(format, samples, rate * channels); in test_pcm_time()
350 samples = realloc(samples, (rate * channels * in test_pcm_time()
352 if (!samples) in test_pcm_time()
354 snd_pcm_format_set_silence(format, samples, rate * channels); in test_pcm_time()
437 frames = snd_pcm_writei(handle, samples, rate); in test_pcm_time()
449 frames = snd_pcm_readi(handle, samples, rate); in test_pcm_time()
506 free(samples); in test_pcm_time()
/linux-6.3-rc2/tools/perf/util/
A 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.3-rc2/samples/landlock/
A DMakefile10 $(MAKE) -C ../.. samples/landlock/
13 $(MAKE) -C ../.. M=samples/landlock/ clean
/linux-6.3-rc2/Documentation/ABI/stable/
A 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.3-rc2/drivers/media/common/siano/
A 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-6.3-rc2/Documentation/devicetree/bindings/thermal/
A Dqcom-spmi-adc-tm5.yaml36 qcom,avg-samples:
38 description: Number of samples to be used for measurement.
101 qcom,avg-samples:
103 description: Number of samples to be used for measurement.
143 qcom,avg-samples: false
153 qcom,avg-samples: false
252 qcom,avg-samples = <2>;
/linux-6.3-rc2/drivers/input/keyboard/
A 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()

Completed in 90 milliseconds

12345678910>>...12