Home
last modified time | relevance | path

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

/linux-4.19.296/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-4.19.296/drivers/char/tpm/
Dtpm_i2c_infineon.c314 #define TPM_STS(l) (0x0001 | ((l) << 4)) macro
378 if (iic_tpm_read(TPM_STS(tpm_dev.locality), &buf, 1) < 0) in tpm_tis_i2c_status()
392 iic_tpm_write_long(TPM_STS(tpm_dev.locality), &buf, 1); in tpm_tis_i2c_ready()
406 if (iic_tpm_read(TPM_STS(tpm_dev.locality)+1, buf, 3) < 0) in get_burstcount()
589 iic_tpm_write(TPM_STS(tpm_dev.locality), &sts, 1); in tpm_tis_i2c_send()
Dtpm_i2c_nuvoton.c38 #define TPM_STS 0x00 macro
106 status = i2c_nuvoton_read_buf(client, TPM_STS, 1, &data); in i2c_nuvoton_read_status()
124 status = i2c_nuvoton_write_buf(client, TPM_STS, 1, &data); in i2c_nuvoton_write_status()
Dtpm_tis_core.h75 #define TPM_STS(l) (0x0018 | ((l) << 12)) macro
Dtpm_tis_core.c198 rc = tpm_tis_read8(priv, TPM_STS(priv->locality), &status); in tpm_tis_status()
210 tpm_tis_write8(priv, TPM_STS(priv->locality), TPM_STS_COMMAND_READY); in tpm_tis_ready()
226 rc = tpm_tis_read32(priv, TPM_STS(priv->locality), &value); in get_burstcount()
441 rc = tpm_tis_write8(priv, TPM_STS(priv->locality), TPM_STS_GO); in tpm_tis_send_main()