Lines Matching refs:efi
28 struct efi __read_mostly efi = { variable
43 EXPORT_SYMBOL(efi);
86 if (efi.mps != EFI_INVALID_TABLE_ADDR) in systab_show()
87 str += sprintf(str, "MPS=0x%lx\n", efi.mps); in systab_show()
88 if (efi.acpi20 != EFI_INVALID_TABLE_ADDR) in systab_show()
89 str += sprintf(str, "ACPI20=0x%lx\n", efi.acpi20); in systab_show()
90 if (efi.acpi != EFI_INVALID_TABLE_ADDR) in systab_show()
91 str += sprintf(str, "ACPI=0x%lx\n", efi.acpi); in systab_show()
92 if (efi.smbios != EFI_INVALID_TABLE_ADDR) in systab_show()
93 str += sprintf(str, "SMBIOS=0x%lx\n", efi.smbios); in systab_show()
94 if (efi.smbios3 != EFI_INVALID_TABLE_ADDR) in systab_show()
95 str += sprintf(str, "SMBIOS3=0x%lx\n", efi.smbios3); in systab_show()
96 if (efi.hcdp != EFI_INVALID_TABLE_ADDR) in systab_show()
97 str += sprintf(str, "HCDP=0x%lx\n", efi.hcdp); in systab_show()
98 if (efi.boot_info != EFI_INVALID_TABLE_ADDR) in systab_show()
99 str += sprintf(str, "BOOTINFO=0x%lx\n", efi.boot_info); in systab_show()
100 if (efi.uga != EFI_INVALID_TABLE_ADDR) in systab_show()
101 str += sprintf(str, "UGA=0x%lx\n", efi.uga); in systab_show()
109 #define EFI_FIELD(var) efi.var
148 efi.fw_vendor == EFI_INVALID_TABLE_ADDR) in efi_attr_is_visible()
151 if (efi.runtime == EFI_INVALID_TABLE_ADDR) in efi_attr_is_visible()
154 if (efi.config_table == EFI_INVALID_TABLE_ADDR) in efi_attr_is_visible()
171 generic_ops.get_variable = efi.get_variable; in generic_ops_register()
172 generic_ops.set_variable = efi.set_variable; in generic_ops_register()
173 generic_ops.get_next_variable = efi.get_next_variable; in generic_ops_register()
248 map = efi.memmap; in efi_lookup_mapped_addr()
272 {ACPI_20_TABLE_GUID, "ACPI 2.0", &efi.acpi20},
273 {ACPI_TABLE_GUID, "ACPI", &efi.acpi},
274 {HCDP_TABLE_GUID, "HCDP", &efi.hcdp},
275 {MPS_TABLE_GUID, "MPS", &efi.mps},
276 {SAL_SYSTEM_TABLE_GUID, "SALsystab", &efi.sal_systab},
277 {SMBIOS_TABLE_GUID, "SMBIOS", &efi.smbios},
278 {SMBIOS3_TABLE_GUID, "SMBIOS 3.0", &efi.smbios3},
279 {UGA_IO_PROTOCOL_GUID, "UGA", &efi.uga},
338 set_bit(EFI_CONFIG_TABLES, &efi.flags); in efi_config_parse_tables()
355 config_tables = early_memremap(efi.systab->tables, in efi_config_init()
356 efi.systab->nr_tables * sz); in efi_config_init()
362 ret = efi_config_parse_tables(config_tables, efi.systab->nr_tables, sz, in efi_config_init()
365 early_memunmap(config_tables, efi.systab->nr_tables * sz); in efi_config_init()