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 1064 "allocate_pipes: ch=%d int=%d\n", pipe_index, interleave); in allocate_pipes() 1072 channel_mask |= 1 << (pipe_index + i); in allocate_pipes() 1079 chip->comm_page->position[pipe_index] = 0; in allocate_pipes() 1083 pipe->index = pipe_index; in allocate_pipes() [all …]
|
D | echoaudio.c | 528 int pipe_index, int interleave) in init_engine() argument 548 err = allocate_pipes(chip, pipe, pipe_index, interleave); in init_engine() 552 pipe_index, err); in init_engine() 556 dev_dbg(chip->card->dev, "allocate_pipes()=%d\n", pipe_index); in init_engine() 607 chip->last_period[pipe_index] = 0; in init_engine() 611 chip->substream[pipe_index] = substream; in init_engine() 697 int pipe_index = ((struct audiopipe *)runtime->private_data)->index; in pcm_prepare() local 726 if (snd_BUG_ON(pipe_index >= px_num(chip))) in pcm_prepare() 728 if (snd_BUG_ON(!is_pipe_allocated(chip, pipe_index))) in pcm_prepare() 730 set_audio_format(chip, pipe_index, &format); in pcm_prepare()
|