/external/u-boot/cmd/ |
D | tpm_test.c | 23 #define INDEX0 0xda70 macro 70 return tpm_nv_write_value(INDEX0, (uint8_t *)&x, 0); in tpm_set_global_lock() 120 TPM_CHECK(tpm_nv_read_value(INDEX0, (uint8_t *)&x, sizeof(x))); in test_early_nvram() 134 TPM_CHECK(tpm_nv_write_value(INDEX0, (uint8_t *)&x, sizeof(x))); in test_early_nvram2() 205 TPM_CHECK(tpm_nv_read_value(INDEX0, (uint8_t *)&x, sizeof(x))); in test_global_lock() 206 TPM_CHECK(tpm_nv_write_value(INDEX0, (uint8_t *)&zero, in test_global_lock() 214 result = tpm_nv_write_value(INDEX0, (uint8_t *)&x, sizeof(x)); in test_global_lock() 216 TPM_CHECK(tpm_nv_read_value(INDEX0, (uint8_t *)&x, sizeof(x))); in test_global_lock() 242 tpm_nv_write_value_lock(INDEX0); in test_lock() 243 printf("\tLocked 0x%x\n", INDEX0); in test_lock() [all …]
|
/external/vboot_reference/tests/tpm_lite/ |
D | readonly.c | 22 #define INDEX0 0xda70 macro 43 TlclDefineSpace(INDEX0, perm, 4); in InitializeSpaces() 44 TlclWrite(INDEX0, (uint8_t *) &zero, 4); in InitializeSpaces() 86 if (TlclRead(INDEX0, (uint8_t*) &index_0, sizeof(index_0)) != TPM_SUCCESS || in main() 97 if (TlclWrite(INDEX0, (uint8_t*) &index_0, sizeof(index_0) != TPM_SUCCESS)) { in main() 100 TlclWriteLock(INDEX0); in main() 101 if (TlclWrite(INDEX0, (uint8_t*) &index_0, sizeof(index_0)) == TPM_SUCCESS) { in main()
|
D | tpmtest_redefine_unowned.c | 29 TPM_CHECK(TlclRead(INDEX0, (uint8_t*) &x, sizeof(x))); in main() 34 TPM_CHECK(TlclDefineSpace(INDEX0, perm, 2 * sizeof(uint32_t))); in main() 35 TPM_CHECK(TlclDefineSpace(INDEX0, perm, sizeof(uint32_t))); in main() 45 TPM_EXPECT(TlclDefineSpace(INDEX0, perm, sizeof(uint32_t)), in main() 56 TPM_EXPECT(TlclDefineSpace(INDEX0, perm, sizeof(uint32_t)), in main()
|
D | tpmtest_globallock.c | 25 TPM_CHECK(TlclRead(INDEX0, (uint8_t*) &x, sizeof(x))); in main() 26 TPM_CHECK(TlclWrite(INDEX0, (uint8_t*) &zero, sizeof(uint32_t))); in main() 33 TPM_EXPECT(TlclWrite(INDEX0, (uint8_t*) &x, sizeof(x)), TPM_E_AREA_LOCKED); in main() 34 TPM_CHECK(TlclRead(INDEX0, (uint8_t*) &x, sizeof(x))); in main()
|
D | lock.c | 14 #define INDEX0 0xda70 macro 25 TlclWriteLock(INDEX0); in main() 27 printf("Locked 0x%x\n", INDEX0); in main()
|
D | tpmtest_earlynvram.c | 17 #define INDEX0 0xcafe macro 26 TPM_CHECK(TlclRead(INDEX0, (uint8_t*) &x, sizeof(x))); in main()
|
D | tpmtest_writelimit.c | 35 if ((result = TlclWrite(INDEX0, (uint8_t*)&i, sizeof(i))) != TPM_SUCCESS) { in main() 52 TPM_CHECK(TlclWrite(INDEX0, (uint8_t*)&i, sizeof(i))); in main()
|
D | tpmtest_testsetup.c | 31 result = TlclRead(INDEX0, (uint8_t*) &x, sizeof(x)); in main() 34 TPM_CHECK(TlclDefineSpace(INDEX0, perm, sizeof(uint32_t))); in main()
|
D | tpmtest_timing.c | 56 TTPM_CHECK(TlclWrite(INDEX0, (uint8_t*) &x, sizeof(x)), 100); in main() 57 TTPM_CHECK(TlclRead(INDEX0, (uint8_t*) &x, sizeof(x)), 100); in main()
|
D | tpmtest_earlynvram2.c | 24 TPM_CHECK(TlclWrite(INDEX0, (uint8_t*) &x, sizeof(x))); in main()
|
D | tlcl_tests.h | 13 #define INDEX0 0xcafe macro
|
D | tpmtest_spaceperm.c | 28 TPM_CHECK(TlclGetPermissions(INDEX0, &perm)); in main()
|
/external/llvm/test/CodeGen/XCore/ |
D | scavenging.ll | 59 ; CHECK: [[INDEX0:.LCPI[0-9_]+]]: 84 ; CHECK: ldw r5, cp{{\[}}[[INDEX0]]{{\]}}
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/XCore/ |
D | scavenging.ll | 59 ; CHECK: [[INDEX0:.LCPI[0-9_]+]]: 84 ; CHECK: ldw r5, cp{{\[}}[[INDEX0]]{{\]}}
|