Searched refs:systab (Results 1 - 16 of 16) sorted by relevance

/linux-4.4.14/arch/ia64/kernel/
H A Desi.c53 struct ia64_sal_systab *systab; esi_init() local
58 config_tables = __va(efi.systab->tables); esi_init()
60 for (i = 0; i < (int) efi.systab->nr_tables; ++i) { esi_init()
70 systab = __va(esi); esi_init()
72 if (strncmp(systab->signature, "ESIT", 4) != 0) { esi_init()
77 p = (char *) (systab + 1); esi_init()
78 for (i = 0; i < systab->entry_count; i++) { esi_init()
95 esi_systab = systab; esi_init()
H A Dsal.c96 check_versions (struct ia64_sal_systab *systab) check_versions() argument
98 sal_revision = (systab->sal_rev_major << 8) | systab->sal_rev_minor; check_versions()
99 sal_version = (systab->sal_b_rev_major << 8) | systab->sal_b_rev_minor; check_versions()
307 ia64_sal_init (struct ia64_sal_systab *systab) ia64_sal_init() argument
312 if (!systab) { ia64_sal_init()
317 if (strncmp(systab->signature, "SST_", 4) != 0) ia64_sal_init()
320 check_versions(systab); ia64_sal_init()
328 systab->oem_id, systab->product_id, ia64_sal_init()
329 systab->product_id[0] ? " " : "", ia64_sal_init()
332 p = (char *) (systab + 1); ia64_sal_init()
333 for (i = 0; i < systab->entry_count; i++) { ia64_sal_init()
H A Defi.c507 efi.systab = __va(ia64_boot_param->efi_systab); efi_init()
512 if (efi.systab == NULL) efi_init()
514 if (efi.systab->hdr.signature != EFI_SYSTEM_TABLE_SIGNATURE) efi_init()
516 if ((efi.systab->hdr.revision >> 16) == 0) efi_init()
519 efi.systab->hdr.revision >> 16, efi_init()
520 efi.systab->hdr.revision & 0xffff); efi_init()
523 c16 = __va(efi.systab->fw_vendor); efi_init()
531 efi.systab->hdr.revision >> 16, efi_init()
532 efi.systab->hdr.revision & 0xffff, vendor); efi_init()
544 runtime = __va(efi.systab->runtime); efi_init()
/linux-4.4.14/arch/arm64/kernel/
H A Defi.c90 efi.systab = early_memremap(efi_system_table, uefi_init()
92 if (efi.systab == NULL) { uefi_init()
103 if (efi.systab->hdr.signature != EFI_SYSTEM_TABLE_SIGNATURE) { uefi_init()
108 if ((efi.systab->hdr.revision >> 16) < 2) uefi_init()
110 efi.systab->hdr.revision >> 16, uefi_init()
111 efi.systab->hdr.revision & 0xffff); uefi_init()
114 c16 = early_memremap(efi_to_phys(efi.systab->fw_vendor), uefi_init()
124 efi.systab->hdr.revision >> 16, uefi_init()
125 efi.systab->hdr.revision & 0xffff, vendor); uefi_init()
127 table_size = sizeof(efi_config_table_64_t) * efi.systab->nr_tables; uefi_init()
128 config_tables = early_memremap(efi_to_phys(efi.systab->tables), uefi_init()
135 retval = efi_config_parse_tables(config_tables, efi.systab->nr_tables, uefi_init()
140 early_memunmap(efi.systab, sizeof(efi_system_table_t)); uefi_init()
303 efi.systab = (__force void *)ioremap_cache(efi_system_table, arm64_enable_runtime_services()
305 if (!efi.systab) { arm64_enable_runtime_services()
320 efi.runtime_version = efi.systab->hdr.revision; arm64_enable_runtime_services()
/linux-4.4.14/arch/arm64/include/asm/
H A Defi.h20 __f = efi.systab->runtime->f; \
33 __f = efi.systab->runtime->f; \
/linux-4.4.14/arch/x86/platform/efi/
H A Defi.c341 efi.systab = &efi_systab; efi_systab_init()
346 if (efi.systab->hdr.signature != EFI_SYSTEM_TABLE_SIGNATURE) { efi_systab_init()
350 if ((efi.systab->hdr.revision >> 16) == 0) efi_systab_init()
352 efi.systab->hdr.revision >> 16, efi_systab_init()
353 efi.systab->hdr.revision & 0xffff); efi_systab_init()
364 runtime = early_memremap((unsigned long)efi.systab->runtime, efi_runtime_init32()
388 runtime = early_memremap((unsigned long)efi.systab->runtime, efi_runtime_init64()
476 efi_phys.systab = (efi_system_table_t *)boot_params.efi_info.efi_systab; efi_init()
478 efi_phys.systab = (efi_system_table_t *) efi_init()
483 if (efi_systab_init(efi_phys.systab)) efi_init()
486 efi.config_table = (unsigned long)efi.systab->tables; efi_init()
487 efi.fw_vendor = (unsigned long)efi.systab->fw_vendor; efi_init()
488 efi.runtime = (unsigned long)efi.systab->runtime; efi_init()
493 c16 = tmp = early_memremap(efi.systab->fw_vendor, 2); efi_init()
503 efi.systab->hdr.revision >> 16, efi_init()
504 efi.systab->hdr.revision & 0xffff, vendor); efi_init()
506 if (efi_reuse_config(efi.systab->tables, efi.systab->nr_tables)) efi_init()
640 u64 end, systab; get_systab_virt_addr() local
644 systab = (u64)(unsigned long)efi_phys.systab; get_systab_virt_addr()
645 if (md->phys_addr <= systab && systab < end) { get_systab_virt_addr()
646 systab += md->virt_addr - md->phys_addr; get_systab_virt_addr()
647 efi.systab = (efi_system_table_t *)(unsigned long)systab; get_systab_virt_addr()
820 efi.systab = NULL; kexec_enter_virtual_mode()
844 BUG_ON(!efi.systab); kexec_enter_virtual_mode()
896 efi.systab = NULL; __efi_enter_virtual_mode()
908 BUG_ON(!efi.systab); __efi_enter_virtual_mode()
H A Dquirks.c234 for (i = 0; i < efi.systab->nr_tables; i++) { efi_reuse_config()
H A Defi_64.c326 u32 table = (u32)(unsigned long)efi.systab; \
/linux-4.4.14/arch/x86/include/asm/
H A Defi.h43 efi.systab->runtime->f)(args); \
53 efi.systab->runtime->f)(args); \
74 __s = efi_call((void *)efi.systab->runtime->f, __VA_ARGS__); \
/linux-4.4.14/drivers/firmware/efi/
H A Defi.c80 * Let's not leave out systab information that snuck into
117 __ATTR(systab, 0400, systab_show, NULL);
464 config_tables = early_memremap(efi.systab->tables, efi_config_init()
465 efi.systab->nr_tables * sz); efi_config_init()
471 ret = efi_config_parse_tables(config_tables, efi.systab->nr_tables, sz, efi_config_init()
474 early_memunmap(config_tables, efi.systab->nr_tables * sz); efi_config_init()
/linux-4.4.14/arch/x86/platform/uv/
H A Dbios_uv.c38 * BIOS does not support UV systab uv_bios_call()
/linux-4.4.14/drivers/xen/
H A Defi.c291 .systab = NULL, /* Initialized later. */
/linux-4.4.14/arch/ia64/include/asm/sn/
H A Dsn_sal.h170 struct ia64_sal_systab *systab = __va(efi.sal_systab); sn_sal_rev() local
172 return (u32)(systab->sal_b_rev_major << 8 | systab->sal_b_rev_minor); sn_sal_rev()
/linux-4.4.14/arch/x86/kernel/
H A Dsetup.c837 * passed the efi memmap, systab, etc., so we should use these data structures
/linux-4.4.14/include/linux/
H A Defi.h830 efi_system_table_t *systab; /* EFI system table */ member in struct:efi
/linux-4.4.14/tools/power/acpi/os_specific/service_layers/
H A Doslinuxtbl.c110 #define EFI_SYSTAB "/sys/firmware/efi/systab"

Completed in 706 milliseconds