STRUCT CLK_HW_OMAP_OPS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct clk_hw_omap_ops(9) β€” from the Kernel API Manual, bestie 🫢

okay so picture this: you're deep in ./include/linux/clk/ti.h and you meet the icon herself, struct clk_hw_omap_ops β€” the OMAP clk ops struct. this is her moment, and honestly? she ate. ✨


🌸 NAME 🌸

struct clk_hw_omap_ops β€” OMAP clk ops. that's it, that's the vibe. short, chic, to the point. πŸ’…


✨ SYNOPSIS ✨

here's the whole gorgeous thing verbatim, no notes:

struct clk_hw_omap_ops {
    void (*find_idlest)(struct clk_hw_omap *oclk, struct clk_omap_reg *idlest_reg, u8 *idlest_bit, u8 *idlest_val);
    void (*find_companion)(struct clk_hw_omap *oclk, struct clk_omap_reg *other_reg, u8 *other_bit);
    void (*allow_idle)(struct clk_hw_omap *oclk);
    void (*deny_idle)(struct clk_hw_omap *oclk);
 };

four function pointers. four little icons living rent-free in a struct. we love to see it. πŸ’–


πŸŽ€ Members πŸŽ€

okay bestie, let's meet the cast, one by one, main character energy only:

  • find_idlest β€” finds the idlest register information for a clock. she's the one who goes looking for the chillest register in the building and reports back, no cap. πŸ”
  • find_companion β€” finds the companion clock register information for a clock, and lowkey it "basically converts CM_ICLKEN* <-> CM_FCLKEN*". so like, a matchmaker for registers. the way that it pairs them up?? iconic. πŸ‘―β€β™€οΈ
  • allow_idle β€” enables the autoidle hardware functionality for a clock. permission granted, go be lazy, periodt. 😴
  • deny_idle β€” prevents the autoidle hardware functionality for a clock. sorry babe, not today, we're staying awake. πŸ™…β€β™€οΈ

πŸ¦‹ SEE ALSO πŸ¦‹

go read these next, i'm obsessed with them for you:

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

and that's the whole page, bestie β€” you understood the assignment. 🧚

ngl this page came from ./include/linux/clk and it's dated October 2026, and yes the header still says struct clk_hw_omap_ops(9) because some things are forever. πŸ’€βœ¨

slay, go read a struct, mwah πŸ’‹

πŸ“¦ where this page comes from