omap3430es2_..._find_idlest(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 β€” a struct clk * that's being enabled. it's the main character of this whole operation πŸ‘‘
  • idlest_reg β€” a void __iomem ** where we stash the CM_IDLEST register address. pointer to a pointer, yes, we're fancy like that ✨
  • idlest_bit β€” pointer to a u8 where the CM_IDLEST bit shift goes. shifts are slay πŸŽ€
  • idlest_val β€” pointer to a u8 where 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 🌈

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