tpm1_do_selftest(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

tpm1_do_selftest β€” okay bestie, this is the one that has the TPM continue its selftest and wait until it can receive further commands πŸ‘‘βœ¨

This page is from the Kernel API Manual, and we are absolutely in kernel API land, stay with me 🫢

✨ SYNOPSIS ✨

int tpm1_do_selftest (struct tpm_chip *chip );

πŸŽ€ ARGUMENTS πŸŽ€

  • chip β€” TPM chip to use. That's the chip bestie πŸ§šπŸ’œ

πŸ’… DESCRIPTION πŸ’…

The return vibe check is literally this: 0 on success 🌸, < 0 in case of fatal error 😭, or a value > 0 that represents a TPM error code πŸ’€. Those are the outcomes, no cap.

πŸ¦‹ SEE ALSO πŸ¦‹


Cute lil footer sign-off time: this page lives under ./drivers/char/tpm, it's dated October 2026, and the main character is tpm1_do_selftest(9) πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from