Lines Matching refs:substream

51 static int snd_usbtv_pcm_open(struct snd_pcm_substream *substream)  in snd_usbtv_pcm_open()  argument
53 struct usbtv *chip = snd_pcm_substream_chip(substream); in snd_usbtv_pcm_open()
54 struct snd_pcm_runtime *runtime = substream->runtime; in snd_usbtv_pcm_open()
56 chip->snd_substream = substream; in snd_usbtv_pcm_open()
62 static int snd_usbtv_pcm_close(struct snd_pcm_substream *substream) in snd_usbtv_pcm_close() argument
64 struct usbtv *chip = snd_pcm_substream_chip(substream); in snd_usbtv_pcm_close()
74 static int snd_usbtv_hw_params(struct snd_pcm_substream *substream, in snd_usbtv_hw_params() argument
78 struct usbtv *chip = snd_pcm_substream_chip(substream); in snd_usbtv_hw_params()
80 rv = snd_pcm_lib_malloc_pages(substream, in snd_usbtv_hw_params()
92 static int snd_usbtv_hw_free(struct snd_pcm_substream *substream) in snd_usbtv_hw_free() argument
94 snd_pcm_lib_free_pages(substream); in snd_usbtv_hw_free()
98 static int snd_usbtv_prepare(struct snd_pcm_substream *substream) in snd_usbtv_prepare() argument
100 struct usbtv *chip = snd_pcm_substream_chip(substream); in snd_usbtv_prepare()
111 struct snd_pcm_substream *substream = chip->snd_substream; in usbtv_audio_urb_received() local
112 struct snd_pcm_runtime *runtime = substream->runtime; in usbtv_audio_urb_received()
168 snd_pcm_stream_lock(substream); in usbtv_audio_urb_received()
173 snd_pcm_stream_unlock(substream); in usbtv_audio_urb_received()
176 snd_pcm_period_elapsed(substream); in usbtv_audio_urb_received()
287 static int snd_usbtv_card_trigger(struct snd_pcm_substream *substream, int cmd) in snd_usbtv_card_trigger() argument
289 struct usbtv *chip = snd_pcm_substream_chip(substream); in snd_usbtv_card_trigger()
311 static snd_pcm_uframes_t snd_usbtv_pointer(struct snd_pcm_substream *substream) in snd_usbtv_pointer() argument
313 struct usbtv *chip = snd_pcm_substream_chip(substream); in snd_usbtv_pointer()