sifive_prci_...el_use_hfclk(9)
π
sifive_prci_coreclksel_use_hfclk(9) β Kernel API Manual π
okay bestie, welcome to the Kernel API Manual corner of the group chat π this one is all about flipping the CORECLK mux over to HFCLK. short king of a function, but lowkey important. letβs get into it β¨
πΈ NAME πΈ
sifive_prci_coreclksel_use_hfclk β switch the CORECLK mux to output HFCLK π
π¦ SYNOPSIS π¦
void sifive_prci_coreclksel_use_hfclk (struct __prci_data *pd );
π ARGUMENTS π
pdβ astruct __prci_data *for the PRCI that contains the CORECLK mux reg. yes, that exact PRCI. donβt hand it some random one, bestie π
β¨ DESCRIPTION β¨
Switch the CORECLK mux to the HFCLK input source. then? return once complete. thatβs it. thatβs the whole vibe π no cap, no extra steps, just mux-switching and bouncing β¨
π«Ά CONTEXT π«Ά
Any context. literally any π
β οΈ but bestie, the caller must prevent concurrent changes to the PRCI_CORECLKSEL_OFFSET register. this is not a drill. keep that register from getting jumped by other callers π
π₯ 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_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)sifive_prci_hfpclkpllsel_use_hfpclkpll(9)__prci_register_clocks(9)sifive_prci_probe(9)
mwah π catch u later β signed, the sifive_prci_...el_use_hfclk(9) girlie π source/version: ./drivers/clk/sifive Β· October 2026 Β· youβre welcome, ily π«Άβ¨
π¦ 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