omap3430es2..._find_idlest(9)
π omap3430es2_clk_dss_usbhost_find_idlest(9)
okay so bestie, we're in the Kernel API Manual today and this one is a very specific little guy π like, it's not even a whole subsystem, it's one function that knows a secret about two modules on one chip family. sit down, hydrate, let's go β¨
πΈ NAME πΈ
omap3430es2_clk_dss_usbhost_find_idlest β literally the CM_IDLEST info for DSS and USBHOST, that's the whole job description π
β¨ SYNOPSIS β¨
void omap3430es2_clk_dss_usbhost_find_idlest (struct clk_hw_omap *clk ,
struct clk_omap_reg *idlest_reg ,
u8 *idlest_bit , u8 *idlest_val );
void return, four args, no drama π«Ά
π¦ ARGUMENTS π¦
clkβ thestruct clk *that's being enabled. that's the star of the show, the one getting switched on πidlest_regβ avoid __iomem **where you stash the CM_IDLEST reg address, so it lives there rent-free now πidlest_bitβ pointer to au8where the CM_IDLEST bit shift goes. shift it, queen πidlest_valβ pointer to au8where the CM_IDLEST indicator goes. tell the people what it is π₯
π DESCRIPTION π
okay so here's the lore π some OMAP modules on OMAP3 ES2+ chips are extra and have both initiator and target IDLEST bits β two bits, one module, main character energy fr fr.
for our purposes we only care about the target IDLEST bits, and here's the twist π those live at a different bit position than the *CLKEN bit position for these modules (DSS and USBHOST). like, they're not even neighbours. the default find_idlest code just assumes they're at the same position and honestly? it assumed wrong π
and that's it. that's the whole function.
no return value. she's void. she does the thing and leaves. no receipts, no exit status, just vibes β¨
π SEE ALSO π
- the Kernel file
./drivers/clk/ti/clk-3xxx.cβ go read the source, iykyk π§ omap3430es2_clk_ssi_find_idlest(9)omap3430es2_clk_hsotgusb_find_idlest(9)am35xx_clk_find_idlest(9)am35xx_clk_find_companion(9)am35xx_clk_ipss_find_idlest(9)omap3_clk_lock_dpll5(9)
like a little friend group of find_idlest functions, all holding hands π«Άπ«Ά
aaaand that's the page!! π brought to you from ./drivers/clk/ti, dated October 2026 β go forth and find those idlest bits, bestie, you've got this ππΈβ¨
π¦ 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