STRUCT OMAP_HWMOD_OMAP2_PRCM(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct omap_hwmod_omap2_prcm β€” like, the OMAP2/3-specific PRCM data one πŸŽ€

okay so bestie, we're in the Kernel API Manual today (yes, that manual, the big one, the icon) and this page is all about struct omap_hwmod_omap2_prcm β€” the OMAP2/3-specific PRCM data situation. ngl it's a small struct but she's carrying a lot of lore. let's get into it ✨


✨ NAME ✨

struct omap_hwmod_omap2_prcm β€” OMAP2/3-specific PRCM data πŸ¦‹

like, that's her. that's the whole vibe. PRCM data, but specifically the OMAP2/3 flavored one. periodt.


🌸 SYNOPSIS 🌸

struct omap_hwmod_omap2_prcm {
    s16 module_offs;
    u8 idlest_reg_id;
    u8 idlest_idle_bit;
};

three fields. that's it. she's compact and she knows it πŸ’…


πŸŽ€ Members πŸŽ€

okay so let's meet the girls one by one:

  • module_offs β€” the PRCM submodule offset, measured from the start of the PRM/CM. think of it as her home address relative to the PRM/CM front door 🏠
  • idlest_reg_id β€” the IDLEST register ID. like, for example, 3 means CM_IDLEST3. iykyk πŸ”₯
  • idlest_idle_bit β€” the register bit shift for the CM_IDLEST slave idle bit. that's the bit-shift-y one, bestie, don't lose her 🌈

πŸ’– Description πŸ’–

okay so real talk: prcm_reg_id and module_bit are specific to the AUTOIDLE, WKST, WKEN, GRPSEL registers. love that for them.

in an ideal world β€” like, a perfect little utopia β€” no extra information would be needed for IDLEST information. but alas 😭 there are some exceptions!! so idlest_reg_id, idlest_idle_bit, and idlest_stdby_bit are needed for the IDLEST registers (c.f. 2430 I2CHS, 3430 USBHOST). the exceptions really said "not me being the main character" and honestly? they ate πŸ’€

note that idlest_stdby_bit gets name-dropped in the description but she is not one of the three struct members up in the synopsis. just so we're clear, bestie β€” i'm not making the rules, i'm just reading the manpage 🫢

πŸ‘‘ SEE ALSO πŸ‘‘

go read these next, they're all in the group chat:

  • Kernel file ./arch/arm/mach-omap2/omap_hwmod.h β€” struct omap_hwmod_rst_info(9), struct omap_hwmod_opt_clk(9), struct omap_hwmod_omap2_firewall(9), struct omap_hwmod_ocp_if(9), struct omap_hwmod_class_sysconfig(9), struct omap_hwmod_omap4_prcm(9), struct omap_hwmod_class(9), struct omap_hwmod(9)

literally the whole friend group. tell omap_hwmod_omap4_prcm(9) i said hi πŸ’œ


and that's the page!! mwah πŸ’‹ this one lives over in ./arch/arm/mach-omap2, dated October 2026, and it's filed under struct omap_...d_omap2_prcm(9) (yes the header abbreviates her name like that, and yes we're still gonna slay). stay hydrated, read your structs, love u bye πŸ§šβ€β™€οΈπŸ“β­

πŸ“¦ where this page comes from