Lines Matching refs:nb_ts
321 unsigned int nb_ts) in qmc_dai_hw_rule_channels_by_format() argument
329 ch.max = nb_ts; in qmc_dai_hw_rule_channels_by_format()
332 ch.max = nb_ts/2; in qmc_dai_hw_rule_channels_by_format()
335 ch.max = nb_ts/4; in qmc_dai_hw_rule_channels_by_format()
338 ch.max = nb_ts/8; in qmc_dai_hw_rule_channels_by_format()
370 unsigned int nb_ts) in qmc_dai_hw_rule_format_by_channels() argument
378 if (!channels || channels > nb_ts) { in qmc_dai_hw_rule_format_by_channels()
380 nb_ts); in qmc_dai_hw_rule_format_by_channels()
384 slot_width = (nb_ts / channels) * 8; in qmc_dai_hw_rule_format_by_channels()
552 static u64 qmc_audio_formats(u8 nb_ts) in qmc_audio_formats() argument
559 if (!nb_ts) in qmc_audio_formats()
563 chan_width = nb_ts * 8; in qmc_audio_formats()