__prci_readl(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ __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:


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