Searched refs:TPM_STS (Results 1 - 6 of 6) sorted by relevance
/linux-master/drivers/char/tpm/st33zp24/ |
H A D | st33zp24.c | 26 #define TPM_STS 0x18 macro 85 tpm_dev->ops->send(tpm_dev->phy_id, TPM_STS, &data, 1); 89 * return the TPM_STS register 96 tpm_dev->ops->recv(tpm_dev->phy_id, TPM_STS, &data, 1); 168 status = tpm_dev->ops->recv(tpm_dev->phy_id, TPM_STS + 1, 174 status = tpm_dev->ops->recv(tpm_dev->phy_id, TPM_STS + 2, 203 * wait for a TPM_STS value 360 ret = tpm_dev->ops->send(tpm_dev->phy_id, TPM_STS, &data, 1);
|
/linux-master/drivers/char/tpm/ |
H A D | tpm_i2c_infineon.c | 308 #define TPM_STS(l) (0x0001 | ((l) << 4)) macro 372 if (iic_tpm_read(TPM_STS(tpm_dev.locality), &buf, 1) < 0) 386 iic_tpm_write_long(TPM_STS(tpm_dev.locality), &buf, 1); 400 if (iic_tpm_read(TPM_STS(tpm_dev.locality)+1, buf, 3) < 0) 583 iic_tpm_write(TPM_STS(tpm_dev.locality), &sts, 1);
|
H A D | tpm_i2c_nuvoton.c | 27 #define TPM_STS 0x00 macro 88 /* read TPM_STS register */ 95 status = i2c_nuvoton_read_buf(client, TPM_STS, 1, &data); 105 /* write byte to TPM_STS register */ 113 status = i2c_nuvoton_write_buf(client, TPM_STS, 1, &data); 121 /* write commandReady to TPM_STS register */ 131 "%s() fail to write TPM_STS.commandReady\n", __func__); 134 /* read burstCount field from TPM_STS register 219 /* wait for dataAvail field to be set in the TPM_STS register */ 583 /* - wait for TPM_STS [all...] |
H A D | tpm_tis_core.h | 75 #define TPM_STS(l) (0x0018 | ((l) << 12)) macro
|
H A D | tpm_tis_core.c | 252 rc = tpm_tis_read8(priv, TPM_STS(priv->locality), &status); 264 dev_err(&chip->dev, "invalid TPM_STS.x 0x%02x, dumping stack for forensics\n", 268 * Dump stack for forensics, as invalid TPM_STS.x could be 286 tpm_tis_write8(priv, TPM_STS(priv->locality), TPM_STS_COMMAND_READY); 302 rc = tpm_tis_read32(priv, TPM_STS(priv->locality), &value); 416 tpm_tis_write8(priv, TPM_STS(priv->locality), 555 rc = tpm_tis_write8(priv, TPM_STS(priv->locality), TPM_STS_GO);
|
H A D | tpm_tis_i2c.c | 160 case TPM_STS(0) & TPM_TIS_REGISTER_MASK:
|
Completed in 244 milliseconds