Searched refs:TPM_ACCESS (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/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.h | 70 #define TPM_ACCESS(l) (0x0000 | ((l) << 12)) macro
|
D | tpm_tis_core.c | 140 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()
|
D | tpm_tis.c | 58 ioread8(iobase + TPM_ACCESS(0)); in tpm_tis_flush()
|
D | tpm_tis_i2c.c | 94 case TPM_ACCESS(0): in tpm_tis_i2c_address_to_register()
|
/linux-6.12.1/drivers/char/tpm/st33zp24/ |
D | st33zp24.c | 25 #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/ |
D | tpm_tis.rst | 28 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
|