• Home
  • Raw
  • Download

Lines Matching refs:substream

100 	struct snd_pcm_substream *substream;  in cx231xx_audio_isocirq()  local
124 substream = dev->adev.capture_pcm_substream; in cx231xx_audio_isocirq()
125 runtime = substream->runtime; in cx231xx_audio_isocirq()
151 snd_pcm_stream_lock(substream); in cx231xx_audio_isocirq()
166 snd_pcm_stream_unlock(substream); in cx231xx_audio_isocirq()
169 snd_pcm_period_elapsed(substream); in cx231xx_audio_isocirq()
190 struct snd_pcm_substream *substream; in cx231xx_audio_bulkirq() local
214 substream = dev->adev.capture_pcm_substream; in cx231xx_audio_bulkirq()
215 runtime = substream->runtime; in cx231xx_audio_bulkirq()
237 snd_pcm_stream_lock(substream); in cx231xx_audio_bulkirq()
252 snd_pcm_stream_unlock(substream); in cx231xx_audio_bulkirq()
255 snd_pcm_period_elapsed(substream); in cx231xx_audio_bulkirq()
427 static int snd_cx231xx_capture_open(struct snd_pcm_substream *substream) in snd_cx231xx_capture_open() argument
429 struct cx231xx *dev = snd_pcm_substream_chip(substream); in snd_cx231xx_capture_open()
430 struct snd_pcm_runtime *runtime = substream->runtime; in snd_cx231xx_capture_open()
467 dev->adev.capture_pcm_substream = substream; in snd_cx231xx_capture_open()
473 static int snd_cx231xx_pcm_close(struct snd_pcm_substream *substream) in snd_cx231xx_pcm_close() argument
476 struct cx231xx *dev = snd_pcm_substream_chip(substream); in snd_cx231xx_pcm_close()
496 if (substream->runtime->dma_area) { in snd_cx231xx_pcm_close()
498 vfree(substream->runtime->dma_area); in snd_cx231xx_pcm_close()
499 substream->runtime->dma_area = NULL; in snd_cx231xx_pcm_close()
516 static int snd_cx231xx_hw_capture_params(struct snd_pcm_substream *substream, in snd_cx231xx_hw_capture_params() argument
519 struct cx231xx *dev = snd_pcm_substream_chip(substream); in snd_cx231xx_hw_capture_params()
524 ret = snd_pcm_alloc_vmalloc_buffer(substream, in snd_cx231xx_hw_capture_params()
540 static int snd_cx231xx_hw_capture_free(struct snd_pcm_substream *substream) in snd_cx231xx_hw_capture_free() argument
542 struct cx231xx *dev = snd_pcm_substream_chip(substream); in snd_cx231xx_hw_capture_free()
554 static int snd_cx231xx_prepare(struct snd_pcm_substream *substream) in snd_cx231xx_prepare() argument
556 struct cx231xx *dev = snd_pcm_substream_chip(substream); in snd_cx231xx_prepare()
582 static int snd_cx231xx_capture_trigger(struct snd_pcm_substream *substream, in snd_cx231xx_capture_trigger() argument
585 struct cx231xx *dev = snd_pcm_substream_chip(substream); in snd_cx231xx_capture_trigger()
611 *substream) in snd_cx231xx_capture_pointer()
617 dev = snd_pcm_substream_chip(substream); in snd_cx231xx_capture_pointer()