Lines Matching defs:slots
158 * @slots: Number of slots in use.
159 * @tx_mask: bitmask representing active TX slots.
160 * @rx_mask: bitmask representing active RX slots.
164 static int snd_soc_xlate_tdm_slot_mask(unsigned int slots,
171 if (!slots)
174 *tx_mask = (1 << slots) - 1;
175 *rx_mask = (1 << slots) - 1;
183 * @tx_mask: bitmask representing active TX slots.
184 * @rx_mask: bitmask representing active RX slots.
185 * @slots: Number of slots in use.
189 * the total number of slots of the TDM stream and @slot_with the width of each
191 * active slots of the TDM stream for the specified DAI, i.e. which slots the
198 * TDM mode can be disabled by passing 0 for @slots. In this case @tx_mask,
205 int slots, int slot_width)
211 dai->driver->ops->xlate_tdm_slot_mask(slots,
214 snd_soc_xlate_tdm_slot_mask(slots, &tx_mask, &rx_mask);
222 slots, slot_width);