Lines Matching refs:soc_runtime

195 	struct snd_soc_pcm_runtime *soc_runtime = snd_soc_substream_to_rtd(substream);  in lpass_platform_pcmops_open()  local
196 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(soc_runtime, 0); in lpass_platform_pcmops_open()
251 dev_err(soc_runtime->dev, "error writing to rdmactl reg: %d\n", ret); in lpass_platform_pcmops_open()
275 dev_err(soc_runtime->dev, "setting constraints failed: %d\n", in lpass_platform_pcmops_open()
287 struct snd_soc_pcm_runtime *soc_runtime = snd_soc_substream_to_rtd(substream); in lpass_platform_pcmops_close() local
288 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(soc_runtime, 0); in lpass_platform_pcmops_close()
324 struct snd_soc_pcm_runtime *soc_runtime = snd_soc_substream_to_rtd(substream); in __lpass_get_dmactl_handle() local
325 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(soc_runtime, 0); in __lpass_get_dmactl_handle()
356 struct snd_soc_pcm_runtime *soc_runtime = snd_soc_substream_to_rtd(substream); in __lpass_get_id() local
357 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(soc_runtime, 0); in __lpass_get_id()
391 struct snd_soc_pcm_runtime *soc_runtime = snd_soc_substream_to_rtd(substream); in __lpass_get_regmap_handle() local
392 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(soc_runtime, 0); in __lpass_get_regmap_handle()
419 struct snd_soc_pcm_runtime *soc_runtime = snd_soc_substream_to_rtd(substream); in lpass_platform_pcmops_hw_params() local
420 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(soc_runtime, 0); in lpass_platform_pcmops_hw_params()
439 dev_err(soc_runtime->dev, "invalid bit width given: %d\n", in lpass_platform_pcmops_hw_params()
446 dev_err(soc_runtime->dev, "error updating bursten field: %d\n", ret); in lpass_platform_pcmops_hw_params()
452 dev_err(soc_runtime->dev, "error updating fifowm field: %d\n", ret); in lpass_platform_pcmops_hw_params()
461 dev_err(soc_runtime->dev, "error updating burst8en field: %d\n", ret); in lpass_platform_pcmops_hw_params()
467 dev_err(soc_runtime->dev, "error updating burst16en field: %d\n", ret); in lpass_platform_pcmops_hw_params()
473 dev_err(soc_runtime->dev, "error updating dynbursten field: %d\n", ret); in lpass_platform_pcmops_hw_params()
485 dev_err(soc_runtime->dev, "error updating audio interface field: %d\n", in lpass_platform_pcmops_hw_params()
496 dev_err(soc_runtime->dev, "%s: invalid interface: %d\n", __func__, dai_id); in lpass_platform_pcmops_hw_params()
516 dev_err(soc_runtime->dev, "invalid PCM config given: bw=%d, ch=%u\n", in lpass_platform_pcmops_hw_params()
548 dev_err(soc_runtime->dev, "invalid PCM config given: bw=%d, ch=%u\n", in lpass_platform_pcmops_hw_params()
554 dev_err(soc_runtime->dev, "invalid PCM config given: bw=%d, ch=%u\n", in lpass_platform_pcmops_hw_params()
561 dev_err(soc_runtime->dev, "error writing to dmactl reg: %d\n", in lpass_platform_pcmops_hw_params()
572 struct snd_soc_pcm_runtime *soc_runtime = snd_soc_substream_to_rtd(substream); in lpass_platform_pcmops_hw_free() local
573 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(soc_runtime, 0); in lpass_platform_pcmops_hw_free()
590 dev_err(soc_runtime->dev, "error writing to rdmactl reg: %d\n", in lpass_platform_pcmops_hw_free()
600 struct snd_soc_pcm_runtime *soc_runtime = snd_soc_substream_to_rtd(substream); in lpass_platform_pcmops_prepare() local
601 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(soc_runtime, 0); in lpass_platform_pcmops_prepare()
620 dev_err(soc_runtime->dev, "error writing to rdmabase reg: %d\n", in lpass_platform_pcmops_prepare()
628 dev_err(soc_runtime->dev, "error writing to rdmabuff reg: %d\n", in lpass_platform_pcmops_prepare()
636 dev_err(soc_runtime->dev, "error writing to rdmaper reg: %d\n", in lpass_platform_pcmops_prepare()
644 dev_err(soc_runtime->dev, "error writing fifowm field to dmactl reg: %d, id: %d\n", in lpass_platform_pcmops_prepare()
651 dev_err(soc_runtime->dev, "error writing to rdmactl reg: %d\n", in lpass_platform_pcmops_prepare()
663 struct snd_soc_pcm_runtime *soc_runtime = snd_soc_substream_to_rtd(substream); in lpass_platform_pcmops_trigger() local
664 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(soc_runtime, 0); in lpass_platform_pcmops_trigger()
688 dev_err(soc_runtime->dev, in lpass_platform_pcmops_trigger()
697 dev_err(soc_runtime->dev, in lpass_platform_pcmops_trigger()
734 dev_err(soc_runtime->dev, in lpass_platform_pcmops_trigger()
748 dev_err(soc_runtime->dev, in lpass_platform_pcmops_trigger()
760 dev_err(soc_runtime->dev, "%s: invalid %d interface\n", __func__, dai_id); in lpass_platform_pcmops_trigger()
766 dev_err(soc_runtime->dev, "error writing to irqclear reg: %d\n", ret); in lpass_platform_pcmops_trigger()
771 dev_err(soc_runtime->dev, "error writing to irqen reg: %d\n", ret); in lpass_platform_pcmops_trigger()
781 dev_err(soc_runtime->dev, in lpass_platform_pcmops_trigger()
790 dev_err(soc_runtime->dev, in lpass_platform_pcmops_trigger()
814 dev_err(soc_runtime->dev, in lpass_platform_pcmops_trigger()
829 dev_err(soc_runtime->dev, in lpass_platform_pcmops_trigger()
842 dev_err(soc_runtime->dev, "%s: invalid %d interface\n", __func__, dai_id); in lpass_platform_pcmops_trigger()
848 dev_err(soc_runtime->dev, in lpass_platform_pcmops_trigger()
862 struct snd_soc_pcm_runtime *soc_runtime = snd_soc_substream_to_rtd(substream); in lpass_platform_pcmops_pointer() local
863 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(soc_runtime, 0); in lpass_platform_pcmops_pointer()
879 dev_err(soc_runtime->dev, in lpass_platform_pcmops_pointer()
887 dev_err(soc_runtime->dev, in lpass_platform_pcmops_pointer()
914 struct snd_soc_pcm_runtime *soc_runtime = snd_soc_substream_to_rtd(substream); in lpass_platform_pcmops_mmap() local
915 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(soc_runtime, 0); in lpass_platform_pcmops_mmap()
929 struct snd_soc_pcm_runtime *soc_runtime = snd_soc_substream_to_rtd(substream); in lpass_dma_interrupt_handler() local
930 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(soc_runtime, 0); in lpass_dma_interrupt_handler()
968 dev_err(soc_runtime->dev, "%s: invalid %d interface\n", __func__, dai_id); in lpass_dma_interrupt_handler()
974 dev_err(soc_runtime->dev, in lpass_dma_interrupt_handler()
985 dev_err(soc_runtime->dev, in lpass_dma_interrupt_handler()
989 dev_warn_ratelimited(soc_runtime->dev, "xrun warning\n"); in lpass_dma_interrupt_handler()
998 dev_err(soc_runtime->dev, in lpass_dma_interrupt_handler()
1002 dev_err(soc_runtime->dev, "bus access error\n"); in lpass_dma_interrupt_handler()
1010 dev_err(soc_runtime->dev, in lpass_dma_interrupt_handler()
1169 struct snd_soc_pcm_runtime *soc_runtime) in lpass_platform_pcm_new() argument
1171 struct snd_pcm *pcm = soc_runtime->pcm; in lpass_platform_pcm_new()
1172 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(soc_runtime, 0); in lpass_platform_pcm_new()