tpm_cr50_i2c_tis_recv(9)
π tpm_cr50_i2c_tis_recv(9) β like, the TPM reception callback π
okay so bestie, welcome to the Kernel API Manual entry for tpm_cr50_i2c_tis_recv β you already know it's a TPM reception callback, and honestly? she's kind of a big deal in the ./drivers/char/tpm/tpm_tis_i2c_cr50.c cinematic universe. π
β¨ NAME β¨
tpm_cr50_i2c_tis_recv β TPM reception callback. that's it, that's the vibe. π
π¦ SYNOPSIS π¦
int tpm_cr50_i2c_tis_recv (struct tpm_chip *chip , u8 *buf , size_t
buf_len );
like, she takes a chip, a buffer and a length, and returns an int. no cap. β¨
πΈ ARGUMENTS πΈ
chipβ a TPM chip. yes, THE chip. the main character. πbufβ the reception buffer. this is where the tea gets received. πbuf_lenβ buffer length to read. so she knows how much room she's got, fr fr. π
π RETURN π
>= 0β number of read bytes. slay, she read stuff. π₯-errnoβ a POSIX error code. not slay, but it's giving honest feedback. π
π SEE ALSO π
literally the whole friend group, in 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_send(9)tpm_cr50_i2c_req_canceled(9)tpm_cr50_vid_to_name(9)tpm_cr50_i2c_probe(9)tpm_cr50_i2c_remove(9)
ngl bestie, go read the whole crew. iykyk. π«Ά
okay that's the whole page!! this little gem lives in ./drivers/char/tpm, dated October 2026, and she's tpm_cr50_i2c_tis_recv(9) β periodt. now go recv some bytes, icon. π§π
π¦ 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