Lines Matching defs:bmp_width
123 static bool efifb_bgrt_sanity_check(struct screen_info *si, u32 bmp_width)
129 u32 expected_xoffset = (si->lfb_width - bmp_width) / 2;
134 static bool efifb_bgrt_sanity_check(struct screen_info *si, u32 bmp_width)
142 u32 bmp_width, bmp_height, bmp_pitch, screen_pitch, dst_x, y, src_y;
193 bmp_width = dib_header->width;
195 bmp_pitch = round_up(3 * bmp_width, 4);
202 if ((bgrt_tab.image_offset_x + bmp_width) > si->lfb_width ||
206 if (!efifb_bgrt_sanity_check(si, bmp_width))
228 (u32 *)dst + dst_x, bmp_width, si);
229 dst_x += bmp_width;