• Home
  • Raw
  • Download

Lines Matching refs:is_capture

111 	int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE);  in lx_hardware_open()  local
116 err = lx_pipe_allocate(chip, 0, is_capture, channels); in lx_hardware_open()
137 int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE); in lx_hardware_start() local
140 err = lx_stream_set_format(chip, runtime, 0, is_capture); in lx_hardware_start()
147 err = lx_pipe_start(chip, 0, is_capture); in lx_hardware_start()
154 err = lx_pipe_wait_for_start(chip, 0, is_capture); in lx_hardware_start()
168 int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE); in lx_hardware_stop() local
171 err = lx_pipe_pause(chip, 0, is_capture); in lx_hardware_stop()
178 err = lx_pipe_wait_for_idle(chip, 0, is_capture); in lx_hardware_stop()
185 err = lx_pipe_stop(chip, 0, is_capture); in lx_hardware_stop()
199 int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE); in lx_hardware_close() local
202 err = lx_pipe_release(chip, 0, is_capture); in lx_hardware_close()
283 int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE); in lx_pcm_stream_pointer() local
285 struct lx_stream *lx_stream = is_capture ? &chip->capture_stream : in lx_pcm_stream_pointer()
302 const int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE); in lx_pcm_prepare() local
308 if (chip->hardware_running[is_capture]) { in lx_pcm_prepare()
339 chip->hardware_running[is_capture] = 1; in lx_pcm_prepare()
352 struct snd_pcm_hw_params *hw_params, int is_capture) in lx_pcm_hw_params() argument
365 if (is_capture) in lx_pcm_hw_params()
390 int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE); in lx_pcm_hw_free() local
395 if (chip->hardware_running[is_capture]) { in lx_pcm_hw_free()
410 chip->hardware_running[is_capture] = 0; in lx_pcm_hw_free()
415 if (is_capture) in lx_pcm_hw_free()
428 const unsigned int is_capture = lx_stream->is_capture; in lx_trigger_start() local
447 err = lx_buffer_ask(chip, 0, is_capture, &needed, &freed, in lx_trigger_start()
452 err = lx_buffer_give(chip, 0, is_capture, period_bytes, in lx_trigger_start()
461 err = lx_buffer_ask(chip, 0, is_capture, &needed, &freed, size_array); in lx_trigger_start()
465 err = lx_stream_start(chip, 0, is_capture); in lx_trigger_start()
476 const unsigned int is_capture = lx_stream->is_capture; in lx_trigger_stop() local
480 err = lx_stream_stop(chip, 0, is_capture); in lx_trigger_stop()
546 const int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE); in lx_pcm_trigger() local
547 struct lx_stream *stream = is_capture ? &chip->capture_stream : in lx_pcm_trigger()
872 chip->capture_stream.is_capture = 1; in lx_pcm_create()