Searched refs:fbsize (Results 1 – 9 of 9) sorted by relevance
/Linux-v4.19/drivers/video/fbdev/ |
D | xilinxfb.c | 269 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()
|
D | ocfb.c | 301 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()
|
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 | sbuslib.h | 19 unsigned long physbase, unsigned long fbsize,
|
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 | ffb.c | 368 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()
|
D | mxsfb.c | 628 unsigned long pa, fbsize; in mxsfb_restore_mode() local 698 fbsize = fb_info->fix.line_length * vmode->yres; in mxsfb_restore_mode() 703 if (pa + fbsize > fb_info->fix.smem_start + fb_info->fix.smem_len) { in mxsfb_restore_mode() 709 memmove(fb_info->screen_base, fb_info->screen_base + ofs, fbsize); in mxsfb_restore_mode()
|
/Linux-v4.19/drivers/gpu/drm/bochs/ |
D | bochs_drv.c | 165 unsigned long fbsize; in bochs_pci_probe() local 168 fbsize = pci_resource_len(pdev, 0); in bochs_pci_probe() 169 if (fbsize < 4 * 1024 * 1024) { in bochs_pci_probe()
|
/Linux-v4.19/samples/vfio-mdev/ |
D | mdpy.c | 234 u32 fbsize; in mdpy_create() local 251 fbsize = roundup_pow_of_two(type->width * type->height * type->bytepp); in mdpy_create() 253 mdev_state->memblk = vmalloc_user(fbsize); in mdpy_create() 267 mdev_state->memsize = fbsize; in mdpy_create()
|