Searched refs:log_tbl (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/drivers/char/tpm/eventlog/ |
D | efi.c | 24 struct linux_efi_tpm_eventlog *log_tbl; in tpm_read_log_efi() local 37 log_tbl = memremap(efi.tpm_log, sizeof(*log_tbl), MEMREMAP_WB); in tpm_read_log_efi() 38 if (!log_tbl) { in tpm_read_log_efi() 43 log_size = log_tbl->size; in tpm_read_log_efi() 44 memunmap(log_tbl); in tpm_read_log_efi() 46 log_tbl = memremap(efi.tpm_log, sizeof(*log_tbl) + log_size, in tpm_read_log_efi() 48 if (!log_tbl) { in tpm_read_log_efi() 54 log->bios_event_log = kmemdup(log_tbl->log, log_size, GFP_KERNEL); in tpm_read_log_efi() 59 tpm_log_version = log_tbl->version; in tpm_read_log_efi() 60 memunmap(log_tbl); in tpm_read_log_efi() [all …]
|
/Linux-v4.19/drivers/firmware/efi/ |
D | tpm.c | 21 struct linux_efi_tpm_eventlog *log_tbl; in efi_tpm_eventlog_init() local 27 log_tbl = early_memremap(efi.tpm_log, sizeof(*log_tbl)); in efi_tpm_eventlog_init() 28 if (!log_tbl) { in efi_tpm_eventlog_init() 35 tbl_size = sizeof(*log_tbl) + log_tbl->size; in efi_tpm_eventlog_init() 37 early_memunmap(log_tbl, sizeof(*log_tbl)); in efi_tpm_eventlog_init()
|
/Linux-v4.19/drivers/firmware/efi/libstub/ |
D | tpm.c | 68 struct linux_efi_tpm_eventlog *log_tbl = NULL; in efi_retrieve_tpm2_eventlog_1_2() local 108 sizeof(*log_tbl) + log_size, in efi_retrieve_tpm2_eventlog_1_2() 109 (void **) &log_tbl); in efi_retrieve_tpm2_eventlog_1_2() 117 memset(log_tbl, 0, sizeof(*log_tbl) + log_size); in efi_retrieve_tpm2_eventlog_1_2() 118 log_tbl->size = log_size; in efi_retrieve_tpm2_eventlog_1_2() 119 log_tbl->version = EFI_TCG2_EVENT_LOG_FORMAT_TCG_1_2; in efi_retrieve_tpm2_eventlog_1_2() 120 memcpy(log_tbl->log, (void *) first_entry_addr, log_size); in efi_retrieve_tpm2_eventlog_1_2() 123 &linux_eventlog_guid, log_tbl); in efi_retrieve_tpm2_eventlog_1_2() 129 efi_call_early(free_pool, log_tbl); in efi_retrieve_tpm2_eventlog_1_2()
|
/Linux-v4.19/sound/synth/emux/ |
D | soundfont.c | 767 static int log_tbl[129] = { variable 810 v = (log_tbl[s + 1] * low + log_tbl[s] * (0x100 - low)) >> 8; in snd_sf_linear_to_log()
|