Searched refs:bmp_width (Results 1 – 1 of 1) sorted by relevance
/Linux-v4.19/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 142 right_margin = si->lfb_width - (bgrt_tab.image_offset_x + bmp_width); in efifb_bgrt_sanity_check() 149 static bool efifb_bgrt_sanity_check(struct screen_info *si, u32 bmp_width) in efifb_bgrt_sanity_check() argument 157 u32 bmp_width, bmp_height, bmp_pitch, screen_pitch, dst_x, y, src_y; in efifb_show_boot_graphics() local 203 bmp_width = dib_header->width; in efifb_show_boot_graphics() 205 bmp_pitch = round_up(3 * bmp_width, 4); in efifb_show_boot_graphics() 212 if ((bgrt_tab.image_offset_x + bmp_width) > si->lfb_width || in efifb_show_boot_graphics() 216 if (!efifb_bgrt_sanity_check(si, bmp_width)) in efifb_show_boot_graphics() 238 (u32 *)dst + dst_x, bmp_width, si); in efifb_show_boot_graphics() 239 dst_x += bmp_width; in efifb_show_boot_graphics()
|