Lines Matching defs:tdm_width
61 * Either or both of tdm_width and tdm_slots can be 0.
63 * If tdm_width == 0: use params_width() as the slot width.
71 * If tdm_width == 0 && tdm_slots == 0 && slot_multiple < 2, this is equivalent
75 * @tdm_width: Width in bits of the tdm slots. Must be >= 0.
83 int tdm_width, int tdm_slots, int slot_multiple)
91 if (!tdm_width) {
92 tdm_width = snd_pcm_format_width(params_format(params));
93 if (tdm_width < 0)
94 return tdm_width;
97 return snd_soc_calc_bclk(params_rate(params), tdm_width, 1, tdm_slots);