Lines Matching refs:slot_width
462 unsigned int rx_mask, int slots, int slot_width) in rtq9128_dai_set_tdm_slot() argument
471 slot_width, tx_mask, rx_mask); in rtq9128_dai_set_tdm_slot()
473 if (slots <= 0 || slot_width <= 0 || slot_width % 8) { in rtq9128_dai_set_tdm_slot()
474 dev_err(dev, "Invalid slot numbers (%d) or width (%d)\n", slots, slot_width); in rtq9128_dai_set_tdm_slot()
479 frame_length = slots * slot_width; in rtq9128_dai_set_tdm_slot()
492 start_loc = (ffs(mask) - 1) * slot_width / 8; in rtq9128_dai_set_tdm_slot()
503 start_loc = (ffs(mask) - 1) * slot_width / 8; in rtq9128_dai_set_tdm_slot()
522 data->tdm_slot_width = slot_width; in rtq9128_dai_set_tdm_slot()
531 unsigned int width, slot_width, bitrate, audbit, dolen; in rtq9128_dai_hw_params() local
585 slot_width = params_physical_width(param); in rtq9128_dai_hw_params()
588 if (slot_width > data->tdm_slot_width) { in rtq9128_dai_hw_params()
601 slot_width = data->tdm_slot_width; in rtq9128_dai_hw_params()
604 switch (slot_width) { in rtq9128_dai_hw_params()
615 dev_err(dev, "Unsupported slot width (%d)\n", slot_width); in rtq9128_dai_hw_params()