Lines Matching defs:size
34 * set the @align and @size values in struct video_uc_plat. This
35 * information represents the requires size and alignment of the frame buffer
46 * @size and @align information and this time video_post_bind() checks that
83 static ulong alloc_fb_(ulong align, ulong size, ulong *addrp)
88 base = *addrp - size;
90 size = *addrp - base;
93 return size;
99 ulong size;
101 if (!plat->size) {
103 size = alloc_fb_(plat->align, plat->copy_size, addrp);
105 return size;
115 size = alloc_fb_(plat->align, plat->size, addrp);
118 return size;
124 ulong size;
133 size = alloc_fb(dev, addrp);
135 __func__, size, *addrp, dev->name);
204 if (!ho->fb || ho->size == 0)
209 gd->video_top = ho->fb + ho->size;
211 __func__, (unsigned long)ho->size, (u32)ho->fb);
441 long offset, size;
445 size = to - from;
448 size = from - to;
474 if (offset + size > priv->fb_size) {
475 size = priv->fb_size - offset;
477 size += offset;
481 memcpy(priv->copy_fb + offset, priv->fb + offset, size);
542 /* Set up the line and display size */
543 priv->fb = map_sysmem(plat->base, plat->size);
561 /* Fill aligned size here as calculated in video_reserve() */
562 ho->size = gd->video_top - gd->video_bottom;
570 priv->copy_fb = map_sysmem(plat->copy_base, plat->size);
634 ulong size;
647 size = alloc_fb(dev, &addr);
659 __func__, size, addr, dev->name);