Searched refs:TPM_ACCESS (Results 1 – 4 of 4) sorted by relevance
/drivers/char/tpm/ |
D | tpm_i2c_infineon.c | 307 #define TPM_ACCESS(l) (0x0000 | ((l) << 4)) macro 317 rc = iic_tpm_read(TPM_ACCESS(loc), &buf, 1); in check_locality() 334 if (iic_tpm_read(TPM_ACCESS(loc), &buf, 1) < 0) in release_locality() 340 iic_tpm_write(TPM_ACCESS(loc), &buf, 1); in release_locality() 352 iic_tpm_write(TPM_ACCESS(loc), &buf, 1); in request_locality()
|
D | tpm_tis_core.c | 108 rc = tpm_tis_read8(priv, TPM_ACCESS(l), &access); in wait_startup() 125 rc = tpm_tis_read8(priv, TPM_ACCESS(l), &access); in check_locality() 141 tpm_tis_write8(priv, TPM_ACCESS(l), TPM_ACCESS_ACTIVE_LOCALITY); in __tpm_tis_relinquish_locality() 168 rc = tpm_tis_write8(priv, TPM_ACCESS(l), TPM_ACCESS_REQUEST_USE); in __tpm_tis_request_locality()
|
D | tpm_tis_core.h | 69 #define TPM_ACCESS(l) (0x0000 | ((l) << 12)) macro
|
/drivers/char/tpm/st33zp24/ |
D | st33zp24.c | 24 #define TPM_ACCESS 0x0 macro 116 status = tpm_dev->ops->recv(tpm_dev->phy_id, TPM_ACCESS, &data, 1); in check_locality() 141 ret = tpm_dev->ops->send(tpm_dev->phy_id, TPM_ACCESS, &data, 1); in request_locality() 169 tpm_dev->ops->send(tpm_dev->phy_id, TPM_ACCESS, &data, 1); in release_locality()
|