Home
last modified time | relevance | path

Searched refs:log_tbl (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/char/tpm/eventlog/
Defi.c21 struct linux_efi_tpm_eventlog *log_tbl; in tpm_read_log_efi() local
36 log_tbl = memremap(efi.tpm_log, sizeof(*log_tbl), MEMREMAP_WB); in tpm_read_log_efi()
37 if (!log_tbl) { in tpm_read_log_efi()
42 log_size = log_tbl->size; in tpm_read_log_efi()
43 memunmap(log_tbl); in tpm_read_log_efi()
50 log_tbl = memremap(efi.tpm_log, sizeof(*log_tbl) + log_size, in tpm_read_log_efi()
52 if (!log_tbl) { in tpm_read_log_efi()
58 log->bios_event_log = kmemdup(log_tbl->log, log_size, GFP_KERNEL); in tpm_read_log_efi()
65 tpm_log_version = log_tbl->version; in tpm_read_log_efi()
88 final_events_log_size -= log_tbl->final_events_preboot_size; in tpm_read_log_efi()
[all …]
/linux-6.1.9/drivers/firmware/efi/
Dtpm.c41 struct linux_efi_tpm_eventlog *log_tbl; in efi_tpm_eventlog_init() local
54 log_tbl = early_memremap(efi.tpm_log, sizeof(*log_tbl)); in efi_tpm_eventlog_init()
55 if (!log_tbl) { in efi_tpm_eventlog_init()
62 tbl_size = sizeof(*log_tbl) + log_tbl->size; in efi_tpm_eventlog_init()
68 } else if (log_tbl->version != EFI_TCG2_EVENT_LOG_FORMAT_TCG_2) { in efi_tpm_eventlog_init()
91 log_tbl->log); in efi_tpm_eventlog_init()
107 early_memunmap(log_tbl, sizeof(*log_tbl)); in efi_tpm_eventlog_init()
/linux-6.1.9/drivers/firmware/efi/libstub/
Dtpm.c56 struct linux_efi_tpm_eventlog *log_tbl = NULL; in efi_retrieve_tpm2_eventlog() local
119 sizeof(*log_tbl) + log_size, (void **)&log_tbl); in efi_retrieve_tpm2_eventlog()
153 memset(log_tbl, 0, sizeof(*log_tbl) + log_size); in efi_retrieve_tpm2_eventlog()
154 log_tbl->size = log_size; in efi_retrieve_tpm2_eventlog()
155 log_tbl->final_events_preboot_size = final_events_size; in efi_retrieve_tpm2_eventlog()
156 log_tbl->version = version; in efi_retrieve_tpm2_eventlog()
157 memcpy(log_tbl->log, (void *) first_entry_addr, log_size); in efi_retrieve_tpm2_eventlog()
160 &linux_eventlog_guid, log_tbl); in efi_retrieve_tpm2_eventlog()
166 efi_bs_call(free_pool, log_tbl); in efi_retrieve_tpm2_eventlog()
/linux-6.1.9/sound/synth/emux/
Dsoundfont.c760 static const int log_tbl[129] = { variable
803 v = (log_tbl[s + 1] * low + log_tbl[s] * (0x100 - low)) >> 8; in snd_sf_linear_to_log()