Lines Matching refs:pipe
167 struct pcxhr_pipe *pipe, in pcxhr_dsp_allocate_pipe() argument
186 pipe->is_capture = is_capture; in pcxhr_dsp_allocate_pipe()
187 pipe->first_audio = pin; in pcxhr_dsp_allocate_pipe()
203 pipe->status = PCXHR_PIPE_DEFINED; in pcxhr_dsp_allocate_pipe()
212 static int pcxhr_dsp_free_pipe( struct pcxhr_mgr *mgr, struct pcxhr_pipe *pipe)
219 if (pipe->is_capture)
220 capture_mask = (1 << pipe->first_audio);
222 playback_mask = (1 << pipe->first_audio);
230 pcxhr_set_pipe_cmd_params(&rmh, pipe->is_capture, pipe->first_audio,
236 pipe->status = PCXHR_PIPE_UNDEFINED;
246 struct pcxhr_pipe *pipe; in pcxhr_config_pipes() local
252 pipe = &chip->playback_pipe; in pcxhr_config_pipes()
253 err = pcxhr_dsp_allocate_pipe( mgr, pipe, 0, i*2); in pcxhr_config_pipes()
257 chip->playback_stream[j].pipe = pipe; in pcxhr_config_pipes()
260 pipe = &chip->capture_pipe[j]; in pcxhr_config_pipes()
261 err = pcxhr_dsp_allocate_pipe(mgr, pipe, 1, i*2 + j); in pcxhr_config_pipes()
264 chip->capture_stream[j].pipe = pipe; in pcxhr_config_pipes()