tpm_cr50_i2c_tis_recv(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– tpm_cr50_i2c_tis_recv(9) β€” like, the TPM reception callback πŸ’–

okay so bestie, welcome to the Kernel API Manual entry for tpm_cr50_i2c_tis_recv β€” you already know it's a TPM reception callback, and honestly? she's kind of a big deal in the ./drivers/char/tpm/tpm_tis_i2c_cr50.c cinematic universe. πŸŽ€


✨ NAME ✨

tpm_cr50_i2c_tis_recv β€” TPM reception callback. that's it, that's the vibe. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

int tpm_cr50_i2c_tis_recv (struct tpm_chip *chip , u8 *buf , size_t
buf_len );

like, she takes a chip, a buffer and a length, and returns an int. no cap. ✨


🌸 ARGUMENTS 🌸

  • chip β€” a TPM chip. yes, THE chip. the main character. πŸ‘‘
  • buf β€” the reception buffer. this is where the tea gets received. πŸ“
  • buf_len β€” buffer length to read. so she knows how much room she's got, fr fr. πŸ“

πŸ’€ RETURN πŸ’€

  • >= 0 β€” number of read bytes. slay, she read stuff. πŸ”₯
  • -errno β€” a POSIX error code. not slay, but it's giving honest feedback. 😭

🌈 SEE ALSO 🌈

literally the whole friend group, in the kernel file ./drivers/char/tpm/tpm_tis_i2c_cr50.c:


ngl bestie, go read the whole crew. iykyk. 🫢

okay that's the whole page!! this little gem lives in ./drivers/char/tpm, dated October 2026, and she's tpm_cr50_i2c_tis_recv(9) β€” periodt. now go recv some bytes, icon. πŸ§šπŸ’œ

πŸ“¦ where this page comes from