omap2430_clk..._find_idlest(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 β€” the struct clk * that's being enabled. that's her. the main character πŸ‘‘
  • idlest_reg β€” a void __iomem ** where the CM_IDLEST reg address gets stored, so like... the address of the address. very meta of her πŸ’€
  • idlest_bit β€” pointer to a u8 where the CM_IDLEST bit shift goes 🌸
  • idlest_val β€” pointer to a u8 where 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