Home
last modified time | relevance | path

Searched refs:tdm_width (Results 1 – 12 of 12) sorted by relevance

/linux-5.19.10/sound/soc/
Dsoc-utils-test.c16 u8 tdm_width; member
121 unsigned int tdm_width, unsigned int tdm_slots, in test_tdm_params_to_bclk_one() argument
136 got_bclk = snd_soc_tdm_params_to_bclk(&params, tdm_width, tdm_slots, slot_multiple); in test_tdm_params_to_bclk_one()
139 rate, params_width(&params), channels, tdm_width, tdm_slots, slot_multiple, in test_tdm_params_to_bclk_one()
153 tdm_params_to_bclk_cases[i].tdm_width, in test_tdm_params_to_bclk()
166 tdm_params_to_bclk_cases[i].tdm_width, in test_tdm_params_to_bclk()
Dsoc-utils.c82 int tdm_width, int tdm_slots, int slot_multiple) in snd_soc_tdm_params_to_bclk() argument
90 if (!tdm_width) { in snd_soc_tdm_params_to_bclk()
91 tdm_width = snd_pcm_format_width(params_format(params)); in snd_soc_tdm_params_to_bclk()
92 if (tdm_width < 0) in snd_soc_tdm_params_to_bclk()
93 return tdm_width; in snd_soc_tdm_params_to_bclk()
96 return snd_soc_calc_bclk(params_rate(params), tdm_width, 1, tdm_slots); in snd_soc_tdm_params_to_bclk()
/linux-5.19.10/include/linux/mfd/arizona/
Dcore.h152 int tdm_width[ARIZONA_MAX_AIF]; member
/linux-5.19.10/sound/soc/codecs/
Dwm9081.c155 int tdm_width; member
1016 if (wm9081->tdm_width) { in wm9081_hw_params()
1021 wm9081->bclk = wm9081->fs * wm9081->tdm_width * slots; in wm9081_hw_params()
1198 wm9081->tdm_width = slot_width; in wm9081_set_tdm_slot()
Darizona.c1787 int tdm_width = arizona->tdm_width[dai->id - 1]; in arizona_hw_params() local
1802 tdm_slots, tdm_width); in arizona_hw_params()
1803 bclk_target = tdm_slots * tdm_width * params_rate(params); in arizona_hw_params()
1807 tdm_width = wl; in arizona_hw_params()
1843 frame = wl << ARIZONA_AIF1TX_WL_SHIFT | tdm_width; in arizona_hw_params()
2019 arizona->tdm_width[dai->id - 1] = slot_width; in arizona_set_tdm_slot()
Dwm8993.c213 int tdm_width; member
1210 wm8993->tdm_slots, wm8993->tdm_width); in wm8993_hw_params()
1211 wm8993->bclk *= wm8993->tdm_width * wm8993->tdm_slots; in wm8993_hw_params()
1393 wm8993->tdm_width = slot_width; in wm8993_set_tdm_slot()
Dwm8904.c79 int tdm_width; member
1303 wm8904->tdm_slots, wm8904->tdm_width); in wm8904_hw_params()
1305 wm8904->tdm_width, 2, in wm8904_hw_params()
1542 wm8904->tdm_width = slot_width; in wm8904_set_tdm_slot()
Dmadera.c3112 int tdm_width = priv->tdm_width[dai->id - 1]; in madera_hw_params() local
3130 tdm_slots, tdm_width); in madera_hw_params()
3131 bclk_target = tdm_slots * tdm_width * rate; in madera_hw_params()
3135 tdm_width = wl; in madera_hw_params()
3170 frame = wl << MADERA_AIF1TX_WL_SHIFT | tdm_width; in madera_hw_params()
3355 priv->tdm_width[dai->id - 1] = slot_width; in madera_set_tdm_slot()
Dmadera.h142 int tdm_width[MADERA_MAX_AIF]; member
Dmax98090.h1536 int tdm_width; member
Dmax98090.c1692 max98090->tdm_width = slot_width; in max98090_set_tdm_slot()
/linux-5.19.10/include/sound/
Dsoc.h506 int tdm_width, int tdm_slots, int slot_multiple);