Home
last modified time | relevance | path

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

/openbmc/u-boot/cmd/
H A Dtpm_test.c24 #define INDEX0 0xda70 macro
106 TPM_CHECK(tpm_nv_read_value(dev, INDEX0, (uint8_t *)&x, sizeof(x))); in test_early_nvram()
120 TPM_CHECK(tpm_nv_write_value(dev, INDEX0, (uint8_t *)&x, sizeof(x))); in test_early_nvram2()
191 TPM_CHECK(tpm_nv_read_value(dev, INDEX0, (uint8_t *)&x, sizeof(x))); in test_global_lock()
192 TPM_CHECK(tpm_nv_write_value(dev, INDEX0, (uint8_t *)&zero, in test_global_lock()
200 result = tpm_nv_write_value(dev, INDEX0, (uint8_t *)&x, sizeof(x)); in test_global_lock()
202 TPM_CHECK(tpm_nv_read_value(dev, INDEX0, (uint8_t *)&x, sizeof(x))); in test_global_lock()
228 tpm_nv_write_value_lock(dev, INDEX0); in test_lock()
229 printf("\tLocked 0x%x\n", INDEX0); in test_lock()
241 tpm_nv_define_space(dev, INDEX0, perm, 4); in initialise_spaces()
[all …]