Lines Matching refs:dai
665 static int peb2466_dai_set_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask,
668 struct peb2466 *peb2466 = snd_soc_component_get_drvdata(dai->component);
680 dev_err(dai->dev, "tdm slot width %d not supported\n", width);
691 dev_err(dai->dev, "chan %d set tx tdm slot failed (%d)\n",
701 dev_err(dai->dev, "too much tx slots defined (mask = 0x%x) support max %d\n",
714 dev_err(dai->dev, "chan %d set rx tdm slot failed (%d)\n",
724 dev_err(dai->dev, "too much rx slots defined (mask = 0x%x) support max %d\n",
733 static int peb2466_dai_set_fmt(struct snd_soc_dai *dai, unsigned int fmt)
735 struct peb2466 *peb2466 = snd_soc_component_get_drvdata(dai->component);
746 dev_err(dai->dev, "Unsupported format 0x%x\n",
755 struct snd_soc_dai *dai)
757 struct peb2466 *peb2466 = snd_soc_component_get_drvdata(dai->component);
793 struct snd_soc_dai *dai)
795 struct peb2466 *peb2466 = snd_soc_component_get_drvdata(dai->component);