omap2_dflt_clk_is_enabled(9)
omap2_dflt_clk_is_enabled(9) π
okay bestie, welcome to the Kernel API Manual β¨ this page is all about omap2_dflt_clk_is_enabled(9), and it's giving tiny-but-iconic hardware-check energy π
πΈ NAME πΈ
omap2_dflt_clk_is_enabled β is the clock enabled in the hardware? π
β SYNOPSIS β
int omap2_dflt_clk_is_enabled (struct clk_hw *hw );
π ARGUMENTS π
hwβ astruct clk_hw *to check, bestie. That's the whole input π«Ά
π« DESCRIPTION π«
okay so here's the tea: this function returns 1 if the clock represented by hw is enabled in the hardware, and returns 0 otherwise. No in-between, no maybe, no "i forgot" β just 1 or 0, periodt π
it's intended for use in the struct clk_ops.is_enabled function pointer. yep, that exact spot β main character placement only π
π₯ SEE ALSO π₯
the kernel file to peep is ./drivers/clk/ti/clkt_dflt.c, and the bestie squad is:
_wait_idlest_generic(9)_omap2_module_wait_ready(9)omap2_clk_dflt_find_companion(9)omap2_clk_dflt_find_idlest(9)omap2_dflt_clk_enable(9)omap2_dflt_clk_disable(9)
xoxo, signed from the source/version tag ./drivers/clk/ti, dated October 2026 β omap2_dflt_clk_is_enabled(9) out ππ¦
π¦ 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