Home
last modified time | relevance | path

Searched refs:tpm2 (Results 1 – 2 of 2) sorted by relevance

/devicemodel/hw/platform/tpm/
A Dtpm.c48 struct acpi_table_tpm2 tpm2 = { 0 }; in read_sysfs_tpm2_table() local
54 ch_read = fread(&tpm2, 1, sizeof(tpm2), fp); in read_sysfs_tpm2_table()
62 !checksum((uint8_t *)&tpm2, tpm2.header.length)) in read_sysfs_tpm2_table()
65 memcpy(tpm2_out, &tpm2, ch_read); in read_sysfs_tpm2_table()
73 return ((tpm2->header.length == 76) && tpm2->lasa && tpm2->laml); in is_tpm2_eventlog_supported()
110 struct acpi_table_tpm2 tpm2 = { 0 }; in init_tpm2_pt() local
142 err = read_sysfs_tpm2_table(&tpm2); in init_tpm2_pt()
146 if ((tpm2.start_method != 6) && (tpm2.start_method != 7)) { in init_tpm2_pt()
159 if ((tpm2.control_address >= MMIO_DEV_BASE) && (tpm2.control_address <= MMIO_DEV_LIMIT)) { in init_tpm2_pt()
171 if (is_tpm2_eventlog_supported(&tpm2) && in init_tpm2_pt()
[all …]
/devicemodel/hw/mmio/
A Dcore.c321 struct mmio_dev_ops tpm2 = { variable
329 DEFINE_MMIO_DEV(tpm2);

Completed in 4 milliseconds