Searched refs:TPM_ACCESS (Results 1 – 7 of 7) sorted by relevance
| /OK3568_Linux_fs/u-boot/drivers/tpm/ |
| H A D | tpm_tis_infineon.c | 54 #define TPM_ACCESS(l) (0x0000 | ((l) << 4)) macro 201 rc = tpm_tis_i2c_read(dev, TPM_ACCESS(loc), &buf, 1); in tpm_tis_i2c_check_locality() 219 if (tpm_tis_i2c_read(dev, TPM_ACCESS(loc), &buf, 1) < 0) in tpm_tis_i2c_release_locality() 224 tpm_tis_i2c_write(dev, TPM_ACCESS(loc), &buf, 1); in tpm_tis_i2c_release_locality() 244 rc = tpm_tis_i2c_write(dev, TPM_ACCESS(loc), &buf, 1); in tpm_tis_i2c_request_locality()
|
| H A D | tpm_tis_st33zp24_i2c.c | 27 #define TPM_ACCESS 0x0 macro 118 st33zp24_i2c_write(dev, TPM_ACCESS, &data, 1); in st33zp24_i2c_release_locality() 132 status = st33zp24_i2c_read(dev, TPM_ACCESS, &data, 1); in st33zp24_i2c_check_locality() 157 ret = st33zp24_i2c_write(dev, TPM_ACCESS, &data, 1); in st33zp24_i2c_request_locality()
|
| H A D | tpm_tis_st33zp24_spi.c | 28 #define TPM_ACCESS 0x0 macro 248 st33zp24_spi_write(dev, TPM_ACCESS, &data, 1); in st33zp24_spi_release_locality() 262 status = st33zp24_spi_read(dev, TPM_ACCESS, &data, 1); in st33zp24_spi_check_locality() 287 ret = st33zp24_spi_write(dev, TPM_ACCESS, &data, 1); in st33zp24_spi_request_locality()
|
| /OK3568_Linux_fs/kernel/drivers/char/tpm/ |
| H A 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()
|
| H A 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() 143 tpm_tis_write8(priv, TPM_ACCESS(l), TPM_ACCESS_ACTIVE_LOCALITY); in release_locality() 157 rc = tpm_tis_write8(priv, TPM_ACCESS(l), TPM_ACCESS_REQUEST_USE); in request_locality()
|
| H A D | tpm_tis_core.h | 69 #define TPM_ACCESS(l) (0x0000 | ((l) << 12)) macro
|
| /OK3568_Linux_fs/kernel/drivers/char/tpm/st33zp24/ |
| H A 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()
|