tpm_transmit(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– tpm_transmit(9) β€” from the Kernel API Manual, bestie πŸ’–

okay so welcome to the group chat, this is tpm_transmit from section 9 of the Kernel API Manual and honestly she's lowkey a legend 🫢


✨ NAME ✨

tpm_transmit β€” the internal kernel interface for transmitting TPM commands, no cap πŸ’…


🌸 SYNOPSIS 🌸

ssize_t tpm_transmit (struct tpm_chip *chip , u8 *buf , size_t bufsiz );

πŸŽ€ ARGUMENTS πŸŽ€

  • chip β€” a TPM chip to use, like, the actual chip you're talking to πŸ¦‹
  • buf β€” a TPM command buffer. this is where the command lives fr
  • bufsiz β€” length of the TPM command buffer. gotta know how big buf is, obviously πŸ’œ

πŸ”₯ DESCRIPTION πŸ”₯

so what she actually does: she's a wrapper around tpm_try_transmit πŸ’« and the way that she handles TPM2_RC_RETRY returns from the TPM is genuinely iconic β€” she retransmits the command after a delay, up to a maximum wait of TPM2_DURATION_LONG ⭐

bestie, important lore: TPM 1.x never returns TPM2_RC_RETRY, so this whole retry logic is TPM 2.0 only πŸ‘‘ don't come for her about 1.x, she doesn't play that game

🌈 RETURN 🌈

  • The response length β€” OK πŸ’–
  • -errno β€” A system error 😭

🧚 SEE ALSO 🧚

all of these are her besties, go say hi πŸ’•


and that's the whole page, periodt πŸŽ€ this came out of ./drivers/char/tpm and is dated October 2026 β€” mwah, love u, go transmit some commands responsibly βœ¨πŸ’œ

πŸ“¦ where this page comes from