Searched refs:tpm_version (Results 1 – 16 of 16) sorted by relevance
/openbmc/qemu/backends/tpm/ |
H A D | tpm_util.c | 172 int tpm_util_test_tpmdev(int tpm_fd, TPMVersion *tpm_version) in tpm_util_test_tpmdev() argument 202 *tpm_version = TPM_VERSION_2_0; in tpm_util_test_tpmdev() 210 *tpm_version = TPM_VERSION_1_2; in tpm_util_test_tpmdev() 215 *tpm_version = TPM_VERSION_UNSPEC; in tpm_util_test_tpmdev() 220 int tpm_util_get_buffer_size(int tpm_fd, TPMVersion tpm_version, in tpm_util_get_buffer_size() argument 225 switch (tpm_version) { in tpm_util_get_buffer_size()
|
H A D | tpm_passthrough.c | 51 TPMVersion tpm_version; member 188 return tpm_pt->tpm_version; in tpm_passthrough_get_tpm_version() 196 ret = tpm_util_get_buffer_size(tpm_pt->tpm_fd, tpm_pt->tpm_version, in tpm_passthrough_get_buffer_size() 277 if (tpm_util_test_tpmdev(tpm_pt->tpm_fd, &tpm_pt->tpm_version)) { in tpm_passthrough_handle_device_opts()
|
H A D | tpm_emulator.c | 74 TPMVersion tpm_version; member 284 switch (tpm_emu->tpm_version) { in tpm_emulator_check_caps() 490 if (tpm_emu->tpm_version != TPM_VERSION_2_0) { in tpm_emulator_reset_tpm_established_flag() 542 return tpm_emu->tpm_version; in tpm_emulator_get_tpm_version() 647 &tpm_emu->tpm_version)) { in tpm_emulator_handle_device_opts() 653 switch (tpm_emu->tpm_version) { in tpm_emulator_handle_device_opts()
|
H A D | tpm_int.h | 78 int tpm_util_get_buffer_size(int tpm_fd, TPMVersion tpm_version,
|
/openbmc/u-boot/include/ |
H A D | tpm-common.h | 40 enum tpm_version { enum 62 enum tpm_version version; 321 enum tpm_version tpm_get_version(struct udevice *dev);
|
/openbmc/qemu/tests/qtest/ |
H A D | tpm-emu.h | 49 enum TPMVersion tpm_version; member
|
H A D | tpm-tis-test.c | 43 test.tpm_version = TPM_VERSION_2_0; in main()
|
H A D | tpm-tis-device-test.c | 49 test.tpm_version = TPM_VERSION_2_0; in main()
|
H A D | tpm-emu.c | 68 switch (s->tpm_version) { in tpm_emu_tpm_thread() 80 g_debug("unsupported TPM version %u", s->tpm_version); in tpm_emu_tpm_thread()
|
H A D | tpm-crb-test.c | 156 test.tpm_version = TPM_VERSION_2_0; in main()
|
H A D | bios-tables-test.c | 1515 enum TPMVersion tpm_version) in test_acpi_tcg_tpm() argument 1523 const char *suffix = tpm_version == TPM_VERSION_2_0 ? "tpm2" : "tpm12"; in test_acpi_tcg_tpm() 1536 test.tpm_version = tpm_version; in test_acpi_tcg_tpm()
|
H A D | tpm-tis-i2c-test.c | 617 test.tpm_version = TPM_VERSION_2_0; in main()
|
/openbmc/qemu/include/sysemu/ |
H A D | tpm_util.h | 32 int tpm_util_test_tpmdev(int tpm_fd, TPMVersion *tpm_version);
|
/openbmc/u-boot/lib/ |
H A D | tpm-common.c | 15 enum tpm_version tpm_get_version(struct udevice *dev) in tpm_get_version()
|
/openbmc/qemu/hw/i386/ |
H A D | acpi-build.c | 116 TPMVersion tpm_version; member 122 uint8_t tpm_version; member 267 info->tpm_version = tpm_get_version(tpm_find()); in acpi_get_misc_info() 2514 if (misc.tpm_version != TPM_VERSION_UNSPEC) { in acpi_build() 2515 if (misc.tpm_version == TPM_VERSION_1_2) { in acpi_build() 2716 .tpm_version = tpm_get_version(tpm), in acpi_setup()
|
/openbmc/qemu/docs/specs/ |
H A D | tpm.rst | 78 uint8_t tpm_version; /* TPM version */
|