Home
last modified time | relevance | path

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

/linux-6.12.1/sound/soc/intel/avs/boards/
Di2s_test.c18 int tdm_slot, struct snd_soc_dai_link **dai_link) in avs_create_dai_link() argument
31 AVS_STRING_FMT("SSP", "-Codec", ssp_port, tdm_slot)); in avs_create_dai_link()
37 AVS_STRING_FMT("SSP", " Pin", ssp_port, tdm_slot)); in avs_create_dai_link()
64 int ssp_port, tdm_slot, ret; in avs_i2s_test_probe() local
79 tdm_slot = avs_mach_ssp_tdm(mach, ssp_port); in avs_i2s_test_probe()
86 AVS_STRING_FMT("ssp", "-loopback", ssp_port, tdm_slot)); in avs_i2s_test_probe()
90 ret = avs_create_dai_link(dev, pname, ssp_port, tdm_slot, &dai_link); in avs_i2s_test_probe()
Dmax98357a.c50 int tdm_slot, struct snd_soc_dai_link **dai_link) in avs_create_dai_link() argument
63 AVS_STRING_FMT("SSP", "-Codec", ssp_port, tdm_slot)); in avs_create_dai_link()
70 AVS_STRING_FMT("SSP", " Pin", ssp_port, tdm_slot)); in avs_create_dai_link()
99 int ssp_port, tdm_slot, ret; in avs_max98357a_probe() local
104 ret = avs_mach_get_ssp_tdm(dev, mach, &ssp_port, &tdm_slot); in avs_max98357a_probe()
108 ret = avs_create_dai_link(dev, pname, ssp_port, tdm_slot, &dai_link); in avs_max98357a_probe()
Dssm4567.c85 int tdm_slot, struct snd_soc_dai_link **dai_link) in avs_create_dai_link() argument
98 AVS_STRING_FMT("SSP", "-Codec", ssp_port, tdm_slot)); in avs_create_dai_link()
105 AVS_STRING_FMT("SSP", " Pin", ssp_port, tdm_slot)); in avs_create_dai_link()
140 int ssp_port, tdm_slot, ret; in avs_ssm4567_probe() local
145 ret = avs_mach_get_ssp_tdm(dev, mach, &ssp_port, &tdm_slot); in avs_ssm4567_probe()
149 ret = avs_create_dai_link(dev, pname, ssp_port, tdm_slot, &dai_link); in avs_ssm4567_probe()
Drt5514.c88 int tdm_slot, struct snd_soc_dai_link **dai_link) in avs_create_dai_link() argument
101 AVS_STRING_FMT("SSP", "-Codec", ssp_port, tdm_slot)); in avs_create_dai_link()
108 AVS_STRING_FMT("SSP", " Pin", ssp_port, tdm_slot)); in avs_create_dai_link()
139 int ssp_port, tdm_slot, ret; in avs_rt5514_probe() local
144 ret = avs_mach_get_ssp_tdm(dev, mach, &ssp_port, &tdm_slot); in avs_rt5514_probe()
148 ret = avs_create_dai_link(dev, pname, ssp_port, tdm_slot, &dai_link); in avs_rt5514_probe()
Dmax98927.c96 int tdm_slot, struct snd_soc_dai_link **dai_link) in avs_create_dai_link() argument
109 AVS_STRING_FMT("SSP", "-Codec", ssp_port, tdm_slot)); in avs_create_dai_link()
116 AVS_STRING_FMT("SSP", " Pin", ssp_port, tdm_slot)); in avs_create_dai_link()
151 int ssp_port, tdm_slot, ret; in avs_max98927_probe() local
156 ret = avs_mach_get_ssp_tdm(dev, mach, &ssp_port, &tdm_slot); in avs_max98927_probe()
160 ret = avs_create_dai_link(dev, pname, ssp_port, tdm_slot, &dai_link); in avs_max98927_probe()
Dmax98373.c99 int tdm_slot, struct snd_soc_dai_link **dai_link) in avs_create_dai_link() argument
112 AVS_STRING_FMT("SSP", "-Codec", ssp_port, tdm_slot)); in avs_create_dai_link()
119 AVS_STRING_FMT("SSP", " Pin", ssp_port, tdm_slot)); in avs_create_dai_link()
154 int ssp_port, tdm_slot, ret; in avs_max98373_probe() local
159 ret = avs_mach_get_ssp_tdm(dev, mach, &ssp_port, &tdm_slot); in avs_max98373_probe()
163 ret = avs_create_dai_link(dev, pname, ssp_port, tdm_slot, &dai_link); in avs_max98373_probe()
Drt286.c118 int tdm_slot, struct snd_soc_dai_link **dai_link) in avs_create_dai_link() argument
131 AVS_STRING_FMT("SSP", "-Codec", ssp_port, tdm_slot)); in avs_create_dai_link()
138 AVS_STRING_FMT("SSP", " Pin", ssp_port, tdm_slot)); in avs_create_dai_link()
187 int ssp_port, tdm_slot, ret; in avs_rt286_probe() local
192 ret = avs_mach_get_ssp_tdm(dev, mach, &ssp_port, &tdm_slot); in avs_rt286_probe()
196 ret = avs_create_dai_link(dev, pname, ssp_port, tdm_slot, &dai_link); in avs_rt286_probe()
Drt298.c135 int tdm_slot, struct snd_soc_dai_link **dai_link) in avs_create_dai_link() argument
148 AVS_STRING_FMT("SSP", "-Codec", ssp_port, tdm_slot)); in avs_create_dai_link()
155 AVS_STRING_FMT("SSP", " Pin", ssp_port, tdm_slot)); in avs_create_dai_link()
207 int ssp_port, tdm_slot, ret; in avs_rt298_probe() local
212 ret = avs_mach_get_ssp_tdm(dev, mach, &ssp_port, &tdm_slot); in avs_rt298_probe()
216 ret = avs_create_dai_link(dev, pname, ssp_port, tdm_slot, &dai_link); in avs_rt298_probe()
Drt5663.c137 int tdm_slot, struct snd_soc_dai_link **dai_link) in avs_create_dai_link() argument
150 AVS_STRING_FMT("SSP", "-Codec", ssp_port, tdm_slot)); in avs_create_dai_link()
157 AVS_STRING_FMT("SSP", " Pin", ssp_port, tdm_slot)); in avs_create_dai_link()
206 int ssp_port, tdm_slot, ret; in avs_rt5663_probe() local
211 ret = avs_mach_get_ssp_tdm(dev, mach, &ssp_port, &tdm_slot); in avs_rt5663_probe()
215 ret = avs_create_dai_link(dev, pname, ssp_port, tdm_slot, &dai_link); in avs_rt5663_probe()
Drt274.c150 int tdm_slot, struct snd_soc_dai_link **dai_link) in avs_create_dai_link() argument
163 AVS_STRING_FMT("SSP", "-Codec", ssp_port, tdm_slot)); in avs_create_dai_link()
170 AVS_STRING_FMT("SSP", " Pin", ssp_port, tdm_slot)); in avs_create_dai_link()
218 int ssp_port, tdm_slot, ret; in avs_rt274_probe() local
223 ret = avs_mach_get_ssp_tdm(dev, mach, &ssp_port, &tdm_slot); in avs_rt274_probe()
227 ret = avs_create_dai_link(dev, pname, ssp_port, tdm_slot, &dai_link); in avs_rt274_probe()
Dda7219.c168 int tdm_slot, struct snd_soc_dai_link **dai_link) in avs_create_dai_link() argument
182 AVS_STRING_FMT("SSP", "-Codec", ssp_port, tdm_slot)); in avs_create_dai_link()
189 AVS_STRING_FMT("SSP", " Pin", ssp_port, tdm_slot)); in avs_create_dai_link()
237 int ssp_port, tdm_slot, ret; in avs_da7219_probe() local
242 ret = avs_mach_get_ssp_tdm(dev, mach, &ssp_port, &tdm_slot); in avs_da7219_probe()
246 ret = avs_create_dai_link(dev, pname, ssp_port, tdm_slot, &dai_link); in avs_da7219_probe()
Des8336.c198 int tdm_slot, struct snd_soc_dai_link **dai_link) in avs_create_dai_link() argument
211 AVS_STRING_FMT("SSP", "-Codec", ssp_port, tdm_slot)); in avs_create_dai_link()
218 AVS_STRING_FMT("SSP", " Pin", ssp_port, tdm_slot)); in avs_create_dai_link()
267 int ssp_port, tdm_slot, ret; in avs_es8336_probe() local
272 ret = avs_mach_get_ssp_tdm(dev, mach, &ssp_port, &tdm_slot); in avs_es8336_probe()
276 ret = avs_create_dai_link(dev, pname, ssp_port, tdm_slot, &dai_link); in avs_es8336_probe()
Dnau8825.c175 int tdm_slot, struct snd_soc_dai_link **dai_link) in avs_create_dai_link() argument
188 AVS_STRING_FMT("SSP", "-Codec", ssp_port, tdm_slot)); in avs_create_dai_link()
195 AVS_STRING_FMT("SSP", " Pin", ssp_port, tdm_slot)); in avs_create_dai_link()
254 int ssp_port, tdm_slot, ret; in avs_nau8825_probe() local
259 ret = avs_mach_get_ssp_tdm(dev, mach, &ssp_port, &tdm_slot); in avs_nau8825_probe()
263 ret = avs_create_dai_link(dev, pname, ssp_port, tdm_slot, &dai_link); in avs_nau8825_probe()
Drt5682.c207 int tdm_slot, struct snd_soc_dai_link **dai_link) in avs_create_dai_link() argument
220 AVS_STRING_FMT("SSP", "-Codec", ssp_port, tdm_slot)); in avs_create_dai_link()
227 AVS_STRING_FMT("SSP", " Pin", ssp_port, tdm_slot)); in avs_create_dai_link()
276 int ssp_port, tdm_slot, ret; in avs_rt5682_probe() local
287 ret = avs_mach_get_ssp_tdm(dev, mach, &ssp_port, &tdm_slot); in avs_rt5682_probe()
291 ret = avs_create_dai_link(dev, pname, ssp_port, tdm_slot, &dai_link); in avs_rt5682_probe()
/linux-6.12.1/sound/soc/sti/
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()
141 uni->tdm_slot.mask = (tx_mask != 0) ? tx_mask : rx_mask; in sti_uniperiph_set_tdm_slot()
144 for (i = 0, avail_slots = 0; i < uni->tdm_slot.slots; i++) { 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()
[all …]
Duniperif.h1333 struct dai_tdm_slot tdm_slot; member
1399 return (uni->tdm_slot.slots * uni->tdm_slot.slot_width / 8); in sti_uniperiph_get_unip_tdm_frame_size()
/linux-6.12.1/sound/soc/codecs/
Dadau17x1.c206 val = (adau->tdm_slot[stream] * 2) + 1; in adau17x1_dsp_mux_enum_put()
704 adau->tdm_slot[SNDRV_PCM_STREAM_CAPTURE] = 0; in adau17x1_set_dai_tdm_slot()
708 adau->tdm_slot[SNDRV_PCM_STREAM_CAPTURE] = 1; in adau17x1_set_dai_tdm_slot()
712 adau->tdm_slot[SNDRV_PCM_STREAM_CAPTURE] = 2; in adau17x1_set_dai_tdm_slot()
716 adau->tdm_slot[SNDRV_PCM_STREAM_CAPTURE] = 3; in adau17x1_set_dai_tdm_slot()
725 adau->tdm_slot[SNDRV_PCM_STREAM_PLAYBACK] = 0; in adau17x1_set_dai_tdm_slot()
729 adau->tdm_slot[SNDRV_PCM_STREAM_PLAYBACK] = 1; in adau17x1_set_dai_tdm_slot()
733 adau->tdm_slot[SNDRV_PCM_STREAM_PLAYBACK] = 2; in adau17x1_set_dai_tdm_slot()
737 adau->tdm_slot[SNDRV_PCM_STREAM_PLAYBACK] = 3; in adau17x1_set_dai_tdm_slot()
757 (adau->tdm_slot[SNDRV_PCM_STREAM_PLAYBACK] * 2) + 1); in adau17x1_set_dai_tdm_slot()
[all …]
Dadau17x1.h50 unsigned int tdm_slot[2]; member
/linux-6.12.1/sound/soc/intel/avs/
Dutils.h39 int *ssp_port, int *tdm_slot) in avs_mach_get_ssp_tdm() argument
54 *tdm_slot = avs_mach_ssp_tdm(mach, *ssp_port); in avs_mach_get_ssp_tdm()
Dtopology.c403 int ssp_port, tdm_slot; in parse_link_formatted_string() local
416 tdm_slot = avs_mach_ssp_tdm(mach, ssp_port); in parse_link_formatted_string()
418 avs_ssp_sprint(val, SNDRV_CTL_ELEM_ID_NAME_MAXLEN, tuple->string, ssp_port, tdm_slot); in parse_link_formatted_string()
845 int ssp_port, tdm_slot; in assign_copier_gtw_instance() local
871 tdm_slot = avs_mach_ssp_tdm(mach, ssp_port); in assign_copier_gtw_instance()
874 cfg->copier.vindex.i2s.time_slot = tdm_slot; in assign_copier_gtw_instance()
1548 int ssp_port, tdm_slot; in avs_route_load() local
1558 tdm_slot = avs_mach_ssp_tdm(mach, ssp_port); in avs_route_load()
1563 avs_ssp_sprint(buf, len, route->source, ssp_port, tdm_slot); in avs_route_load()
1569 avs_ssp_sprint(buf, len, route->sink, ssp_port, tdm_slot); in avs_route_load()
[all …]