omap_hwmod_check_module(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… omap_hwmod_check_module β€” the kernel API manual, bestie edition πŸŽ€

okay so you found omap_hwmod_check_module(9) in the Kernel API Manual and you're like "what is this even". don't worry, i got you. this little icon is a vibe check for a brand-new module β€” it checks the new module data against the platform data before anything gets committed to, fr fr. ✨


🌸 NAME 🌸

omap_hwmod_check_module β€” check new module against platform data

like, it's the bouncer at the club door of omap modules and it's checking IDs 🫢


✨ SYNOPSIS ✨

int omap_hwmod_check_module (struct device *dev , struct omap_hwmod *oh
, const struct ti_sysc_module_data *data , struct sysc_regbits
*sysc_fields , s32 rev_offs , s32 sysc_offs , s32 syss_offs , u32
sysc_flags , u32 idlemodes );

nine arguments. absolutely iconic of it. she's high-maintenance but she delivers πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

listen closely bestie, every single one of these matters:

  • dev β€” struct device. the device, obviously. your main character πŸŽ€
  • oh β€” module. the omap_hwmod we're talking about here
  • data β€” new module data. the fresh new module data being checked πŸ‘€
  • sysc_fields β€” sysc register bits. the register bits for sysc
  • rev_offs β€” revision register offset. where the revision register lives
  • sysc_offs β€” sysconfig register offset. where the sysconfig register lives
  • syss_offs β€” sysstatus register offset. where the sysstatus register lives
  • sysc_flags β€” sysc specific flags. flags, but specifically sysc ones
  • idlemodes β€” sysc supported idlemodes. which idlemodes sysc is out here supporting πŸ’€
no cap, that's nine params and every one of them is a real one. don't skip any. πŸ™ˆ

πŸ’œ SEE ALSO πŸ’œ

the source of truth is the kernel file ./arch/arm/mach-omap2/omap_hwmod.c, and here's the whole extended fam β€” literally the entire friend group, no gatekeeping:

that's a lot of friends and every single one of them is invited πŸ’€ but like, in a wholesome way 🧚


okay that's the whole page!! sourced straight from ./arch/arm/mach-omap2 and dated October 2026 β€” so like, future icon behavior honestly. go forth and check those modules, bestie, you're literally gonna slay πŸŒˆπŸ‘‘πŸ’–

πŸ“¦ where this page comes from