Lines Matching defs:dai
66 int dais; /* number of dai */
107 #define asoc_simple_parse_tdm(np, dai) \
108 snd_soc_of_parse_tdm_slot(np, &(dai)->tx_slot_mask, \
109 &(dai)->rx_slot_mask, \
110 &(dai)->slots, \
111 &(dai)->slot_width);
141 struct asoc_simple_dai *dai)
145 /* dai might be NULL */
146 if (!dai)
149 if (dai->name)
150 dev_dbg(dev, "%s dai name = %s\n",
151 name, dai->name);
152 if (dai->sysclk)
154 name, dai->sysclk);
157 name, dai->clk_direction ? "OUT" : "IN");
159 if (dai->slots)
160 dev_dbg(dev, "%s slots = %d\n", name, dai->slots);
161 if (dai->slot_width)
162 dev_dbg(dev, "%s slot width = %d\n", name, dai->slot_width);
163 if (dai->tx_slot_mask)
164 dev_dbg(dev, "%s tx slot mask = %d\n", name, dai->tx_slot_mask);
165 if (dai->rx_slot_mask)
166 dev_dbg(dev, "%s rx slot mask = %d\n", name, dai->rx_slot_mask);
167 if (dai->clk)
168 dev_dbg(dev, "%s clk %luHz\n", name, clk_get_rate(dai->clk));
191 dev_dbg(dev, "dai name = %s\n", link->name);
193 dev_dbg(dev, "dai format = %04x\n", link->dai_fmt);