nau8825_set_tdm_slot(9)
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:
nau8825_sema_acquire(9)nau8825_sema_release(9)nau8825_sema_reset(9)nau8825_hpvol_ramp(9)nau8825_intlog10_dec3(9)nau8825_xtalk_sidetone(9)nau8825_enable_jack_detect(9)nau8825_calc_fll_param(9)
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
- 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