Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/drivers/tpm/
H A 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()
405 ret = st33zp24_i2c_write(dev, TPM_STS, &data, 1); in st33zp24_i2c_send()
H A 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()
533 ret = st33zp24_spi_write(dev, TPM_STS, &data, 1); in st33zp24_spi_send()
H A Dtpm_tis_infineon.c55 #define TPM_STS(l) (0x0001 | ((l) << 4)) macro
275 if (tpm_tis_i2c_read(dev, TPM_STS(chip->locality), &buf, 1) < 0) in tpm_tis_i2c_status()
290 rc = tpm_tis_i2c_write_long(dev, TPM_STS(chip->locality), &buf, 1); in tpm_tis_i2c_ready()
310 addr = TPM_STS(chip->locality) + 1; in tpm_tis_i2c_get_burstcount()
485 rc = tpm_tis_i2c_write(dev, TPM_STS(chip->locality), &sts, 1); in tpm_tis_i2c_send()