Home
last modified time | relevance | path

Searched refs:dib_header (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/video/fbdev/
H A Defifb.c155 struct bmp_dib_header *dib_header; in efifb_show_boot_graphics() local
190 if (bgrt_image_size < (sizeof(*file_header) + sizeof(*dib_header))) in efifb_show_boot_graphics()
197 dib_header = bgrt_image + sizeof(*file_header); in efifb_show_boot_graphics()
198 if (dib_header->dib_header_size != 40 || dib_header->width < 0 || in efifb_show_boot_graphics()
199 dib_header->planes != 1 || dib_header->bpp != 24 || in efifb_show_boot_graphics()
200 dib_header->compression != 0) in efifb_show_boot_graphics()
203 bmp_width = dib_header->width; in efifb_show_boot_graphics()
204 bmp_height = abs(dib_header->height); in efifb_show_boot_graphics()
230 if (dib_header->height > 0) in efifb_show_boot_graphics()