sifive_prci_...se_hfpclkpll(9)
π 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β astruct __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 π₯
- Kernel file
./drivers/clk/sifive/sifive-prci.c __prci_readl(9)__prci_wrpll_unpack(9)__prci_wrpll_pack(9)__prci_wrpll_read_cfg0(9)__prci_wrpll_write_cfg0(9)__prci_wrpll_write_cfg1(9)sifive_prci_coreclksel_use_hfclk(9)sifive_prci_coreclksel_use_corepll(9)sifive_prci_coreclksel_use_final_corepll(9)sifive_prci_corepllsel_use_dvfscorepll(9)sifive_prci_corepllsel_use_corepll(9)sifive_prci_hfpclkpllsel_use_hfclk(9)__prci_register_clocks(9)sifive_prci_probe(9)
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
- 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