Searched refs:samples_to_bytes (Results 1 – 6 of 6) sorted by relevance
/linux-4.1.27/sound/core/ |
D | pcm_lib.c | 131 char *hwbuf = runtime->dma_area + (c * dma_csize) + samples_to_bytes(runtime, ofs); in snd_pcm_playback_silence() 2167 char __user *buf = *bufs + samples_to_bytes(runtime, off); in snd_pcm_lib_writev_transfer() 2176 char *hwbuf = runtime->dma_area + (c * dma_csize) + samples_to_bytes(runtime, hwoff); in snd_pcm_lib_writev_transfer() 2180 char __user *buf = *bufs + samples_to_bytes(runtime, off); in snd_pcm_lib_writev_transfer() 2181 if (copy_from_user(hwbuf, buf, samples_to_bytes(runtime, frames))) in snd_pcm_lib_writev_transfer() 2373 buf = *bufs + samples_to_bytes(runtime, off); in snd_pcm_lib_readv_transfer() 2385 hwbuf = runtime->dma_area + (c * dma_csize) + samples_to_bytes(runtime, hwoff); in snd_pcm_lib_readv_transfer() 2386 buf = *bufs + samples_to_bytes(runtime, off); in snd_pcm_lib_readv_transfer() 2387 if (copy_to_user(buf, hwbuf, samples_to_bytes(runtime, frames))) in snd_pcm_lib_readv_transfer()
|
/linux-4.1.27/sound/isa/gus/ |
D | gus_pcm.c | 366 bpos = samples_to_bytes(runtime, pos) + (voice * (pcmp->dma_size / 2)); in snd_gf1_pcm_playback_copy() 367 len = samples_to_bytes(runtime, count); in snd_gf1_pcm_playback_copy() 397 bpos = samples_to_bytes(runtime, pos) + (voice * (pcmp->dma_size / 2)); in snd_gf1_pcm_playback_silence() 398 len = samples_to_bytes(runtime, count); in snd_gf1_pcm_playback_silence()
|
/linux-4.1.27/sound/soc/intel/atom/ |
D | sst-mfld-platform-pcm.c | 142 periodbytes = samples_to_bytes(substream->runtime, period_size); in sst_fill_alloc_params()
|
/linux-4.1.27/sound/soc/sh/ |
D | fsi.c | 537 io->sample_width = samples_to_bytes(runtime, 1); in fsi_stream_init() 1114 samples_to_bytes(runtime, io->buff_sample_pos); in fsi_pio_get_area()
|
/linux-4.1.27/include/sound/ |
D | pcm.h | 693 static inline ssize_t samples_to_bytes(struct snd_pcm_runtime *runtime, ssize_t size) in samples_to_bytes() function
|
/linux-4.1.27/sound/soc/sh/rcar/ |
D | core.c | 327 samples_to_bytes(runtime, 1); in rsnd_dai_stream_init()
|