sifive_prci_...se_hfpclkpll(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… sifive_prci_hfpclkpllsel_use_hfpclkpll(9) β€” a Kernel API Manual moment

okay so bestie, welcome to the Kernel API Manual ✨ β€” yes, the header up top is literally sifive_prci_...se_hfpclkpll(9) because even manpage titles gotta abbreviate when the function name is a whole paragraph, iykyk 😭. this one's all about flipping one (1) mux and dipping. short, sweet, iconic. πŸŽ€


✨ NAME ✨

sifive_prci_hfpclkpllsel_use_hfpclkpll β€” switch the HFPCLKPLL mux so it outputs HFPCLKPLL πŸ¦‹

so like, the whole personality of this function is "point the mux at the PLL, then leave." no drama, no extra steps, periodt.


🌸 SYNOPSIS 🌸

void sifive_prci_hfpclkpllsel_use_hfpclkpll (struct __prci_data *pd );

it returns void, so there's literally nothing to check. no return value, no error code, no crumbs. πŸ’€


πŸŽ€ ARGUMENTS πŸŽ€

  • pd β€” a struct __prci_data * for the PRCI that's holding the HFPCLKPLL mux reg. that's your one and only param, bestie. hand it over and it knows which reg to poke. 🫢

πŸ’– DESCRIPTION πŸ’–

Switch the HFPCLKPLL mux to the HFPCLKPLL output clock β€” and then it returns once it's complete. literally that's the whole arc. no cap. it does the switch, it's done, it goes home. πŸ”₯


πŸ‘‘ CONTEXT πŸ‘‘

Any context. πŸŽ‰ yes, any. but listen β€” the caller must prevent concurrent changes to the PRCI_HFPCLKPLLSEL_OFFSET register. that part is on you, bestie. this function is not your bodyguard, it will not lock anything for you, so don't let two threads tag-team that register at the same time. πŸ™ˆ

ngl the "any context" is generous but the concurrency bit is the real vibe check β€” no locking in here, so keep your register access serialized or it's giving chaos. πŸ’…

πŸ”₯ SEE ALSO πŸ”₯

the whole little clk family is in there β€” go read them if you want the full lore. πŸ“šβœ¨


and that's the page, babes 🧚 β€” brought to you by ./drivers/clk/sifive, dated October 2026, and signed at the bottom as sifive_prci_...se_hfpclkpll(9) so you can find it again. mwah πŸ’‹πŸ’œ

πŸ“¦ where this page comes from