tpm_buf_read_u16(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

tpm_buf_read_u16 β€” read a 16-bit word from a TPM buffer πŸ’–

hey bestie, welcome to the tpm_buf_read_u16(9) page from the Kernel API Manual β€” this is the lil helper that reads a 16-bit word from a TPM buffer, no cap ✨

πŸŽ€ SYNOPSIS πŸŽ€

the signature, exactly as it is, periodt:

u16 tpm_buf_read_u16 (struct tpm_buf *buf , off_t *offset );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • buf β€” a tpm_buf instance 🫢 like, the buffer we're reading from.
  • offset β€” offset within the buffer πŸ‘€ the exact spot inside it.

🌸 RETURN 🌸

the next 16-bit word πŸ’… that's the whole vibe.

πŸ”₯ SEE ALSO πŸ”₯


later bestie πŸ’… β€” this page lives under ./drivers/char/tpm and is dated October 2026 πŸŽ€

πŸ“¦ where this page comes from