Lines Matching refs:cpu_dai
60 static int mxs_saif_set_dai_sysclk(struct snd_soc_dai *cpu_dai, in mxs_saif_set_dai_sysclk() argument
63 struct mxs_saif *saif = snd_soc_dai_get_drvdata(cpu_dai); in mxs_saif_set_dai_sysclk()
290 static int mxs_saif_set_dai_fmt(struct snd_soc_dai *cpu_dai, unsigned int fmt) in mxs_saif_set_dai_fmt() argument
294 struct mxs_saif *saif = snd_soc_dai_get_drvdata(cpu_dai); in mxs_saif_set_dai_fmt()
298 dev_err(cpu_dai->dev, "error: busy\n"); in mxs_saif_set_dai_fmt()
368 struct snd_soc_dai *cpu_dai) in mxs_saif_startup() argument
370 struct mxs_saif *saif = snd_soc_dai_get_drvdata(cpu_dai); in mxs_saif_startup()
393 struct snd_soc_dai *cpu_dai) in mxs_saif_hw_params() argument
395 struct mxs_saif *saif = snd_soc_dai_get_drvdata(cpu_dai); in mxs_saif_hw_params()
406 dev_err(cpu_dai->dev, "set mclk first\n"); in mxs_saif_hw_params()
412 dev_err(cpu_dai->dev, "error: busy\n"); in mxs_saif_hw_params()
423 dev_err(cpu_dai->dev, "unable to get proper clk\n"); in mxs_saif_hw_params()
480 struct snd_soc_dai *cpu_dai) in mxs_saif_prepare() argument
482 struct mxs_saif *saif = snd_soc_dai_get_drvdata(cpu_dai); in mxs_saif_prepare()
492 struct snd_soc_dai *cpu_dai) in mxs_saif_trigger() argument
494 struct mxs_saif *saif = snd_soc_dai_get_drvdata(cpu_dai); in mxs_saif_trigger()
510 dev_dbg(cpu_dai->dev, "start\n"); in mxs_saif_trigger()
577 dev_dbg(cpu_dai->dev, "stop\n"); in mxs_saif_trigger()