omap2_clk_dflt_find_idlest(9)
π¦ omap2_clk_dflt_find_idlest(9) π¦
okay so bestie, we're in the Kernel API Manual and this page is literally all about omap2_clk_dflt_find_idlest(9) β the default little helper that goes looking for IDLEST info. no cap, it's a niche one, but we ate. π
πΈ NAME πΈ
omap2_clk_dflt_find_idlest β find CM_IDLEST reg va, bit shift for @clk β¨
β¨ SYNOPSIS β¨
void omap2_clk_dflt_find_idlest (struct clk_hw_omap *clk , struct
clk_omap_reg *idlest_reg , u8 *idlest_bit , u8 *idlest_val );
π ARGUMENTS π
clkβstruct clk *to find IDLEST info for. the main character we're investigating π΅οΈββοΈidlest_regβvoid __iomem **to return the CM_IDLEST va in. yes, the va goes right here πidlest_bitβu8 *to return the CM_IDLEST bit shift in. the bit-shift drop spot β¨idlest_valβu8 *to return the idle status indicator. the vibe check result lands here π
π« DESCRIPTION π«
so this function returns the CM_IDLEST register address and bit shift for the module that "owns" this clock. that's the whole mission, and it's giving "default path, but make it useful" π«Ά
the default code assumes two things, bestie:
- the CM_IDLEST bit shift is the CM_*CLKEN bit shift π₯
- the IDLEST register address ID corresponds to the CM_*CLKEN register address ID β for example, that
CM_FCLKEN2corresponds toCM_IDLEST2π
heads up: this is not true for all modules. the defaults are defaults, not universal truths, okay? π
and no return value. it's a void function, so it literally returns nothing β periodt. π
π₯ SEE ALSO π₯
Kernel file ./drivers/clk/ti/clkt_dflt.c: _wait_idlest_generic(9), _omap2_module_wait_ready(9), omap2_clk_dflt_find_companion(9), omap2_dflt_clk_enable(9), omap2_dflt_clk_disable(9), omap2_dflt_clk_is_enabled(9) π
okay byeee, cute sign-off time: source/version is ./drivers/clk/ti, date is October 2026, and the page is omap2_clk_dflt_find_idlest(9) β love that for us ππ¦π
π¦ 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