Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/video/
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()
165 of_iounmap(&op->resource[6], gp->fb_base, gp->fb_size); in gfb_probe()
183 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()
Dmxsfb.c379 int line_size, fb_size; in mxsfb_set_par() local
383 fb_size = fb_info->var.yres_virtual * line_size; in mxsfb_set_par()
385 if (fb_size > fb_info->fix.smem_len) in mxsfb_set_par()
683 unsigned fb_size = pdata->fb_size; in mxsfb_init_fbinfo() local
704 if (!fb_size) in mxsfb_init_fbinfo()
709 if (!request_mem_region(fb_phys, fb_size, host->pdev->name)) in mxsfb_init_fbinfo()
712 fb_virt = ioremap(fb_phys, fb_size); in mxsfb_init_fbinfo()
714 release_mem_region(fb_phys, fb_size); in mxsfb_init_fbinfo()
719 if (!fb_size) in mxsfb_init_fbinfo()
720 fb_size = SZ_2M; /* default */ in mxsfb_init_fbinfo()
[all …]
Dep93xx-fb.c422 int i, fb_size = 0; in ep93xxfb_calc_fbsize() local
425 fb_size = EP93XXFB_MAX_XRES * EP93XXFB_MAX_YRES * in ep93xxfb_calc_fbsize()
434 if (size > fb_size) in ep93xxfb_calc_fbsize()
435 fb_size = size; in ep93xxfb_calc_fbsize()
439 return fb_size; in ep93xxfb_calc_fbsize()
447 unsigned int fb_size; in ep93xxfb_alloc_videomem() local
449 fb_size = ep93xxfb_calc_fbsize(fbi->mach_info); in ep93xxfb_alloc_videomem()
450 virt_addr = dma_alloc_writecombine(info->dev, fb_size, in ep93xxfb_alloc_videomem()
468 dma_free_coherent(info->dev, fb_size, virt_addr, phys_addr); in ep93xxfb_alloc_videomem()
473 info->fix.smem_len = fb_size; in ep93xxfb_alloc_videomem()
Dxen-fbfront.c366 int fb_size; in xenfb_probe() local
383 fb_size = video[KPARAM_MEM] * 1024 * 1024; in xenfb_probe()
385 > fb_size) { in xenfb_probe()
388 fb_size = XENFB_DEFAULT_FB_LEN; in xenfb_probe()
398 info->fb = vmalloc(fb_size); in xenfb_probe()
401 memset(info->fb, 0, 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()
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()
343 ep->fb_size = info->fix.line_length * ep->height; in e3d_pci_register()
345 ep->fb_base = ioremap(ep->fb_base_phys, ep->fb_size); in e3d_pci_register()
Dsbuslib.h23 int type, int fb_depth, unsigned long fb_size);
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.c102 int type, int fb_depth, unsigned long fb_size) in sbusfb_ioctl_helper() argument
113 __put_user(fb_size, &f->fb_cmsize)) in sbusfb_ioctl_helper()
Dcyber2000fb.h472 unsigned int fb_size; member
Dcyber2000fb.c1140 info->fb_size = int_cfb_info->fb.fix.smem_len; in cyber2000fb_attach()
/linux-2.6.39/drivers/staging/crystalhd/
Dcrystalhd_misc.c79 dio->fb_size = 0; in crystalhd_free_dio()
730 dio->fb_size = ubuff_sz & 0x03; in crystalhd_map_dio()
731 if (dio->fb_size) { in crystalhd_map_dio()
733 (void *)(uaddr + count - dio->fb_size), in crystalhd_map_dio()
734 dio->fb_size); in crystalhd_map_dio()
737 res, dio->fb_size, in crystalhd_map_dio()
738 (void *)(uaddr + count-dio->fb_size)); in crystalhd_map_dio()
785 dio->sg[0].length = count - dio->fb_size; in crystalhd_map_dio()
Dcrystalhd_misc.h89 uint32_t fb_size; member
Dcrystalhd_hw.c748 if (ioreq->fb_size) { in crystalhd_hw_fill_desc()
755 desc[ix].fill_bytes = 4 - ioreq->fb_size; in crystalhd_hw_fill_desc()
756 count += ioreq->fb_size; in crystalhd_hw_fill_desc()
/linux-2.6.39/drivers/gpu/drm/vmwgfx/
Dvmwgfx_fb.c408 unsigned fb_bbp, fb_depth, fb_offset, fb_pitch, fb_size; in vmw_fb_init() local
426 fb_size = fb_pitch * fb_height; in vmw_fb_init()
448 par->vmalloc = vmalloc(fb_size); in vmw_fb_init()
454 ret = vmw_fb_create_bo(vmw_priv, fb_size, &par->vmw_bo); in vmw_fb_init()
465 par->bo_size = fb_size; in vmw_fb_init()
481 info->fix.smem_len = fb_size; in vmw_fb_init()
485 info->screen_size = fb_size; in vmw_fb_init()
/linux-2.6.39/arch/arm/mach-mxs/include/mach/
Dmxsfb.h39 unsigned fb_size; /* Size of the video memory. If zero a member
/linux-2.6.39/drivers/staging/msm/
Dlogo.c29 #define fb_size(fb) ((fb)->var.xres * (fb)->var.yres * 2) macro
/linux-2.6.39/drivers/gpu/drm/savage/
Dsavage_bci.c563 unsigned long mmio_base, fb_base, fb_size, aperture_base; in savage_driver_firstopen() local
577 fb_size = SAVAGE_FB_SIZE_S3; in savage_driver_firstopen()
610 fb_size = SAVAGE_FB_SIZE_S4; in savage_driver_firstopen()
631 fb_size = pci_resource_len(dev->pdev, 1); in savage_driver_firstopen()
642 ret = drm_addmap(dev, fb_base, fb_size, _DRM_FRAME_BUFFER, in savage_driver_firstopen()
/linux-2.6.39/arch/sparc/include/asm/
Dfbio.h55 int fb_size; /* fb size in bytes */ member
/linux-2.6.39/arch/m68k/include/asm/
Dfbio.h55 int fb_size; /* fb size in bytes */ member
/linux-2.6.39/drivers/gpu/drm/radeon/
Dr600_cp.c2130 dev_priv->fb_size = in r600_do_init_cp()
2164 base < (dev_priv->fb_location + dev_priv->fb_size - 1)) { in r600_do_init_cp()
2173 base = dev_priv->fb_location + dev_priv->fb_size; in r600_do_init_cp()
2199 (unsigned int) dev_priv->fb_size); in r600_do_init_cp()
Dradeon_cp.c1381 dev_priv->fb_size = in radeon_do_init_cp()
1414 base < (dev_priv->fb_location + dev_priv->fb_size - 1)) { in radeon_do_init_cp()
1423 base = dev_priv->fb_location + dev_priv->fb_size; in radeon_do_init_cp()
Dradeon_drv.h194 u32 fb_size; member
345 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()
/linux-2.6.39/drivers/video/aty/
Datyfb_base.c1838 fbtyp.fb_size = info->fix.smem_len; in atyfb_ioctl()