• Home
  • Raw
  • Download

Lines Matching refs:substream

261 		snd_pcm_period_elapsed(chip->substream);  in cx23885_audio_irq()
320 static int snd_cx23885_pcm_open(struct snd_pcm_substream *substream) in snd_cx23885_pcm_open() argument
322 struct cx23885_audio_dev *chip = snd_pcm_substream_chip(substream); in snd_cx23885_pcm_open()
323 struct snd_pcm_runtime *runtime = substream->runtime; in snd_cx23885_pcm_open()
336 chip->substream = substream; in snd_cx23885_pcm_open()
358 static int snd_cx23885_close(struct snd_pcm_substream *substream) in snd_cx23885_close() argument
367 static int snd_cx23885_hw_params(struct snd_pcm_substream *substream, in snd_cx23885_hw_params() argument
370 struct cx23885_audio_dev *chip = snd_pcm_substream_chip(substream); in snd_cx23885_hw_params()
374 if (substream->runtime->dma_area) { in snd_cx23885_hw_params()
376 substream->runtime->dma_area = NULL; in snd_cx23885_hw_params()
412 substream->runtime->dma_area = chip->buf->vaddr; in snd_cx23885_hw_params()
413 substream->runtime->dma_bytes = chip->dma_size; in snd_cx23885_hw_params()
414 substream->runtime->dma_addr = 0; in snd_cx23885_hw_params()
427 static int snd_cx23885_hw_free(struct snd_pcm_substream *substream) in snd_cx23885_hw_free() argument
430 struct cx23885_audio_dev *chip = snd_pcm_substream_chip(substream); in snd_cx23885_hw_free()
432 if (substream->runtime->dma_area) { in snd_cx23885_hw_free()
434 substream->runtime->dma_area = NULL; in snd_cx23885_hw_free()
443 static int snd_cx23885_prepare(struct snd_pcm_substream *substream) in snd_cx23885_prepare() argument
451 static int snd_cx23885_card_trigger(struct snd_pcm_substream *substream, in snd_cx23885_card_trigger() argument
454 struct cx23885_audio_dev *chip = snd_pcm_substream_chip(substream); in snd_cx23885_card_trigger()
481 struct snd_pcm_substream *substream) in snd_cx23885_pointer() argument
483 struct cx23885_audio_dev *chip = snd_pcm_substream_chip(substream); in snd_cx23885_pointer()
484 struct snd_pcm_runtime *runtime = substream->runtime; in snd_cx23885_pointer()
495 static struct page *snd_cx23885_page(struct snd_pcm_substream *substream, in snd_cx23885_page() argument
498 void *pageptr = substream->runtime->dma_area + offset; in snd_cx23885_page()