Home
last modified time | relevance | path

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

/sound/pci/echoaudio/
Dechoaudio_dsp.c781 static void set_audio_format(struct echoaudio *chip, u16 pipe_index, in set_audio_format() argument
849 "set_audio_format[%d] = %x\n", pipe_index, dsp_format); in set_audio_format()
850 chip->comm_page->audio_format[pipe_index] = cpu_to_le16(dsp_format); in set_audio_format()
937 static inline int is_pipe_allocated(struct echoaudio *chip, u16 pipe_index) in is_pipe_allocated() argument
939 return (chip->pipe_alloc_mask & (1 << pipe_index)); in is_pipe_allocated()
1055 int pipe_index, int interleave) in allocate_pipes() argument
1061 "allocate_pipes: ch=%d int=%d\n", pipe_index, interleave); in allocate_pipes()
1067 channel_mask |= 1 << (pipe_index + i); in allocate_pipes()
1074 chip->comm_page->position[pipe_index] = 0; in allocate_pipes()
1078 pipe->index = pipe_index; in allocate_pipes()
[all …]
Dechoaudio.c538 int pipe_index, int interleave) in init_engine() argument
558 err = allocate_pipes(chip, pipe, pipe_index, interleave); in init_engine()
562 pipe_index, err); in init_engine()
566 dev_dbg(chip->card->dev, "allocate_pipes()=%d\n", pipe_index); in init_engine()
611 chip->substream[pipe_index] = substream; in init_engine()
696 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()
736 if (snd_BUG_ON(!is_pipe_allocated(chip, pipe_index))) { in pcm_prepare()
741 set_audio_format(chip, pipe_index, &format); in pcm_prepare()