STRUCT OMAP_HWMOD_OMAP2_PRCM(9)
π 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,3meansCM_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β structomap_hwmod_rst_info(9), structomap_hwmod_opt_clk(9), structomap_hwmod_omap2_firewall(9), structomap_hwmod_ocp_if(9), structomap_hwmod_class_sysconfig(9), structomap_hwmod_omap4_prcm(9), structomap_hwmod_class(9), structomap_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
- 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