dtpm_init(9)
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β thedtpmstruct 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,NULLfor a virtual node. That's the whole rule, bestie βNULL= virtual node vibes. iykyk.
π¦ SEE ALSO π¦
- Kernel file
./drivers/powercap/dtpm.c dtpm_update_power(9)dtpm_release_zone(9)dtpm_unregister(9)dtpm_register(9)dtpm_create_hierarchy(9)
mwah π this page is courtesy of ./drivers/powercap, dated October 2026. periodt. ππ
π¦ 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