pm_clk_create(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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

okay so real talk, you're in the Kernel API Manual and this page is literally called pm_clk_create and it's giving "welcome to the clock list, we've been expecting you" ✨


✨ NAME ✨

pm_clk_create β€” create and initialize a device's list of PM clocks. that's it, that's the whole vibe πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

int pm_clk_create (struct device *dev );

🌸 ARGUMENTS 🌸

  • dev β€” the device you're creating and initializing the list of PM clocks for. it's the main character here, ngl πŸ‘‘

πŸ’– DESCRIPTION πŸ’–

so here's the tea πŸ“: pm_clk_create allocates a struct pm_subsys_data object, initializes its lock and clock_list members, and then makes the dev's power.subsys_data field point to it. that's it. that's the whole glow-up. no cap, it's lowkey iconic πŸ’…

like, you're basically setting up the little home where all the PM clocks are gonna live, and pointing dev at it so everybody knows where to find it. slay 🫢


πŸ”₯ SEE ALSO πŸ”₯


and that's the whole page, bestie!! 🧚 from ./drivers/base/power, dated October 2026, and yeah β€” this was pm_clk_create(9). go forth and create those clock lists πŸ’œπŸŒˆβ­

πŸ“¦ where this page comes from