STRUCT OMAP_SDRC_PARAMS(9)
π 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 intoSDRC_ACTIM_CTRLAfor this rate.actim_ctrlbβ the value you program intoSDRC_ACTIM_CTRLBfor this rate.rfr_ctrlβ the value you program intoSDRC_RFR_CTRLfor this rate.mrβ the value you program intoSDRC_MRfor 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
- 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