Lines Matching refs:pipe
154 struct pcxhr_pipe *pipe, in pcxhr_dsp_allocate_pipe() argument
173 pipe->is_capture = is_capture; in pcxhr_dsp_allocate_pipe()
174 pipe->first_audio = pin; in pcxhr_dsp_allocate_pipe()
190 pipe->status = PCXHR_PIPE_DEFINED; in pcxhr_dsp_allocate_pipe()
199 static int pcxhr_dsp_free_pipe( struct pcxhr_mgr *mgr, struct pcxhr_pipe *pipe)
206 if (pipe->is_capture)
207 capture_mask = (1 << pipe->first_audio);
209 playback_mask = (1 << pipe->first_audio);
217 pcxhr_set_pipe_cmd_params(&rmh, pipe->is_capture, pipe->first_audio,
223 pipe->status = PCXHR_PIPE_UNDEFINED;
233 struct pcxhr_pipe *pipe; in pcxhr_config_pipes() local
239 pipe = &chip->playback_pipe; in pcxhr_config_pipes()
240 err = pcxhr_dsp_allocate_pipe( mgr, pipe, 0, i*2); in pcxhr_config_pipes()
244 chip->playback_stream[j].pipe = pipe; in pcxhr_config_pipes()
247 pipe = &chip->capture_pipe[j]; in pcxhr_config_pipes()
248 err = pcxhr_dsp_allocate_pipe(mgr, pipe, 1, i*2 + j); in pcxhr_config_pipes()
251 chip->capture_stream[j].pipe = pipe; in pcxhr_config_pipes()