fsl_ssi_set_dai_tdm_slot(9)
π fsl_ssi_set_dai_tdm_slot(9) β the kernel API manual, but make it make sense
okay so bestie, welcome to the fsl_ssi_set_dai_tdm_slot(9) page β yes that's the whole title, yes it's a mouthful, no we're not renaming it. It lives in the Kernel API Manual and it's about telling the SSI (that's the Freescale Serial Sound Interface, iykyk) how to slice up time into TDM slots. Slots and slot width. That's the whole vibe. Let's get into it π
β¨ NAME β¨
fsl_ssi_set_dai_tdm_slot β literally just: set TDM slot number and slot width. That's it, that's the function. Two settings, one call, zero drama πΈ
π¦ SYNOPSIS π¦
int fsl_ssi_set_dai_tdm_slot (struct snd_soc_dai *dai , u32 tx_mask ,
u32 rx_mask , int slots , int slot_width );
Returns an int, takes five things. Copy it exactly if you're writing it down, bestie β the spacing is canon π
π ARGUMENTS π
daiβ pointer to DAI. Yeah, it's astruct snd_soc_dai *, and yep, it's exactly what it sounds like: your handle to the thing you're configuring. Main character energy, honestly π«Άtx_maskβ mask for TX. It's au32, it's the transmit mask, that's the whole assignment β¨rx_maskβ mask for RX. Same deal on the receive side, also au32πslotsβ number of slots. Plainint, no notes, just a count πslot_widthβ number of bits per slot. Alsoint, also exactly what the name says π
no defaults listed, no ranges listed, no error codes listed β do not invent them, that's not the move π
π₯ SEE ALSO π₯
it's giving "friend group of functions" and honestly? obsessed. The kernel file lives at ./sound/soc/fsl/fsl_ssi.c and here's everyone in the group chat:
FSLSSI_I2S_FORMATS(9)struct fsl_ssi(9)fsl_ssi_isr(9)fsl_ssi_config_enable(9)fsl_ssi_config_disable(9)fsl_ssi_setup_regvals(9)fsl_ssi_set_bclk(9)fsl_ssi_hw_params(9)fsl_ssi_set_dai_fmt(9)fsl_ssi_trigger(9)fsl_ssi_hw_init(9)fsl_ssi_hw_clean(9)
go read them too, bestie, they're all in the same directory and they all have lore π
k bye, this page came from ./sound/soc/fsl, dated October 2026, and it goes by fsl_ssi_set_dai_tdm_slot(9) β slay, periodt, go configure some slots π
β¨
π¦ 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