STRUCT CLKOPS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to the struct clkops(9) page from the Kernel API Manual ✨ we're doing clock function pointers today, and honestly it's giving tiny-but-iconic πŸ’…

✨ NAME ✨

struct clkops β€” some clock function pointers. that's the whole name, and we are respecting it 🫢

πŸŽ€ SYNOPSIS πŸŽ€

       struct clkops {
           int (*enable)(struct omap1_clk *clk);
           void (*disable)(struct omap1_clk *clk);
        };

πŸ‘‘ Members πŸ‘‘

  • enable β€” fn ptr that enables the current clock in hardware πŸ”₯ like, the function pointer for enabling the current clock in hardware, periodt.
  • disable β€” fn ptr that enables the current clock in hardware. yes bestie, the page uses the same β€œenables” line here too β€” I'm keeping it exactly as written, no cap πŸ˜­πŸ’€

🌈 SEE ALSO 🌈

  • Kernel file ./arch/arm/mach-omap1/clock.h β€” go peek, iykyk πŸ“š
  • struct omap1_clk(9) β€” the related manual page, slay πŸ¦‹

okay bye bestie β€” this page lives in ./arch/arm/mach-omap1, is dated October 2026, and is the struct clkops(9) manual. mwah πŸ’–πŸ«Ά

πŸ“¦ where this page comes from