dtpm_update_power(9)
β¨ 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 adtpmstructure 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms