omap3430es2..._find_idlest(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 β€” the struct clk * that's being enabled. that's the star of the show, the one getting switched on πŸ‘‘
  • idlest_reg β€” a void __iomem ** where you stash the CM_IDLEST reg address, so it lives there rent-free now 🏠
  • idlest_bit β€” pointer to a u8 where the CM_IDLEST bit shift goes. shift it, queen πŸ’…
  • idlest_val β€” pointer to a u8 where 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 πŸ’œ

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