Lines Matching refs:channel_buf
3919 char *channel_buf; in snd_hdsp_playback_copy() local
3924 channel_buf = hdsp_channel_buffer_location (hdsp, substream->pstr->stream, channel); in snd_hdsp_playback_copy()
3925 if (snd_BUG_ON(!channel_buf)) in snd_hdsp_playback_copy()
3927 if (copy_from_user(channel_buf + pos * 4, src, count * 4)) in snd_hdsp_playback_copy()
3936 char *channel_buf; in snd_hdsp_capture_copy() local
3941 channel_buf = hdsp_channel_buffer_location (hdsp, substream->pstr->stream, channel); in snd_hdsp_capture_copy()
3942 if (snd_BUG_ON(!channel_buf)) in snd_hdsp_capture_copy()
3944 if (copy_to_user(dst, channel_buf + pos * 4, count * 4)) in snd_hdsp_capture_copy()
3953 char *channel_buf; in snd_hdsp_hw_silence() local
3955 channel_buf = hdsp_channel_buffer_location (hdsp, substream->pstr->stream, channel); in snd_hdsp_hw_silence()
3956 if (snd_BUG_ON(!channel_buf)) in snd_hdsp_hw_silence()
3958 memset(channel_buf + pos * 4, 0, count * 4); in snd_hdsp_hw_silence()