tpm_chip_stop(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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:

🫢 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