Lines Matching defs:log
14 * Access to the event log extended by the TCG BIOS of PC platform
45 /* Check that the given log is indeed a TPM2 log. */
66 /* read binary bios log */
73 struct tpm_bios_log *log;
79 log = &chip->log;
81 /* Unfortuntely ACPI does not associate the event log with a specific
82 * TPM, like PPI. Thus all ACPI TPMs will read the same log.
134 dev_warn(&chip->dev, "%s: TCPA log area empty\n", __func__);
139 log->bios_event_log = devm_kmalloc(&chip->dev, len, GFP_KERNEL);
140 if (!log->bios_event_log)
143 log->bios_event_log_end = log->bios_event_log + len;
149 /* try EFI log next */
154 memcpy_fromio(log->bios_event_log, virt, len);
159 !tpm_is_tpm2_log(log->bios_event_log, len)) {
160 /* try EFI log next */
168 devm_kfree(&chip->dev, log->bios_event_log);
169 log->bios_event_log = NULL;