STRUCT CLK_OMAP_REG(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to the struct clk_omap_reg(9) page from the Kernel API Manual πŸ’– this is the OMAP register declaration and we’re gonna get into it, no cap.

✨ NAME ✨

struct clk_omap_reg β€” OMAP register declaration. that’s the name, and honestly? iconic.

πŸ¦‹ SYNOPSIS πŸ¦‹

here’s the struct in all its glory, copied exactly so we do not break anything:

struct clk_omap_reg {
    void __iomem *ptr;
    u16 offset;
    u8 bit;
    u8 index;
    u8 flags;
 };

πŸŽ€ Members πŸŽ€

okay so the Members notes describe these fields, and we’re keeping every detail:

  • offset β€” offset from the master IP module base address. literally where you are from the master IP module base, bestie.
  • bit β€” register bit offset. the bit position inside the register, slay.
  • index β€” index of the master IP module. which master IP module we’re talking about.
  • flags β€” flags. yes queen, just flags.
heads up: the struct declaration up in SYNOPSIS also has ptr (void __iomem *), but the original Members list does not give it a description, so I’m not inventing one. iykyk 🫢

🌈 SEE ALSO 🌈

  • Kernel file ./include/linux/clk/ti.h
  • struct dpll_data(9)
  • struct clk_hw_omap_ops(9)
  • struct clk_hw_omap(9)
  • struct ti_clk_ll_ops(9)

like, go read those too, they’re right there in the SEE ALSO list πŸ’…


mwah πŸ’‹ source/version: ./include/linux/clk; date: October 2026; page: struct clk_omap_reg(9). that’s the whole vibe, bye bestie 🫢✨

πŸ“¦ where this page comes from