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