STRUCT __PRCI_WRPLL_DATA(9)
π struct __prci_wrpll_data(9)
okay so this is a page straight out of the Kernel API Manual, and bestie, it's literally all about one little struct. sit down, grab a strawberry drink π, and let's get into it.
β¨ NAME β¨
struct __prci_wrpll_data β the WRPLL configuration and integration data. like, both. she does it all. π
π¦ SYNOPSIS π¦
struct __prci_wrpll_data {
struct wrpll_cfg c;
void (*enable_bypass)(struct __prci_data *pd);
void (*disable_bypass)(struct __prci_data *pd);
u8 cfg0_offs;
u8 cfg1_offs;
};
no cap, that's the whole shape of her. copy it exactly please, this is not a vibe-edit situation π
π Members π
cβ the WRPLL current configuration record. that's her little diary of settings πenable_bypassβ a fn ptr to code that bypasses the WRPLL (if applicable; elseNULL). so if it doesn't apply, she's justNULL, living her truth πdisable_bypassβ a fn ptr to code that does not bypass the WRPLL (orNULL). yep, the opposite twin, also allowed to beNULLπ«cfg0_offsβ the WRPLL CFG0 register offset (in bytes) from the PRCI base address. bytes, bestie, not vibes πcfg1_offsβ the WRPLL CFG1 register offset (in bytes) from the PRCI base address. same deal, different register π―
πΈ Description πΈ
okay so here's the tea β β enable_bypass and disable_bypass are there for the WRPLL instances that contain a separate external glitchless clock mux downstream from the PLL. fancy.
π¨ important: the WRPLL internal bypass mux is not glitchless. not even a little. so don't be out here assuming otherwise, fr fr π
π SEE ALSO π
- Kernel file
./drivers/clk/sifive/sifive-prci.hβstruct __prci_data(9),struct __prci_clock(9)
like, go read those too, they're her friends π«Ά
and that's the whole page, periodt. π
this one came from ./drivers/clk/sifive, dated October 2026, and she's filed under struct __prci_wrpll_data(9) β iconic, no notes β¨π¦π
π¦ 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