tpm2_shutdown(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

tpm2_shutdown β€” send a TPM shutdown command πŸ’–

okay bestie, welcome to the tpm2_shutdown(9) page from the Kernel API Manual. this is the whole vibe check: one little kernel function whose entire job is sending a TPM shutdown command. no cap. periodt.


πŸŽ€ SYNOPSIS πŸŽ€

the signature is literally right here, copy it exactly:

void tpm2_shutdown (struct tpm_chip *chip , u16 shutdown_type );

πŸ’… ARGUMENTS πŸ’…

  • chip β€” a tpm_chip instance. it's giving β€œthe TPM chip in question,” bestie. πŸ’–
  • shutdown_type β€” TPM_SU_CLEAR or TPM_SU_STATE. those are the two options, and that’s the whole menu. slay. ✨

🌸 DESCRIPTION 🌸

okay so this function sends a TPM shutdown command. the shutdown command is used in call sites where the system is going down. if it fails, there is not much that can be done except print an error message. 😭 that’s the tea: no dramatic rescue arc, no backup plan, just a sad little error print and vibes.

πŸ¦‹ SEE ALSO πŸ¦‹

the kernel file is ./drivers/char/tpm/tpm2-cmd.c, and these are the friends in the group chat:

mwah πŸ’‹ β€” this page comes from ./drivers/char/tpm, dated October 2026, and it’s the tpm2_shutdown(9) manual page. bye bestie, go be iconic 🫢✨

πŸ“¦ where this page comes from