Home
last modified time | relevance | path

Searched refs:TPM_ACCESS (Results 1 – 4 of 4) sorted by relevance

/drivers/char/tpm/
Dtpm_i2c_infineon.c276 #define TPM_ACCESS(l) (0x0000 | ((l) << 4)) macro
286 rc = iic_tpm_read(TPM_ACCESS(loc), &buf, 1); in check_locality()
303 if (iic_tpm_read(TPM_ACCESS(loc), &buf, 1) < 0) in release_locality()
309 iic_tpm_write(TPM_ACCESS(loc), &buf, 1); in release_locality()
321 iic_tpm_write(TPM_ACCESS(loc), &buf, 1); in request_locality()
Dtpm_tis_core.c48 rc = tpm_tis_read8(priv, TPM_ACCESS(l), &access); in wait_startup()
65 rc = tpm_tis_read8(priv, TPM_ACCESS(l), &access); in check_locality()
82 rc = tpm_tis_read8(priv, TPM_ACCESS(l), &access); in release_locality()
89 tpm_tis_write8(priv, TPM_ACCESS(l), TPM_ACCESS_ACTIVE_LOCALITY); in release_locality()
102 rc = tpm_tis_write8(priv, TPM_ACCESS(l), TPM_ACCESS_REQUEST_USE); in request_locality()
Dtpm_tis_core.h70 #define TPM_ACCESS(l) (0x0000 | ((l) << 12)) macro
/drivers/char/tpm/st33zp24/
Dst33zp24.c37 #define TPM_ACCESS 0x0 macro
129 status = tpm_dev->ops->recv(tpm_dev->phy_id, TPM_ACCESS, &data, 1); in check_locality()
154 ret = tpm_dev->ops->send(tpm_dev->phy_id, TPM_ACCESS, &data, 1); in request_locality()
182 tpm_dev->ops->send(tpm_dev->phy_id, TPM_ACCESS, &data, 1); in release_locality()