Searched refs:log_tbl (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.10/drivers/char/tpm/eventlog/ |
D | efi.c | 20 struct linux_efi_tpm_eventlog *log_tbl; in tpm_read_log_efi() local 35 log_tbl = memremap(efi.tpm_log, sizeof(*log_tbl), MEMREMAP_WB); in tpm_read_log_efi() 36 if (!log_tbl) { in tpm_read_log_efi() 41 log_size = log_tbl->size; in tpm_read_log_efi() 42 memunmap(log_tbl); in tpm_read_log_efi() 49 log_tbl = memremap(efi.tpm_log, sizeof(*log_tbl) + log_size, in tpm_read_log_efi() 51 if (!log_tbl) { in tpm_read_log_efi() 57 log->bios_event_log = kmemdup(log_tbl->log, log_size, GFP_KERNEL); in tpm_read_log_efi() 64 tpm_log_version = log_tbl->version; in tpm_read_log_efi() 83 efi_tpm_final_log_size -= log_tbl->final_events_preboot_size; in tpm_read_log_efi() [all …]
|
/Linux-v5.10/drivers/firmware/efi/ |
D | tpm.c | 41 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() 66 log_tbl->version != EFI_TCG2_EVENT_LOG_FORMAT_TCG_2) { in efi_tpm_eventlog_init() 89 log_tbl->log); in efi_tpm_eventlog_init() 105 early_memunmap(log_tbl, sizeof(*log_tbl)); in efi_tpm_eventlog_init()
|
/Linux-v5.10/drivers/firmware/efi/libstub/ |
D | tpm.c | 56 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-v5.10/sound/synth/emux/ |
D | soundfont.c | 754 static const int log_tbl[129] = { variable 797 v = (log_tbl[s + 1] * low + log_tbl[s] * (0x100 - low)) >> 8; in snd_sf_linear_to_log()
|