Home
last modified time | relevance | path

Searched refs:samples (Results 1 – 9 of 9) sorted by relevance

/sound/core/
Dpcm_misc.c380 ssize_t snd_pcm_format_size(snd_pcm_format_t format, size_t samples) in snd_pcm_format_size() argument
385 return samples * phys_width / 8; in snd_pcm_format_size()
415 int snd_pcm_format_set_silence(snd_pcm_format_t format, void *data, unsigned int samples) in snd_pcm_format_set_silence() argument
422 if (samples == 0) in snd_pcm_format_set_silence()
430 unsigned int bytes = samples * width / 8; in snd_pcm_format_set_silence()
438 while (samples--) { in snd_pcm_format_set_silence()
446 while (samples--) { in snd_pcm_format_set_silence()
452 while (samples--) { in snd_pcm_format_set_silence()
458 while (samples--) { in snd_pcm_format_set_silence()
464 while (samples--) { in snd_pcm_format_set_silence()
/sound/soc/sh/
Dfsi.c448 static int fsi_sample2frame(struct fsi_priv *fsi, int samples) in fsi_sample2frame() argument
450 return samples / fsi->chan_num; in fsi_sample2frame()
1054 static void fsi_pio_push16(struct fsi_priv *fsi, u8 *_buf, int samples) in fsi_pio_push16() argument
1066 for (i = 0; i < samples / 2; i++) in fsi_pio_push16()
1072 for (i = 0; i < samples; i++) in fsi_pio_push16()
1077 static void fsi_pio_pop16(struct fsi_priv *fsi, u8 *_buf, int samples) in fsi_pio_pop16() argument
1082 for (i = 0; i < samples; i++) in fsi_pio_pop16()
1086 static void fsi_pio_push32(struct fsi_priv *fsi, u8 *_buf, int samples) in fsi_pio_push32() argument
1091 for (i = 0; i < samples; i++) in fsi_pio_push32()
1095 static void fsi_pio_pop32(struct fsi_priv *fsi, u8 *_buf, int samples) in fsi_pio_pop32() argument
[all …]
/sound/soc/codecs/
Dtlv320dac33.c42 #define SAMPLES_TO_US(rate, samples) \ argument
43 (1000000000 / (((rate) * 1000) / (samples)))
48 #define UTHR_FROM_PERIOD_SIZE(samples, playrate, burstrate) \ argument
49 (((samples)*5000) / (((burstrate)*5000) / ((burstrate) - (playrate))))
1144 int samples_out, samples_in, samples; in dac33_dai_delay() local
1191 samples = dac33->alarm_threshold; in dac33_dai_delay()
1192 samples += (samples_in - samples_out); in dac33_dai_delay()
1194 if (likely(samples > 0)) in dac33_dai_delay()
1195 delay = samples; in dac33_dai_delay()
1209 samples = dac33->alarm_threshold; in dac33_dai_delay()
[all …]
/sound/core/oss/
Dpcm_plugin.c660 size_t samples, snd_pcm_format_t format) in snd_pcm_area_silence() argument
674 return snd_pcm_format_set_silence(format, dst, samples); in snd_pcm_area_silence()
683 while (samples-- > 0) { in snd_pcm_area_silence()
697 while (samples-- > 0) { in snd_pcm_area_silence()
707 size_t samples, snd_pcm_format_t format) in snd_pcm_area_copy() argument
715 return snd_pcm_area_silence(dst_area, dst_offset, samples, format); in snd_pcm_area_copy()
724 size_t bytes = samples * width / 8; in snd_pcm_area_copy()
736 while (samples-- > 0) { in snd_pcm_area_copy()
761 while (samples-- > 0) { in snd_pcm_area_copy()
Dpcm_plugin.h135 size_t samples, snd_pcm_format_t format);
140 size_t samples, snd_pcm_format_t format);
/sound/firewire/
Disight.c75 __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/
Dsoundfont.c283 sf->samples = NULL; in newsf()
387 sp->next = sf->samples; in sf_sample_new()
388 sf->samples = sp; in sf_sample_new()
403 if (sp == sf->samples) { in sf_sample_delete()
404 sf->samples = sp->next; in sf_sample_delete()
680 for (p = sf->samples; p; p = p->next) { in find_sample()
1367 for (sp = sf->samples; sp; sp = nextsp) { in snd_sf_clear()
1466 for (sp = sf->samples; sp; sp = nextsp) { in snd_soundfont_remove_unlocked()
1470 sf->samples = nextsp; in snd_soundfont_remove_unlocked()
/sound/soc/intel/haswell/
Dsst-haswell-pcm.c722 ssize_t samples; in hsw_notify_pointer() local
742 samples = SST_SAMPLES(runtime, position - old_position); in hsw_notify_pointer()
746 samples); in hsw_notify_pointer()
751 samples = SST_SAMPLES(runtime, in hsw_notify_pointer()
756 samples); in hsw_notify_pointer()
760 samples = SST_SAMPLES(runtime, position); in hsw_notify_pointer()
762 dma_area, samples); in hsw_notify_pointer()
/sound/drivers/
DKconfig97 This module returns played samples back to the user space using