Searched refs:tdm_slot (Results 1 – 4 of 4) sorted by relevance
137 uni->tdm_slot.slots = slots; in sti_uniperiph_set_tdm_slot()138 uni->tdm_slot.slot_width = slot_width; in sti_uniperiph_set_tdm_slot()140 uni->tdm_slot.mask = (tx_mask != 0) ? tx_mask : rx_mask; in sti_uniperiph_set_tdm_slot()143 for (i = 0, avail_slots = 0; i < uni->tdm_slot.slots; i++) { in sti_uniperiph_set_tdm_slot()144 if ((uni->tdm_slot.mask >> i) & 0x01) in sti_uniperiph_set_tdm_slot()147 uni->tdm_slot.avail_slots = avail_slots; in sti_uniperiph_set_tdm_slot()150 frame_size = uni->tdm_slot.avail_slots * uni->tdm_slot.slot_width / 8; in sti_uniperiph_set_tdm_slot()169 t.min = uni->tdm_slot.avail_slots; in sti_uniperiph_fix_tdm_chan()170 t.max = uni->tdm_slot.avail_slots; in sti_uniperiph_fix_tdm_chan()185 switch (uni->tdm_slot.slot_width) { in sti_uniperiph_fix_tdm_format()[all …]
1333 struct dai_tdm_slot tdm_slot; member1398 return (uni->tdm_slot.slots * uni->tdm_slot.slot_width / 8); in sti_uniperiph_get_unip_tdm_frame_size()
198 val = (adau->tdm_slot[stream] * 2) + 1; in adau17x1_dsp_mux_enum_put()664 adau->tdm_slot[SNDRV_PCM_STREAM_CAPTURE] = 0; in adau17x1_set_dai_tdm_slot()668 adau->tdm_slot[SNDRV_PCM_STREAM_CAPTURE] = 1; in adau17x1_set_dai_tdm_slot()672 adau->tdm_slot[SNDRV_PCM_STREAM_CAPTURE] = 2; in adau17x1_set_dai_tdm_slot()676 adau->tdm_slot[SNDRV_PCM_STREAM_CAPTURE] = 3; in adau17x1_set_dai_tdm_slot()685 adau->tdm_slot[SNDRV_PCM_STREAM_PLAYBACK] = 0; in adau17x1_set_dai_tdm_slot()689 adau->tdm_slot[SNDRV_PCM_STREAM_PLAYBACK] = 1; in adau17x1_set_dai_tdm_slot()693 adau->tdm_slot[SNDRV_PCM_STREAM_PLAYBACK] = 2; in adau17x1_set_dai_tdm_slot()697 adau->tdm_slot[SNDRV_PCM_STREAM_PLAYBACK] = 3; in adau17x1_set_dai_tdm_slot()717 (adau->tdm_slot[SNDRV_PCM_STREAM_PLAYBACK] * 2) + 1); in adau17x1_set_dai_tdm_slot()[all …]
49 unsigned int tdm_slot[2]; member