STRUCT OMAP_SDRC_PARAMS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

struct omap_sdrc_params β€” literally the SDRC parameters for a given SDRC clock rate, no cap ✨

So this page lives in the Kernel API Manual, and it's about one little struct that holds all the pre-computed register vibes for your SDRC. Let's get into it 🫢


🌸 SYNOPSIS 🌸

struct omap_sdrc_params {
    unsigned long rate;
    u32 actim_ctrla;
    u32 actim_ctrlb;
    u32 rfr_ctrl;
    u32 mr;
 };

That's the whole thing bestie, five fields, iconic, minimal, periodt πŸ’…


πŸŽ€ Members πŸŽ€

  • rate β€” the SDRC clock rate, in Hz. This is like the main character of the struct, everything else is keyed off it πŸ’«
  • actim_ctrla β€” the value you program into SDRC_ACTIM_CTRLA for this rate.
  • actim_ctrlb β€” the value you program into SDRC_ACTIM_CTRLB for this rate.
  • rfr_ctrl β€” the value you program into SDRC_RFR_CTRL for this rate.
  • mr β€” the value you program into SDRC_MR for this rate.

πŸ¦‹ Description πŸ¦‹

Okay so here's the tea πŸ”₯ This structure holds a whole pre-computed set of register values for the SDRC β€” and it's for a given SDRC clock rate and SDRAM chip, both. Those values are intended to be pre-computed and specified in an array in the board-*.c files. And the whole struct is keyed off the rate field, so that's the lookup vibe iykyk.

Not me emphasizing this but fr fr: the values are intended to be pre-computed β€” that's the design, bestie 🌸

⭐ SEE ALSO ⭐

  • Kernel file ./arch/arm/mach-omap2/sdrc.h β€” go read it, you'll slay πŸ‘‘

Sign-off time πŸŽ€ This lil page came from ./arch/arm/mach-omap2, dated October 2026, and it's the struct omap_sdrc_params(9) entry in the Kernel API Manual. Mwah, go program some registers πŸ’œβœ¨

πŸ“¦ where this page comes from