Searched refs:fbsize (Results 1 – 8 of 8) sorted by relevance
/drivers/video/fbdev/ |
D | xilinxfb.c | 271 int fbsize = pdata->xvirt * pdata->yvirt * BYTES_PER_PIXEL; in xilinxfb_assign() local 287 drvdata->fb_virt = ioremap(pdata->fb_phys, fbsize); in xilinxfb_assign() 290 drvdata->fb_virt = dma_alloc_coherent(dev, PAGE_ALIGN(fbsize), in xilinxfb_assign() 301 memset_io((void __iomem *)drvdata->fb_virt, 0, fbsize); in xilinxfb_assign() 324 drvdata->info.fix.smem_len = fbsize; in xilinxfb_assign() 359 (unsigned long long)drvdata->fb_phys, drvdata->fb_virt, fbsize); in xilinxfb_assign() 368 dma_free_coherent(dev, PAGE_ALIGN(fbsize), drvdata->fb_virt, in xilinxfb_assign()
|
D | ocfb.c | 300 int fbsize; in ocfb_probe() local 326 fbsize = fbdev->info.fix.smem_len; in ocfb_probe() 327 fbdev->fb_virt = dma_alloc_coherent(&pdev->dev, PAGE_ALIGN(fbsize), in ocfb_probe() 339 memset_io(fbdev->fb_virt, 0, fbsize); in ocfb_probe() 367 dma_free_coherent(&pdev->dev, PAGE_ALIGN(fbsize), fbdev->fb_virt, in ocfb_probe()
|
D | sbuslib.c | 34 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()
|
D | metronomefb.c | 439 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()
|
D | sbuslib.h | 19 unsigned long physbase, unsigned long fbsize,
|
D | ffb.c | 369 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/ |
D | drm_gem_vram_helper.c | 1094 unsigned long fbsize, fbpages, max_fbpages; in drm_vram_helper_mode_valid_internal() local 1101 fbsize = mode->hdisplay * mode->vdisplay * max_bpp; in drm_vram_helper_mode_valid_internal() 1102 fbpages = DIV_ROUND_UP(fbsize, PAGE_SIZE); in drm_vram_helper_mode_valid_internal()
|
/drivers/gpu/drm/tiny/ |
D | bochs.c | 636 unsigned long fbsize; in bochs_pci_probe() local 639 fbsize = pci_resource_len(pdev, 0); in bochs_pci_probe() 640 if (fbsize < 4 * 1024 * 1024) { in bochs_pci_probe()
|