Searched refs:samples_to_bytes (Results 1 - 3 of 3) sorted by last modified time

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/sound/
H A Dpcm.h626 static inline ssize_t samples_to_bytes(struct snd_pcm_runtime *runtime, ssize_t size) function
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/core/
H A Dpcm_lib.c117 char *hwbuf = runtime->dma_area + (c * dma_csize) + samples_to_bytes(runtime, ofs);
1816 char __user *buf = *bufs + samples_to_bytes(runtime, off);
1826 char *hwbuf = runtime->dma_area + (c * dma_csize) + samples_to_bytes(runtime, hwoff);
1830 char __user *buf = *bufs + samples_to_bytes(runtime, off);
1831 if (copy_from_user(hwbuf, buf, samples_to_bytes(runtime, frames)))
2088 buf = *bufs + samples_to_bytes(runtime, off);
2101 hwbuf = runtime->dma_area + (c * dma_csize) + samples_to_bytes(runtime, hwoff);
2102 buf = *bufs + samples_to_bytes(runtime, off);
2103 if (copy_to_user(buf, hwbuf, samples_to_bytes(runtime, frames)))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/isa/gus/
H A Dgus_pcm.c335 bpos = samples_to_bytes(runtime, pos) + (voice * (pcmp->dma_size / 2));
336 len = samples_to_bytes(runtime, count);
364 bpos = samples_to_bytes(runtime, pos) + (voice * (pcmp->dma_size / 2));
365 len = samples_to_bytes(runtime, count);

Completed in 72 milliseconds