Searched refs:log_tbl (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/char/tpm/eventlog/ |
A D | efi.c | 21 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() 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() 111 final_tbl->events + log_tbl->final_events_preboot_size, in tpm_read_log_efi() [all …]
|
/linux/drivers/firmware/efi/ |
A 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() 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/drivers/firmware/efi/libstub/ |
A 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/sound/synth/emux/ |
A D | soundfont.c | 760 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()
|
Completed in 10 milliseconds