Lines Matching refs:printf
18 printf("TEST FAILED: line %d: " #tpm_command ": 0x%x\n", \
41 printf("get_timer(0) = %lu\n", get_timer(0)); in test_timer()
88 printf("Testing earlyextend ..."); in test_early_extend()
93 printf("done\n"); in test_early_extend()
101 printf("Testing earlynvram ..."); in test_early_nvram()
107 printf("done\n"); in test_early_nvram()
115 printf("Testing earlynvram2 ..."); in test_early_nvram2()
121 printf("done\n"); in test_early_nvram2()
129 printf("Testing enable ...\n"); in test_enable()
135 printf("\tdisable is %d, deactivated is %d\n", disable, deactivated); in test_enable()
139 printf("\tdisable is %d, deactivated is %d\n", disable, deactivated); in test_enable()
141 printf("\tfailed to enable or activate\n"); in test_enable()
142 printf("\tdone\n"); in test_enable()
147 printf("\trebooting...\n"); \
156 printf("Testing fastenable ...\n"); in test_fast_enable()
162 printf("\tdisable is %d, deactivated is %d\n", disable, deactivated); in test_fast_enable()
166 printf("\tdisable is %d, deactivated is %d\n", disable, in test_fast_enable()
172 printf("\tdisable is %d, deactivated is %d\n", disable, in test_fast_enable()
176 printf("\tdone\n"); in test_fast_enable()
186 printf("Testing globallock ...\n"); in test_global_lock()
217 printf("\tdone\n"); in test_global_lock()
223 printf("Testing lock ...\n"); in test_lock()
229 printf("\tLocked 0x%x\n", INDEX0); in test_lock()
230 printf("\tdone\n"); in test_lock()
239 printf("\tInitialising spaces\n"); in initialise_spaces()
260 printf("Testing readonly ...\n"); in test_readonly()
284 printf("Invalid contents\n"); in test_readonly()
304 printf("\tdone\n"); in test_readonly()
314 printf("Testing redefine_unowned ..."); in test_redefine_unowned()
353 printf("done\n"); in test_redefine_unowned()
364 printf("Testing spaceperm ..."); in test_space_perm()
373 printf("done\n"); in test_space_perm()
381 printf("Testing startup ...\n"); in test_startup()
386 printf("\ttpm startup failed with 0x%x\n", result); in test_startup()
389 printf("\ttpm getflags failed with 0x%x\n", result); in test_startup()
390 printf("\texecuting SelfTestFull\n"); in test_startup()
394 printf("\ttpm getflags failed with 0x%x\n", result); in test_startup()
395 printf("\tdone\n"); in test_startup()
410 printf("\t" #op ": error 0x%x\n", __result); \
414 printf("\t" #op ": %lu ms\n", time); \
416 printf("\t" #op " exceeded " #time_limit " ms\n"); \
426 printf("Testing timing ..."); in test_timing()
439 printf("done\n"); in test_timing()
450 printf("Testing writelimit ...\n"); in test_write_limit()
460 printf("\twriting %d\n", i); in test_write_limit()
481 printf("\tdone\n"); in test_write_limit()
538 printf("argc = %d, argv = ", argc); in do_tpmtest()
541 printf(" %s", argv[i]); in do_tpmtest()
543 printf("\n------\n"); in do_tpmtest()