Home
last modified time | relevance | path

Searched full:samples (Results 1 – 25 of 736) sorted by relevance

12345678910>>...30

/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
142 /* The last 192 samples are enough for noise detection */ in noise_magnitude()
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
251 "read RDS samples: current_address=%08x (offset=%08x), sample_count=%d, aud_intstat=%08x\n", in read_rds_samples()
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()
[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.c20 #define SAMPLES 100 macro
111 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
167 for (i = 0; i < SAMPLES; i++) { in run_test()
169 get_sample(&samples[i]); in run_test()
173 regress(samples, SAMPLES, &intercept, &slope, &stddev1, &max1); in run_test()
[all …]
/linux/tools/perf/tests/shell/common/
H A Dpatterns.sh167 …UMBER\s*MB\s+(?:[\w\+\.-]*(?:$RE_PATH)?\/)?perf\.data(?:\.\d+)?\s*\(~?$RE_NUMBER samples\)\s+\].*$"
170 # [ perf record: Captured and wrote 0.405 MB perf.data (109 samples) ]
171 # [ perf record: Captured and wrote 0.405 MB perf.data (~109 samples) ]
172 # [ perf record: Captured and wrote 0.405 MB /some/temp/dir/perf.data (109 samples) ]
173 # [ perf record: Captured and wrote 0.405 MB ./perf.data (109 samples) ]
174 # [ perf record: Captured and wrote 0.405 MB ./perf.data.3 (109 samples) ]
177 …\s*MB\s+(?:[\w\+\.-]*(?:$RE_PATH)?\/)?perf\.data(?:\.\d+)?\s*(?:\(~?$RE_NUMBER samples\))?\s+\].*$"
178 # The second line of perf-record "OK" output, even no samples is OK here
180 # [ perf record: Captured and wrote 0.405 MB perf.data (109 samples) ]
181 # [ perf record: Captured and wrote 0.405 MB perf.data (~109 samples) ]
[all …]
/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 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/tools/perf/scripts/python/
H A Dexport-to-sqlite.py69 # difference is the 'transaction' column of the 'samples' table which is
206 do_query(query, 'CREATE TABLE samples ('
229 do_query(query, 'CREATE TABLE samples ('
449 ' FROM samples')
459 ' INNER JOIN samples ON samples.id = ptwrite.id')
470 ' INNER JOIN samples ON samples.id = cbr.id')
480 ' INNER JOIN samples ON samples.id = mwait.id')
491 ' INNER JOIN samples ON samples.id = pwre.id')
500 ' INNER JOIN samples ON samples.id = exstop.id')
516 ' INNER JOIN samples ON samples.id = pwrx.id')
[all …]
H A Dexport-to-postgresql.py83 # samples
85 # 'samples' is the main table. It represents what instruction was executing at a point in time
90 # 'calls' represents function calls and is related to 'samples' by 'call_id' and 'return_id'.
124 # 'symbols' contains a record for each symbol. Only symbols that have samples are present.
382 do_query(query, 'CREATE TABLE samples ('
405 do_query(query, 'CREATE TABLE samples ('
611 ' FROM samples')
621 ' INNER JOIN samples ON samples.id = ptwrite.id')
632 ' INNER JOIN samples ON samples.id = cbr.id')
642 ' INNER JOIN samples ON samples.id = mwait.id')
[all …]
/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/samples/livepatch/
H A Dlivepatch-callbacks-demo.c21 * insmod samples/livepatch/livepatch-callbacks-mod.ko
26 * insmod samples/livepatch/livepatch-callbacks-demo.ko
47 * insmod samples/livepatch/livepatch-callbacks-demo.ko
53 * insmod samples/livepatch/livepatch-callbacks-mod.ko
54 …* insmod: ERROR: could not insert module samples/livepatch/livepatch-callbacks-mod.ko: No su…
66 * insmod samples/livepatch/livepatch-callbacks-busymod.ko sleep_secs=30
69 * insmod samples/livepatch/livepatch-callbacks-demo.ko
73 * insmod samples/livepatch/livepatch-callbacks-mod.ko
74 * rmmod samples/livepatch/livepatch-callbacks-mod.ko
78 * rmmod samples/livepatch/livepatch-callbacks-demo.ko
/linux/drivers/input/touchscreen/
H A Dfsl-imx25-tcq.c156 * We measure X/Y with 'sample_count' number of samples and execute a in imx25_setup_queue_4wire()
238 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()
264 dev_dbg(priv->dev, "Dropped samples because of invalid index %d\n", in mx25_tcq_create_event_for_4wire()
270 if (samples != 0) { in mx25_tcq_create_event_for_4wire()
277 /* valid samples, generate a report */ in mx25_tcq_create_event_for_4wire()
290 * if both samples are invalid, in mx25_tcq_create_event_for_4wire()
300 * happens. Take additional samples in this in mx25_tcq_create_event_for_4wire()
312 unsigned int samples; in mx25_tcq_irq_thread() local
317 * Check how many samples are available. We always have to read exactly in mx25_tcq_irq_thread()
[all …]
/linux/tools/perf/util/
H A Devents_stats.h17 * The kernel discards mixed up samples and sends the number in a
18 * PERF_RECORD_LOST_SAMPLES event. The number of lost-samples events is stored
20 * exactly how many samples the kernel in fact dropped, i.e. it is the sum of
24 * The BPF program can discard samples according to the filter expressions given
27 * lost samples, perf tools sets PERF_RECORD_MISC_LOST_SAMPLES_BPF flag in the
28 * header.misc field. The number of dropped-samples events is stored in
30 * exactly how many samples the BPF program in fact dropped, i.e. it is the sum
/linux/tools/perf/tests/
H A Dhists_filter.c59 * each evsel will have 10 samples but the 4th sample in add_hist_entries()
164 TEST_ASSERT_VAL("Invalid nr samples", in test__hists_filter()
170 TEST_ASSERT_VAL("Unmatched nr samples", in test__hists_filter()
189 TEST_ASSERT_VAL("Invalid nr samples", in test__hists_filter()
197 TEST_ASSERT_VAL("Unmatched nr samples for thread filter", in test__hists_filter()
218 TEST_ASSERT_VAL("Invalid nr samples", in test__hists_filter()
226 TEST_ASSERT_VAL("Unmatched nr samples for dso filter", in test__hists_filter()
239 * there's 3 samples that have 'main' symbol but the 4th in test__hists_filter()
253 TEST_ASSERT_VAL("Invalid nr samples", in test__hists_filter()
261 TEST_ASSERT_VAL("Unmatched nr samples for symbol filter", in test__hists_filter()
[all …]
/linux/kernel/time/
H A 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()
265 * @samples: Storage for time samples
273 void thread_group_sample_cputime(struct task_struct *tsk, u64 *samples) in thread_group_sample_cputime() argument
[all …]
/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()
203 * of bytes. In the interleaved mode the buffer will contain samples in the following order:
211 void *samples; in TEST_F() local
214 samples = calloc(self->params.sec_buf_len * self->params.time, 1); in TEST_F()
[all …]
/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;
42 TP_printk("%d,%d %s %s p%u %u/%u samples=%u",
45 __entry->denominator, __entry->samples)
/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/testing/selftests/bpf/prog_tests/
H A Dringbuf.c75 /* trigger exactly two samples */ in trigger_samples()
127 /* trigger exactly two samples */ in ringbuf_subtest()
256 /* poll for samples */ in ringbuf_subtest()
263 CHECK(cnt != 2, "cnt", "exp %d samples, got %d\n", 2, cnt); in ringbuf_subtest()
270 CHECK(cnt != 0, "cnt", "exp %d samples, got %d\n", 0, cnt); in ringbuf_subtest()
287 CHECK(cnt != 2, "cnt", "exp %d samples, got %d\n", 2, cnt); in ringbuf_subtest()
317 CHECK(cnt != 0, "cnt", "exp %d samples, got %d\n", 0, cnt); in ringbuf_subtest()
322 /* produce new samples, no notification should be triggered, because in ringbuf_subtest()
332 /* still no samples, because consumer is behind */
334 CHECK(cnt != 0, "cnt", "exp %d samples, go
[all...]
/linux/sound/core/
H A Dpcm_misc.c382 * snd_pcm_format_size - return the byte size of samples on the given format
384 * @samples: sampling rate
386 * Return: The byte size of the given samples for the format, or a
389 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()
418 * @samples: the number of samples to set silence
420 * Sets the silence data on the buffer for the given samples.
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()
[all …]
/linux/drivers/comedi/
H A Dcomedi_buf.c325 /* don't munge partial samples */ in comedi_buf_munge()
375 * If the samples in the freed space need to be "munged", do so here. The
564 * @data: Pointer to source samples.
565 * @nsamples: Number of samples to write.
567 * Write up to @nsamples samples to the COMEDI acquisition data buffer
570 * number of samples, the number of samples written is limited to the number
573 * event flag if any samples are written to cause waiting tasks to be woken
585 * Make sure there is enough room in the buffer for all the samples. in comedi_buf_write_samples()
587 * buffer overrun and add the samples that fit. in comedi_buf_write_samples()
614 * @nsamples: Maximum number of samples to read.
[all …]

12345678910>>...30