Lines Matching defs:tdm_width
89 * Either or both of tdm_width and tdm_slots can be 0.
91 * If tdm_width == 0: use params_width() as the slot width.
99 * If tdm_width == 0 && tdm_slots == 0 && slot_multiple < 2, this is equivalent
103 * @tdm_width: Width in bits of the tdm slots. Must be >= 0.
111 int tdm_width, int tdm_slots, int slot_multiple)
119 if (!tdm_width) {
120 tdm_width = snd_pcm_format_width(params_format(params));
121 if (tdm_width < 0)
122 return tdm_width;
125 return snd_soc_calc_bclk(params_rate(params), tdm_width, 1, tdm_slots);