tpm2_get_tpm_pt(9)
π
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β atpm_chipinstance. π§property_idβ property ID.valueβ output variable. πdescβ passed totpm_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:
- Kernel file
./drivers/char/tpm/tpm2-cmd.c tpm2_calc_ordinal_duration(9)tpm2_pcr_read(9)tpm2_pcr_extend(9)tpm2_get_random(9)tpm2_flush_context(9)tpm2_shutdown(9)tpm2_do_selftest(9)tpm2_probe(9)tpm2_startup(9)tpm2_auto_startup(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms