_wait_idlest_generic(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ _wait_idlest_generic(9) ✨

okay so bestie, this little icon is from the Kernel API Manual, and it’s literally the β€œplease leave idle” waiter for a module. no cap. πŸ’…

🌸 NAME 🌸

_wait_idlest_generic β€” wait for a module to leave the idle state. that’s the whole vibe: module is idling, and we want it to stop idling. πŸ¦‹

πŸŽ€ SYNOPSIS πŸŽ€

int _wait_idlest_generic (struct clk_hw_omap *clk , struct clk_omap_reg
*reg , u32 mask , u8 idlest , const char *name );

🧚 ARGUMENTS 🧚

  • clk β€” the module clock you’re waiting for, and yes it’s needed for register offsets. main character energy, honestly. πŸ‘‘
  • reg β€” virtual address of the module IDLEST register. that’s the spot we’re checking, bestie.
  • mask β€” the value to mask against to determine if the module is active. vibe check for β€œis it doing stuff?” πŸ”₯
  • idlest β€” the idle state indicator for the clock, and it’s 0 or 1. just those two, periodt.
  • name β€” the name of the clock, for printk. so when it talks, it can say who it is. πŸ’–

πŸ’œ DESCRIPTION πŸ’œ

It waits for a module to leave idle, where its idle-status register is not inside the CM module. that’s the specific little situation this cutie handles. 🌈

It returns 1 if the module left idle promptly, or 0 if the module did not leave idle before the timeout elapsed. so like, prompt departure = 1, timeout sad times = 0. 😭

⚠️ XXX Deprecated β€” should be moved into drivers for the individual IP block that the IDLEST register exists in. so yeah, this is giving β€œlegacy era,” and that note is real. πŸ™ˆ

🌟 SEE ALSO 🌟

Kernel file ./drivers/clk/ti/clkt_dflt.c


mwah πŸ’‹ brought to you by ./drivers/clk/ti, dated October 2026, and the page is _wait_idlest_generic(9). slay. πŸŽ€

πŸ“¦ where this page comes from