Searched refs:TPM_ACCESS (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/drivers/char/tpm/ |
D | tpm_i2c_infineon.c | 312 #define TPM_ACCESS(l) (0x0000 | ((l) << 4)) macro 322 rc = iic_tpm_read(TPM_ACCESS(loc), &buf, 1); in check_locality() 339 if (iic_tpm_read(TPM_ACCESS(loc), &buf, 1) < 0) in release_locality() 345 iic_tpm_write(TPM_ACCESS(loc), &buf, 1); in release_locality() 357 iic_tpm_write(TPM_ACCESS(loc), &buf, 1); in request_locality()
|
D | tpm_tis_core.c | 111 rc = tpm_tis_read8(priv, TPM_ACCESS(l), &access); in wait_startup() 128 rc = tpm_tis_read8(priv, TPM_ACCESS(l), &access); in check_locality() 147 rc = tpm_tis_read8(priv, TPM_ACCESS(l), &access); in locality_inactive() 164 tpm_tis_write8(priv, TPM_ACCESS(l), TPM_ACCESS_ACTIVE_LOCALITY); in release_locality() 204 rc = tpm_tis_write8(priv, TPM_ACCESS(l), TPM_ACCESS_REQUEST_USE); in request_locality()
|
D | tpm_tis_core.h | 70 #define TPM_ACCESS(l) (0x0000 | ((l) << 12)) macro
|
/Linux-v4.19/drivers/char/tpm/st33zp24/ |
D | st33zp24.c | 36 #define TPM_ACCESS 0x0 macro 128 status = tpm_dev->ops->recv(tpm_dev->phy_id, TPM_ACCESS, &data, 1); in check_locality() 153 ret = tpm_dev->ops->send(tpm_dev->phy_id, TPM_ACCESS, &data, 1); in request_locality() 181 tpm_dev->ops->send(tpm_dev->phy_id, TPM_ACCESS, &data, 1); in release_locality()
|