Home
last modified time | relevance | path

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

/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.c367 int fb_size; in xenfb_probe() local
384 fb_size = video[KPARAM_MEM] * 1024 * 1024; in xenfb_probe()
386 > fb_size) { in xenfb_probe()
389 fb_size = XENFB_DEFAULT_FB_LEN; in xenfb_probe()
399 info->fb = vzalloc(fb_size); in xenfb_probe()
403 info->nr_pages = (fb_size + PAGE_SIZE - 1) >> PAGE_SHIFT; in xenfb_probe()
442 fb_info->fix.smem_len = fb_size; in xenfb_probe()
Dmxsfb.c414 int line_size, fb_size; in mxsfb_set_par() local
418 fb_size = fb_info->var.yres_virtual * line_size; in mxsfb_set_par()
420 if (fb_size > fb_info->fix.smem_len) in mxsfb_set_par()
808 unsigned fb_size; in mxsfb_init_fbinfo() local
828 fb_size = SZ_2M; in mxsfb_init_fbinfo()
829 fb_virt = dma_alloc_wc(dev, PAGE_ALIGN(fb_size), &fb_phys, GFP_KERNEL); in mxsfb_init_fbinfo()
835 fb_info->screen_size = fb_info->fix.smem_len = fb_size; in mxsfb_init_fbinfo()
838 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.h23 int type, int fb_depth, unsigned long fb_size);
Dsh_mobile_lcdcfb.c189 unsigned long fb_size; member
451 unsigned int nr_pages_max = ch->fb_size >> PAGE_SHIFT; in sh_mobile_lcdc_sginit()
1626 ovl->dma_handle, ovl->fb_size); in sh_mobile_lcdc_overlay_mmap()
1723 info->fix.smem_len = ovl->fb_size; in sh_mobile_lcdc_overlay_fb_init()
2115 ch->dma_handle, ch->fb_size); in sh_mobile_lcdc_mmap()
2151 ch->fb_size >> PAGE_SHIFT); in sh_mobile_lcdc_channel_fb_register()
2231 info->fix.smem_len = ch->fb_size; in sh_mobile_lcdc_channel_fb_init()
2460 dma_free_coherent(&pdev->dev, ovl->fb_size, in sh_mobile_lcdc_remove()
2475 dma_free_coherent(&pdev->dev, ch->fb_size, in sh_mobile_lcdc_remove()
2580 ovl->fb_size = ovl->cfg->max_xres * ovl->cfg->max_yres in sh_mobile_lcdc_overlay_init()
[all …]
Dsh_mobile_lcdcfb.h69 unsigned long fb_size; member
Dsbuslib.c101 int type, int fb_depth, unsigned long fb_size) in sbusfb_ioctl_helper() argument
112 __put_user(fb_size, &f->fb_cmsize)) in sbusfb_ioctl_helper()
Dcyber2000fb.h472 unsigned int fb_size; member
Dcyber2000fb.c1139 info->fb_size = int_cfb_info->fb.fix.smem_len; in cyber2000fb_attach()
/drivers/video/fbdev/mmp/fb/
Dmmpfb.c306 (var->bits_per_pixel >> 3) > fbi->fb_size) in mmpfb_check_var()
532 info->fix.smem_len = fbi->fb_size; in fb_info_setup()
540 info->screen_size = fbi->fb_size; in fb_info_setup()
616 fbi->fb_size = info->var.xres_virtual * info->var.yres_virtual in mmpfb_probe()
619 fbi->fb_size = MMPFB_DEFAULT_SIZE; in mmpfb_probe()
622 fbi->fb_start = dma_alloc_coherent(&pdev->dev, PAGE_ALIGN(fbi->fb_size), in mmpfb_probe()
629 memset(fbi->fb_start, 0, fbi->fb_size); in mmpfb_probe()
630 dev_info(fbi->dev, "fb %dk allocated\n", fbi->fb_size/1024); in mmpfb_probe()
662 dma_free_coherent(&pdev->dev, PAGE_ALIGN(fbi->fb_size), fbi->fb_start, in mmpfb_probe()
Dmmpfb.h41 int fb_size; member
/drivers/gpu/drm/bochs/
Dbochs_hw.c111 bochs->fb_size = size; in bochs_hw_init()
159 bochs->yres_virtual = bochs->fb_size / bochs->stride; in bochs_hw_setmode()
Dbochs.h63 unsigned long fb_size; member
Dbochs_kms.c203 if (size * 2 > bochs->fb_size) in bochs_connector_mode_valid()
Dbochs_mm.c232 bochs->fb_size >> PAGE_SHIFT); in bochs_mm_init()
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_fb.c645 unsigned fb_bpp, fb_depth, fb_offset, fb_pitch, fb_size; in vmw_fb_init() local
657 fb_size = fb_pitch * fb_height; in vmw_fb_init()
692 par->vmalloc = vzalloc(fb_size); in vmw_fb_init()
712 info->fix.smem_len = fb_size; in vmw_fb_init()
716 info->screen_size = fb_size; in vmw_fb_init()
/drivers/gpu/drm/savage/
Dsavage_bci.c565 unsigned long mmio_base, fb_base, fb_size, aperture_base; in savage_driver_firstopen() local
576 fb_size = SAVAGE_FB_SIZE_S3; in savage_driver_firstopen()
602 fb_size = SAVAGE_FB_SIZE_S4; in savage_driver_firstopen()
621 fb_size = pci_resource_len(dev->pdev, 1); in savage_driver_firstopen()
633 ret = drm_legacy_addmap(dev, fb_base, fb_size, _DRM_FRAME_BUFFER, in savage_driver_firstopen()
/drivers/video/fbdev/aty/
Datyfb_base.c1844 fbtyp.fb_size = info->fix.smem_len; in atyfb_ioctl()