Lines Matching +full:startup +full:- +full:time +full:- +full:ms
1 // SPDX-License-Identifier: GPL-2.0+
9 #include <tpm-v1.h>
10 #include "tpm-user-utils.h"
240 tpm_nv_set_locked(dev); /* useful only the first time */ in initialise_spaces()
266 * Checks if initialisation has completed by trying to read-lock a in test_readonly()
381 printf("Testing startup ...\n"); in test_startup()
386 printf("\ttpm startup failed with 0x%x\n", result); in test_startup()
404 ulong start, time; \
411 return -1; \
413 time = get_timer(start); \
414 printf("\t" #op ": %lu ms\n", time); \
415 if (time > (ulong)time_limit) { \
416 printf("\t" #op " exceeded " #time_limit " ms\n"); \
511 VOIDTEST(startup)
527 VOIDENT(startup)
543 printf("\n------\n"); in do_tpmtest()
545 argc--; in do_tpmtest()
549 return c ? c->cmd(cmdtp, flag, argc, argv) : cmd_usage(cmdtp); in do_tpmtest()