Searched refs:bmp_width (Results  1 – 1 of 1) sorted by relevance
| /Linux-v5.10/drivers/video/fbdev/ | 
| D | efifb.c | 123 static bool efifb_bgrt_sanity_check(struct screen_info *si, u32 bmp_width)  in efifb_bgrt_sanity_check()  argument 129 	u32 expected_xoffset = (si->lfb_width - bmp_width) / 2;  in efifb_bgrt_sanity_check() 134 static bool efifb_bgrt_sanity_check(struct screen_info *si, u32 bmp_width)  in efifb_bgrt_sanity_check()  argument 142 	u32 bmp_width, bmp_height, bmp_pitch, screen_pitch, dst_x, y, src_y;  in efifb_show_boot_graphics()  local 193 	bmp_width = dib_header->width;  in efifb_show_boot_graphics() 195 	bmp_pitch = round_up(3 * bmp_width, 4);  in efifb_show_boot_graphics() 202 	if ((bgrt_tab.image_offset_x + bmp_width) > si->lfb_width ||  in efifb_show_boot_graphics() 206 	if (!efifb_bgrt_sanity_check(si, bmp_width))  in efifb_show_boot_graphics() 228 			       (u32 *)dst + dst_x, bmp_width, si);  in efifb_show_boot_graphics() 229 		dst_x += bmp_width;  in efifb_show_boot_graphics()
  |