tpm2_get_tpm_pt(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… tpm2_get_tpm_pt(9) πŸ’…

okay bestie, welcome to tpm2_get_tpm_pt(9) from the Kernel API Manual β€” yes, the kernel manual, and yes, she is serving low-level TPM realness. 🫢


🌸 NAME 🌸

tpm2_get_tpm_pt β€” get value of a TPM_CAP_TPM_PROPERTIES type property. That's the whole vibe: she gets the value of a TPM_CAP_TPM_PROPERTIES type property, no cap. ✨


✨ SYNOPSIS ✨

the signature is giving:

ssize_t tpm2_get_tpm_pt (struct tpm_chip *chip , u32 property_id , u32
       *value , const char *desc );

πŸŽ€ ARGUMENTS πŸŽ€

okay so the args are literally:

  • chip β€” a tpm_chip instance. 🧚
  • property_id β€” property ID.
  • value β€” output variable. πŸ’–
  • desc β€” passed to tpm_transmit_cmd.

πŸ’– RETURN πŸ’–

0 on success, -errno or a TPM return code otherwise. periodt. πŸ’…


πŸ‘‘ SEE ALSO πŸ‘‘

go read these next, bestie β€” they're all linked up:


mwah πŸ’‹ this one comes from source ./drivers/char/tpm, dated October 2026, and it's the tpm2_get_tpm_pt(9) page β€” byeee πŸ¦‹πŸ«Ά

πŸ“¦ where this page comes from