Lines Matching full:slots
21 unsigned int slots; member
67 be->slots, be->slot_width); in axg_card_tdm_dai_init()
70 "setting tdm link slots failed\n"); in axg_card_tdm_dai_init()
76 be->slots, be->slot_width); in axg_card_tdm_dai_init()
78 dev_err(asoc_rtd_to_cpu(rtd, 0)->dev, "setting tdm link slots failed\n"); in axg_card_tdm_dai_init()
94 be->slots, be->slot_width); in axg_card_tdm_dai_lb_init()
96 dev_err(asoc_rtd_to_cpu(rtd, 0)->dev, "setting tdm link slots failed\n"); in axg_card_tdm_dai_lb_init()
179 /* Disable playback is the interface has no tx slots */ in axg_card_parse_cpu_tdm_slots()
189 /* Disable capture is the interface has no rx slots */ in axg_card_parse_cpu_tdm_slots()
195 dev_err(card->dev, "tdm link has no cpu slots\n"); in axg_card_parse_cpu_tdm_slots()
199 of_property_read_u32(node, "dai-tdm-slot-num", &be->slots); in axg_card_parse_cpu_tdm_slots()
200 if (!be->slots) { in axg_card_parse_cpu_tdm_slots()
205 be->slots = fls(max(tx, rx)); in axg_card_parse_cpu_tdm_slots()
206 } else if (be->slots < fls(max(tx, rx)) || be->slots > 32) { in axg_card_parse_cpu_tdm_slots()
208 * Error if the slots can't accommodate the largest mask or in axg_card_parse_cpu_tdm_slots()
271 dev_err(card->dev, "error parsing tdm link slots\n"); in axg_card_parse_tdm()