Lines Matching full:height
124 for (i = 0; i < logo->height; i++) in fb_set_logo()
135 for (i = 0; i < logo->height; i++) { in fb_set_logo()
182 static void fb_rotate_logo_ud(const u8 *in, u8 *out, u32 width, u32 height) in fb_rotate_logo_ud() argument
184 u32 size = width * height, i; in fb_rotate_logo_ud()
192 static void fb_rotate_logo_cw(const u8 *in, u8 *out, u32 width, u32 height) in fb_rotate_logo_cw() argument
194 int i, j, h = height - 1; in fb_rotate_logo_cw()
196 for (i = 0; i < height; i++) in fb_rotate_logo_cw()
198 out[height * j + h - i] = *in++; in fb_rotate_logo_cw()
201 static void fb_rotate_logo_ccw(const u8 *in, u8 *out, u32 width, u32 height) in fb_rotate_logo_ccw() argument
205 for (i = 0; i < height; i++) in fb_rotate_logo_ccw()
207 out[height * (w - j) + i] = *in++; in fb_rotate_logo_ccw()
217 image->height); in fb_rotate_logo()
219 image->dy = info->var.yres - image->height - image->dy; in fb_rotate_logo()
222 image->height); in fb_rotate_logo()
223 swap(image->width, image->height); in fb_rotate_logo()
229 image->height); in fb_rotate_logo()
230 swap(image->width, image->height); in fb_rotate_logo()
233 image->dy = info->var.yres - image->height - tmp; in fb_rotate_logo()
244 if (image->width > info->var.xres || image->height > info->var.yres) in fb_do_show_logo()
263 x < num && image->dy + image->height <= info->var.yres; in fb_do_show_logo()
266 image->dy += image->height + 8; in fb_do_show_logo()
273 image->dy -= image->height + 8; in fb_do_show_logo()
313 logo_new = kmalloc_array(logo->width, logo->height, in fb_show_logo_line()
337 image.dy = y ?: (yres - logo->height) / 2; in fb_show_logo_line()
344 image.height = logo->height; in fb_show_logo_line()
347 logo_rotate = kmalloc_array(logo->width, logo->height, in fb_show_logo_line()
360 return image.dy + logo->height; in fb_show_logo_line()
382 static int fb_prepare_extra_logos(struct fb_info *info, unsigned int height, in fb_prepare_extra_logos() argument
396 height += fb_logo_ex[i].logo->height; in fb_prepare_extra_logos()
397 if (height > yres) { in fb_prepare_extra_logos()
398 height -= fb_logo_ex[i].logo->height; in fb_prepare_extra_logos()
403 return height; in fb_prepare_extra_logos()
422 int height; in fb_prepare_logo() local
454 if (fb_logo.logo->height > yres) { in fb_prepare_logo()
483 height = fb_logo.logo->height; in fb_prepare_logo()
485 height += (yres - fb_logo.logo->height) / 2; in fb_prepare_logo()
487 height = fb_prepare_extra_logos(info, height, yres); in fb_prepare_logo()
490 return height; in fb_prepare_logo()