Lines Matching refs:hwbuf
116 char *hwbuf = runtime->dma_area + frames_to_bytes(runtime, ofs); in snd_pcm_playback_silence() local
117 snd_pcm_format_set_silence(runtime->format, hwbuf, transfer * runtime->channels); in snd_pcm_playback_silence()
131 char *hwbuf = runtime->dma_area + (c * dma_csize) + samples_to_bytes(runtime, ofs); in snd_pcm_playback_silence() local
132 snd_pcm_format_set_silence(runtime->format, hwbuf, transfer); in snd_pcm_playback_silence()
1999 char *hwbuf = runtime->dma_area + frames_to_bytes(runtime, hwoff); in snd_pcm_lib_write_transfer() local
2000 if (copy_from_user(hwbuf, buf, frames_to_bytes(runtime, frames))) in snd_pcm_lib_write_transfer()
2174 char *hwbuf = runtime->dma_area + (c * dma_csize) + samples_to_bytes(runtime, hwoff); in snd_pcm_lib_writev_transfer() local
2176 snd_pcm_format_set_silence(runtime->format, hwbuf, frames); in snd_pcm_lib_writev_transfer()
2179 if (copy_from_user(hwbuf, buf, samples_to_bytes(runtime, frames))) in snd_pcm_lib_writev_transfer()
2221 char *hwbuf = runtime->dma_area + frames_to_bytes(runtime, hwoff); in snd_pcm_lib_read_transfer() local
2222 if (copy_to_user(buf, hwbuf, frames_to_bytes(runtime, frames))) in snd_pcm_lib_read_transfer()
2378 char *hwbuf; in snd_pcm_lib_readv_transfer() local
2383 hwbuf = runtime->dma_area + (c * dma_csize) + samples_to_bytes(runtime, hwoff); in snd_pcm_lib_readv_transfer()
2385 if (copy_to_user(buf, hwbuf, samples_to_bytes(runtime, frames))) in snd_pcm_lib_readv_transfer()