Lines Matching refs:soc_runtime

56 	struct snd_soc_pcm_runtime *soc_runtime = substream->private_data;  in lpass_platform_pcmops_open()  local
57 struct snd_soc_dai *cpu_dai = soc_runtime->cpu_dai; in lpass_platform_pcmops_open()
58 struct snd_soc_component *component = snd_soc_rtdcom_lookup(soc_runtime, DRV_NAME); in lpass_platform_pcmops_open()
64 data = devm_kzalloc(soc_runtime->dev, sizeof(*data), GFP_KERNEL); in lpass_platform_pcmops_open()
84 dev_err(soc_runtime->dev, in lpass_platform_pcmops_open()
98 dev_err(soc_runtime->dev, "setting constraints failed: %d\n", in lpass_platform_pcmops_open()
111 struct snd_soc_pcm_runtime *soc_runtime = substream->private_data; in lpass_platform_pcmops_close() local
112 struct snd_soc_component *component = snd_soc_rtdcom_lookup(soc_runtime, DRV_NAME); in lpass_platform_pcmops_close()
128 struct snd_soc_pcm_runtime *soc_runtime = substream->private_data; in lpass_platform_pcmops_hw_params() local
129 struct snd_soc_component *component = snd_soc_rtdcom_lookup(soc_runtime, DRV_NAME); in lpass_platform_pcmops_hw_params()
145 dev_err(soc_runtime->dev, "invalid bit width given: %d\n", in lpass_platform_pcmops_hw_params()
171 dev_err(soc_runtime->dev, in lpass_platform_pcmops_hw_params()
196 dev_err(soc_runtime->dev, in lpass_platform_pcmops_hw_params()
203 dev_err(soc_runtime->dev, "invalid PCM config given: bw=%d, ch=%u\n", in lpass_platform_pcmops_hw_params()
211 dev_err(soc_runtime->dev, "error writing to rdmactl reg: %d\n", in lpass_platform_pcmops_hw_params()
221 struct snd_soc_pcm_runtime *soc_runtime = substream->private_data; in lpass_platform_pcmops_hw_free() local
222 struct snd_soc_component *component = snd_soc_rtdcom_lookup(soc_runtime, DRV_NAME); in lpass_platform_pcmops_hw_free()
233 dev_err(soc_runtime->dev, "error writing to rdmactl reg: %d\n", in lpass_platform_pcmops_hw_free()
242 struct snd_soc_pcm_runtime *soc_runtime = substream->private_data; in lpass_platform_pcmops_prepare() local
243 struct snd_soc_component *component = snd_soc_rtdcom_lookup(soc_runtime, DRV_NAME); in lpass_platform_pcmops_prepare()
256 dev_err(soc_runtime->dev, "error writing to rdmabase reg: %d\n", in lpass_platform_pcmops_prepare()
265 dev_err(soc_runtime->dev, "error writing to rdmabuff reg: %d\n", in lpass_platform_pcmops_prepare()
274 dev_err(soc_runtime->dev, "error writing to rdmaper reg: %d\n", in lpass_platform_pcmops_prepare()
283 dev_err(soc_runtime->dev, "error writing to rdmactl reg: %d\n", in lpass_platform_pcmops_prepare()
294 struct snd_soc_pcm_runtime *soc_runtime = substream->private_data; in lpass_platform_pcmops_trigger() local
295 struct snd_soc_component *component = snd_soc_rtdcom_lookup(soc_runtime, DRV_NAME); in lpass_platform_pcmops_trigger()
313 dev_err(soc_runtime->dev, in lpass_platform_pcmops_trigger()
323 dev_err(soc_runtime->dev, in lpass_platform_pcmops_trigger()
333 dev_err(soc_runtime->dev, in lpass_platform_pcmops_trigger()
346 dev_err(soc_runtime->dev, in lpass_platform_pcmops_trigger()
355 dev_err(soc_runtime->dev, in lpass_platform_pcmops_trigger()
368 struct snd_soc_pcm_runtime *soc_runtime = substream->private_data; in lpass_platform_pcmops_pointer() local
369 struct snd_soc_component *component = snd_soc_rtdcom_lookup(soc_runtime, DRV_NAME); in lpass_platform_pcmops_pointer()
382 dev_err(soc_runtime->dev, in lpass_platform_pcmops_pointer()
390 dev_err(soc_runtime->dev, in lpass_platform_pcmops_pointer()
425 struct snd_soc_pcm_runtime *soc_runtime = substream->private_data; in lpass_dma_interrupt_handler() local
435 dev_err(soc_runtime->dev, in lpass_dma_interrupt_handler()
448 dev_err(soc_runtime->dev, in lpass_dma_interrupt_handler()
452 dev_warn(soc_runtime->dev, "xrun warning\n"); in lpass_dma_interrupt_handler()
462 dev_err(soc_runtime->dev, in lpass_dma_interrupt_handler()
466 dev_err(soc_runtime->dev, "bus access error\n"); in lpass_dma_interrupt_handler()
502 static int lpass_platform_pcm_new(struct snd_soc_pcm_runtime *soc_runtime) in lpass_platform_pcm_new() argument
504 struct snd_pcm *pcm = soc_runtime->pcm; in lpass_platform_pcm_new()
506 struct snd_soc_component *component = snd_soc_rtdcom_lookup(soc_runtime, DRV_NAME); in lpass_platform_pcm_new()
516 dev_err(soc_runtime->dev, "Cannot allocate buffer(s)\n"); in lpass_platform_pcm_new()
527 dev_err(soc_runtime->dev, "Cannot allocate buffer(s)\n"); in lpass_platform_pcm_new()