STRUCT CLK_HW_OMAP_OPS(9)
π 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 convertsCM_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/clkand it's dated October 2026, and yes the header still saysstruct clk_hw_omap_ops(9)because some things are forever. πβ¨
slay, go read a struct, mwah π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms