Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/char/tpm/st33zp24/
Dst33zp24.c37 #define TPM_STS 0x18 macro
100 tpm_dev->ops->send(tpm_dev->phy_id, TPM_STS, &data, 1); in st33zp24_cancel()
113 tpm_dev->ops->recv(tpm_dev->phy_id, TPM_STS, &data, 1); in st33zp24_status()
198 status = tpm_dev->ops->recv(tpm_dev->phy_id, TPM_STS + 1, in get_burstcount()
204 status = tpm_dev->ops->recv(tpm_dev->phy_id, TPM_STS + 2, in get_burstcount()
425 ret = tpm_dev->ops->send(tpm_dev->phy_id, TPM_STS, &data, 1); in st33zp24_send()
/Linux-v4.19/drivers/char/tpm/
Dtpm_i2c_infineon.c313 #define TPM_STS(l) (0x0001 | ((l) << 4)) macro
377 if (iic_tpm_read(TPM_STS(tpm_dev.locality), &buf, 1) < 0) in tpm_tis_i2c_status()
391 iic_tpm_write_long(TPM_STS(tpm_dev.locality), &buf, 1); in tpm_tis_i2c_ready()
405 if (iic_tpm_read(TPM_STS(tpm_dev.locality)+1, buf, 3) < 0) in get_burstcount()
588 iic_tpm_write(TPM_STS(tpm_dev.locality), &sts, 1); in tpm_tis_i2c_send()
Dtpm_i2c_nuvoton.c38 #define TPM_STS 0x00 macro
108 status = i2c_nuvoton_read_buf(client, TPM_STS, 1, &data); in i2c_nuvoton_read_status()
126 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()
254 tpm_tis_write8(priv, TPM_STS(priv->locality), TPM_STS_COMMAND_READY); in tpm_tis_ready()
270 rc = tpm_tis_read32(priv, TPM_STS(priv->locality), &value); in get_burstcount()
469 rc = tpm_tis_write8(priv, TPM_STS(priv->locality), TPM_STS_GO); in tpm_tis_send_main()
Dtpm_tis_core.h75 #define TPM_STS(l) (0x0018 | ((l) << 12)) macro