tpm_chip_stop(9)
π tpm_chip_stop(9) β like, the Kernel API Manual page, bestie π
Okay so we're in the Kernel API Manual today and the vibe is: turning a TPM off. That's it. That's the whole thing. Let's get into it β¨
πΈ NAME πΈ
tpm_chip_stop β power off the TPM π«Ά
Like literally, that's what it does. Off. Lights out. Bye π
π¦ SYNOPSIS π¦
void tpm_chip_stop (struct tpm_chip *chip );
No cap, that's the whole signature. Void return, one pointer in, zero drama π
π ARGUMENTS π
chipβ a TPM chip to use π that's the one you're powering off, bestie. Pick your fave chip and send it to sleep.
β¨ RETURN β¨
So here's the thing β it's void, but the manpage still lists what to expect, and we're keeping all of it π
- The response length β OK β
-errnoβ a system error π
Ngl, an error path on a power-off function is giving main character energy. Just know it's there, iykyk π
π SEE ALSO π
Kernel file ./drivers/char/tpm/tpm-chip.c β go read it, it's iconic π
Then the whole friend group of related functions, fr fr:
tpm_chip_start(9)tpm_try_get_ops(9)tpm_put_ops(9)tpm_default_chip(9)tpm_dev_release(9)tpm_class_shutdown(9)tpm_chip_alloc(9)tpmm_chip_alloc(9)
π«Ά friendly heads up: that last one really is spelled tpmm_chip_alloc(9) with two m's. Not a typo, not me being chaotic β it's copied exactly, so don't come for me π
okay that's the page, you ate that, periodt π β¨
This little cutie lives in ./drivers/char/tpm and it was stamped October 2026 β mwah, love that for us ππ
π¦ 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