Lines Matching refs:channel_buf
3969 signed char *channel_buf; in snd_hdsp_playback_copy() local
3974 channel_buf = hdsp_channel_buffer_location (hdsp, substream->pstr->stream, channel); in snd_hdsp_playback_copy()
3975 if (snd_BUG_ON(!channel_buf)) in snd_hdsp_playback_copy()
3977 if (copy_from_iter(channel_buf + pos, count, src) != count) in snd_hdsp_playback_copy()
3987 signed char *channel_buf; in snd_hdsp_capture_copy() local
3992 channel_buf = hdsp_channel_buffer_location (hdsp, substream->pstr->stream, channel); in snd_hdsp_capture_copy()
3993 if (snd_BUG_ON(!channel_buf)) in snd_hdsp_capture_copy()
3995 if (copy_to_iter(channel_buf + pos, count, dst) != count) in snd_hdsp_capture_copy()
4005 signed char *channel_buf; in snd_hdsp_hw_silence() local
4007 channel_buf = hdsp_channel_buffer_location (hdsp, substream->pstr->stream, channel); in snd_hdsp_hw_silence()
4008 if (snd_BUG_ON(!channel_buf)) in snd_hdsp_hw_silence()
4010 memset(channel_buf + pos, 0, count); in snd_hdsp_hw_silence()