Searched refs:tpm_cr50_i2c_read (Results 1 - 1 of 1) sorted by last modified time

/linux-master/drivers/char/tpm/
H A Dtpm_tis_i2c_cr50.c172 * tpm_cr50_i2c_read() - Read from TPM register.
186 static int tpm_cr50_i2c_read(struct tpm_chip *chip, u8 addr, u8 *buffer, size_t len) function
301 rc = tpm_cr50_i2c_read(chip, TPM_I2C_ACCESS(0), &buf, sizeof(buf));
322 if (tpm_cr50_i2c_read(chip, addr, &buf, sizeof(buf)) < 0)
376 if (tpm_cr50_i2c_read(chip, TPM_I2C_STS(0), buf, sizeof(buf)) < 0)
422 if (tpm_cr50_i2c_read(chip, TPM_I2C_STS(0), buf, sizeof(buf)) < 0) {
476 rc = tpm_cr50_i2c_read(chip, addr, buf, burstcnt);
499 rc = tpm_cr50_i2c_read(chip, addr, buf + cur, len);
736 rc = tpm_cr50_i2c_read(chip, TPM_I2C_DID_VID(0), buf, sizeof(buf));

Completed in 114 milliseconds