Lines Matching refs:cpu_dai
74 struct snd_soc_dai *cpu_dai) in pxa_ssp_startup() argument
76 struct ssp_priv *priv = snd_soc_dai_get_drvdata(cpu_dai); in pxa_ssp_startup()
81 if (!snd_soc_dai_active(cpu_dai)) { in pxa_ssp_startup()
94 snd_soc_dai_set_dma_data(cpu_dai, substream, dma); in pxa_ssp_startup()
100 struct snd_soc_dai *cpu_dai) in pxa_ssp_shutdown() argument
102 struct ssp_priv *priv = snd_soc_dai_get_drvdata(cpu_dai); in pxa_ssp_shutdown()
105 if (!snd_soc_dai_active(cpu_dai)) { in pxa_ssp_shutdown()
112 kfree(snd_soc_dai_get_dma_data(cpu_dai, substream)); in pxa_ssp_shutdown()
113 snd_soc_dai_set_dma_data(cpu_dai, substream, NULL); in pxa_ssp_shutdown()
184 static int pxa_ssp_set_dai_sysclk(struct snd_soc_dai *cpu_dai, in pxa_ssp_set_dai_sysclk() argument
187 struct ssp_priv *priv = snd_soc_dai_get_drvdata(cpu_dai); in pxa_ssp_set_dai_sysclk()
210 cpu_dai->id, clk_id, freq); in pxa_ssp_set_dai_sysclk()
318 static int pxa_ssp_set_dai_tdm_slot(struct snd_soc_dai *cpu_dai, in pxa_ssp_set_dai_tdm_slot() argument
321 struct ssp_priv *priv = snd_soc_dai_get_drvdata(cpu_dai); in pxa_ssp_set_dai_tdm_slot()
353 static int pxa_ssp_set_dai_tristate(struct snd_soc_dai *cpu_dai, in pxa_ssp_set_dai_tristate() argument
356 struct ssp_priv *priv = snd_soc_dai_get_drvdata(cpu_dai); in pxa_ssp_set_dai_tristate()
370 static int pxa_ssp_set_dai_fmt(struct snd_soc_dai *cpu_dai, in pxa_ssp_set_dai_fmt() argument
373 struct ssp_priv *priv = snd_soc_dai_get_drvdata(cpu_dai); in pxa_ssp_set_dai_fmt()
533 struct snd_soc_dai *cpu_dai) in pxa_ssp_hw_params() argument
535 struct ssp_priv *priv = snd_soc_dai_get_drvdata(cpu_dai); in pxa_ssp_hw_params()
546 dma_data = snd_soc_dai_get_dma_data(cpu_dai, substream); in pxa_ssp_hw_params()
708 struct snd_soc_dai *cpu_dai) in pxa_ssp_trigger() argument
711 struct ssp_priv *priv = snd_soc_dai_get_drvdata(cpu_dai); in pxa_ssp_trigger()