Lines Matching defs:log
14 * Access to the event log extended by the TCG BIOS of PC platform
44 /* Check that the given log is indeed a TPM2 log. */
65 /* read binary bios log */
72 struct tpm_bios_log *log;
78 log = &chip->log;
80 /* Unfortuntely ACPI does not associate the event log with a specific
81 * TPM, like PPI. Thus all ACPI TPMs will read the same log.
133 dev_warn(&chip->dev, "%s: TCPA log area empty\n", __func__);
138 log->bios_event_log = kmalloc(len, GFP_KERNEL);
139 if (!log->bios_event_log)
142 log->bios_event_log_end = log->bios_event_log + len;
148 /* try EFI log next */
153 memcpy_fromio(log->bios_event_log, virt, len);
158 !tpm_is_tpm2_log(log->bios_event_log, len)) {
159 /* try EFI log next */
167 kfree(log->bios_event_log);
168 log->bios_event_log = NULL;