Home
last modified time | relevance | path

Searched refs:TPM_STS (Results 1 – 4 of 4) sorted by relevance

/external/u-boot/drivers/tpm/
Dtpm_tis_st33zp24_i2c.c28 #define TPM_STS 0x18 macro
182 st33zp24_i2c_read(dev, TPM_STS, &data, 1); in st33zp24_i2c_status()
203 tpm_reg = TPM_STS + 1; in st33zp24_i2c_get_burstcount()
208 tpm_reg = TPM_STS + 2; in st33zp24_i2c_get_burstcount()
233 st33zp24_i2c_write(dev, TPM_STS, &data, 1); in st33zp24_i2c_cancel()
406 ret = st33zp24_i2c_write(dev, TPM_STS, &data, 1); in st33zp24_i2c_send()
Dtpm_tis_st33zp24_spi.c29 #define TPM_STS 0x18 macro
312 st33zp24_spi_read(dev, TPM_STS, &data, 1); in st33zp24_spi_status()
332 tpm_reg = TPM_STS + 1; in st33zp24_spi_get_burstcount()
337 tpm_reg = TPM_STS + 2; in st33zp24_spi_get_burstcount()
362 st33zp24_spi_write(dev, TPM_STS, &data, 1); in st33zp24_spi_cancel()
534 ret = st33zp24_spi_write(dev, TPM_STS, &data, 1); in st33zp24_spi_send()
Dtpm_tis_infineon.c52 #define TPM_STS(l) (0x0001 | ((l) << 4)) macro
272 if (tpm_tis_i2c_read(dev, TPM_STS(chip->locality), &buf, 1) < 0) in tpm_tis_i2c_status()
287 rc = tpm_tis_i2c_write_long(dev, TPM_STS(chip->locality), &buf, 1); in tpm_tis_i2c_ready()
307 addr = TPM_STS(chip->locality) + 1; in tpm_tis_i2c_get_burstcount()
483 rc = tpm_tis_i2c_write(dev, TPM_STS(chip->locality), &sts, 1); in tpm_tis_i2c_send()
Dtpm2_tis_spi.c35 #define TPM_STS(l) (0x0018 | ((l) << 12)) macro
275 return tpm_tis_spi_read(dev, TPM_STS(chip->locality), status, 1); in tpm_tis_spi_status()
308 ret = tpm_tis_spi_read32(dev, TPM_STS(chip->locality), in tpm_tis_spi_get_burstcount()
328 return tpm_tis_spi_write(dev, TPM_STS(chip->locality), &data, 1); in tpm_tis_spi_cancel()
482 ret = tpm_tis_spi_write(dev, TPM_STS(chip->locality), &data, 1); in tpm_tis_spi_send()