dtpm_update_power(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay bestie, welcome to dtpm_update_power(9) from the Kernel API Manual β€” we're doing kernel power stuff today and it's lowkey iconic 🫢

dtpm_update_power β€” Update the power on the dtpm πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

int dtpm_update_power (struct dtpm *dtpm );

🌸 ARGUMENTS 🌸

  • dtpm β€” a pointer to a dtpm structure to update. That's the node you're handing over for a little refresh ✨

πŸ¦‹ DESCRIPTION πŸ¦‹

So this function updates the power values of the dtpm node specified in the parameter. Those new values will be propagated to the tree β€” no cap, the whole tree gets the update 🌈


πŸ’– RETURN πŸ’–

  • zero β€” on success, slay βœ…
  • -EINVAL β€” if the values are inconsistent, so the vibe check failed 😭

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./drivers/powercap/dtpm.c


and that's the whole page, bestie πŸŽ€ source/version: ./drivers/powercap, dated October 2026 β€” dtpm_update_power(9) says byeee πŸ‘‘πŸ’œ

πŸ“¦ where this page comes from