tpm_cr50_i2c_tis_send(9)
π tpm_cr50_i2c_tis_send π
okay so bestie, welcome to the Kernel API Manual entry for tpm_cr50_i2c_tis_send β literally the TPM transmission callback. that's it, that's the whole vibe. it sends. it's a callback. iconic behaviour tbh π
β¨ NAME β¨
tpm_cr50_i2c_tis_send β the TPM transmission callback. no cap, that's what it does π¦
πΈ SYNOPSIS πΈ
int tpm_cr50_i2c_tis_send (struct tpm_chip *chip , u8 *buf , size_t
bufsiz , size_t len );
likeβ¦ look at her. four args, one int return, zero notes. she's giving minimalism π
π«Ά ARGUMENTS π«Ά
chipβ a TPM chip. yes. the actual chip struct. your main character π§bufβ the buffer you wanna send. the payload. the moment π₯bufsizβ the buffer size. how much roombufactually has, don't lie about it πlenβ the command length. how much of that buffer is real command and not just vibes β
π RETURN π
0β success. we ate. periodt π-errnoβ a POSIX error code. so if it's not0, it's one of those negative numbers and something went sideways π
π SEE ALSO π
okay this is the friend group, and literally every single one of them matters so pay attention bestie:
- the Kernel file
./drivers/char/tpm/tpm_tis_i2c_cr50.c struct tpm_i2c_cr50_priv_data(9)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_status(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_req_canceled(9)tpm_cr50_vid_to_name(9)tpm_cr50_i2c_probe(9)tpm_cr50_i2c_remove(9)
like, read them. all of them. iykyk π
aaaand that's the page!! this lil beauty lives in ./drivers/char/tpm, she's dated October 2026, and she answers to tpm_cr50_i2c_tis_send(9) π mwah, go send some TPM stuff bestie πβ¨
π¦ 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