STRUCT OMAP_PRCM_INIT_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, welcome to the Kernel API Manual page for struct omap_prcm_init_data β€” literally the PRCM driver init data struct. it's giving β€œsmall but essential” and we are gonna go through every single member, no skipping, no cap.

struct omap_prcm_init_data β€” PRCM driver init data πŸ’…


✨ SYNOPSIS ✨

here's the whole struct in all its glory β€” exact characters, bestie, don't @ me:

       struct omap_prcm_init_data {
           int index;
           void __iomem *mem;
           u32 phys;
           s16 offset;
           u16 flags;
           s32 device_inst_offset;
           int (*init)(const struct omap_prcm_init_data *data);
           struct device_node *np;
        };

πŸŽ€ MEMBERS πŸŽ€

okay so each field is doing its own little main character thing:

  • index β€” the clock memory mapping index you wanna use πŸ‘‘
  • mem β€” IO mem pointer for this module 🫢
  • phys β€” IO mem physical base address for this module ⭐
  • offset β€” module base address offset from the IO base 🌸
  • flags β€” PRCM module init flags 🚩
  • device_inst_offset β€” device instance offset within the module address space, lowkey specific but important πŸ’…
  • init β€” low level PRCM init function for this module πŸ”₯
  • np β€” device node for this PRCM module πŸ¦‹

πŸ¦‹ SEE ALSO πŸ¦‹

go check these out, iykyk:

  • Kernel file ./arch/arm/mach-omap2/prcm-common.h
  • omap_test_timeout(9)
  • struct omap_prcm_irq(9)
  • struct omap_prcm_irq_setup(9)

xoxo, from ./arch/arm/mach-omap2 πŸ’œ October 2026 β€” struct omap_prcm_init_data(9), out. βœŒοΈπŸŽ€

πŸ“¦ where this page comes from