Lines Matching full:dai
142 struct asoc_simple_dai *dai);
163 #define asoc_simple_parse_tdm(np, dai) \ argument
164 snd_soc_of_parse_tdm_slot(np, &(dai)->tx_slot_mask, \
165 &(dai)->rx_slot_mask, \
166 &(dai)->slots, \
167 &(dai)->slot_width);
202 struct asoc_simple_dai *dai) in asoc_simple_debug_dai() argument
206 /* dai might be NULL */ in asoc_simple_debug_dai()
207 if (!dai) in asoc_simple_debug_dai()
210 if (dai->name) in asoc_simple_debug_dai()
211 dev_dbg(dev, "%s dai name = %s\n", in asoc_simple_debug_dai()
212 name, dai->name); in asoc_simple_debug_dai()
214 if (dai->slots) in asoc_simple_debug_dai()
215 dev_dbg(dev, "%s slots = %d\n", name, dai->slots); in asoc_simple_debug_dai()
216 if (dai->slot_width) in asoc_simple_debug_dai()
217 dev_dbg(dev, "%s slot width = %d\n", name, dai->slot_width); in asoc_simple_debug_dai()
218 if (dai->tx_slot_mask) in asoc_simple_debug_dai()
219 dev_dbg(dev, "%s tx slot mask = %d\n", name, dai->tx_slot_mask); in asoc_simple_debug_dai()
220 if (dai->rx_slot_mask) in asoc_simple_debug_dai()
221 dev_dbg(dev, "%s rx slot mask = %d\n", name, dai->rx_slot_mask); in asoc_simple_debug_dai()
222 if (dai->clk) in asoc_simple_debug_dai()
223 dev_dbg(dev, "%s clk %luHz\n", name, clk_get_rate(dai->clk)); in asoc_simple_debug_dai()
224 if (dai->sysclk) in asoc_simple_debug_dai()
226 name, dai->sysclk); in asoc_simple_debug_dai()
227 if (dai->clk || dai->sysclk) in asoc_simple_debug_dai()
229 name, dai->clk_direction ? "OUT" : "IN"); in asoc_simple_debug_dai()
245 struct asoc_simple_dai *dai; in asoc_simple_debug_info() local
249 dev_dbg(dev, "DAI%d\n", i); in asoc_simple_debug_info()
252 for_each_prop_dai_cpu(props, j, dai) in asoc_simple_debug_info()
253 asoc_simple_debug_dai(priv, "cpu", dai); in asoc_simple_debug_info()
255 for_each_prop_dai_codec(props, j, dai) in asoc_simple_debug_info()
256 asoc_simple_debug_dai(priv, "codec", dai); in asoc_simple_debug_info()
259 dev_dbg(dev, "dai name = %s\n", link->name); in asoc_simple_debug_info()
261 dev_dbg(dev, "dai format = %04x\n", link->dai_fmt); in asoc_simple_debug_info()