Searched refs:TPM_ACCESS (Results 1 – 4 of 4) sorted by relevance
/external/u-boot/drivers/tpm/ |
D | tpm2_tis_spi.c | 33 #define TPM_ACCESS(l) (0x0000 | ((l) << 12)) macro 198 ret = tpm_tis_spi_read(dev, TPM_ACCESS(loc), &buf, 1); in tpm_tis_spi_check_locality() 216 if (tpm_tis_spi_read(dev, TPM_ACCESS(loc), &buf, 1) < 0) in tpm_tis_spi_release_locality() 221 tpm_tis_spi_write(dev, TPM_ACCESS(loc), &buf, 1); in tpm_tis_spi_release_locality() 242 ret = tpm_tis_spi_write(dev, TPM_ACCESS(loc), &buf, 1); in tpm_tis_spi_request_locality() 560 ret = tpm_tis_spi_read(dev, TPM_ACCESS(loc), &status, 1); in tpm_tis_wait_init()
|
D | tpm_tis_infineon.c | 51 #define TPM_ACCESS(l) (0x0000 | ((l) << 4)) macro 198 rc = tpm_tis_i2c_read(dev, TPM_ACCESS(loc), &buf, 1); in tpm_tis_i2c_check_locality() 216 if (tpm_tis_i2c_read(dev, TPM_ACCESS(loc), &buf, 1) < 0) in tpm_tis_i2c_release_locality() 221 tpm_tis_i2c_write(dev, TPM_ACCESS(loc), &buf, 1); in tpm_tis_i2c_release_locality() 241 rc = tpm_tis_i2c_write(dev, TPM_ACCESS(loc), &buf, 1); in tpm_tis_i2c_request_locality()
|
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()
|
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()
|