__prci_readl(9)
π __prci_readl β like, the whole manual page, bestie π
okay so real quick β this is a page out of the Kernel API Manual, and today's main character is __prci_readl(9). she reads a register. that's it. that's the gig. and honestly? iconic. β¨
πΈ NAME πΈ
__prci_readl β read from a PRCI register π
β¨ SYNOPSIS β¨
u32 __prci_readl (struct __prci_data *pd , u32 offs );
literally the whole signature. no cap. π«Ά
π¦ ARGUMENTS π¦
pdβ the PRCI context. your little vibe-carrying bundle of PRCI data, iykyk. πoffsβ the register offset you wanna read from. and bestie, hear me: it's measured in bytes, counted from the PRCI base address. bytes!! not words!! do not come for me with words. π
π DESCRIPTION π
so here's the tea: this function reads the register sitting at offset offs, starting from the base virtual address of the PRCI register target that pd describes. then it hands that value right back to you, the caller. that's the whole plot. no twists. slay. π₯
β CONTEXT β
Any context. any. literally any. she's flexible like that. π β¨
π RETURN π
it returns the contents of the register described by pd and offs. the actual bits. the real ones. π
π SEE ALSO π
this is the group chat and everybody's here, no one left on read:
Kernel file ./drivers/clk/sifive/sifive-prci.cπ__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)sifive_prci_hfpclkpllsel_use_hfpclkpll(9)__prci_register_clocks(9)sifive_prci_probe(9)
okay that's the page!! mwah π this one lives over in ./drivers/clk/sifive, and the version/date stamp on it is October 2026 β so yeah, she's from the future, we don't ask questions, we just stan. π§ππ
π¦ 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