Searched refs:tpm_tis_spi_read (Results 1 – 1 of 1) sorted by relevance
/openbmc/u-boot/drivers/tpm/ |
H A D | tpm2_tis_spi.c | 168 static int tpm_tis_spi_read(struct udevice *dev, u16 addr, u8 *in, u16 len) in tpm_tis_spi_read() function 178 ret = tpm_tis_spi_read(dev, addr, (u8 *)&result_le, sizeof(u32)); in tpm_tis_spi_read32() 198 ret = tpm_tis_spi_read(dev, TPM_ACCESS(loc), &buf, 1); in tpm_tis_spi_check_locality() 216 if (tpm_tis_spi_read(dev, TPM_ACCESS(loc), &buf, 1) < 0) in tpm_tis_spi_release_locality() 275 return tpm_tis_spi_read(dev, TPM_STS(chip->locality), status, 1); in tpm_tis_spi_status() 346 ret = tpm_tis_spi_read(dev, TPM_DATA_FIFO(chip->locality), in tpm_tis_spi_recv_data() 561 ret = tpm_tis_spi_read(dev, TPM_ACCESS(loc), &status, 1); in tpm_tis_wait_init() 629 ret = tpm_tis_spi_read(dev, TPM_RID(chip->locality), &chip->rid, 1); in tpm_tis_spi_probe()
|