Home
last modified time | relevance | path

Searched refs:pipe_index (Results 1 – 2 of 2) sorted by relevance

/sound/pci/echoaudio/
Dechoaudio_dsp.c777 static void set_audio_format(struct echoaudio *chip, u16 pipe_index, in set_audio_format() argument
845 "set_audio_format[%d] = %x\n", pipe_index, dsp_format); in set_audio_format()
846 chip->comm_page->audio_format[pipe_index] = cpu_to_le16(dsp_format); in set_audio_format()
933 static inline int is_pipe_allocated(struct echoaudio *chip, u16 pipe_index) in is_pipe_allocated() argument
935 return (chip->pipe_alloc_mask & (1 << pipe_index)); in is_pipe_allocated()
1051 int pipe_index, int interleave) in allocate_pipes() argument
1057 "allocate_pipes: ch=%d int=%d\n", pipe_index, interleave); in allocate_pipes()
1063 channel_mask |= 1 << (pipe_index + i); in allocate_pipes()
1070 chip->comm_page->position[pipe_index] = 0; in allocate_pipes()
1074 pipe->index = pipe_index; in allocate_pipes()
[all …]
Dechoaudio.c525 int pipe_index, int interleave) in init_engine() argument
545 err = allocate_pipes(chip, pipe, pipe_index, interleave); in init_engine()
549 pipe_index, err); in init_engine()
553 dev_dbg(chip->card->dev, "allocate_pipes()=%d\n", pipe_index); in init_engine()
598 chip->substream[pipe_index] = substream; in init_engine()
683 int pipe_index = ((struct audiopipe *)runtime->private_data)->index; in pcm_prepare() local
713 if (snd_BUG_ON(pipe_index >= px_num(chip))) in pcm_prepare()
723 if (snd_BUG_ON(!is_pipe_allocated(chip, pipe_index))) { in pcm_prepare()
728 set_audio_format(chip, pipe_index, &format); in pcm_prepare()