Lines Matching refs:dai

111 				struct snd_soc_dai *dai)  in bf5xx_i2s_hw_params()  argument
113 struct sport_device *sport_handle = snd_soc_dai_get_drvdata(dai); in bf5xx_i2s_hw_params()
155 dev_err(dai->dev, "SPORT is busy!\n"); in bf5xx_i2s_hw_params()
162 dev_err(dai->dev, "SPORT is busy!\n"); in bf5xx_i2s_hw_params()
171 struct snd_soc_dai *dai) in bf5xx_i2s_shutdown() argument
173 struct sport_device *sport_handle = snd_soc_dai_get_drvdata(dai); in bf5xx_i2s_shutdown()
176 dev_dbg(dai->dev, "%s enter\n", __func__); in bf5xx_i2s_shutdown()
178 if (!dai->active) in bf5xx_i2s_shutdown()
182 static int bf5xx_i2s_set_channel_map(struct snd_soc_dai *dai, in bf5xx_i2s_set_channel_map() argument
186 struct sport_device *sport_handle = snd_soc_dai_get_drvdata(dai); in bf5xx_i2s_set_channel_map()
218 static int bf5xx_i2s_set_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask, in bf5xx_i2s_set_tdm_slot() argument
221 struct sport_device *sport_handle = snd_soc_dai_get_drvdata(dai); in bf5xx_i2s_set_tdm_slot()
241 static int bf5xx_i2s_suspend(struct snd_soc_dai *dai) in bf5xx_i2s_suspend() argument
243 struct sport_device *sport_handle = snd_soc_dai_get_drvdata(dai); in bf5xx_i2s_suspend()
245 dev_dbg(dai->dev, "%s : sport %d\n", __func__, dai->id); in bf5xx_i2s_suspend()
247 if (dai->capture_active) in bf5xx_i2s_suspend()
249 if (dai->playback_active) in bf5xx_i2s_suspend()
254 static int bf5xx_i2s_resume(struct snd_soc_dai *dai) in bf5xx_i2s_resume() argument
256 struct sport_device *sport_handle = snd_soc_dai_get_drvdata(dai); in bf5xx_i2s_resume()
260 dev_dbg(dai->dev, "%s : sport %d\n", __func__, dai->id); in bf5xx_i2s_resume()
265 dev_err(dai->dev, "SPORT is busy!\n"); in bf5xx_i2s_resume()
272 dev_err(dai->dev, "SPORT is busy!\n"); in bf5xx_i2s_resume()
285 static int bf5xx_i2s_dai_probe(struct snd_soc_dai *dai) in bf5xx_i2s_dai_probe() argument
287 struct sport_device *sport_handle = snd_soc_dai_get_drvdata(dai); in bf5xx_i2s_dai_probe()
296 dai->playback_dma_data = &bf5xx_i2s->tx_dma_data; in bf5xx_i2s_dai_probe()
297 dai->capture_dma_data = &bf5xx_i2s->rx_dma_data; in bf5xx_i2s_dai_probe()