__pm_clk_enable(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, meet __pm_clk_enable β€” it enables a clock, and it's not shy about reporting any errors while it does it. ✨

this one lives in the Kernel API Manual (yes, the kernel has lore πŸ’…).


✨ SYNOPSIS ✨

void __pm_clk_enable (struct device *dev , struct pm_clock_entry *ce );

that's the whole vibe: return type void, two args, no cap. 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the device that owns the clock you're messing with. like, whose clock is this? this one. 🫡
  • ce β€” the PM clock entry that corresponds to the clock. the lil handle for the actual clock, iykyk. ⏰

πŸ¦‹ SEE ALSO πŸ¦‹

first up, the source of truth: kernel file ./drivers/base/power/clock_ops.c β€” go read it, it's giving main character energy. πŸ“–πŸ”₯

and then the whole clock-ops friend group, all together, all iconic:


ngl the whole "reporting any errors" thing in the NAME is the moment of truth here β€” that's the actual pitch of this function, so don't sleep on it. πŸ‘‘

and that's the page!! source/version: ./drivers/base/power, dated October 2026 β€” stamped, sealed, slayed. πŸŽ€πŸ’œ bye bestie, go enable some clocks responsibly πŸ•°οΈβœ¨

πŸ“¦ where this page comes from