Home
last modified time | relevance | path

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

1234567891011

/linux/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/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/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/arch/x86/kernel/cpu/
A Daperfmperf.c29 static DEFINE_PER_CPU(struct aperfmperf_sample, samples);
45 struct aperfmperf_sample *s = this_cpu_ptr(&samples); in aperfmperf_snapshot_khz()
72 s64 time_delta = ktime_ms_delta(now, per_cpu(samples.time, cpu)); in aperfmperf_snapshot_cpu()
73 struct aperfmperf_sample *s = per_cpu_ptr(&samples, cpu); in aperfmperf_snapshot_cpu()
101 return per_cpu(samples.khz, cpu); in aperfmperf_get_khz()
131 struct aperfmperf_sample *s = per_cpu_ptr(&samples, cpu); in arch_freq_get_on_cpu()
143 return per_cpu(samples.khz, cpu); in arch_freq_get_on_cpu()
150 return per_cpu(samples.khz, cpu); in arch_freq_get_on_cpu()
/linux/kernel/time/
A Dposix-cpu-timers.c210 samples[CPUCLOCK_VIRT] = utime; in store_samples()
211 samples[CPUCLOCK_SCHED] = rtime; in store_samples()
223 u64 *samples) in proc_sample_cputime_atomic() argument
338 u64 samples[CPUCLOCK_MAX]; in cpu_clock_sample_group() local
349 return samples[clkid]; in cpu_clock_sample_group()
858 samples[i]); in collect_posix_cputimers()
893 u64 samples[CPUCLOCK_MAX]; in check_thread_timers() local
971 u64 samples[CPUCLOCK_MAX]; in check_process_timers() local
1113 u64 samples[CPUCLOCK_MAX]; in fastpath_timer_check() local
1138 u64 samples[CPUCLOCK_MAX]; in fastpath_timer_check() local
[all …]
/linux/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/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/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/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/tools/testing/selftests/lkdtm/
A Dstack-entropy.sh6 samples="${1:-1000}"
12 for i in $(seq 1 $samples); do
15 percent=$(( 100 * $i / $samples ))
25 seen=$(tac "$log" | grep -m1 -B"$samples"0 'Starting stack offset' | \
/linux/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/drivers/gpu/drm/amd/display/dc/dce/
A Ddce_audio.c137 uint32_t samples; in check_audio_bandwidth_hdmi() local
183 samples = h_blank * 10; in check_audio_bandwidth_hdmi()
187 samples /= 32; in check_audio_bandwidth_hdmi()
192 samples /= 10; in check_audio_bandwidth_hdmi()
203 samples *= 4; in check_audio_bandwidth_hdmi()
206 samples *= 5; in check_audio_bandwidth_hdmi()
209 samples *= 6; in check_audio_bandwidth_hdmi()
212 samples *= 4; in check_audio_bandwidth_hdmi()
216 samples /= 4; in check_audio_bandwidth_hdmi()
219 if (samples < 88200) in check_audio_bandwidth_hdmi()
[all …]
/linux/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-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/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/lib/
A Drandom32.c574 unsigned int x, y, bits, samples; in prandom32_state_selftest() local
583 for (samples = 0; samples < TEST_SIZE; samples++) in prandom32_state_selftest()
584 data[samples] = prandom_u32(); in prandom32_state_selftest()
587 for (x = 0; x < samples; x++) { in prandom32_state_selftest()
588 for (y = 0; y < samples; y++) { in prandom32_state_selftest()
601 bits = int_sqrt(total / (samples * (samples - 1)) * 4); in prandom32_state_selftest()
/linux/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/Documentation/devicetree/bindings/iio/adc/
A Dqcom,spmi-vadc.yaml132 qcom,avg-samples:
135 Number of samples to be used for measurement.
137 from the ADC that is an average of multiple samples. The value
163 qcom,avg-samples:
186 qcom,avg-samples:
209 qcom,avg-samples:
232 qcom,avg-samples:
258 qcom,avg-samples = <1>;
/linux/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/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()
115 top->samples = top->us_samples = top->kernel_samples = in perf_top__reset_sample_counters()
/linux/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()
/linux/sound/soc/sh/
A Dfsi.c450 return samples / fsi->chan_num; in fsi_sample2frame()
1082 for (i = 0; i < samples; i++) in fsi_pio_pop16()
1091 for (i = 0; i < samples; i++) in fsi_pio_push32()
1100 for (i = 0; i < samples; i++) in fsi_pio_pop32()
1115 int samples) in fsi_pio_transfer()
1126 run16(fsi, buf, samples); in fsi_pio_transfer()
1129 run32(fsi, buf, samples); in fsi_pio_transfer()
1144 int samples; in fsi_pio_pop() local
1154 samples); in fsi_pio_pop()
1161 int samples; in fsi_pio_push() local
[all …]
/linux/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/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()

Completed in 50 milliseconds

1234567891011