Lines Matching defs:is_capture
101 int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE);
106 err = lx_pipe_allocate(chip, 0, is_capture, channels);
127 int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE);
130 err = lx_stream_set_format(chip, runtime, 0, is_capture);
137 err = lx_pipe_start(chip, 0, is_capture);
144 err = lx_pipe_wait_for_start(chip, 0, is_capture);
158 int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE);
161 err = lx_pipe_pause(chip, 0, is_capture);
168 err = lx_pipe_wait_for_idle(chip, 0, is_capture);
175 err = lx_pipe_stop(chip, 0, is_capture);
189 int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE);
192 err = lx_pipe_release(chip, 0, is_capture);
271 int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE);
273 struct lx_stream *lx_stream = is_capture ? &chip->capture_stream :
290 const int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE);
296 if (chip->hardware_running[is_capture]) {
327 chip->hardware_running[is_capture] = 1;
340 struct snd_pcm_hw_params *hw_params, int is_capture)
348 if (is_capture)
373 int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE);
378 if (chip->hardware_running[is_capture]) {
393 chip->hardware_running[is_capture] = 0;
396 if (is_capture)
409 const unsigned int is_capture = lx_stream->is_capture;
428 err = lx_buffer_ask(chip, 0, is_capture, &needed, &freed,
433 err = lx_buffer_give(chip, 0, is_capture, period_bytes,
442 err = lx_buffer_ask(chip, 0, is_capture, &needed, &freed, size_array);
446 err = lx_stream_start(chip, 0, is_capture);
457 const unsigned int is_capture = lx_stream->is_capture;
461 err = lx_stream_stop(chip, 0, is_capture);
518 const int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE);
519 struct lx_stream *stream = is_capture ? &chip->capture_stream :
823 chip->capture_stream.is_capture = 1;