Home
last modified time | relevance | path

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

12

/drivers/video/fbdev/
Dsunxvr1000.c23 unsigned int fb_size; member
77 info->screen_size = gp->fb_size; in gfb_set_fbinfo()
84 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()
185 of_iounmap(&op->resource[6], gp->fb_base, gp->fb_size); in gfb_remove()
Dsunxvr2500.c27 unsigned int fb_size; member
81 info->screen_size = sp->fb_size; in s3d_set_fbinfo()
88 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.c45 unsigned int fb_size; member
204 info->screen_size = ep->fb_size; in e3d_set_fbinfo()
211 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.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()
807 unsigned fb_size; in mxsfb_init_fbinfo() local
827 fb_size = SZ_2M; in mxsfb_init_fbinfo()
828 fb_virt = alloc_pages_exact(fb_size, GFP_DMA); in mxsfb_init_fbinfo()
836 fb_info->screen_size = fb_info->fix.smem_len = fb_size; in mxsfb_init_fbinfo()
839 memset(fb_virt, 0, fb_size); in mxsfb_init_fbinfo()
Dep93xx-fb.c426 unsigned int fb_size; in ep93xxfb_alloc_videomem() local
429 fb_size = EP93XXFB_MAX_XRES * EP93XXFB_MAX_YRES * 2; in ep93xxfb_alloc_videomem()
431 virt_addr = dma_alloc_writecombine(info->dev, fb_size, in ep93xxfb_alloc_videomem()
449 dma_free_coherent(info->dev, fb_size, virt_addr, phys_addr); in ep93xxfb_alloc_videomem()
454 info->fix.smem_len = fb_size; in ep93xxfb_alloc_videomem()
Dpmag-aa-fb.c91 unsigned long fb_size; member
234 fix->smem_len = ip->fb_size; in aafb_get_fix()
423 ip->fb_size = 2048 * 1024; /* fb_fix_screeninfo.smem_length in init_one()
456 memset ((void *)ip->fb_start, 0, ip->fb_size); in init_one()
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
/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/gma500/
Dframebuffer.c536 unsigned int fb_size; in psbfb_probe() local
546 fb_size = ALIGN(sizes->surface_width * bytespp, 64) * in psbfb_probe()
548 fb_size = ALIGN(fb_size, PAGE_SIZE); in psbfb_probe()
550 if (fb_size > dev_priv->vram_stolen_size) { in psbfb_probe()
/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()
Dbochs.h64 unsigned long fb_size; member
Dbochs_kms.c226 if (size * 2 > bochs->fb_size) in bochs_connector_mode_valid()
Dbochs_mm.c238 bochs->fb_size >> PAGE_SHIFT); in bochs_mm_init()
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_fb.c639 unsigned fb_bpp, fb_depth, fb_offset, fb_pitch, fb_size; in vmw_fb_init() local
651 fb_size = fb_pitch * fb_height; in vmw_fb_init()
686 par->vmalloc = vzalloc(fb_size); in vmw_fb_init()
706 info->fix.smem_len = fb_size; in vmw_fb_init()
710 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/gpu/drm/radeon/
Dr600_cp.c2123 dev_priv->fb_size = in r600_do_init_cp()
2157 base < (dev_priv->fb_location + dev_priv->fb_size - 1)) { in r600_do_init_cp()
2166 base = dev_priv->fb_location + dev_priv->fb_size; in r600_do_init_cp()
2192 (unsigned int) dev_priv->fb_size); in r600_do_init_cp()
Dradeon_cp.c1369 dev_priv->fb_size = in radeon_do_init_cp()
1402 base < (dev_priv->fb_location + dev_priv->fb_size - 1)) { in radeon_do_init_cp()
1411 base = dev_priv->fb_location + dev_priv->fb_size; in radeon_do_init_cp()
Dradeon_drv.h203 u32 fb_size; member
354 u32 fb_end = fb_start + dev_priv->fb_size - 1; in radeon_check_offset()
Dradeon_state.c47 u32 fb_end = dev_priv->fb_location + dev_priv->fb_size - 1; in radeon_check_and_fixup_offset()
74 if (off < (dev_priv->fb_size + dev_priv->gart_size)) { in radeon_check_and_fixup_offset()

12