__prci_wrpll_unpack(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… __prci_wrpll_unpack(9) β€” like, the Kernel API Manual chapter you actually wanna read πŸŽ€

okay so bestie, welcome to the Kernel API Manual glow-up of __prci_wrpll_unpack(9) ✨ this one is genuinely short and sweet, so let's go 🫢


✨ NAME ✨

__prci_wrpll_unpack β€” unpacks WRPLL configuration registers into parameters πŸ¦‹


🌸 SYNOPSIS 🌸

void __prci_wrpll_unpack (struct wrpll_cfg *c , u32 r );

πŸŽ€ ARGUMENTS πŸŽ€

  • c β€” a ptr to a struct wrpll_cfg record, and that's the one we're writing the config into, no cap πŸ’–
  • r β€” the value that got read from the PRCI PLL configuration register ⭐

πŸ‘‘ DESCRIPTION πŸ‘‘

so here's the vibe: you hand it a value r that came out of an FU740 PRCI PLL configuration register, and it literally splits it into fields and populates them into the WRPLL configuration record that c is pointing at 🧚✨

and like, heads up β€” the COREPLLCFG0 macros are what's used below, but the other *PLLCFG0 macros have the same register layout, so don't stress πŸ’…


πŸ¦‹ CONTEXT πŸ¦‹

Any context. fr fr, any πŸ’œ


🌈 SEE ALSO 🌈

okay this list is long but every single one is iconic, we're not skipping anybody πŸ‘‘


ngl that's the whole page, it's giving "short but essential" and honestly? we ate πŸ’€πŸ”₯

and before you go β€” this lil masterpiece lives in ./drivers/clk/sifive, stamped October 2026 πŸ’– mwah, bye bestie, go unpack those registers slayfully πŸŽ€πŸ’…βœ¨

πŸ“¦ where this page comes from