omap2430_clk..._find_idlest(9)
π omap2430_clk_i2chs_find_idlest(9) π
okay so bestie, welcome to the Kernel API Manual β¨ this one's a tiny little custom function that exists for exactly one reason and honestly? she ate. let's get into it π
πΈ NAME πΈ
omap2430_clk_i2chs_find_idlest β returns the CM_IDLEST info for the 2430 I2CHS, no cap π
β¨ SYNOPSIS β¨
void omap2430_clk_i2chs_find_idlest (struct clk_hw_omap *clk , struct
clk_omap_reg *idlest_reg , u8 *idlest_bit , u8 *idlest_val );
like, she takes four things and gives you back absolutely nothing (void, we love a function with no return value drama) π«Ά
π¦ ARGUMENTS π¦
clkβ thestruct clk *that's being enabled. that's her. the main character πidlest_regβ avoid __iomem **where the CM_IDLEST reg address gets stored, so like... the address of the address. very meta of her πidlest_bitβ pointer to au8where the CM_IDLEST bit shift goes πΈidlest_valβ pointer to au8where the CM_IDLEST indicator goes β
π₯ DESCRIPTION π₯
okay so here's the ~lore~ π the OMAP2430 I2CHS CM_IDLEST bits live in CM_IDLEST1_CORE, but the CM_*CLKEN bits are chilling over in CM_{I,F}CLKEN2_CORE instead. not where you'd expect. a little chaotic of them ngl π
so this custom function is the fix β she passes back the correct CM_IDLEST register address for I2CHS modules. that's it. that's the whole job. iconic behavior honestly π
and no return value. none. zero. she's a void girlie fr fr π
π SEE ALSO π
Kernel file ./drivers/clk/ti/clkt_iclk.c β go read her, iykyk π
aaaand that's the whole page bestie, you're so welcome π₯° she lives in ./drivers/clk/ti, dated October 2026, and she's filed under omap2430_clk..._find_idlest(9) in the Kernel API Manual πβ¨ mwah, go enable some clocks responsibly π§ββοΈπ
π¦ 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