Lines Matching full:runtime

211 	struct snd_pcm_runtime *runtime = substream->runtime;  in q6asm_dai_prepare()  local
213 struct q6asm_dai_rtd *prtd = runtime->private_data; in q6asm_dai_prepare()
276 prtd->audio_client, runtime->rate, in q6asm_dai_prepare()
277 runtime->channels, NULL, in q6asm_dai_prepare()
281 runtime->rate, runtime->channels, in q6asm_dai_prepare()
285 for (i = 0; i < runtime->periods; i++) in q6asm_dai_prepare()
300 struct snd_pcm_runtime *runtime = substream->runtime; in q6asm_dai_trigger() local
301 struct q6asm_dai_rtd *prtd = runtime->private_data; in q6asm_dai_trigger()
327 struct snd_pcm_runtime *runtime = substream->runtime; in q6asm_dai_open() local
361 runtime->hw = q6asm_dai_hardware_playback; in q6asm_dai_open()
363 runtime->hw = q6asm_dai_hardware_capture; in q6asm_dai_open()
365 ret = snd_pcm_hw_constraint_list(runtime, 0, in q6asm_dai_open()
371 ret = snd_pcm_hw_constraint_integer(runtime, in q6asm_dai_open()
377 ret = snd_pcm_hw_constraint_minmax(runtime, in q6asm_dai_open()
387 ret = snd_pcm_hw_constraint_step(runtime, 0, in q6asm_dai_open()
393 ret = snd_pcm_hw_constraint_step(runtime, 0, in q6asm_dai_open()
400 runtime->private_data = prtd; in q6asm_dai_open()
404 runtime->dma_bytes = q6asm_dai_hardware_playback.buffer_bytes_max; in q6asm_dai_open()
419 struct snd_pcm_runtime *runtime = substream->runtime; in q6asm_dai_close() local
421 struct q6asm_dai_rtd *prtd = runtime->private_data; in q6asm_dai_close()
441 struct snd_pcm_runtime *runtime = substream->runtime; in q6asm_dai_pointer() local
442 struct q6asm_dai_rtd *prtd = runtime->private_data; in q6asm_dai_pointer()
447 return bytes_to_frames(runtime, (prtd->pcm_irq_pos)); in q6asm_dai_pointer()
454 struct snd_pcm_runtime *runtime = substream->runtime; in q6asm_dai_mmap() local
460 runtime->dma_area, runtime->dma_addr, in q6asm_dai_mmap()
461 runtime->dma_bytes); in q6asm_dai_mmap()
467 struct snd_pcm_runtime *runtime = substream->runtime; in q6asm_dai_hw_params() local
468 struct q6asm_dai_rtd *prtd = runtime->private_data; in q6asm_dai_hw_params()
551 struct snd_compr_runtime *runtime = stream->runtime; in q6asm_dai_compr_open() local
595 runtime->private_data = prtd; in q6asm_dai_compr_open()
609 struct snd_compr_runtime *runtime = stream->runtime; in q6asm_dai_compr_free() local
610 struct q6asm_dai_rtd *prtd = runtime->private_data; in q6asm_dai_compr_free()
632 struct snd_compr_runtime *runtime = stream->runtime; in q6asm_dai_compr_set_params() local
633 struct q6asm_dai_rtd *prtd = runtime->private_data; in q6asm_dai_compr_set_params()
652 prtd->periods = runtime->fragments; in q6asm_dai_compr_set_params()
653 prtd->pcm_count = runtime->fragment_size; in q6asm_dai_compr_set_params()
654 prtd->pcm_size = runtime->fragments * runtime->fragment_size; in q6asm_dai_compr_set_params()
692 struct snd_compr_runtime *runtime = stream->runtime; in q6asm_dai_compr_trigger() local
693 struct q6asm_dai_rtd *prtd = runtime->private_data; in q6asm_dai_compr_trigger()
721 struct snd_compr_runtime *runtime = stream->runtime; in q6asm_dai_compr_pointer() local
722 struct q6asm_dai_rtd *prtd = runtime->private_data; in q6asm_dai_compr_pointer()
738 struct snd_compr_runtime *runtime = stream->runtime; in q6asm_dai_compr_ack() local
739 struct q6asm_dai_rtd *prtd = runtime->private_data; in q6asm_dai_compr_ack()
752 struct snd_compr_runtime *runtime = stream->runtime; in q6asm_dai_compr_mmap() local
753 struct q6asm_dai_rtd *prtd = runtime->private_data; in q6asm_dai_compr_mmap()