/openbmc/openbmc/meta-openembedded/meta-networking/recipes-daemons/opensaf/opensaf/ |
H A D | 0001-immom_python-convert-to-python3.patch | 13 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 D | adlib.c | 73 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 D | gus.c | 57 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/linux/tools/testing/selftests/seccomp/ |
H A D | seccomp_benchmark.c | 23 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/Documentation/sound/cards/ |
H A D | audigy-mixer.rst | 49 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 D | emu-mixer.rst | 100 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 D | sb-live-mixer.rst | 64 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/autofs/autofs/ |
H A D | 0001-no-bash.patch | 10 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 D | 0006-common_audio-implement-endianness-conversion-in-wav-.patch | 24 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/drivers/media/pci/cx88/ |
H A D | cx88-dsp.c | 139 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 …]
|
/openbmc/openbmc/poky/scripts/pybootchartgui/pybootchartgui/tests/ |
H A D | parser_test.py | 43 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))) 66 …samples = 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/qemu/audio/ |
H A D | mixeng_template.h | 101 (struct st_sample *dst, const void *src, int samples) in glue() 106 while (samples--) { in glue() 114 (struct st_sample *dst, const void *src, int samples) in glue() 119 while (samples--) { in glue() 128 (void *dst, const struct st_sample *src, int samples) in glue() 132 while (samples--) { in glue() 140 (void *dst, const struct st_sample *src, int samples) in glue() 144 while (samples--) { in glue()
|
H A D | mixeng.c | 287 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 350 const struct st_sample *sample = samples; in audio_sample_to_uint64() [all …]
|
H A D | audio_template.h | 89 size_t samples = hw->samples; in glue() local 90 if (audio_bug(__func__, samples == 0)) { in glue() 94 HWBUF.buffer = g_new0(st_sample, samples); in glue() 95 HWBUF.size = samples; in glue() 118 uint64_t samples; in glue() local 124 samples = muldiv64(HWBUF.size, sw->info.freq, hw->info.freq); in glue() 125 if (samples == 0) { in glue() 144 samples = samples < SIZE_MAX ? samples + 1 : SIZE_MAX; in glue() 145 sw->resample_buf.buffer = g_new0(st_sample, samples); in glue() 146 sw->resample_buf.size = samples; in glue() [all …]
|
/openbmc/linux/kernel/time/ |
H A D | posix-cpu-timers.c | 214 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() 273 void thread_group_sample_cputime(struct task_struct *tsk, u64 *samples) in thread_group_sample_cputime() argument 280 proc_sample_cputime_atomic(&cputimer->cputime_atomic, samples); in thread_group_sample_cputime() [all …]
|
/openbmc/linux/samples/bpf/ |
H A D | README.rst | 7 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/tools/testing/selftests/timers/ |
H A D | freq-step.c | 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 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()
|
/openbmc/linux/tools/testing/selftests/alsa/ |
H A D | test-pcmtest-driver.c | 172 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 …]
|
/openbmc/linux/include/trace/events/ |
H A D | kyber.h | 18 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)
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-benchmark/glmark2/files/ |
H A D | 0003-GLVisualConfig-By-default-don-t-care-about-the-stenc.patch | 26 \'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/openbmc/poky/meta/recipes-devtools/perl/ |
H A D | libxml-parser-perl_2.47.bb | 31 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/Documentation/devicetree/bindings/input/touchscreen/ |
H A D | brcm,iproc-touchscreen.txt | 39 - 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/testing/selftests/lkdtm/ |
H A D | stack-entropy.sh | 6 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' | \
|
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/ |
H A D | pyrtm_0.4.2.bb | 11 PACKAGES =+ "${PN}-tests ${PN}-samples" 13 FILES:${PN}-samples += " \ 14 ${PYTHON_SITEPACKAGES_DIR}/rtm/samples \ 27 RDEPENDS:${PN}-samples += " \
|
/openbmc/linux/sound/core/ |
H A D | pcm_misc.c | 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() 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()
|