Lines Matching refs:bgrt
31 struct acpi_table_bgrt *bgrt = &bgrt_tab; in efi_bgrt_init() local
44 *bgrt = *(struct acpi_table_bgrt *)table; in efi_bgrt_init()
50 if (bgrt->version > 1) { in efi_bgrt_init()
52 bgrt->version); in efi_bgrt_init()
55 if (bgrt->image_type != 0) { in efi_bgrt_init()
57 bgrt->image_type); in efi_bgrt_init()
60 if (!bgrt->image_address) { in efi_bgrt_init()
65 if (efi_mem_type(bgrt->image_address) != EFI_BOOT_SERVICES_DATA) { in efi_bgrt_init()
69 image = early_memremap(bgrt->image_address, sizeof(bmp_header)); in efi_bgrt_init()
83 efi_mem_reserve(bgrt->image_address, bgrt_image_size); in efi_bgrt_init()
87 memset(bgrt, 0, sizeof(bgrt_tab)); in efi_bgrt_init()