Lines Matching +full:num +full:- +full:strings
1 // SPDX-License-Identifier: GPL-2.0+
13 #include <tpm-common.h>
14 #include "tpm-user-utils.h"
19 * Print a byte string in hexdecimal format, 16-bytes per line.
81 * report_return_code() - Report any error and return failure or success
165 * @param values text strings of values to be packed
167 * Return: 0 on success, non-0 on error
191 return -1; in type_string_pack()
205 * Return: 0 on success, non-0 on error
228 return -1; in type_string_write_vars()
231 return -1; in type_string_write_vars()
256 static int tpm_set_device(unsigned long num) in tpm_set_device() argument
263 if (n == num) { in tpm_set_device()
301 unsigned long num; in do_tpm_device() local
305 num = simple_strtoul(argv[1], NULL, 10); in do_tpm_device()
307 rc = tpm_set_device(num); in do_tpm_device()
309 printf("Couldn't set TPM %lu (rc = %d)\n", num, rc); in do_tpm_device()
388 switch (priv->version) { in do_tpm()
406 return cmd->cmd(cmdtp, flag, argc - 1, argv + 1); in do_tpm()