Home
last modified time | relevance | path

Searched full:tis (Results 1 – 25 of 90) sorted by relevance

1234

/openbmc/qemu/tests/qtest/
H A Dtpm-tis-device-test.c2 * QTest testcase for SYSBUS TPM TIS
23 #include "tpm-tis-util.h"
26 * As the Sysbus tpm-tis-device is instantiated on the ARM virt
34 char *tmp_path = g_dir_make_tmp("qemu-tpm-tis-device-test.XXXXXX", NULL); in main()
58 "-device tpm-tis-device,tpmdev=dev", in main()
62 qtest_add_data_func("/tpm-tis/test_check_localities", &test, in main()
65 qtest_add_data_func("/tpm-tis/test_check_access_reg", &test, in main()
68 qtest_add_data_func("/tpm-tis/test_check_access_reg_seize", &test, in main()
71 qtest_add_data_func("/tpm-tis/test_check_access_reg_release", &test, in main()
74 qtest_add_data_func("/tpm-tis/test_check_transmit", &test, in main()
H A Dtpm-tis-test.c2 * QTest testcase for ISA TPM TIS
23 #include "tpm-tis-util.h"
30 char *args, *tmp_path = g_dir_make_tmp("qemu-tpm-tis-test.XXXXXX", NULL); in main()
51 "-device tpm-tis,tpmdev=dev", in main()
55 qtest_add_data_func("/tpm-tis/test_check_localities", &test, in main()
58 qtest_add_data_func("/tpm-tis/test_check_access_reg", &test, in main()
61 qtest_add_data_func("/tpm-tis/test_check_access_reg_seize", &test, in main()
64 qtest_add_data_func("/tpm-tis/test_check_access_reg_release", &test, in main()
67 qtest_add_data_func("/tpm-tis/test_check_transmit", &test, in main()
H A Dtpm-tis-swtpm-test.c2 * QTest testcase for TPM TIS talking to external swtpm and swtpm migration
20 #include "tpm-tis-util.h"
36 "tpm-tis", NULL); in tpm_tis_swtpm_test()
44 tpm_tis_transfer, "tpm-tis", NULL); in tpm_tis_swtpm_migration_test()
52 ts.src_tpm_path = g_dir_make_tmp("qemu-tpm-tis-swtpm-test.XXXXXX", NULL); in main()
53 ts.dst_tpm_path = g_dir_make_tmp("qemu-tpm-tis-swtpm-test.XXXXXX", NULL); in main()
59 qtest_add_data_func("/tpm/tis-swtpm/test", &ts, tpm_tis_swtpm_test); in main()
60 qtest_add_data_func("/tpm/tis-swtpm-migration/test", &ts, in main()
H A Dtpm-tis-device-swtpm-test.c2 * QTest testcase for Sysbus TPM TIS talking to external swtpm and swtpm
21 #include "tpm-tis-util.h"
38 "tpm-tis-device", MACHINE_OPTIONS); in tpm_tis_swtpm_test()
46 tpm_tis_transfer, "tpm-tis-device", in tpm_tis_swtpm_migration_test()
55 ts.src_tpm_path = g_dir_make_tmp("qemu-tpm-tis-device-swtpm-test.XXXXXX", in main()
57 ts.dst_tpm_path = g_dir_make_tmp("qemu-tpm-tis-device-swtpm-test.XXXXXX", in main()
64 qtest_add_data_func("/tpm/tis-swtpm/test", &ts, tpm_tis_swtpm_test); in main()
65 qtest_add_data_func("/tpm/tis-swtpm-migration/test", &ts, in main()
H A Dmeson.build84 (config_all_devices.has_key('CONFIG_TPM_TIS_ISA') ? ['tpm-tis-test'] : []) + \
85 (config_all_devices.has_key('CONFIG_TPM_TIS_ISA') ? ['tpm-tis-swtpm-test'] : []) + \
239 (config_all_devices.has_key('CONFIG_TPM_TIS_I2C') ? ['tpm-tis-i2c-test'] : []) + \
253 …['tpm-tis-device-test', 'tpm-tis-device-swtpm-test'] : []) + …
258 config_all_devices.has_key('CONFIG_TPM_TIS_I2C') ? ['tpm-tis-i2c-test'] : []) + \
357 'tpm-tis-swtpm-test': [io, tpmemu_files, 'tpm-tis-util.c'],
358 'tpm-tis-test': [io, tpmemu_files, 'tpm-tis-util.c'],
359 'tpm-tis-i2c-test': [io, tpmemu_files, 'qtest_aspeed.c'],
360 'tpm-tis-device-swtpm-test': [io, tpmemu_files, 'tpm-tis-util.c'],
361 'tpm-tis-device-test': [io, tpmemu_files, 'tpm-tis-util.c'],
H A Dtpm-tis-i2c-test.c2 * QTest testcases for TPM TIS on I2C (derived from TPM TIS test)
604 char *tmp_path = g_dir_make_tmp("qemu-tpm-tis-i2c-test.XXXXXX", NULL); in main()
628 "-device tpm-tis-i2c,tpmdev=tpm0,bus=aspeed.i2c.bus.%d,address=0x%x", in main()
634 qtest_add_data_func("/tpm-tis-i2c/test_basic", &test, in main()
637 qtest_add_data_func("/tpm-tis-i2c/test_check_localities", &test, in main()
640 qtest_add_data_func("/tpm-tis-i2c/check_access_reg", &test, in main()
643 qtest_add_data_func("/tpm-tis-i2c/check_access_reg_seize", &test, in main()
646 qtest_add_data_func("/tpm-tis-i2c/check_access_reg_release", &test, in main()
649 qtest_add_data_func("/tpm-tis-i2c/test_check_transmit", &test, in main()
/openbmc/qemu/hw/tpm/
H A Dtpm_tis_i2c.c2 * tpm_tis_i2c.c - QEMU's TPM TIS I2C Device
15 * TPM TIS for TPM 2 implementation following TCG PC Client Platform
51 uint32_t tis_addr; /* Converted tis address including locty */
67 uint16_t tis_reg; /* TIS register */
77 * These registers are sent to TIS layer. The register with UNKNOWN
78 * mapping are not sent to TIS layer and handled in I2c layer.
114 .name = "tpm-tis-i2c",
151 * Generate interface capability based on what is returned by TIS and what is
152 * expected by I2C. Save the capability in the data array overwriting the TIS
168 /* Now check the TIS and set some capabilities */ in tpm_tis_i2c_interface_capability()
[all …]
H A Dtpm_tis_sysbus.c2 * tpm_tis_sysbus.c - QEMU's TPM TIS SYSBUS Device
15 * Implementation of the TIS interface according to specs found at
18 * In the developers menu choose the PC Client section then find the TIS
21 * TPM TIS for TPM 2 implementation following TCG PC Client Platform
52 .name = "tpm-tis",
105 s, "tpm-tis-mmio", in tpm_tis_sysbus_initfn()
H A Dtpm_tis.h2 * tpm_tis.h - QEMU's TPM TIS common header
15 * Implementation of the TIS interface according to specs found at
18 * In the developers menu choose the PC Client section then find the TIS
21 * TPM TIS for TPM 2 implementation following TCG PC Client Platform
H A Dtpm_tis_isa.c2 * tpm_tis_isa.c - QEMU's TPM TIS ISA Device
15 * Implementation of the TIS interface according to specs found at
18 * In the developers menu choose the PC Client section then find the TIS
21 * TPM TIS for TPM 2 implementation following TCG PC Client Platform
53 .name = "tpm-tis",
107 s, "tpm-tis-mmio", in tpm_tis_isa_initfn()
H A Dtpm_tis_common.c2 * tpm_tis_common.c - QEMU's TPM TIS interface emulator
16 * Implementation of the TIS interface according to specs found at
19 * In the developers menu choose the PC Client section then find the TIS
22 * TPM TIS for TPM 2 implementation following TCG PC Client Platform
332 * Read a register of the TIS interface
470 * Write a value to a register of the TIS interface
880 .name = "tpm-tis/locty",
/openbmc/linux/Documentation/devicetree/bindings/security/tpm/
H A Dtpm-tis-i2c.yaml4 $id: http://devicetree.org/schemas/security/tpm/tpm-tis-i2c.yaml#
24 - const: tcg,tpm-tis-i2c
28 - const: tcg,tpm-tis-i2c
29 - const: tcg,tpm-tis-i2c
46 compatible = "nuvoton,npct75x", "tcg,tpm-tis-i2c";
H A Dtpm_tis_mmio.txt7 Refer to the 'TCG PC Client Specific TPM Interface Specification (TIS)' TCG
13 "tcg,tpm-tis-mmio". Valid chip strings are:
21 compatible = "atmel,at97sc3204", "tcg,tpm-tis-mmio";
/openbmc/u-boot/drivers/tpm/
H A DKconfig33 to the device using the standard TPM Interface Specification (TIS)
42 to the device using the standard TPM Interface Specification (TIS)
66 to the device using the standard TPM Interface Specification (TIS)
84 to the device using the standard TPM Interface Specification (TIS)
93 to the device using the standard TPM Interface Specification (TIS)
145 to the device using the standard TPM Interface Specification (TIS)
154 to the device using the standard TPM Interface Specification (TIS)
H A Dtpm_tis_st33zp24_i2c.c40 * Send byte to the TIS register according to the ST33ZP24 I2C protocol.
41 * @param: tpm_register, the tpm tis register where the data should be written
59 * Recv byte from the TIS register according to the ST33ZP24 I2C protocol.
60 * @param: tpm_register, the tpm tis register where the data should be read
81 * Send byte to the TIS register according to the ST33ZP24 I2C protocol.
83 * @param: tpm_register, the tpm tis register where the data should be written
97 * Recv byte from the TIS register according to the ST33ZP24 I2C protocol.
99 * @param: tpm_register, the tpm tis register where the data should be read
H A Dtpm2_tis_i2c.c33 * Adapt register addresses that have changed compared to older TIS in tpm_tis_i2c_address_to_register()
157 .compatible = "tcg,tpm-tis-i2c",
/openbmc/linux/drivers/char/tpm/st33zp24/
H A Di2c.c25 * Send byte to the TIS register according to the ST33ZP24 I2C protocol.
26 * @param: tpm_register, the tpm tis register where the data should be written
42 * Recv byte from the TIS register according to the ST33ZP24 I2C protocol.
43 * @param: tpm_register, the tpm tis register where the data should be read
63 * Send byte to the TIS register according to the ST33ZP24 I2C protocol.
65 * @param: tpm_register, the tpm tis register where the data should be written
79 * Recv byte from the TIS register according to the ST33ZP24 I2C protocol.
81 * @param: tpm_register, the tpm tis register where the data should be read
H A Dspi.c89 * Send byte to the TIS register according to the ST33ZP24 SPI protocol.
91 * @param: tpm_register, the tpm tis register where the data should be written
132 * Recv byte from the TIS register according to the ST33ZP24 SPI protocol.
134 * @param: tpm_register, the tpm tis register where the data should be read
173 * Recv byte from the TIS register according to the ST33ZP24 SPI protocol.
175 * @param: tpm_register, the tpm tis register where the data should be read
/openbmc/qemu/qapi/
H A Dtpm.json14 # @tpm-tis: TPM TIS model
22 { 'enum': 'TpmModel', 'data': [ 'tpm-tis', 'tpm-crb', 'tpm-spapr' ],
37 # <- { "return": [ "tpm-tis", "tpm-crb", "tpm-spapr" ] }
176 # { "model": "tpm-tis",
/openbmc/qemu/docs/specs/
H A Dtpm.rst10 TIS interface
13 The QEMU TPM emulation implements a TPM TIS hardware interface
15 Specific TPM Interface Specification (TIS)", Specification Version
16 1.3, 21 March 2013. (see the `TIS specification`_, or a later version
19 The TIS interface makes a memory mapped IO region in the area
22 QEMU files related to TPM TIS interface:
87 description contains the base address of the TIS interface 0xfed40000
199 TIS interface described earlier, and the other part is the TPM backend
203 connected with any available backend. This enables the TIS interface
254 -device tpm-tis,tpmdev=tpm0 test.img
[all …]
/openbmc/linux/drivers/char/tpm/
H A DKconfig44 TCG TIS TPM core driver. It implements the TPM TCG TIS logic and hooks
53 TCG TIS 1.2 TPM specification (TPM1.2) or the TCG PTP FIFO
65 TCG TIS 1.3 TPM specification (TPM1.2) or the TCG PTP FIFO
95 TCG TIS 1.2 TPM specification (TPM1.2) or the TCG PTP FIFO
124 TCG TIS 1.2 TPM specification and Infineon's I2C Protocol Stack
/openbmc/qemu/include/sysemu/
H A Dtpm.h47 #define TYPE_TPM_TIS_ISA "tpm-tis"
48 #define TYPE_TPM_TIS_SYSBUS "tpm-tis-device"
51 #define TYPE_TPM_TIS_I2C "tpm-tis-i2c"
/openbmc/u-boot/doc/device-tree-bindings/tpm2/
H A Dtis-tpm2-spi.txt5 - compatible : Should be "tis,tpm2-spi"
15 compatible = "tis,tpm2-spi";
/openbmc/qemu/include/hw/acpi/
H A Dtpm.h12 * Implementation of the TIS interface according to specs found at
34 /* tis registers */
213 /* TPM TIS I2C registers */
238 * TPM_I2C_STS masks for read/writing bits from/to TIS
/openbmc/linux/Documentation/devicetree/bindings/i2c/
H A Drenesas,rzv2m.yaml33 - const: tis
73 interrupt-names = "tia", "tis";

1234