Lines Matching refs:height
118 void fb_pad_aligned_buffer(u8 *dst, u32 d_pitch, u8 *src, u32 s_pitch, u32 height) in fb_pad_aligned_buffer() argument
120 __fb_pad_aligned_buffer(dst, d_pitch, src, s_pitch, height); in fb_pad_aligned_buffer()
124 void fb_pad_unaligned_buffer(u8 *dst, u32 d_pitch, u8 *src, u32 idx, u32 height, in fb_pad_unaligned_buffer() argument
130 for (i = height; i--; ) { in fb_pad_unaligned_buffer()
304 for (i = 0; i < logo->height; i++) in fb_set_logo()
315 for (i = 0; i < logo->height; i++) { in fb_set_logo()
362 static void fb_rotate_logo_ud(const u8 *in, u8 *out, u32 width, u32 height) in fb_rotate_logo_ud() argument
364 u32 size = width * height, i; in fb_rotate_logo_ud()
372 static void fb_rotate_logo_cw(const u8 *in, u8 *out, u32 width, u32 height) in fb_rotate_logo_cw() argument
374 int i, j, h = height - 1; in fb_rotate_logo_cw()
376 for (i = 0; i < height; i++) in fb_rotate_logo_cw()
378 out[height * j + h - i] = *in++; in fb_rotate_logo_cw()
381 static void fb_rotate_logo_ccw(const u8 *in, u8 *out, u32 width, u32 height) in fb_rotate_logo_ccw() argument
385 for (i = 0; i < height; i++) in fb_rotate_logo_ccw()
387 out[height * (w - j) + i] = *in++; in fb_rotate_logo_ccw()
397 image->height); in fb_rotate_logo()
399 image->dy = info->var.yres - image->height - image->dy; in fb_rotate_logo()
402 image->height); in fb_rotate_logo()
404 image->width = image->height; in fb_rotate_logo()
405 image->height = tmp; in fb_rotate_logo()
411 image->height); in fb_rotate_logo()
413 image->width = image->height; in fb_rotate_logo()
414 image->height = tmp; in fb_rotate_logo()
417 image->dy = info->var.yres - image->height - tmp; in fb_rotate_logo()
442 x < num && image->dy + image->height <= info->var.yres; in fb_do_show_logo()
445 image->dy += image->height + 8; in fb_do_show_logo()
450 image->dy -= image->height + 8; in fb_do_show_logo()
490 logo_new = kmalloc(logo->width * logo->height, GFP_KERNEL); in fb_show_logo_line()
504 image.height = logo->height; in fb_show_logo_line()
508 logo->height, GFP_KERNEL); in fb_show_logo_line()
520 return logo->height; in fb_show_logo_line()
543 static int fb_prepare_extra_logos(struct fb_info *info, unsigned int height, in fb_prepare_extra_logos() argument
557 height += fb_logo_ex[i].logo->height; in fb_prepare_extra_logos()
558 if (height > yres) { in fb_prepare_extra_logos()
559 height -= fb_logo_ex[i].logo->height; in fb_prepare_extra_logos()
564 return height; in fb_prepare_extra_logos()
581 unsigned int height, in fb_prepare_extra_logos() argument
584 return height; in fb_prepare_extra_logos()
631 if (fb_logo.logo->height > yres) { in fb_prepare_logo()
660 return fb_prepare_extra_logos(info, fb_logo.logo->height, yres); in fb_prepare_logo()