Lines Matching full:slots
107 * @slots: Number of slots in use.
108 * @tx_mask: bitmask representing active TX slots.
109 * @rx_mask: bitmask representing active RX slots.
113 static int snd_soc_xlate_tdm_slot_mask(unsigned int slots, in snd_soc_xlate_tdm_slot_mask() argument
120 if (!slots) in snd_soc_xlate_tdm_slot_mask()
123 *tx_mask = (1 << slots) - 1; in snd_soc_xlate_tdm_slot_mask()
124 *rx_mask = (1 << slots) - 1; in snd_soc_xlate_tdm_slot_mask()
132 * @tx_mask: bitmask representing active TX slots.
133 * @rx_mask: bitmask representing active RX slots.
134 * @slots: Number of slots in use.
138 * the total number of slots of the TDM stream and @slot_with the width of each
140 * active slots of the TDM stream for the specified DAI, i.e. which slots the
147 * TDM mode can be disabled by passing 0 for @slots. In this case @tx_mask,
154 int slots, int slot_width) in snd_soc_dai_set_tdm_slot() argument
157 dai->driver->ops->xlate_tdm_slot_mask(slots, in snd_soc_dai_set_tdm_slot()
160 snd_soc_xlate_tdm_slot_mask(slots, &tx_mask, &rx_mask); in snd_soc_dai_set_tdm_slot()
167 slots, slot_width); in snd_soc_dai_set_tdm_slot()