Home
last modified time | relevance | path

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

/linux/drivers/video/fbdev/
A Dxilinxfb.c271 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()
A Docfb.c300 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()
A 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()
A 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()
A Dsbuslib.h19 unsigned long physbase, unsigned long fbsize,
A 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()
/linux/samples/vfio-mdev/
A Dmdpy.c225 u32 fbsize; in mdpy_probe() local
242 fbsize = roundup_pow_of_two(type->width * type->height * type->bytepp); in mdpy_probe()
244 mdev_state->memblk = vmalloc_user(fbsize); in mdpy_probe()
255 mdev_state->memsize = fbsize; in mdpy_probe()
/linux/drivers/gpu/drm/
A Ddrm_gem_vram_helper.c1093 unsigned long fbsize, fbpages, max_fbpages; in drm_vram_helper_mode_valid_internal() local
1100 fbsize = mode->hdisplay * mode->vdisplay * max_bpp; in drm_vram_helper_mode_valid_internal()
1101 fbpages = DIV_ROUND_UP(fbsize, PAGE_SIZE); in drm_vram_helper_mode_valid_internal()
/linux/drivers/gpu/drm/tiny/
A Dbochs.c635 unsigned long fbsize; in bochs_pci_probe() local
638 fbsize = pci_resource_len(pdev, 0); in bochs_pci_probe()
639 if (fbsize < 4 * 1024 * 1024) { in bochs_pci_probe()

Completed in 18 milliseconds