STRUCT OMAP_VP_INSTANCE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 struct omap_vp_instance(9) 🌸

okay so bestie, this is a page from the Kernel API Manual about struct omap_vp_instance β€” the VP register offsets, per-VDD πŸ’… keep that in your pocket, we're going in.


✨ NAME ✨

struct omap_vp_instance β€” VP register offsets (per-VDD)


πŸ¦‹ SYNOPSIS πŸ¦‹

struct omap_vp_instance {
    const struct omap_vp_common *common;
    u8 vpconfig;
    u8 vstepmin;
    u8 vstepmax;
    u8 vlimitto;
    u8 vstatus;
    u8 voltage;
    u8 id;
    bool enabled;
 };

like, that's the whole shape of it, no cap 🫢


πŸŽ€ Members πŸŽ€

  • common β€” pointer to struct omap_vp_common * for this SoC
  • vpconfig β€” PRM_VP*_CONFIG reg offset from PRM start
  • vstepmin β€” PRM_VP*_VSTEPMIN reg offset from PRM start
  • vlimitto β€” PRM_VP*_VLIMITTO reg offset from PRM start
  • vstatus β€” PRM_VP*_VSTATUS reg offset from PRM start
  • voltage β€” PRM_VP*_VOLTAGE reg offset from PRM start
  • id β€” Unique identifier for VP instance.
  • enabled β€” flag to keep track of whether vp is enabled or not
πŸ’€ real talk: vstepmax is literally sitting there in the struct in the SYNOPSIS and it does not get its own little bullet down here. that's just how the page is, bestie, i don't make the rules, i just relay them faithfully ✨

🌈 Description 🌈

XXX vp_common is probably not needed since it is per-SoC

(it's giving "left a note for future me" energy ngl πŸ™ˆ)


🧚 SEE ALSO 🧚

Kernel file ./arch/arm/mach-omap2/vp.h struct omap_vp_ops(9), struct omap_vp_common(9)


and that's the whole vibe check, bestie πŸ‘‘ this one lives at ./arch/arm/mach-omap2, dated October 2026, and the page itself is struct omap_vp_instance(9) β€” go off, you understood it, i'm so proud of you fr fr πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from