Lines Matching defs:slots
220 * @slots: Number of slots in use.
221 * @tx_mask: bitmask representing active TX slots.
222 * @rx_mask: bitmask representing active RX slots.
226 static int snd_soc_xlate_tdm_slot_mask(unsigned int slots,
233 if (!slots)
236 *tx_mask = (1 << slots) - 1;
237 *rx_mask = (1 << slots) - 1;
245 * @tx_mask: bitmask representing active TX slots.
246 * @rx_mask: bitmask representing active RX slots.
247 * @slots: Number of slots in use.
251 * the total number of slots of the TDM stream and @slot_with the width of each
253 * active slots of the TDM stream for the specified DAI, i.e. which slots the
260 * TDM mode can be disabled by passing 0 for @slots. In this case @tx_mask,
267 int slots, int slot_width)
278 dai->driver->ops->xlate_tdm_slot_mask(slots,
281 snd_soc_xlate_tdm_slot_mask(slots, &tx_mask, &rx_mask);
289 slots, slot_width);