Home
last modified time | relevance | path

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

12345678910>>...42

/openbmc/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 …]
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-daemons/opensaf/opensaf/
H A D0001-immom_python-convert-to-python3.patch13 samples/immsv/immom_python/immom.py | 2 +-
14 samples/immsv/immom_python/immomexamples.py | 2 +-
15 samples/immsv/immom_python/immomtest.py | 2 +-
18 diff --git a/samples/immsv/immom_python/immom.py b/samples/immsv/immom_python/immom.py
20 --- a/samples/immsv/immom_python/immom.py
21 +++ b/samples/immsv/immom_python/immom.py
28 diff --git a/samples/immsv/immom_python/immomexamples.py b/samples/immsv/immom_python/immomexamples…
30 --- a/samples/immsv/immom_python/immomexamples.py
31 +++ b/samples/immsv/immom_python/immomexamples.py
38 diff --git a/samples/immsv/immom_python/immomtest.py b/samples/immsv/immom_python/immomtest.py
[all …]
/openbmc/qemu/hw/audio/
H A Dadlib.c73 int left, pos, samples; member
155 static int write_audio (AdlibState *s, int samples) in write_audio() argument
160 while (samples) { in write_audio()
163 nbytes = samples << SHIFT; in write_audio()
173 samples -= wsampl; in write_audio()
174 pos = (pos + wsampl) % s->samples; in write_audio()
189 int samples, to_play, written; in adlib_callback() local
191 samples = free >> SHIFT; in adlib_callback()
192 if (!(s->active && s->enabled) || !samples) { in adlib_callback()
196 to_play = MIN (s->left, samples); in adlib_callback()
[all …]
H A Dgus.c57 int samples; member
80 static int write_audio (GUSState *s, int samples) in write_audio() argument
85 while (samples) { in write_audio()
88 nbytes = samples << s->shift; in write_audio()
98 samples -= wsampl; in write_audio()
99 pos = (pos + wsampl) % s->samples; in write_audio()
113 int samples, to_play, net = 0; in GUS_callback() local
116 samples = free >> s->shift; in GUS_callback()
117 to_play = MIN (samples, s->left); in GUS_callback()
128 samples -= written; in GUS_callback()
[all …]
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-daemons/autofs/autofs/
H A D0001-no-bash.patch10 samples/auto.net | 2 +-
11 samples/auto.smb | 2 +-
14 diff --git a/samples/auto.net b/samples/auto.net
16 --- a/samples/auto.net
17 +++ b/samples/auto.net
24 diff --git a/samples/auto.smb b/samples/auto.smb
26 --- a/samples/auto.smb
27 +++ b/samples/auto.smb
/openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-multimedia/webrtc-audio-processing/webrtc-audio-processing/
H A D0006-common_audio-implement-endianness-conversion-in-wav-.patch24 size_t WavReader::ReadSamples(size_t num_samples, int16_t* samples) {
26 -#error "Need to convert samples to big-endian when reading from WAV file"
31 @@ -76,6 +73,13 @@ size_t WavReader::ReadSamples(size_t num_samples, int16_t* samples) {
37 + // Convert the read samples from little-endian to big-endian.
39 + samples[i] = ((uint16_t) samples[i] >> 8) | ((uint16_t) samples[i] << 8);
48 void WavWriter::WriteSamples(const int16_t* samples, size_t num_samples) {
50 -#error "Need to convert samples to little-endian when writing to WAV file"
53 + // Convert the samples from big-endian samples to little-endian.
54 + int16_t* converted_samples = static_cast<int16_t*>(malloc(num_samples * sizeof(*samples)));
58 + ((uint16_t) samples[i] >> 8) | ((uint16_t) samples[i] << 8);
[all …]
/openbmc/linux/tools/testing/selftests/seccomp/
H A Dseccomp_benchmark.c23 unsigned long long timing(clockid_t clk_id, unsigned long long samples) in timing() argument
31 for (i = 0; i < samples; i++) { in timing()
52 unsigned long long i, samples, step = 9973; in calibrate() local
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
157 samples = strtoull(argv[1], NULL, 0); in main()
159 samples = calibrate(); in main()
161 printf("Benchmarking %llu syscalls...\n", samples); in main()
[all …]
/openbmc/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 …]
/openbmc/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 …]
/openbmc/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 …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-benchmark/glmark2/files/
H A D0003-GLVisualConfig-By-default-don-t-care-about-the-stenc.patch26 \'id=ID:red=R:green=G:blue=B:alpha=A:buffer=BUF:stencil=STENCIL:samples=SAMPLES'.
28 -default value of '0' (id, stencil, samples) or '1' (red, green, blue, alpha, buffer).
29 +default value of '0' (id, samples), -1 (stencil) or '1' (red, green, blue, alpha, buffer).
41 - id(0), red(1), green(1), blue(1), alpha(1), depth(1), stencil(0), buffer(1), samples(0)
53 score += score_component(samples, target.samples, -1);
79 - id(0), red(1), green(1), blue(1), alpha(1), depth(1), stencil(0), buffer(1), samples(0) {}
80 + id(0), red(1), green(1), blue(1), alpha(1), depth(1), stencil(-1), buffer(1), samples(0) {}
90 " stencil=STENCIL:samples=SAMPLES'. The parameters may be\n"
92 - " default value of '0' (id, stencil, samples) or '1' (red,\n"
95 + " default value of '0' (id, samples), '-1' (stencil) or\n"
/openbmc/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-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
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
169 them, the samples in these groups are not necessarily unique. For example perf report shows these
172 Available samples
[all …]
/openbmc/openbmc/poky/scripts/pybootchartgui/pybootchartgui/tests/
H A Dparser_test.py43 samples = state.ps_stats
44 processes = samples.process_map
53 print(process.pid / 1000, process.cmd, process.ppid, len(process.samples))
59 self.assertEqual(tokens[3], str(len(process.samples)))
66samples = parsing.parse_file(writer, state_with_headers, self.mk_fname('proc_diskstats.log')).disk…
67 self.assertEqual(141, len(samples))
72 sample = samples[index]
86 samples = parsing.parse_file(writer, trace, self.mk_fname('proc_stat.log')).cpu_stats
87 self.assertEqual(141, len(samples))
92 sample = samples[index]
/openbmc/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
/openbmc/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 …]
/openbmc/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
/openbmc/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)
/openbmc/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 …]
/openbmc/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 …]
/openbmc/openbmc/poky/meta/recipes-devtools/perl/
H A Dlibxml-parser-perl_2.47.bb31 sed -i -e "s:/usr/local/bin/perl:/usr/bin/perl:g" ${B}/samples/xmlstats
32 sed -i -e "s:/usr/local/bin/perl:/usr/bin/perl:g" ${B}/samples/xmlfilter
33 sed -i -e "s:/usr/local/bin/perl:/usr/bin/perl:g" ${B}/samples/xmlcomments
34 sed -i -e "s:/usr/local/bin/perl:/usr/bin/perl:g" ${B}/samples/canonical
35 cp -r ${B}/samples ${D}${PTEST_PATH}
36 chown -R root:root ${D}${PTEST_PATH}/samples
/openbmc/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 …]
/openbmc/qemu/audio/
H A Dmixeng.c287 int samples) in conv_natural_float_to_mono() argument
291 while (samples--) { in conv_natural_float_to_mono()
298 int samples) in conv_natural_float_to_stereo() argument
302 while (samples--) { in conv_natural_float_to_stereo()
315 int samples) in clip_natural_float_from_mono() argument
319 while (samples--) { in clip_natural_float_from_mono()
326 void *dst, const struct st_sample *src, int samples) in clip_natural_float_from_stereo() argument
330 while (samples--) { in clip_natural_float_from_stereo()
342 void audio_sample_to_uint64(const void *samples, int pos, in audio_sample_to_uint64() argument
347 "Coreaudio and floating point samples are not supported by replay yet"); in audio_sample_to_uint64()
[all …]

12345678910>>...42