STRUCT OMAP_VFSM_INSTANCE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct omap_vfsm_instance(9) πŸ’–

okay so this is a page from the Kernel API Manual bestie, and it's all about one lil struct, no cap. buckle up πŸŽ€


✨ NAME ✨

struct omap_vfsm_instance β€” literally the per-voltage manager FSM register/bitfield data. that's it, that's the whole vibe πŸ¦‹


🌸 SYNOPSIS 🌸

struct omap_vfsm_instance {
    u32 voltsetup_mask;
    u8 voltsetup_reg;
    u8 voltsetup_off_reg;
 };

like, three fields. small struct, big main character energy πŸ‘‘


πŸ’… Members πŸ’…

  • voltsetup_mask β€” the SETUP_TIME* bitmask, and it lives in the PRM_VOLTSETUP* register. yes the asterisks are part of it, don't come for me 😭
  • voltsetup_reg β€” the register offset of PRM_VOLTSETUP, measured from the PRM base. so like, where it sits relative to base, got it 🫢
  • voltsetup_off_reg β€” same deal but for PRM_VOLTSETUP_OFF, also an offset from the PRM base. two regs, both offsets, both from PRM base, slay ✨

πŸ”₯ Description πŸ”₯

okay so the description here is honestly iconic in a chaotic way. it's just:

XXX What about VOLTOFFSET/VOLTCTRL?

that's the entire description. no notes. someone in 2011 left this open question in the kernel and it's still out here asking the real questions fr fr πŸ’€ literally XXX What about VOLTOFFSET/VOLTCTRL? β€” keep it in mind, that's the whole mystery 🧚


🌈 SEE ALSO 🌈

  • Kernel file ./arch/arm/mach-omap2/voltage.h
  • struct voltagedomain(9)
  • struct omap_voltdm_pmic(9)

go read those next, iykyk πŸ“š


and that's the page!! πŸ’œ big love to ./arch/arm/mach-omap2 for sponsoring this content, dated October 2026 β€” catch you in the next manpage bestie, mwah πŸ“πŸ’–

πŸ“¦ where this page comes from