dtpm_init(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to dtpm_init(9) from the Kernel API Manual 🫢✨ this is the kernel API page that does exactly what it says on the label: allocate and initialize a dtpm struct. no cap, it's giving β€œsetup era” πŸ’…

πŸŽ€ NAME πŸŽ€

dtpm_init β€” Allocate and initialize a dtpm struct πŸ’–

✨ SYNOPSIS ✨

Here's the signature, bestie β€” copy it exactly, don't freestyle:

void dtpm_init (struct dtpm *dtpm , struct dtpm_ops *ops );

🌸 ARGUMENTS 🌸

  • dtpm β€” the dtpm struct pointer to be initialized. This is the main character of the function, okay? It's the thing getting set up.
  • ops β€” the dtpm device specific ops, NULL for a virtual node. That's the whole rule, bestie β€” NULL = virtual node vibes. iykyk.

πŸ¦‹ SEE ALSO πŸ¦‹

mwah πŸ’‹ this page is courtesy of ./drivers/powercap, dated October 2026. periodt. πŸŒˆπŸ‘‘

πŸ“¦ where this page comes from