Lines Matching full:tdm
11 #include "axg-tdm.h"
70 "setting tdm link slots failed\n"); in axg_card_tdm_dai_init()
78 dev_err(snd_soc_rtd_to_cpu(rtd, 0)->dev, "setting tdm link slots failed\n"); in axg_card_tdm_dai_init()
96 dev_err(snd_soc_rtd_to_cpu(rtd, 0)->dev, "setting tdm link slots failed\n"); in axg_card_tdm_dai_lb_init()
135 lb->cpus->dai_name = "TDM Loopback"; in axg_card_add_tdm_loopback()
173 snprintf(propname, 32, "dai-tdm-slot-tx-mask-%d", i); in axg_card_parse_cpu_tdm_slots()
183 snprintf(propname, 32, "dai-tdm-slot-rx-mask-%d", i); in axg_card_parse_cpu_tdm_slots()
194 dev_err(card->dev, "tdm link has no cpu slots\n"); in axg_card_parse_cpu_tdm_slots()
198 of_property_read_u32(node, "dai-tdm-slot-num", &be->slots); in axg_card_parse_cpu_tdm_slots()
214 of_property_read_u32(node, "dai-tdm-slot-width", &be->slot_width); in axg_card_parse_cpu_tdm_slots()
235 snd_soc_of_get_slot_mask(np, "dai-tdm-slot-rx-mask", in axg_card_parse_codecs_masks()
237 snd_soc_of_get_slot_mask(np, "dai-tdm-slot-tx-mask", in axg_card_parse_codecs_masks()
255 /* Allocate tdm link parameters */ in axg_card_parse_tdm()
261 /* Setup tdm link */ in axg_card_parse_tdm()
270 dev_err(card->dev, "error parsing tdm link slots\n"); in axg_card_parse_tdm()
300 return of_device_is_compatible(np, DT_PREFIX "axg-tdm-iface"); in axg_card_cpu_is_tdm_iface()