Home
last modified time | relevance | path

Searched refs:tdm_slot (Results 1 – 4 of 4) sorted by relevance

/linux/sound/soc/sti/
A Dsti_uniperif.c138 uni->tdm_slot.slots = slots; in sti_uniperiph_set_tdm_slot()
139 uni->tdm_slot.slot_width = slot_width; in sti_uniperiph_set_tdm_slot()
145 if ((uni->tdm_slot.mask >> i) & 0x01) in sti_uniperiph_set_tdm_slot()
148 uni->tdm_slot.avail_slots = avail_slots; in sti_uniperiph_set_tdm_slot()
151 frame_size = uni->tdm_slot.avail_slots * uni->tdm_slot.slot_width / 8; in sti_uniperiph_set_tdm_slot()
170 t.min = uni->tdm_slot.avail_slots; in sti_uniperiph_fix_tdm_chan()
171 t.max = uni->tdm_slot.avail_slots; in sti_uniperiph_fix_tdm_chan()
186 switch (uni->tdm_slot.slot_width) { in sti_uniperiph_fix_tdm_format()
195 uni->tdm_slot.slot_width); in sti_uniperiph_fix_tdm_format()
214 int slots_num = uni->tdm_slot.slots; in sti_uniperiph_get_tdm_word_pos()
[all …]
A Duniperif.h1333 struct dai_tdm_slot tdm_slot; member
1398 return (uni->tdm_slot.slots * uni->tdm_slot.slot_width / 8); in sti_uniperiph_get_unip_tdm_frame_size()
/linux/sound/soc/codecs/
A Dadau17x1.c207 val = (adau->tdm_slot[stream] * 2) + 1; in adau17x1_dsp_mux_enum_put()
693 adau->tdm_slot[SNDRV_PCM_STREAM_CAPTURE] = 0; in adau17x1_set_dai_tdm_slot()
697 adau->tdm_slot[SNDRV_PCM_STREAM_CAPTURE] = 1; in adau17x1_set_dai_tdm_slot()
701 adau->tdm_slot[SNDRV_PCM_STREAM_CAPTURE] = 2; in adau17x1_set_dai_tdm_slot()
705 adau->tdm_slot[SNDRV_PCM_STREAM_CAPTURE] = 3; in adau17x1_set_dai_tdm_slot()
714 adau->tdm_slot[SNDRV_PCM_STREAM_PLAYBACK] = 0; in adau17x1_set_dai_tdm_slot()
718 adau->tdm_slot[SNDRV_PCM_STREAM_PLAYBACK] = 1; in adau17x1_set_dai_tdm_slot()
722 adau->tdm_slot[SNDRV_PCM_STREAM_PLAYBACK] = 2; in adau17x1_set_dai_tdm_slot()
726 adau->tdm_slot[SNDRV_PCM_STREAM_PLAYBACK] = 3; in adau17x1_set_dai_tdm_slot()
746 (adau->tdm_slot[SNDRV_PCM_STREAM_PLAYBACK] * 2) + 1); in adau17x1_set_dai_tdm_slot()
[all …]
A Dadau17x1.h49 unsigned int tdm_slot[2]; member

Completed in 15 milliseconds