Home
last modified time | relevance | path

Searched refs:fb_size (Results 1 – 25 of 61) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/video/fbdev/
Dsunxvr1000.c24 unsigned int fb_size; member
78 info->screen_size = gp->fb_size; in gfb_set_fbinfo()
85 info->fix.smem_len = gp->fb_size; in gfb_set_fbinfo()
140 gp->fb_size = info->fix.line_length * gp->height; in gfb_probe()
143 gp->fb_size, "gfb fb"); in gfb_probe()
167 of_iounmap(&op->resource[6], gp->fb_base, gp->fb_size); in gfb_probe()
Dsunxvr2500.c28 unsigned int fb_size; member
82 info->screen_size = sp->fb_size; in s3d_set_fbinfo()
89 info->fix.smem_len = sp->fb_size; in s3d_set_fbinfo()
181 sp->fb_size = info->fix.line_length * sp->height; in s3d_pci_register()
183 sp->fb_base = ioremap(sp->fb_base_phys, sp->fb_size); in s3d_pci_register()
Dsunxvr500.c46 unsigned int fb_size; member
205 info->screen_size = ep->fb_size; in e3d_set_fbinfo()
212 info->fix.smem_len = ep->fb_size; in e3d_set_fbinfo()
345 ep->fb_size = info->fix.line_length * ep->height; in e3d_pci_register()
347 ep->fb_base = ioremap(ep->fb_base_phys, ep->fb_size); in e3d_pci_register()
Dxen-fbfront.c369 int fb_size; in xenfb_probe() local
391 fb_size = video[KPARAM_MEM] * 1024 * 1024; in xenfb_probe()
393 > fb_size) { in xenfb_probe()
399 fb_size = XENFB_DEFAULT_FB_LEN; in xenfb_probe()
409 info->fb = vzalloc(fb_size); in xenfb_probe()
413 info->nr_pages = (fb_size + PAGE_SIZE - 1) >> PAGE_SHIFT; in xenfb_probe()
452 fb_info->fix.smem_len = fb_size; in xenfb_probe()
Dep93xx-fb.c421 unsigned int fb_size; in ep93xxfb_alloc_videomem() local
424 fb_size = EP93XXFB_MAX_XRES * EP93XXFB_MAX_YRES * 2; in ep93xxfb_alloc_videomem()
426 virt_addr = dma_alloc_wc(info->dev, fb_size, &phys_addr, GFP_KERNEL); in ep93xxfb_alloc_videomem()
443 dma_free_coherent(info->dev, fb_size, virt_addr, phys_addr); in ep93xxfb_alloc_videomem()
448 info->fix.smem_len = fb_size; in ep93xxfb_alloc_videomem()
Dsbuslib.h24 int type, int fb_depth, unsigned long fb_size);
Dsh_mobile_lcdcfb.h69 unsigned long fb_size; member
/kernel/linux/linux-4.19/drivers/video/fbdev/
Dsunxvr1000.c24 unsigned int fb_size; member
78 info->screen_size = gp->fb_size; in gfb_set_fbinfo()
85 info->fix.smem_len = gp->fb_size; in gfb_set_fbinfo()
141 gp->fb_size = info->fix.line_length * gp->height; in gfb_probe()
144 gp->fb_size, "gfb fb"); in gfb_probe()
168 of_iounmap(&op->resource[6], gp->fb_base, gp->fb_size); in gfb_probe()
Dsunxvr2500.c28 unsigned int fb_size; member
82 info->screen_size = sp->fb_size; in s3d_set_fbinfo()
89 info->fix.smem_len = sp->fb_size; in s3d_set_fbinfo()
182 sp->fb_size = info->fix.line_length * sp->height; in s3d_pci_register()
184 sp->fb_base = ioremap(sp->fb_base_phys, sp->fb_size); in s3d_pci_register()
Dsunxvr500.c46 unsigned int fb_size; member
205 info->screen_size = ep->fb_size; in e3d_set_fbinfo()
212 info->fix.smem_len = ep->fb_size; in e3d_set_fbinfo()
346 ep->fb_size = info->fix.line_length * ep->height; in e3d_pci_register()
348 ep->fb_base = ioremap(ep->fb_base_phys, ep->fb_size); in e3d_pci_register()
Dxen-fbfront.c369 int fb_size; in xenfb_probe() local
391 fb_size = video[KPARAM_MEM] * 1024 * 1024; in xenfb_probe()
393 > fb_size) { in xenfb_probe()
399 fb_size = XENFB_DEFAULT_FB_LEN; in xenfb_probe()
409 info->fb = vzalloc(fb_size); in xenfb_probe()
413 info->nr_pages = (fb_size + PAGE_SIZE - 1) >> PAGE_SHIFT; in xenfb_probe()
452 fb_info->fix.smem_len = fb_size; in xenfb_probe()
Dmxsfb.c411 int line_size, fb_size; in mxsfb_set_par() local
415 fb_size = fb_info->var.yres_virtual * line_size; in mxsfb_set_par()
417 if (fb_size > fb_info->fix.smem_len) in mxsfb_set_par()
814 unsigned fb_size; in mxsfb_init_fbinfo() local
834 fb_size = SZ_2M; in mxsfb_init_fbinfo()
835 fb_virt = dma_alloc_wc(dev, PAGE_ALIGN(fb_size), &fb_phys, GFP_KERNEL); in mxsfb_init_fbinfo()
841 fb_info->screen_size = fb_info->fix.smem_len = fb_size; in mxsfb_init_fbinfo()
844 memset(fb_virt, 0, fb_size); in mxsfb_init_fbinfo()
Dep93xx-fb.c425 unsigned int fb_size; in ep93xxfb_alloc_videomem() local
428 fb_size = EP93XXFB_MAX_XRES * EP93XXFB_MAX_YRES * 2; in ep93xxfb_alloc_videomem()
430 virt_addr = dma_alloc_wc(info->dev, fb_size, &phys_addr, GFP_KERNEL); in ep93xxfb_alloc_videomem()
447 dma_free_coherent(info->dev, fb_size, virt_addr, phys_addr); in ep93xxfb_alloc_videomem()
452 info->fix.smem_len = fb_size; in ep93xxfb_alloc_videomem()
Dsbuslib.h24 int type, int fb_depth, unsigned long fb_size);
/kernel/linux/linux-4.19/drivers/video/fbdev/mmp/fb/
Dmmpfb.c306 (var->bits_per_pixel >> 3) > fbi->fb_size) in mmpfb_check_var()
531 info->fix.smem_len = fbi->fb_size; in fb_info_setup()
539 info->screen_size = fbi->fb_size; in fb_info_setup()
615 fbi->fb_size = info->var.xres_virtual * info->var.yres_virtual in mmpfb_probe()
618 fbi->fb_size = MMPFB_DEFAULT_SIZE; in mmpfb_probe()
621 fbi->fb_start = dma_alloc_coherent(&pdev->dev, PAGE_ALIGN(fbi->fb_size), in mmpfb_probe()
628 memset(fbi->fb_start, 0, fbi->fb_size); in mmpfb_probe()
629 dev_info(fbi->dev, "fb %dk allocated\n", fbi->fb_size/1024); in mmpfb_probe()
661 dma_free_coherent(&pdev->dev, PAGE_ALIGN(fbi->fb_size), fbi->fb_start, in mmpfb_probe()
Dmmpfb.h41 int fb_size; member
/kernel/linux/linux-5.10/drivers/video/fbdev/mmp/fb/
Dmmpfb.c291 (var->bits_per_pixel >> 3) > fbi->fb_size) in mmpfb_check_var()
516 info->fix.smem_len = fbi->fb_size; in fb_info_setup()
524 info->screen_size = fbi->fb_size; in fb_info_setup()
600 fbi->fb_size = info->var.xres_virtual * info->var.yres_virtual in mmpfb_probe()
603 fbi->fb_size = MMPFB_DEFAULT_SIZE; in mmpfb_probe()
606 fbi->fb_start = dma_alloc_coherent(&pdev->dev, PAGE_ALIGN(fbi->fb_size), in mmpfb_probe()
613 dev_info(fbi->dev, "fb %dk allocated\n", fbi->fb_size/1024); in mmpfb_probe()
645 dma_free_coherent(&pdev->dev, PAGE_ALIGN(fbi->fb_size), fbi->fb_start, in mmpfb_probe()
Dmmpfb.h28 int fb_size; member
/kernel/linux/linux-5.10/drivers/gpu/drm/gma500/
Dframebuffer.c461 unsigned int fb_size; in psbfb_probe() local
471 fb_size = ALIGN(sizes->surface_width * bytespp, 64) * in psbfb_probe()
473 fb_size = ALIGN(fb_size, PAGE_SIZE); in psbfb_probe()
475 if (fb_size > dev_priv->vram_stolen_size) { in psbfb_probe()
/kernel/linux/linux-5.10/drivers/gpu/drm/bochs/
Dbochs_mm.c14 bochs->fb_size); in bochs_mm_init()
Dbochs.h58 unsigned long fb_size; member
/kernel/linux/linux-4.19/drivers/gpu/drm/gma500/
Dframebuffer.c483 unsigned int fb_size; in psbfb_probe() local
493 fb_size = ALIGN(sizes->surface_width * bytespp, 64) * in psbfb_probe()
495 fb_size = ALIGN(fb_size, PAGE_SIZE); in psbfb_probe()
497 if (fb_size > dev_priv->vram_stolen_size) { in psbfb_probe()
/kernel/linux/linux-5.10/drivers/gpu/drm/hisilicon/hibmc/
Dhibmc_drm_drv.h27 unsigned long fb_size; member
Dhibmc_ttm.c32 hibmc->fb_size); in hibmc_mm_init()
/kernel/linux/linux-4.19/drivers/gpu/drm/bochs/
Dbochs_hw.c109 bochs->fb_size = size; in bochs_hw_init()
157 bochs->yres_virtual = bochs->fb_size / bochs->stride; in bochs_hw_setmode()

123