omap3430es2_..._find_idlest(9)
β¨ omap3430es2_clk_hsotgusb_find_idlest β¨
okay so welcome to the Kernel API Manual, bestie π
this lil page is all about omap3430es2_clk_hsotgusb_find_idlest, and honestly? it's giving "small function, very specific job" energy and we're obsessed. π
πΈ NAME πΈ
omap3430es2_clk_hsotgusb_find_idlest β return CM_IDLEST info for HSOTGUSB β¨
like, that's it, that's the whole vibe. it goes and gets you the CM_IDLEST info for HSOTGUSB. no cap. π«Ά
π¦ SYNOPSIS π¦
void omap3430es2_clk_hsotgusb_find_idlest (struct clk_hw_omap *clk ,
struct clk_omap_reg *idlest_reg , u8 *idlest_bit , u8 *idlest_val );
return type is void, so it literally hands back nothing β it just fills in your pointers and ghosts. iconic behaviour tbh. π
π ARGUMENTS π
clkβ astruct clk *that's being enabled. it's the main character of this whole operation πidlest_regβ avoid __iomem **where we stash the CM_IDLEST register address. pointer to a pointer, yes, we're fancy like that β¨idlest_bitβ pointer to au8where the CM_IDLEST bit shift goes. shifts are slay πidlest_valβ pointer to au8where the CM_IDLEST indicator gets stored. we love a good indicator π
π₯ DESCRIPTION π₯
so here's the tea, bestie β the OMAP3430ES2 HSOTGUSB target's CM_IDLEST bit is sitting at a different shift than the CM_{I,F}CLKEN bit. like, not even the same neighbourhood. rude, but okay π
so this function's whole job is to pass back the correct info via idlest_reg and idlest_bit. you give it somewhere to put the answers, it puts the answers there.
and no return value β void through and through. it does the thing, it dips. very "i said what i said" of it π
ngl this is the kind of function where if you assume the shift matches the CLKEN bit, you're gonna have a bad time π the whole point is that it doesn't match. respect the shift.
π SEE ALSO π
- Kernel file
./drivers/clk/ti/clk-3xxx.cβ the source, go read it, it's right there π omap3430es2_clk_ssi_find_idlest(9)omap3430es2_clk_dss_usbhost_find_idlest(9)am35xx_clk_find_idlest(9)am35xx_clk_find_companion(9)am35xx_clk_ipss_find_idlest(9)omap3_clk_lock_dpll5(9)
the whole find_idlest friend group fr fr, they all hang out together π«Άβ¨
and that's the page!! π brought to you straight out of ./drivers/clk/ti, dated October 2026, under the header omap3430es2_..._find_idlest(9) β mwah, go forth and find those idlest bits bestie ππ¦β
π¦ 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