Home
last modified time | relevance | path

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

1234567891011

/linux/Documentation/sound/cards/
H A 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 …]
H A 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 …]
H A 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/tools/testing/selftests/seccomp/
H A Dseccomp_benchmark.c25 unsigned long long timing(clockid_t clk_id, unsigned long long samples) in timing() argument
33 for (i = 0; i < samples; i++) { in timing()
54 unsigned long long i, samples, step = 9973; in calibrate() local
60 samples = 0; in calibrate()
70 samples += step; in calibrate()
76 return samples * seconds; in calibrate()
186 unsigned long long samples, calc; in main() local
210 samples = strtoull(argv[1], NULL, 0); in main()
212 samples = calibrate(); in main()
214 ksft_print_msg("Benchmarking %llu syscalls...\n", samples); in main()
[all …]
/linux/drivers/media/pci/cx88/
H A 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/samples/bpf/
H A 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/tools/testing/selftests/timers/
H 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/tools/testing/selftests/alsa/
H A 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 …]
H A Dpcm-test.c296 unsigned char *samples = NULL; in test_pcm_time() local
345 samples = malloc((rate * channels * snd_pcm_format_physical_width(format)) / 8); in test_pcm_time()
346 if (!samples) in test_pcm_time()
348 snd_pcm_format_set_silence(format, samples, rate * channels); in test_pcm_time()
389 samples = realloc(samples, (rate * channels * in test_pcm_time()
391 if (!samples) in test_pcm_time()
393 snd_pcm_format_set_silence(format, samples, rate * channels); in test_pcm_time()
476 frames = snd_pcm_writei(handle, samples, rate); in test_pcm_time()
488 frames = snd_pcm_readi(handle, samples, rate); in test_pcm_time()
549 free(samples); in test_pcm_time()
/linux/include/trace/events/
H 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/
H 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/
H 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/sound/core/
H 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/Documentation/devicetree/bindings/input/
H 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/tools/perf/Documentation/
H A 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 …]
H 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
151 on - the samples period or the number of samples (hits).
160 samples (if they are memory accessing instructions) using DWARF debug
H 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,
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
131 You can record a session with SPE samples:
147 min_latency=<n> - collect only samples with this latency or higher* (PMSLATFR)
159 only samples that have both 'L1D cache refill' AND 'TLB walk' are recorded. When
212 When set, the following filters can be used to select samples that match any of
213 the operation types (OR filtering). If only one is set then only samples of that
[all …]
H A Dtips.txt17 Show individual samples with: perf script
20 To show assembler sample context control flow use perf record -b / perf report --samples 10 and then browse context
36 To show information about system the samples were collected on use perf report --header
40 To compute metrics for samples use perf record -e '{cycles,instructions}' ... ; perf script -F +metric
48 To collect Processor Trace with samples use perf record -e '{intel_pt//,cycles}' ; perf script --call-trace or --insn-trace --xed -F +ipc (remove --xed if no xed)
56 To separate samples by time use perf report --sort time,overhead,sym
57 To filter subset of samples with report or script add --time X-Y or --cpu A,B,C or --socket-filter ...
64 To compare scalability of two workload samples use perf diff -c ratio file1 file2
/linux/drivers/gpu/drm/amd/display/dc/dce/
H 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()
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/Documentation/userspace-api/media/drivers/
H 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/
H A Dtop.c33 if (top->samples) { in perf_top__header_snprintf()
34 samples_per_sec = top->samples / top->delay_secs; in perf_top__header_snprintf()
36 esamples_percent = (100.0 * top->exact_samples) / top->samples; in perf_top__header_snprintf()
116 top->samples = top->us_samples = top->kernel_samples = in perf_top__reset_sample_counters()
/linux/tools/tracing/rtla/src/
H A Dosnoise_hist.c19 int *samples; member
46 if (data->hist[cpu].samples) in osnoise_free_histogram()
47 free(data->hist[cpu].samples); in osnoise_free_histogram()
84 data->hist[cpu].samples = calloc(1, sizeof(*data->hist->samples) * (entries + 1)); in osnoise_alloc_histogram()
85 if (!data->hist[cpu].samples) in osnoise_alloc_histogram()
117 hist = data->hist[cpu].samples; in osnoise_hist_update_multiple()
360 total += data->hist[cpu].samples[bucket]; in osnoise_print_stats()
361 trace_seq_printf(trace->seq, "%9d ", data->hist[cpu].samples[bucket]); in osnoise_print_stats()
397 data->hist[cpu].samples[data->entries]); in osnoise_print_stats()
/linux/Documentation/ABI/stable/
H 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/input/keyboard/
H A Dqt1050.c109 u32 samples; member
332 (button->samples << 4) | (button->scale)); in qt1050_apply_fw_data()
394 &button.samples)) { in qt1050_parse_fw()
395 button.samples = 0; in qt1050_parse_fw()
397 if (is_power_of_2(button.samples)) in qt1050_parse_fw()
398 button.samples = ilog2(button.samples); in qt1050_parse_fw()
400 button.samples = 0; in qt1050_parse_fw()
/linux/samples/landlock/
H A DMakefile10 $(MAKE) -C ../.. samples/landlock/
13 $(MAKE) -C ../.. M=samples/landlock/ clean

1234567891011