Home
last modified time | relevance | path

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

12345678910>>...32

/linux-5.10/Documentation/sound/cards/
Daudigy-mixer.rst49 This control is used to attenuate samples for left and right front PCM FX-bus
51 samples for 5.1 playback. The result samples are forwarded to the front DAC PCM
56 This control is used to attenuate samples for left and right surround PCM FX-bus
58 samples for 5.1 playback. The result samples are forwarded to the surround DAC PCM
63 This control is used to attenuate samples for center PCM FX-bus accumulator.
75 This control is used to attenuate samples for left and right PCM FX-bus
76 accumulators. ALSA uses accumulators 0 and 1 for left and right PCM samples for
77 stereo playback. The result samples are forwarded to the front DAC PCM slots
82 This control is used to attenuate samples for left and right PCM FX-bus
89 This control is used to attenuate samples for left and right MIDI FX-bus
[all …]
Dsb-live-mixer.rst64 This control is used to attenuate samples for 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 for 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 for 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 for left and right PCM FX-bus
91 These controls are used to attenuate samples for left and right PCM FX-bus
[all …]
/linux-5.10/tools/testing/selftests/seccomp/
Dseccomp_benchmark.c19 unsigned long long timing(clockid_t clk_id, unsigned long long samples) in timing() argument
27 for (i = 0; i < samples; i++) { in timing()
48 unsigned long long i, samples, step = 9973; in calibrate() local
54 samples = 0; in calibrate()
64 samples += step; in calibrate()
70 return samples * seconds; in calibrate()
83 unsigned long long samples; in main() local
91 samples = strtoull(argv[1], NULL, 0); in main()
93 samples = calibrate(); in main()
95 printf("Benchmarking %llu syscalls...\n", samples); in main()
[all …]
/linux-5.10/drivers/media/pci/cx88/
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-5.10/tools/testing/selftests/timers/
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-5.10/samples/bpf/
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
78 make M=samples/bpf LLC=~/git/llvm/build/bin/llc CLANG=~/git/llvm/build/bin/clang
80 Cross compiling samples
85 build samples for the cross target::
97 Build samples::
99 make M=samples/bpf
101 Or build samples with SYSROOT if some header or library is absent in toolchain,
[all …]
/linux-5.10/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-annotate.txt47 --show-nr-samples::
48 Show the number of samples for each symbol
87 samples, TAB/UNTAB cycles through the lines with more samples.
92 --cpu=<cpu>:: Only report samples for the list of CPUs provided. Multiple CPUs can
94 CPUs are specified with -: 0-2. Default is to report samples on all
134 on - the samples period or the number of samples (hits).
/linux-5.10/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-5.10/tools/perf/scripts/python/
Dexport-to-sqlite.py69 # difference is the 'transaction' column of the 'samples' table which is
206 do_query(query, 'CREATE TABLE samples ('
228 do_query(query, 'CREATE TABLE samples ('
446 ' FROM samples')
456 ' INNER JOIN samples ON samples.id = ptwrite.id')
467 ' INNER JOIN samples ON samples.id = cbr.id')
477 ' INNER JOIN samples ON samples.id = mwait.id')
488 ' INNER JOIN samples ON samples.id = pwre.id')
497 ' INNER JOIN samples ON samples.id = exstop.id')
513 ' INNER JOIN samples ON samples.id = pwrx.id')
[all …]
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 ('
404 do_query(query, 'CREATE TABLE samples ('
608 ' FROM samples')
618 ' INNER JOIN samples ON samples.id = ptwrite.id')
629 ' INNER JOIN samples ON samples.id = cbr.id')
639 ' INNER JOIN samples ON samples.id = mwait.id')
[all …]
/linux-5.10/samples/livepatch/
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-5.10/arch/powerpc/oprofile/cell/
Dspu_profiler.c20 static u32 *samples; variable
96 samples[spu * TRACE_ARRAY_SIZE + entry] in spu_pc_extract()
98 samples[(spu + SPUS_PER_TB_ENTRY) * TRACE_ARRAY_SIZE + entry] in spu_pc_extract()
148 * the samples. In the very unlikely case that the processing in profile_spus()
150 * started to process the samples. Make sure only one kernel in profile_spus()
151 * thread is working on the samples array at a time. The in profile_spus()
168 samples + (k * TRACE_ARRAY_SIZE), in profile_spus()
208 /* Allocate arrays for collecting SPU PC samples */ in start_spu_profiling_cycles()
209 samples = kcalloc(SPUS_PER_NODE * TRACE_ARRAY_SIZE, sizeof(u32), in start_spu_profiling_cycles()
212 if (!samples) in start_spu_profiling_cycles()
[all …]
/linux-5.10/drivers/input/touchscreen/
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-5.10/tools/perf/tests/
Dhists_filter.c57 * each evsel will have 10 samples but the 4th sample in add_hist_entries()
152 TEST_ASSERT_VAL("Invalid nr samples", in test__hists_filter()
158 TEST_ASSERT_VAL("Unmatched nr samples", in test__hists_filter()
177 TEST_ASSERT_VAL("Invalid nr samples", in test__hists_filter()
185 TEST_ASSERT_VAL("Unmatched nr samples for thread filter", in test__hists_filter()
206 TEST_ASSERT_VAL("Invalid nr samples", in test__hists_filter()
214 TEST_ASSERT_VAL("Unmatched nr samples for dso filter", in test__hists_filter()
227 * there's 3 samples that have 'main' symbol but the 4th in test__hists_filter()
241 TEST_ASSERT_VAL("Invalid nr samples", in test__hists_filter()
249 TEST_ASSERT_VAL("Unmatched nr samples for symbol filter", in test__hists_filter()
[all …]
/linux-5.10/include/trace/events/
Dkyber.h18 unsigned int denominator, unsigned int samples),
20 TP_ARGS(q, 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-5.10/tools/perf/tests/shell/
Dtest_arm_coresight.sh2 # Check Arm CoreSight trace data recording and synthesized samples
5 # then verify if there have any branch samples and instruction samples
40 echo "Looking at perf.data file for dumping branch samples:"
42 # Below is an example of the branch samples dumping:
51 echo "Looking at perf.data file for reporting branch samples:"
53 # Below is an example of the branch samples reporting:
62 echo "Looking at perf.data file for instruction samples:"
64 # Below is an example of the instruction samples reporting:
/linux-5.10/tools/testing/selftests/bpf/prog_tests/
Dringbuf.c70 /* trigger exactly two samples */ in trigger_samples()
123 /* poll for samples */ in test_ringbuf()
130 CHECK(cnt != 2, "cnt", "exp %d samples, got %d\n", 2, cnt); in test_ringbuf()
137 CHECK(cnt != 0, "cnt", "exp %d samples, got %d\n", 0, cnt); in test_ringbuf()
154 CHECK(cnt != 2, "cnt", "exp %d samples, got %d\n", 2, cnt); in test_ringbuf()
184 CHECK(cnt != 0, "cnt", "exp %d samples, got %d\n", 0, cnt); in test_ringbuf()
189 /* produce new samples, no notification should be triggered, because in test_ringbuf()
199 /* still no samples, because consumer is behind */ in test_ringbuf()
201 CHECK(cnt != 0, "cnt", "exp %d samples, got %d\n", 0, cnt); in test_ringbuf()
224 * samples, so consume them here to collect all the samples in test_ringbuf()
[all …]
/linux-5.10/kernel/time/
Dposix-cpu-timers.c207 static inline void store_samples(u64 *samples, u64 stime, u64 utime, u64 rtime) in store_samples() argument
209 samples[CPUCLOCK_PROF] = stime + utime; in store_samples()
210 samples[CPUCLOCK_VIRT] = utime; in store_samples()
211 samples[CPUCLOCK_SCHED] = rtime; in store_samples()
214 static void task_sample_cputime(struct task_struct *p, u64 *samples) in task_sample_cputime() argument
219 store_samples(samples, stime, utime, p->se.sum_exec_runtime); in task_sample_cputime()
223 u64 *samples) in proc_sample_cputime_atomic() argument
230 store_samples(samples, stime, utime, rtime); in proc_sample_cputime_atomic()
259 * @samples: Storage for time samples
267 void thread_group_sample_cputime(struct task_struct *tsk, u64 *samples) in thread_group_sample_cputime() argument
[all …]
/linux-5.10/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-5.10/arch/x86/kernel/cpu/
Daperfmperf.c27 static DEFINE_PER_CPU(struct aperfmperf_sample, samples);
43 struct aperfmperf_sample *s = this_cpu_ptr(&samples); in aperfmperf_snapshot_khz()
69 s64 time_delta = ktime_ms_delta(now, per_cpu(samples.time, cpu)); in aperfmperf_snapshot_cpu()
93 return per_cpu(samples.khz, cpu); in aperfmperf_get_khz()
131 return per_cpu(samples.khz, cpu); in arch_freq_get_on_cpu()
136 return per_cpu(samples.khz, cpu); in arch_freq_get_on_cpu()
/linux-5.10/sound/core/
Dpcm_misc.c378 * snd_pcm_format_size - return the byte size of samples on the given format
380 * @samples: sampling rate
382 * Return: The byte size of the given samples for the format, or a
385 ssize_t snd_pcm_format_size(snd_pcm_format_t format, size_t samples) in snd_pcm_format_size() argument
390 return samples * phys_width / 8; in snd_pcm_format_size()
414 * @samples: the number of samples to set silence
416 * Sets the silence data on the buffer for the given samples.
420 int snd_pcm_format_set_silence(snd_pcm_format_t format, void *data, unsigned int samples) in snd_pcm_format_set_silence() argument
428 if (samples == 0) in snd_pcm_format_set_silence()
436 unsigned int bytes = samples * width / 8; in snd_pcm_format_set_silence()
[all …]
/linux-5.10/net/ipv4/
Dtcp_vegas.c76 /* Begin taking Vegas samples next time we send something. */ in vegas_enable()
86 /* Stop taking Vegas samples for now. */
105 * o min-filter RTT samples from within an RTT to get the current
108 * o min-filter RTT samples from a much longer window (forever for now)
146 * until we get fresh RTT samples. So when we
184 * samples that we can be reasonably sure that we got in tcp_vegas_cong_avoid()
186 * If we only had 2 samples total, in tcp_vegas_cong_avoid()
189 * If we have 3 samples, we should be OK. in tcp_vegas_cong_avoid()
193 /* We don't have enough RTT samples to do the Vegas in tcp_vegas_cong_avoid()
201 /* We have enough RTT samples, so, using the Vegas in tcp_vegas_cong_avoid()
/linux-5.10/drivers/staging/comedi/
Dcomedi_buf.c376 /* don't munge partial samples */ in comedi_buf_munge()
425 * If the samples in the freed space need to be "munged", do so here. The
608 * @data: Pointer to source samples.
609 * @nsamples: Number of samples to write.
611 * Write up to @nsamples samples to the COMEDI acquisition data buffer
614 * number of samples, the number of samples written is limited to the number
617 * event flag if any samples are written to cause waiting tasks to be woken
629 * Make sure there is enough room in the buffer for all the samples. in comedi_buf_write_samples()
631 * buffer overrun and add the samples that fit. in comedi_buf_write_samples()
658 * @nsamples: Maximum number of samples to read.
[all …]
/linux-5.10/Documentation/devicetree/bindings/iio/adc/
Dqcom,spmi-vadc.yaml133 qcom,avg-samples:
136 Number of samples to be used for measurement.
138 from the ADC that is an average of multiple samples. The value
164 qcom,avg-samples:
187 qcom,avg-samples:
210 qcom,avg-samples:
233 qcom,avg-samples:
260 qcom,avg-samples = <1>;

12345678910>>...32