Searched refs:bgrt_tab (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/drivers/acpi/ |
D | bgrt.c | 24 return snprintf(buf, PAGE_SIZE, "%d\n", bgrt_tab.version); in show_version() 31 return snprintf(buf, PAGE_SIZE, "%d\n", bgrt_tab.status); in show_status() 38 return snprintf(buf, PAGE_SIZE, "%d\n", bgrt_tab.image_type); in show_type() 45 return snprintf(buf, PAGE_SIZE, "%d\n", bgrt_tab.image_offset_x); in show_xoffset() 52 return snprintf(buf, PAGE_SIZE, "%d\n", bgrt_tab.image_offset_y); in show_yoffset() 94 if (!bgrt_tab.image_address) in bgrt_init() 97 bgrt_image = memremap(bgrt_tab.image_address, bgrt_image_size, in bgrt_init()
|
/Linux-v4.19/drivers/firmware/efi/ |
D | efi-bgrt.c | 22 struct acpi_table_bgrt bgrt_tab; variable 34 struct acpi_table_bgrt *bgrt = &bgrt_tab; in efi_bgrt_init() 42 if (table->length < sizeof(bgrt_tab)) { in efi_bgrt_init() 44 table->length, sizeof(bgrt_tab)); in efi_bgrt_init() 90 memset(bgrt, 0, sizeof(bgrt_tab)); in efi_bgrt_init()
|
/Linux-v4.19/drivers/video/fbdev/ |
D | efifb.c | 142 right_margin = si->lfb_width - (bgrt_tab.image_offset_x + bmp_width); in efifb_bgrt_sanity_check() 143 if (right_margin < (bgrt_tab.image_offset_x / 5)) in efifb_bgrt_sanity_check() 167 if (!bgrt_tab.image_address) { in efifb_show_boot_graphics() 183 bgrt_image = memremap(bgrt_tab.image_address, bgrt_image_size, in efifb_show_boot_graphics() 212 if ((bgrt_tab.image_offset_x + bmp_width) > si->lfb_width || in efifb_show_boot_graphics() 213 (bgrt_tab.image_offset_y + bmp_height) > si->lfb_height) in efifb_show_boot_graphics() 223 if (y < bgrt_tab.image_offset_y || in efifb_show_boot_graphics() 224 y >= (bgrt_tab.image_offset_y + bmp_height)) { in efifb_show_boot_graphics() 229 src_y = y - bgrt_tab.image_offset_y; in efifb_show_boot_graphics() 234 memset(dst, 0, bgrt_tab.image_offset_x * 4); in efifb_show_boot_graphics() [all …]
|
/Linux-v4.19/include/linux/ |
D | efi-bgrt.h | 14 extern struct acpi_table_bgrt bgrt_tab;
|