Searched refs:tpm_cr50_i2c_read (Results 1 – 1 of 1) sorted by relevance
/linux-6.14.4/drivers/char/tpm/ |
D | tpm_tis_i2c_cr50.c | 189 static int tpm_cr50_i2c_read(struct tpm_chip *chip, u8 addr, u8 *buffer, size_t len) in tpm_cr50_i2c_read() function 299 rc = tpm_cr50_i2c_read(chip, TPM_I2C_ACCESS(loc), &buf, sizeof(buf)); in tpm_cr50_check_locality() 326 rc = tpm_cr50_i2c_read(chip, addr, &buf, sizeof(buf)); in tpm_cr50_release_locality() 393 if (tpm_cr50_i2c_read(chip, TPM_I2C_STS(chip->locality), buf, sizeof(buf)) < 0) in tpm_cr50_i2c_tis_status() 439 if (tpm_cr50_i2c_read(chip, TPM_I2C_STS(chip->locality), buf, sizeof(buf)) < 0) { in tpm_cr50_i2c_get_burst_and_status() 493 rc = tpm_cr50_i2c_read(chip, addr, buf, burstcnt); in tpm_cr50_i2c_tis_recv() 516 rc = tpm_cr50_i2c_read(chip, addr, buf + cur, len); in tpm_cr50_i2c_tis_recv() 771 rc = tpm_cr50_i2c_read(chip, TPM_I2C_DID_VID(loc), buf, sizeof(buf)); in tpm_cr50_i2c_probe()
|