Searched defs:fbsize (Results 1 - 6 of 6) sorted by relevance

/drivers/video/fbdev/
H A Dsbuslib.c33 static unsigned long sbusfb_mmapsize(long size, unsigned long fbsize) argument
37 return fbsize * (-size);
42 unsigned long fbsize,
69 map_size = sbusfb_mmapsize(map[i].size, fbsize);
40 sbusfb_mmap_helper(struct sbus_mmap_map *map, unsigned long physbase, unsigned long fbsize, unsigned long iospace, struct vm_area_struct *vma) argument
H A Docfb.c301 int fbsize; local
334 fbsize = fbdev->info.fix.smem_len;
335 fbdev->fb_virt = dma_alloc_coherent(&pdev->dev, PAGE_ALIGN(fbsize),
347 memset_io(fbdev->fb_virt, 0, fbsize);
375 dma_free_coherent(&pdev->dev, PAGE_ALIGN(fbsize), fbdev->fb_virt,
H A Dxilinxfb.c269 int fbsize = pdata->xvirt * pdata->yvirt * BYTES_PER_PIXEL; local
285 drvdata->fb_virt = ioremap(pdata->fb_phys, fbsize);
288 drvdata->fb_virt = dma_alloc_coherent(dev, PAGE_ALIGN(fbsize),
298 memset_io((void __iomem *)drvdata->fb_virt, 0, fbsize);
322 drvdata->info.fix.smem_len = fbsize;
357 (unsigned long long)drvdata->fb_phys, drvdata->fb_virt, fbsize);
366 dma_free_coherent(dev, PAGE_ALIGN(fbsize), drvdata->fb_virt,
H A Dmetronomefb.c437 int fbsize; local
441 fbsize = par->info->fix.smem_len;
443 memcpy(par->metromem_img, buf, fbsize);
445 cksum = calc_img_cksum((u16 *) par->metromem_img, fbsize/2);
446 *((u16 *)(par->metromem_img) + fbsize/2) = cksum;
H A Dmxsfb.c599 unsigned long pa, fbsize; local
664 fbsize = fb_info->fix.line_length * vmode->yres;
667 if (pa + fbsize > fb_info->fix.smem_start + fb_info->fix.smem_len)
671 memmove(fb_info->screen_base, fb_info->screen_base + ofs, fbsize);
H A Dffb.c368 unsigned long fbsize; member in struct:ffb_par
856 par->physbase, par->fbsize,
865 FBTYPE_CREATOR, 24, par->fbsize);
942 par->fbsize = PAGE_ALIGN(info->var.xres * info->var.yres * 4);

Completed in 131 milliseconds