snd_soc_xlate_tdm_slot_mask(9)
π snd_soc_xlate_tdm_slot_mask(9) π
okay so bestie, welcome to the Kernel API Manual β¨ β this is the page for snd_soc_xlate_tdm_slot_mask, and yes it's a long name, but it's literally just about making slot masks, iykyk π
πΈ NAME πΈ
snd_soc_xlate_tdm_slot_mask β generate tx/rx slot mask. no cap, that's the whole vibe π¦
β¨ SYNOPSIS β¨
int snd_soc_xlate_tdm_slot_mask (unsigned int slots , unsigned int
*tx_mask , unsigned int *rx_mask );
so it returns an int, and it takes three things. that's it, that's the whole function signature π«Ά
π§ ARGUMENTS π§
slotsβ Number of slots in use. like, how many slots we're actually working with πtx_maskβ bitmask representing active TX slots. the transmit-side bestie, in bitmask form πrx_maskβ bitmask representing active RX slots. and this one's the receive-side bestie π
π DESCRIPTION π
Generates the TDM tx and rx slot default masks for DAI.
that's the whole thing, and honestly? iconic. it just generates those default masks for you so you don't have to πβ¨
π¦ SEE ALSO π¦
Kernel file ./sound/soc/soc-dai.c β go read it, it's giving main character energy ππ
snd_soc_dai_set_sysclk(9)snd_soc_dai_set_clkdiv(9)snd_soc_dai_set_pll(9)snd_soc_dai_set_bclk_ratio(9)snd_soc_dai_set_bclk_clk(9)snd_soc_dai_set_fmt(9)snd_soc_dai_set_tdm_slot(9)snd_soc_dai_set_tdm_idle(9)snd_soc_dai_set_channel_map(9)snd_soc_dai_get_channel_map(9)snd_soc_dai_set_tristate(9)snd_soc_dai_digital_mute(9)
like, the whole DAI friend group fr fr π₯
and that's the page, bestie π«Ά it's filed under ./sound/soc, dated October 2026, and it's literally the snd_soc_xlate_tdm_slot_mask(9) manual β slay, go generate some masks, periodt πππΈ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms