Lines Matching refs:cpu_dai

91 			      struct snd_soc_dai *cpu_dai)  in hi6210_i2s_startup()  argument
93 struct hi6210_i2s *i2s = dev_get_drvdata(cpu_dai->dev); in hi6210_i2s_startup()
172 struct snd_soc_dai *cpu_dai) in hi6210_i2s_shutdown() argument
174 struct hi6210_i2s *i2s = dev_get_drvdata(cpu_dai->dev); in hi6210_i2s_shutdown()
183 static void hi6210_i2s_txctrl(struct snd_soc_dai *cpu_dai, int on) in hi6210_i2s_txctrl() argument
185 struct hi6210_i2s *i2s = dev_get_drvdata(cpu_dai->dev); in hi6210_i2s_txctrl()
203 static void hi6210_i2s_rxctrl(struct snd_soc_dai *cpu_dai, int on) in hi6210_i2s_rxctrl() argument
205 struct hi6210_i2s *i2s = dev_get_drvdata(cpu_dai->dev); in hi6210_i2s_rxctrl()
221 static int hi6210_i2s_set_fmt(struct snd_soc_dai *cpu_dai, unsigned int fmt) in hi6210_i2s_set_fmt() argument
223 struct hi6210_i2s *i2s = dev_get_drvdata(cpu_dai->dev); in hi6210_i2s_set_fmt()
255 struct snd_soc_dai *cpu_dai) in hi6210_i2s_hw_params() argument
257 struct hi6210_i2s *i2s = dev_get_drvdata(cpu_dai->dev); in hi6210_i2s_hw_params()
276 dev_err(cpu_dai->dev, "Bad format\n"); in hi6210_i2s_hw_params()
301 dev_err(cpu_dai->dev, "Bad rate: %d\n", params_rate(params)); in hi6210_i2s_hw_params()
306 dev_err(cpu_dai->dev, "Bad channels\n"); in hi6210_i2s_hw_params()
310 dma_data = snd_soc_dai_get_dma_data(cpu_dai, substream); in hi6210_i2s_hw_params()
475 struct snd_soc_dai *cpu_dai) in hi6210_i2s_trigger() argument
482 hi6210_i2s_rxctrl(cpu_dai, 1); in hi6210_i2s_trigger()
484 hi6210_i2s_txctrl(cpu_dai, 1); in hi6210_i2s_trigger()
489 hi6210_i2s_rxctrl(cpu_dai, 0); in hi6210_i2s_trigger()
491 hi6210_i2s_txctrl(cpu_dai, 0); in hi6210_i2s_trigger()
494 dev_err(cpu_dai->dev, "unknown cmd\n"); in hi6210_i2s_trigger()