nau8825_set_tdm_slot(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

Okay bestie, welcome to nau8825_set_tdm_slot(9) from the Kernel API Manual β€” the page for configuring DAI TDM, and it’s lowkey iconic. 🎧✨

🌸 NAME 🌸

nau8825_set_tdm_slot β€” configure DAI TDM. That’s the whole vibe, periodt. πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

int nau8825_set_tdm_slot (struct snd_soc_dai *dai , unsigned int tx_mask , unsigned int rx_mask , int slots , int slot_width );

πŸŽ€ ARGUMENTS πŸŽ€

  • dai β€” DAI. That’s the one, bestie. 🫢
  • tx_mask β€” bitmask representing active TX slots. πŸ’–
  • rx_mask β€” bitmask representing active RX slots. 🌸
  • slots β€” Number of slots in use. ✨
  • slot_width β€” Width in bits for each slot. πŸŽ€

✨ DESCRIPTION ✨

Okay so this function configures a DAI for TDM operation. It supports TDM 4/8 slots. Here’s the lil’ limitation, no cap: DAC and ADC need shift 4 slots at 8 slots mode. πŸ‘€πŸ’€

πŸ’– SEE ALSO πŸ’–

Kernel file ./sound/soc/codecs/nau8825.c is right there, plus these besties:


source/version: ./sound/soc/codecs β€’ date: October 2026 β€’ page: nau8825_set_tdm_slot(9) β€” byeee, go configure those slots bestie πŸ’‹πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from