ENUM DDR_PWRST(9)
enum ddr_pwrst(9) β DDR power states definition π
okay so bestie, this page lives in the Kernel API Manual and it's literally just the enum that names the DDR power states. that's the whole vibe. it's a header-file enum, it's iconic, it's short, and we're gonna read it together π«Ά
β¨ NAME β¨
enum ddr_pwrst β the definition of DDR power states, no cap πΈ
β¨ SYNOPSIS β¨
here's the exact shape of it, copy it character for character or don't come at me:
enum ddr_pwrst {
DDR_PWR_STATE_UNCHANGED ,
DDR_PWR_STATE_ON ,
DDR_PWR_STATE_OFFLOWLAT ,
DDR_PWR_STATE_OFFHIGHLAT
};
β¨ Constants β¨
DDR_PWR_STATE_UNCHANGEDβ says it right there: the SDRAM and the DDR controller state is unchanged. nothing moves, nothing shifts, we stay exactly as we are πDDR_PWR_STATE_ONβ listed with no description on this page. it's just here, existing, main character energy β¨DDR_PWR_STATE_OFFLOWLATβ also listed with no description. the page lifts it up and says nothing else. we respect the mystery πDDR_PWR_STATE_OFFHIGHLATβ same deal, no description given. four constants, one explanation. that's the arrangement π
ngl, three of these four have zero description text on the page β i'm not about to invent one for them, so if you need the semantics, go read the header. lowkey the right move anyway π
β¨ SEE ALSO β¨
the kernel file is ./include/linux/mfd/db8500-prcmu.h, and the page points you at this whole friend group:
enum state(9), enum ret_state(9), enum clk_arm(9), enum clk_gen(9), enum romcode_write(9), enum romcode_read(9), enum ap_pwrst(9), enum ap_pwrst_trans(9), enum hw_acc_state(9), enum dvfs_stat(9), enum sva_mmdsp_stat(9), enum sia_mmdsp_stat(9), enum mbox_to_arm_err(9), enum sia_sva_pwr_policy(9), enum auto_enable(9), enum prcmu_power_status(9), enum prcmu_wdog_id(9), enum ape_opp(9), enum arm_opp(9), enum ddr_opp(9), struct prcmu_auto_pm_config(9)
like, go off, read the whole clique π
so yeah, that's the page π¦ it ships out of ./include/linux/mfd, and this particular copy is dated October 2026 β that's the source, the version and the date all wrapped up in one little sign-off. k byeee, go read the header file fr fr π
π¦ 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