fsl_ssi_set_dai_tdm_slot(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 a struct 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 a u32, it's the transmit mask, that's the whole assignment ✨
  • rx_mask β€” mask for RX. Same deal on the receive side, also a u32 🌈
  • slots β€” number of slots. Plain int, no notes, just a count πŸ’–
  • slot_width β€” number of bits per slot. Also int, 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:

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