Home
last modified time | relevance | path

Searched refs:tpm_tis_i2c_read (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/drivers/tpm/
H A Dtpm2_tis_i2c.c48 static int tpm_tis_i2c_read(struct udevice *dev, u32 addr, u16 len, u8 *in) in tpm_tis_i2c_read() function
82 rc = tpm_tis_i2c_read(dev, addr, sizeof(u32), (u8 *)&result_le); in tpm_tis_i2c_read32()
97 .read_bytes = tpm_tis_i2c_read,
H A Dtpm_tis_infineon.c70 static int tpm_tis_i2c_read(struct udevice *dev, u8 addr, u8 *buffer, in tpm_tis_i2c_read() function
198 rc = tpm_tis_i2c_read(dev, TPM_ACCESS(loc), &buf, 1); in tpm_tis_i2c_check_locality()
216 if (tpm_tis_i2c_read(dev, TPM_ACCESS(loc), &buf, 1) < 0) in tpm_tis_i2c_release_locality()
272 if (tpm_tis_i2c_read(dev, TPM_STS(chip->locality), &buf, 1) < 0) in tpm_tis_i2c_status()
308 if (tpm_tis_i2c_read(dev, addr, buf, 3) < 0) in tpm_tis_i2c_get_burstcount()
361 rc = tpm_tis_i2c_read(dev, TPM_DATA_FIFO(chip->locality), in tpm_tis_i2c_recv_data()
526 if (tpm_tis_i2c_read(dev, TPM_DID_VID(0), (uchar *)&vendor, 4) < 0) { in tpm_tis_i2c_init()