Lines Matching defs:hwbuf
105 char *hwbuf = runtime->dma_area + frames_to_bytes(runtime, ofs);
106 snd_pcm_format_set_silence(runtime->format, hwbuf, transfer * runtime->channels);
120 char *hwbuf = runtime->dma_area + (c * dma_csize) + samples_to_bytes(runtime, ofs);
121 snd_pcm_format_set_silence(runtime->format, hwbuf, transfer);
1786 char *hwbuf = runtime->dma_area + frames_to_bytes(runtime, hwoff);
1787 if (copy_from_user(hwbuf, buf, frames_to_bytes(runtime, frames)))
1960 char *hwbuf = runtime->dma_area + (c * dma_csize) + samples_to_bytes(runtime, hwoff);
1962 snd_pcm_format_set_silence(runtime->format, hwbuf, frames);
1965 if (copy_from_user(hwbuf, buf, samples_to_bytes(runtime, frames)))
2007 char *hwbuf = runtime->dma_area + frames_to_bytes(runtime, hwoff);
2008 if (copy_to_user(buf, hwbuf, frames_to_bytes(runtime, frames)))
2163 char *hwbuf;
2168 hwbuf = runtime->dma_area + (c * dma_csize) + samples_to_bytes(runtime, hwoff);
2170 if (copy_to_user(buf, hwbuf, samples_to_bytes(runtime, frames)))