Searched refs:bmp_width (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/drivers/video/fbdev/ |
D | efifb.c | 129 static bool efifb_bgrt_sanity_check(const struct screen_info *si, u32 bmp_width) in efifb_bgrt_sanity_check() argument 135 u32 expected_xoffset = (si->lfb_width - bmp_width) / 2; in efifb_bgrt_sanity_check() 140 static bool efifb_bgrt_sanity_check(const struct screen_info *si, u32 bmp_width) in efifb_bgrt_sanity_check() argument 148 u32 bmp_width, bmp_height, bmp_pitch, dst_x, y, src_y; in efifb_show_boot_graphics() local 198 bmp_width = dib_header->width; in efifb_show_boot_graphics() 200 bmp_pitch = round_up(3 * bmp_width, 4); in efifb_show_boot_graphics() 206 if ((bgrt_tab.image_offset_x + bmp_width) > si->lfb_width || in efifb_show_boot_graphics() 210 if (!efifb_bgrt_sanity_check(si, bmp_width)) in efifb_show_boot_graphics() 232 (u32 *)dst + dst_x, bmp_width, si); in efifb_show_boot_graphics() 233 dst_x += bmp_width; in efifb_show_boot_graphics()
|