Lines Matching refs:substream

145 	if (azx_dev->substream)  in snd_hdac_stream_setup()
146 runtime = azx_dev->substream->runtime; in snd_hdac_stream_setup()
238 struct snd_pcm_substream *substream) in snd_hdac_stream_assign() argument
244 int key = (substream->pcm->device << 16) | (substream->number << 2) | in snd_hdac_stream_assign()
245 (substream->stream + 1); in snd_hdac_stream_assign()
248 if (azx_dev->direction != substream->stream) in snd_hdac_stream_assign()
264 res->substream = substream; in snd_hdac_stream_assign()
284 azx_dev->substream = NULL; in snd_hdac_stream_release()
365 struct snd_pcm_substream *substream = azx_dev->substream; in snd_hdac_stream_setup_periods() local
366 struct snd_pcm_runtime *runtime = substream->runtime; in snd_hdac_stream_setup_periods()
398 ofs = setup_bdle(bus, snd_pcm_get_dma_buf(substream), in snd_hdac_stream_setup_periods()
409 ofs = setup_bdle(bus, snd_pcm_get_dma_buf(substream), in snd_hdac_stream_setup_periods()
413 ofs = setup_bdle(bus, snd_pcm_get_dma_buf(substream), in snd_hdac_stream_setup_periods()
442 struct snd_pcm_substream *substream = azx_dev->substream; in snd_hdac_stream_set_params() local
446 if (!substream) in snd_hdac_stream_set_params()
448 runtime = substream->runtime; in snd_hdac_stream_set_params()
449 bufsize = snd_pcm_lib_buffer_bytes(substream); in snd_hdac_stream_set_params()
450 period_bytes = snd_pcm_lib_period_bytes(substream); in snd_hdac_stream_set_params()
523 struct snd_pcm_runtime *runtime = azx_dev->substream->runtime; in snd_hdac_stream_timecounter_init()
642 azx_dev->substream = NULL; in snd_hdac_dsp_prepare()