Home
last modified time | relevance | path

Searched refs:fbsize (Results 1 – 6 of 6) sorted by relevance

/linux-2.6.39/drivers/video/
Dxilinxfb.c237 int fbsize = pdata->xvirt * pdata->yvirt * BYTES_PER_PIXEL; in xilinxfb_assign() local
264 drvdata->fb_virt = ioremap(pdata->fb_phys, fbsize); in xilinxfb_assign()
267 drvdata->fb_virt = dma_alloc_coherent(dev, PAGE_ALIGN(fbsize), in xilinxfb_assign()
281 memset_io((void __iomem *)drvdata->fb_virt, 0, fbsize); in xilinxfb_assign()
299 drvdata->info.fix.smem_len = fbsize; in xilinxfb_assign()
334 (unsigned long long)drvdata->fb_phys, drvdata->fb_virt, fbsize); in xilinxfb_assign()
343 dma_free_coherent(dev, PAGE_ALIGN(fbsize), drvdata->fb_virt, in xilinxfb_assign()
Dsbuslib.c33 static unsigned long sbusfb_mmapsize(long size, unsigned long fbsize) in sbusfb_mmapsize() argument
37 return fbsize * (-size); in sbusfb_mmapsize()
42 unsigned long fbsize, in sbusfb_mmap_helper() argument
70 map_size = sbusfb_mmapsize(map[i].size, fbsize); in sbusfb_mmap_helper()
Dsbuslib.h18 unsigned long physbase, unsigned long fbsize,
Dmetronomefb.c437 int fbsize; in metronomefb_dpy_update() local
441 fbsize = par->info->fix.smem_len; in metronomefb_dpy_update()
443 memcpy(par->metromem_img, buf, fbsize); in metronomefb_dpy_update()
445 cksum = calc_img_cksum((u16 *) par->metromem_img, fbsize/2); in metronomefb_dpy_update()
446 *((u16 *)(par->metromem_img) + fbsize/2) = cksum; in metronomefb_dpy_update()
Dmxsfb.c590 unsigned long pa, fbsize; in mxsfb_restore_mode() local
656 fbsize = fb_info->fix.line_length * vmode.yres; in mxsfb_restore_mode()
659 if (pa + fbsize > fb_info->fix.smem_start + fb_info->fix.smem_len) in mxsfb_restore_mode()
663 memmove(fb_info->screen_base, fb_info->screen_base + ofs, fbsize); in mxsfb_restore_mode()
Dffb.c368 unsigned long fbsize; member
856 par->physbase, par->fbsize, in ffb_mmap()
865 FBTYPE_CREATOR, 24, par->fbsize); in ffb_ioctl()
942 par->fbsize = PAGE_ALIGN(info->var.xres * info->var.yres * 4); in ffb_probe()