ENUM DDR_PWRST(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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