Lines Matching defs:is_capture

103 	int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE);
108 err = lx_pipe_allocate(chip, 0, is_capture, channels);
129 int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE);
132 err = lx_stream_set_format(chip, runtime, 0, is_capture);
139 err = lx_pipe_start(chip, 0, is_capture);
146 err = lx_pipe_wait_for_start(chip, 0, is_capture);
160 int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE);
163 err = lx_pipe_pause(chip, 0, is_capture);
170 err = lx_pipe_wait_for_idle(chip, 0, is_capture);
177 err = lx_pipe_stop(chip, 0, is_capture);
191 int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE);
194 err = lx_pipe_release(chip, 0, is_capture);
273 int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE);
275 struct lx_stream *lx_stream = is_capture ? &chip->capture_stream :
292 const int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE);
298 if (chip->hardware_running[is_capture]) {
329 chip->hardware_running[is_capture] = 1;
342 struct snd_pcm_hw_params *hw_params, int is_capture)
350 if (is_capture)
375 int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE);
380 if (chip->hardware_running[is_capture]) {
395 chip->hardware_running[is_capture] = 0;
398 if (is_capture)
411 const unsigned int is_capture = lx_stream->is_capture;
430 err = lx_buffer_ask(chip, 0, is_capture, &needed, &freed,
435 err = lx_buffer_give(chip, 0, is_capture, period_bytes,
444 err = lx_buffer_ask(chip, 0, is_capture, &needed, &freed, size_array);
448 err = lx_stream_start(chip, 0, is_capture);
459 const unsigned int is_capture = lx_stream->is_capture;
463 err = lx_stream_stop(chip, 0, is_capture);
520 const int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE);
521 struct lx_stream *stream = is_capture ? &chip->capture_stream :
843 chip->capture_stream.is_capture = 1;