/sound/core/ |
D | pcm_misc.c | 367 ssize_t snd_pcm_format_size(snd_pcm_format_t format, size_t samples) in snd_pcm_format_size() argument 372 return samples * phys_width / 8; in snd_pcm_format_size() 404 int snd_pcm_format_set_silence(snd_pcm_format_t format, void *data, unsigned int samples) in snd_pcm_format_set_silence() argument 411 if (samples == 0) in snd_pcm_format_set_silence() 419 unsigned int bytes = samples * width / 8; in snd_pcm_format_set_silence() 427 while (samples--) { in snd_pcm_format_set_silence() 435 while (samples--) { in snd_pcm_format_set_silence() 441 while (samples--) { in snd_pcm_format_set_silence() 447 while (samples--) { in snd_pcm_format_set_silence() 453 while (samples--) { in snd_pcm_format_set_silence()
|
/sound/soc/sh/ |
D | fsi.c | 447 static int fsi_sample2frame(struct fsi_priv *fsi, int samples) in fsi_sample2frame() argument 449 return samples / fsi->chan_num; in fsi_sample2frame() 1059 static void fsi_pio_push16(struct fsi_priv *fsi, u8 *_buf, int samples) in fsi_pio_push16() argument 1071 for (i = 0; i < samples / 2; i++) in fsi_pio_push16() 1077 for (i = 0; i < samples; i++) in fsi_pio_push16() 1082 static void fsi_pio_pop16(struct fsi_priv *fsi, u8 *_buf, int samples) in fsi_pio_pop16() argument 1087 for (i = 0; i < samples; i++) in fsi_pio_pop16() 1091 static void fsi_pio_push32(struct fsi_priv *fsi, u8 *_buf, int samples) in fsi_pio_push32() argument 1096 for (i = 0; i < samples; i++) in fsi_pio_push32() 1100 static void fsi_pio_pop32(struct fsi_priv *fsi, u8 *_buf, int samples) in fsi_pio_pop32() argument [all …]
|
/sound/soc/codecs/ |
D | tlv320dac33.c | 56 #define SAMPLES_TO_US(rate, samples) \ argument 57 (1000000000 / (((rate) * 1000) / (samples))) 62 #define UTHR_FROM_PERIOD_SIZE(samples, playrate, burstrate) \ argument 63 (((samples)*5000) / (((burstrate)*5000) / ((burstrate) - (playrate)))) 1157 int samples_out, samples_in, samples; in dac33_dai_delay() local 1204 samples = dac33->alarm_threshold; in dac33_dai_delay() 1205 samples += (samples_in - samples_out); in dac33_dai_delay() 1207 if (likely(samples > 0)) in dac33_dai_delay() 1208 delay = samples; in dac33_dai_delay() 1222 samples = dac33->alarm_threshold; in dac33_dai_delay() [all …]
|
/sound/core/oss/ |
D | pcm_plugin.c | 686 size_t samples, snd_pcm_format_t format) in snd_pcm_area_silence() argument 700 return snd_pcm_format_set_silence(format, dst, samples); in snd_pcm_area_silence() 709 while (samples-- > 0) { in snd_pcm_area_silence() 723 while (samples-- > 0) { in snd_pcm_area_silence() 733 size_t samples, snd_pcm_format_t format) in snd_pcm_area_copy() argument 741 return snd_pcm_area_silence(dst_area, dst_offset, samples, format); in snd_pcm_area_copy() 750 size_t bytes = samples * width / 8; in snd_pcm_area_copy() 762 while (samples-- > 0) { in snd_pcm_area_copy() 787 while (samples-- > 0) { in snd_pcm_area_copy()
|
D | pcm_plugin.h | 150 size_t samples, snd_pcm_format_t format); 155 size_t samples, snd_pcm_format_t format);
|
/sound/soc/blackfin/ |
D | bf5xx-i2s-pcm.c | 293 unsigned int offset, samples; in bf5xx_pcm_silence() local 299 samples = count * 8; in bf5xx_pcm_silence() 302 samples = count * runtime->channels; in bf5xx_pcm_silence() 305 snd_pcm_format_set_silence(runtime->format, buf + offset, samples); in bf5xx_pcm_silence()
|
/sound/firewire/ |
D | isight.c | 75 __be16 samples[2 * MAX_FRAMES_PER_PACKET]; member 109 const __be16 *samples, unsigned int count) in isight_samples() argument 120 samples, count * 4); in isight_samples() 124 samples, count1 * 4); in isight_samples() 125 samples += count1 * 2; in isight_samples() 126 memcpy(runtime->dma_area, samples, (count - count1) * 4); in isight_samples() 191 isight_samples(isight, payload->samples, count); in isight_packet()
|
/sound/synth/emux/ |
D | soundfont.c | 296 sf->samples = NULL; in newsf() 400 sp->next = sf->samples; in sf_sample_new() 401 sf->samples = sp; in sf_sample_new() 416 if (sp == sf->samples) { in sf_sample_delete() 417 sf->samples = sp->next; in sf_sample_delete() 693 for (p = sf->samples; p; p = p->next) { in find_sample() 1378 for (sp = sf->samples; sp; sp = nextsp) { in snd_sf_clear() 1477 for (sp = sf->samples; sp; sp = nextsp) { in snd_soundfont_remove_unlocked() 1481 sf->samples = nextsp; in snd_soundfont_remove_unlocked()
|
/sound/soc/intel/skylake/ |
D | skl-nhlt.h | 37 union samples { union
|
/sound/soc/intel/haswell/ |
D | sst-haswell-pcm.c | 731 ssize_t samples; in hsw_notify_pointer() local 751 samples = SST_SAMPLES(runtime, position - old_position); in hsw_notify_pointer() 755 samples); in hsw_notify_pointer() 760 samples = SST_SAMPLES(runtime, in hsw_notify_pointer() 765 samples); in hsw_notify_pointer() 769 samples = SST_SAMPLES(runtime, position); in hsw_notify_pointer() 771 dma_area, samples); in hsw_notify_pointer()
|
/sound/drivers/ |
D | Kconfig | 83 This module returns played samples back to the user space using
|