Home
last modified time | relevance | path

Searched refs:tpm_version (Results 1 – 16 of 16) sorted by relevance

/openbmc/qemu/backends/tpm/
H A Dtpm_util.c172 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 Dtpm_passthrough.c51 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 Dtpm_emulator.c74 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 Dtpm_int.h78 int tpm_util_get_buffer_size(int tpm_fd, TPMVersion tpm_version,
/openbmc/u-boot/include/
H A Dtpm-common.h40 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 Dtpm-emu.h49 enum TPMVersion tpm_version; member
H A Dtpm-tis-test.c43 test.tpm_version = TPM_VERSION_2_0; in main()
H A Dtpm-tis-device-test.c49 test.tpm_version = TPM_VERSION_2_0; in main()
H A Dtpm-emu.c68 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 Dtpm-crb-test.c156 test.tpm_version = TPM_VERSION_2_0; in main()
H A Dbios-tables-test.c1515 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 Dtpm-tis-i2c-test.c617 test.tpm_version = TPM_VERSION_2_0; in main()
/openbmc/qemu/include/sysemu/
H A Dtpm_util.h32 int tpm_util_test_tpmdev(int tpm_fd, TPMVersion *tpm_version);
/openbmc/u-boot/lib/
H A Dtpm-common.c15 enum tpm_version tpm_get_version(struct udevice *dev) in tpm_get_version()
/openbmc/qemu/hw/i386/
H A Dacpi-build.c116 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 Dtpm.rst78 uint8_t tpm_version; /* TPM version */