Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/char/tpm/
Dtpm_i2c_infineon.c307 #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()
Dtpm_tis_core.h70 #define TPM_ACCESS(l) (0x0000 | ((l) << 12)) macro
Dtpm_tis_core.c140 rc = tpm_tis_read8(priv, TPM_ACCESS(l), &access); in wait_startup()
157 rc = tpm_tis_read8(priv, TPM_ACCESS(l), &access); in check_locality()
173 tpm_tis_write8(priv, TPM_ACCESS(l), TPM_ACCESS_ACTIVE_LOCALITY); in __tpm_tis_relinquish_locality()
200 rc = tpm_tis_write8(priv, TPM_ACCESS(l), TPM_ACCESS_REQUEST_USE); in __tpm_tis_request_locality()
Dtpm_tis.c58 ioread8(iobase + TPM_ACCESS(0)); in tpm_tis_flush()
Dtpm_tis_i2c.c94 case TPM_ACCESS(0): in tpm_tis_i2c_address_to_register()
/linux-6.12.1/drivers/char/tpm/st33zp24/
Dst33zp24.c25 #define TPM_ACCESS 0x0 macro
109 status = tpm_dev->ops->recv(tpm_dev->phy_id, TPM_ACCESS, &data, 1); in check_locality()
129 ret = tpm_dev->ops->send(tpm_dev->phy_id, TPM_ACCESS, &data, 1); in request_locality()
153 tpm_dev->ops->send(tpm_dev->phy_id, TPM_ACCESS, &data, 1); in release_locality()
/linux-6.12.1/Documentation/security/tpm/
Dtpm_tis.rst28 locality 0 by setting the requestUse bit in the TPM_ACCESS register. The bit is
30 communication, the kernel writes the TPM_ACCESS.activeLocality bit. This