Lines Matching refs:channel_buf
3920 char *channel_buf; in snd_hdsp_playback_copy() local
3925 channel_buf = hdsp_channel_buffer_location (hdsp, substream->pstr->stream, channel); in snd_hdsp_playback_copy()
3926 if (snd_BUG_ON(!channel_buf)) in snd_hdsp_playback_copy()
3928 if (copy_from_user(channel_buf + pos * 4, src, count * 4)) in snd_hdsp_playback_copy()
3937 char *channel_buf; in snd_hdsp_capture_copy() local
3942 channel_buf = hdsp_channel_buffer_location (hdsp, substream->pstr->stream, channel); in snd_hdsp_capture_copy()
3943 if (snd_BUG_ON(!channel_buf)) in snd_hdsp_capture_copy()
3945 if (copy_to_user(dst, channel_buf + pos * 4, count * 4)) in snd_hdsp_capture_copy()
3954 char *channel_buf; in snd_hdsp_hw_silence() local
3956 channel_buf = hdsp_channel_buffer_location (hdsp, substream->pstr->stream, channel); in snd_hdsp_hw_silence()
3957 if (snd_BUG_ON(!channel_buf)) in snd_hdsp_hw_silence()
3959 memset(channel_buf + pos * 4, 0, count * 4); in snd_hdsp_hw_silence()