Home
last modified time | relevance | path

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

/drivers/video/fbdev/
Dxilinxfb.c269 int fbsize = pdata->xvirt * pdata->yvirt * BYTES_PER_PIXEL; in xilinxfb_assign() local
285 drvdata->fb_virt = ioremap(pdata->fb_phys, fbsize); in xilinxfb_assign()
288 drvdata->fb_virt = dma_alloc_coherent(dev, PAGE_ALIGN(fbsize), in xilinxfb_assign()
299 memset_io((void __iomem *)drvdata->fb_virt, 0, fbsize); in xilinxfb_assign()
322 drvdata->info.fix.smem_len = fbsize; in xilinxfb_assign()
357 (unsigned long long)drvdata->fb_phys, drvdata->fb_virt, fbsize); in xilinxfb_assign()
366 dma_free_coherent(dev, PAGE_ALIGN(fbsize), drvdata->fb_virt, in xilinxfb_assign()
Docfb.c301 int fbsize; in ocfb_probe() local
333 fbsize = fbdev->info.fix.smem_len; in ocfb_probe()
334 fbdev->fb_virt = dma_alloc_coherent(&pdev->dev, PAGE_ALIGN(fbsize), in ocfb_probe()
346 memset_io(fbdev->fb_virt, 0, fbsize); in ocfb_probe()
374 dma_free_coherent(&pdev->dev, PAGE_ALIGN(fbsize), fbdev->fb_virt, in ocfb_probe()
Dsbuslib.c34 static unsigned long sbusfb_mmapsize(long size, unsigned long fbsize) in sbusfb_mmapsize() argument
38 return fbsize * (-size); in sbusfb_mmapsize()
43 unsigned long fbsize, in sbusfb_mmap_helper() argument
70 map_size = sbusfb_mmapsize(map[i].size, fbsize); in sbusfb_mmap_helper()
Dmetronomefb.c439 int fbsize; in metronomefb_dpy_update() local
443 fbsize = par->info->fix.smem_len; in metronomefb_dpy_update()
445 memcpy(par->metromem_img, buf, fbsize); in metronomefb_dpy_update()
447 cksum = calc_img_cksum((u16 *) par->metromem_img, fbsize/2); in metronomefb_dpy_update()
448 *((u16 *)(par->metromem_img) + fbsize/2) = cksum; in metronomefb_dpy_update()
Dsbuslib.h19 unsigned long physbase, unsigned long fbsize,
Dffb.c369 unsigned long fbsize; member
857 par->physbase, par->fbsize, in ffb_mmap()
866 FBTYPE_CREATOR, 24, par->fbsize); in ffb_ioctl()
943 par->fbsize = PAGE_ALIGN(info->var.xres * info->var.yres * 4); in ffb_probe()
/drivers/gpu/drm/bochs/
Dbochs_drv.c108 unsigned long fbsize; in bochs_pci_probe() local
111 fbsize = pci_resource_len(pdev, 0); in bochs_pci_probe()
112 if (fbsize < 4 * 1024 * 1024) { in bochs_pci_probe()