aio_chip_set_pll(9)
π aio_chip_set_pll(9) π
okay so this is a page from the Kernel API Manual, and bestie, it's a short one but it's a baddie. we're setting the frequency on the audio PLL. that's it, that's the vibe. let's get into it β¨
π NAME π
aio_chip_set_pll β set frequency to audio PLL π
β¨ SYNOPSIS β¨
int aio_chip_set_pll (struct uniphier_aio_chip *chip , int pll_id ,
unsigned int freq );
literally the whole signature, no notes, she ate π«Ά
πΈ ARGUMENTS πΈ
chipβ the AIO chip pointer π like, the main character struct itselfpll_idβ PLL π₯ which one we're talking tofreqβ frequency in Hz, and ngl0is ignored π (yeah, zero just gets skipped, don't come for her)
π¦ DESCRIPTION π¦
Sets the frequency of the audio PLL. periodt π
the cute part: this function can be called anytime β no gatekeeping, no special window, call it whenever. but β οΈ it takes time till the PLL is locked. so like, don't expect it to be instantly locked and ready, she needs a minute to settle. lowkey important, don't ignore that part fr fr π
β RETURN β
- Zero if successful π
- otherwise a negative value on error π
so yeah, check your return value, bestie, it's giving "trust but verify" π
π₯ SEE ALSO π₯
Kernel file ./sound/soc/uniphier/aio-core.c π plus the whole friend group:
aio_iecout_set_enable(9)aio_chip_init(9)aio_init(9)aio_port_reset(9)aio_port_set_ch(9)aio_port_set_rate(9)aio_port_set_fmt(9)aio_port_set_clk(9)aio_port_set_param(9)aio_port_set_enable(9)aio_port_get_volume(9)aio_port_set_volume(9)aio_if_set_param(9)aio_oport_set_stream_type(9)aio_src_reset(9)aio_src_set_param(9)
like a whole group chat of audio functions, iykyk π
reminder bestie:freqof0gets ignored, and the PLL lock isn't instant β those are the two things you'll actually trip over π
and that's the page!! brought to you by the source/version <rainbow>./sound/soc/uniphier</rainbow>, dated <bold>October 2026</bold> π
π mwah, go lock that PLL, you got this π§β¨
π¦ 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