snd_soc_dai_set_pll(9)
π snd_soc_dai_set_pll(9)
okay so this is a page straight out of the Kernel API Manual, and honestly? it's a little guy with a big job. bestie, we're configuring a PLL today and it's gonna be iconic. π
β¨ NAME β¨
snd_soc_dai_set_pll β configure DAI PLL. that's it, that's the whole vibe. it sets up your PLL and turns it on. periodt. π
πΈ SYNOPSIS πΈ
int snd_soc_dai_set_pll (struct snd_soc_dai *dai , int pll_id , int
source , unsigned int freq_in , unsigned int freq_out );
like, look at that signature. it's giving "four args and a dream". no cap. β¨
π¦ ARGUMENTS π¦
daiβ the DAI. yes, THE DAI. main character energy, obviously. πpll_idβ the DAI specific PLL ID. which PLL are we talking about? this one. iykyk. π₯sourceβ the DAI specific source for the PLL. where the PLL gets its vibe from. πfreq_inβ PLL input clock frequency in Hz. the going-in number. πfreq_outβ requested PLL output clock frequency in Hz. the coming-out number, and it's the one you asked for. π«Ά
π DESCRIPTION π
so what does it actually do? it configures and enables the PLL so it can generate an output clock based on the input clock. literally that's the whole thing β clock in, clock out, one PLL in the middle making it happen. ate. π
no cap, that's all the page says, so that's all i'm gonna say. we don't make stuff up here. π
π₯ SEE ALSO π₯
- Kernel file
./sound/soc/soc-dai.c snd_soc_dai_set_sysclk(9)snd_soc_dai_set_clkdiv(9)snd_soc_dai_set_bclk_ratio(9)snd_soc_dai_set_bclk_clk(9)snd_soc_dai_set_fmt(9)snd_soc_xlate_tdm_slot_mask(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)
go read those too, bestie. they're all in the same friend group fr fr. π§π«
friendly reminder: this page is literally just "configure and enable a PLL from an input clock." don't overthink it, gorgeous. π
and that's the whole page!! it lives in ./sound/soc, dated October 2026, and it's filed under snd_soc_dai_set_pll(9). mwah π go configure some clocks, you absolute icon. βπ
π¦ 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