omap2_dflt_clk_is_enabled(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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 β€” a struct 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:


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