Lines Matching refs:tdm_width
88 * Either or both of tdm_width and tdm_slots can be 0.
90 * If tdm_width == 0: use params_width() as the slot width.
98 * If tdm_width == 0 && tdm_slots == 0 && slot_multiple < 2, this is equivalent
102 * @tdm_width: Width in bits of the tdm slots. Must be >= 0.
110 int tdm_width, int tdm_slots, int slot_multiple)
118 if (!tdm_width) {
119 tdm_width = snd_pcm_format_width(params_format(params));
120 if (tdm_width < 0)
121 return tdm_width;
124 return snd_soc_calc_bclk(params_rate(params), tdm_width, 1, tdm_slots);