Home
last modified time | relevance | path

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

/drivers/char/tpm/st33zp24/
Dst33zp24.c25 #define TPM_STS 0x18 macro
84 tpm_dev->ops->send(tpm_dev->phy_id, TPM_STS, &data, 1); in st33zp24_cancel()
95 tpm_dev->ops->recv(tpm_dev->phy_id, TPM_STS, &data, 1); in st33zp24_status()
167 status = tpm_dev->ops->recv(tpm_dev->phy_id, TPM_STS + 1, in get_burstcount()
173 status = tpm_dev->ops->recv(tpm_dev->phy_id, TPM_STS + 2, in get_burstcount()
359 ret = tpm_dev->ops->send(tpm_dev->phy_id, TPM_STS, &data, 1); in st33zp24_send()
/drivers/char/tpm/
Dtpm_i2c_infineon.c308 #define TPM_STS(l) (0x0001 | ((l) << 4)) macro
372 if (iic_tpm_read(TPM_STS(tpm_dev.locality), &buf, 1) < 0) in tpm_tis_i2c_status()
386 iic_tpm_write_long(TPM_STS(tpm_dev.locality), &buf, 1); in tpm_tis_i2c_ready()
400 if (iic_tpm_read(TPM_STS(tpm_dev.locality)+1, buf, 3) < 0) in get_burstcount()
583 iic_tpm_write(TPM_STS(tpm_dev.locality), &sts, 1); in tpm_tis_i2c_send()
Dtpm_i2c_nuvoton.c26 #define TPM_STS 0x00 macro
94 status = i2c_nuvoton_read_buf(client, TPM_STS, 1, &data); in i2c_nuvoton_read_status()
112 status = i2c_nuvoton_write_buf(client, TPM_STS, 1, &data); in i2c_nuvoton_write_status()
Dtpm_tis_core.c242 rc = tpm_tis_read8(priv, TPM_STS(priv->locality), &status); in tpm_tis_status()
276 tpm_tis_write8(priv, TPM_STS(priv->locality), TPM_STS_COMMAND_READY); in tpm_tis_ready()
292 rc = tpm_tis_read32(priv, TPM_STS(priv->locality), &value); in get_burstcount()
520 rc = tpm_tis_write8(priv, TPM_STS(priv->locality), TPM_STS_GO); in tpm_tis_send_main()
Dtpm_tis_core.h74 #define TPM_STS(l) (0x0018 | ((l) << 12)) macro
Dtpm_tis_i2c.c160 case TPM_STS(0) & TPM_TIS_REGISTER_MASK: in tpm_tis_i2c_sanity_check_read()