Lines Matching refs:dai
139 struct asoc_simple_dai *dai);
160 #define asoc_simple_parse_tdm(np, dai) \
161 snd_soc_of_parse_tdm_slot(np, &(dai)->tx_slot_mask, \
162 &(dai)->rx_slot_mask, \
163 &(dai)->slots, \
164 &(dai)->slot_width);
201 struct asoc_simple_dai *dai)
205 /* dai might be NULL */
206 if (!dai)
209 if (dai->name)
210 dev_dbg(dev, "%s dai name = %s\n",
211 name, dai->name);
213 if (dai->slots)
214 dev_dbg(dev, "%s slots = %d\n", name, dai->slots);
215 if (dai->slot_width)
216 dev_dbg(dev, "%s slot width = %d\n", name, dai->slot_width);
217 if (dai->tx_slot_mask)
218 dev_dbg(dev, "%s tx slot mask = %d\n", name, dai->tx_slot_mask);
219 if (dai->rx_slot_mask)
220 dev_dbg(dev, "%s rx slot mask = %d\n", name, dai->rx_slot_mask);
221 if (dai->clk)
222 dev_dbg(dev, "%s clk %luHz\n", name, clk_get_rate(dai->clk));
223 if (dai->sysclk)
225 name, dai->sysclk);
226 if (dai->clk || dai->sysclk)
228 name, dai->clk_direction ? "OUT" : "IN");
244 struct asoc_simple_dai *dai;
251 for_each_prop_dai_cpu(props, j, dai)
252 asoc_simple_debug_dai(priv, "cpu", dai);
254 for_each_prop_dai_codec(props, j, dai)
255 asoc_simple_debug_dai(priv, "codec", dai);
258 dev_dbg(dev, "dai name = %s\n", link->name);
260 dev_dbg(dev, "dai format = %04x\n", link->dai_fmt);