Searched refs:pipe_index (Results 1 – 2 of 2) sorted by relevance
/sound/pci/echoaudio/ |
D | echoaudio_dsp.c | 783 static void set_audio_format(struct echoaudio *chip, u16 pipe_index, in set_audio_format() argument 851 "set_audio_format[%d] = %x\n", pipe_index, dsp_format); in set_audio_format() 852 chip->comm_page->audio_format[pipe_index] = cpu_to_le16(dsp_format); in set_audio_format() 939 static inline int is_pipe_allocated(struct echoaudio *chip, u16 pipe_index) in is_pipe_allocated() argument 941 return (chip->pipe_alloc_mask & (1 << pipe_index)); in is_pipe_allocated() 1057 int pipe_index, int interleave) in allocate_pipes() argument 1063 "allocate_pipes: ch=%d int=%d\n", pipe_index, interleave); in allocate_pipes() 1069 channel_mask |= 1 << (pipe_index + i); in allocate_pipes() 1076 chip->comm_page->position[pipe_index] = 0; in allocate_pipes() 1080 pipe->index = pipe_index; in allocate_pipes() [all …]
|
D | echoaudio.c | 516 int pipe_index, int interleave) in init_engine() argument 536 err = allocate_pipes(chip, pipe, pipe_index, interleave); in init_engine() 540 pipe_index, err); in init_engine() 544 dev_dbg(chip->card->dev, "allocate_pipes()=%d\n", pipe_index); in init_engine() 595 chip->last_period[pipe_index] = 0; in init_engine() 599 chip->substream[pipe_index] = substream; in init_engine() 685 int pipe_index = ((struct audiopipe *)runtime->private_data)->index; in pcm_prepare() local 715 if (snd_BUG_ON(pipe_index >= px_num(chip))) in pcm_prepare() 717 if (snd_BUG_ON(!is_pipe_allocated(chip, pipe_index))) in pcm_prepare() 719 set_audio_format(chip, pipe_index, &format); in pcm_prepare()
|