tpm_cr50_i2c_tis_status(9)
β¨ tpm_cr50_i2c_tis_status β¨
okay bestie so we're deep in the kernel API manual rn β this one's a (9) page, which means it's a kernel-internal function situation, not your cute little shell command. and yes, we're looking at tpm_cr50_i2c_tis_status π
πΈ NAME πΈ
tpm_cr50_i2c_tis_status β read the cr50 tis status. that's it, that's the whole job π«Ά
π¦ SYNOPSIS π¦
u8 tpm_cr50_i2c_tis_status (struct tpm_chip *chip );
literally just hand it a chip and it hands you back a u8. iconic. β
π ARGUMENTS π
chipβ a TPM chip. that's the whole vibe. one chip, that's what we're working with. π₯
π DESCRIPTION π
so here's the tea: cr50 requires all 4 bytes of the status register to be read. not 1, not 2, not 3 β all four. the way that cr50 fr fr refuses to cooperate otherwise π so this function exists to make sure that read happens correctly, and likeβ¦ that's the entire bit. no cap. π
π RETURN π
it returns the TPM status byte. one byte. precious. π
π SEE ALSO π
kernel file ./drivers/char/tpm/tpm_tis_i2c_cr50.c struct tpm_i2c_cr50_priv_data(9), and like⦠the whole friend group honestly:
tpm_cr50_i2c_int_handler(9)tpm_cr50_i2c_wait_tpm_ready(9)tpm_cr50_i2c_enable_tpm_irq(9)tpm_cr50_i2c_disable_tpm_irq(9)tpm_cr50_i2c_transfer_message(9)tpm_cr50_i2c_read(9)tpm_cr50_i2c_write(9)tpm_cr50_check_locality(9)tpm_cr50_release_locality(9)tpm_cr50_request_locality(9)tpm_cr50_i2c_tis_set_ready(9)tpm_cr50_i2c_get_burst_and_status(9)tpm_cr50_i2c_tis_recv(9)tpm_cr50_i2c_tis_send(9)tpm_cr50_i2c_req_canceled(9)tpm_cr50_vid_to_name(9)tpm_cr50_i2c_probe(9)tpm_cr50_i2c_remove(9)
go read them. iykyk π§
quick reminder that the source lives at ./drivers/char/tpm β that's the neighborhood this whole friend group grew up in π
and that's a wrap bestie!! π this page is dated October 2026 and it comes from ./drivers/char/tpm, so if you're reading it a while from now, hi from the past, hope the kernel's still slaying πβ¨
π¦ 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