am35xx_clk_find_idlest(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… am35xx_clk_find_idlest(9) β€” from the Kernel API Manual, bestie ✨

okay so real talk, this one lives in the Kernel API Manual and it's lowkey niche but honestly iconic once you get it. it's all about finding the ACK info for AM35XX IPSS clocks. let's get into it πŸŽ€


✨ NAME ✨

am35xx_clk_find_idlest β€” return clock ACK info for AM35XX IPSS. that's the whole vibe. πŸ’«


🌸 SYNOPSIS 🌸

void am35xx_clk_find_idlest (struct clk_hw_omap *clk , struct
clk_omap_reg *idlest_reg , u8 *idlest_bit , u8 *idlest_val );

no return value, it's a void queen β€” she just fills in your pointers and leaves πŸ‘‘πŸ«Ά


πŸ¦‹ ARGUMENTS πŸ¦‹

  • clk β€” the struct clk * that's being enabled. main character energy, obviously πŸ’…
  • idlest_reg β€” a void __iomem ** where we're gonna store the CM_IDLEST reg address into. like a lil mailbox πŸ“¬
  • idlest_bit β€” pointer to a u8, and we stash the CM_IDLEST bit shift in there ✨
  • idlest_val β€” another pointer to a u8, this one holds the CM_IDLEST indicator πŸ’–

πŸ’€ DESCRIPTION πŸ’€

okay so here's the tea β˜• β€” the interface clocks on AM35xx IPSS reflect the clock idle status inside the enable register itself, sitting at a bit offset of 4 from the enable bit. yeah, she's built different, no separate register for her πŸ™ˆ

and the indicator? a value of 1 means the clock is enabled. that's it, that's the whole check. slay πŸ”₯

ngl the important part is: offset is 4 from the enable bit, and 1 = enabled. don't forget it or the vibe check fails 😭

⭐ SEE ALSO ⭐

the whole friend group fr fr πŸŒˆπŸ’œ


and that's a wrap bestie πŸŽ€ this page came from the source dir ./drivers/clk/ti, dated October 2026 β€” periodt, go touch some clocks πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from