Home
last modified time | relevance | path

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

/external/u-boot/cmd/
Dtpm_test.c23 #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/
Dreadonly.c22 #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()
Dtpmtest_redefine_unowned.c29 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()
Dtpmtest_globallock.c25 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()
Dlock.c14 #define INDEX0 0xda70 macro
25 TlclWriteLock(INDEX0); in main()
27 printf("Locked 0x%x\n", INDEX0); in main()
Dtpmtest_earlynvram.c17 #define INDEX0 0xcafe macro
26 TPM_CHECK(TlclRead(INDEX0, (uint8_t*) &x, sizeof(x))); in main()
Dtpmtest_writelimit.c35 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()
Dtpmtest_testsetup.c31 result = TlclRead(INDEX0, (uint8_t*) &x, sizeof(x)); in main()
34 TPM_CHECK(TlclDefineSpace(INDEX0, perm, sizeof(uint32_t))); in main()
Dtpmtest_timing.c56 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()
Dtpmtest_earlynvram2.c24 TPM_CHECK(TlclWrite(INDEX0, (uint8_t*) &x, sizeof(x))); in main()
Dtlcl_tests.h13 #define INDEX0 0xcafe macro
Dtpmtest_spaceperm.c28 TPM_CHECK(TlclGetPermissions(INDEX0, &perm)); in main()
/external/llvm/test/CodeGen/XCore/
Dscavenging.ll59 ; CHECK: [[INDEX0:.LCPI[0-9_]+]]:
84 ; CHECK: ldw r5, cp{{\[}}[[INDEX0]]{{\]}}
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/XCore/
Dscavenging.ll59 ; CHECK: [[INDEX0:.LCPI[0-9_]+]]:
84 ; CHECK: ldw r5, cp{{\[}}[[INDEX0]]{{\]}}