/drivers/gpu/drm/hyperv/ |
D | hyperv_drm_drv.c | 101 hv->fb_size = pci_resource_len(pdev, 0); in hyperv_setup_gen1() 108 hv->fb_size = min(hv->fb_size, in hyperv_setup_gen1() 110 hv->vram = devm_ioremap(&pdev->dev, hv->fb_base, hv->fb_size); in hyperv_setup_gen1() 132 hv->fb_size = (unsigned long)hv->mmio_megabytes * 1024 * 1024; in hyperv_setup_gen2() 134 ret = vmbus_allocate_mmio(&hv->mem, hdev, 0, -1, hv->fb_size, 0x100000, in hyperv_setup_gen2() 146 hv->vram = ioremap_cache(hv->mem->start, hv->fb_size); in hyperv_setup_gen2() 157 vmbus_free_mmio(hv->mem->start, hv->fb_size); in hyperv_setup_gen2() 238 vmbus_free_mmio(hv->mem->start, hv->fb_size); in hyperv_vmbus_remove()
|
D | hyperv_drm_modeset.c | 93 if (pitch * h > hv->fb_size) in hyperv_check_size() 124 if (fb->pitches[0] * fb->height > hv->fb_size) in hyperv_pipe_check()
|
D | hyperv_drm.h | 28 unsigned long fb_size; member
|
/drivers/video/fbdev/ |
D | sunxvr1000.c | 24 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()
|
D | sunxvr2500.c | 28 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()
|
D | sunxvr500.c | 46 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()
|
D | xen-fbfront.c | 369 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()
|
D | ep93xx-fb.c | 421 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()
|
D | sbuslib.h | 24 int type, int fb_depth, unsigned long fb_size);
|
D | sh_mobile_lcdcfb.c | 188 unsigned long fb_size; member 441 unsigned int nr_pages_max = ch->fb_size >> PAGE_SHIFT; in sh_mobile_lcdc_sginit() 1487 ovl->dma_handle, ovl->fb_size); in sh_mobile_lcdc_overlay_mmap() 1582 info->fix.smem_len = ovl->fb_size; in sh_mobile_lcdc_overlay_fb_init() 1961 ch->dma_handle, ch->fb_size); in sh_mobile_lcdc_mmap() 1997 ch->fb_size >> PAGE_SHIFT); in sh_mobile_lcdc_channel_fb_register() 2073 info->fix.smem_len = ch->fb_size; in sh_mobile_lcdc_channel_fb_init() 2268 dma_free_coherent(&pdev->dev, ovl->fb_size, in sh_mobile_lcdc_remove() 2283 dma_free_coherent(&pdev->dev, ch->fb_size, in sh_mobile_lcdc_remove() 2388 ovl->fb_size = ovl->cfg->max_xres * ovl->cfg->max_yres in sh_mobile_lcdc_overlay_init() [all …]
|
D | sh_mobile_lcdcfb.h | 69 unsigned long fb_size; member
|
D | sbuslib.c | 102 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()
|
D | cyber2000fb.h | 469 unsigned int fb_size; member
|
/drivers/video/fbdev/mmp/fb/ |
D | mmpfb.c | 291 (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()
|
D | mmpfb.h | 28 int fb_size; member
|
/drivers/gpu/drm/gma500/ |
D | framebuffer.c | 378 unsigned int fb_size; in psbfb_probe() local 388 fb_size = ALIGN(sizes->surface_width * bytespp, 64) * in psbfb_probe() 390 fb_size = ALIGN(fb_size, PAGE_SIZE); in psbfb_probe() 392 if (fb_size > dev_priv->vram_stolen_size) { in psbfb_probe()
|
/drivers/gpu/drm/tiny/ |
D | bochs.c | 75 unsigned long fb_size; member 266 bochs->fb_size = size; in bochs_hw_init() 327 bochs->yres_virtual = bochs->fb_size / bochs->stride; in bochs_hw_setmode() 582 ret = drmm_vram_helper_init(dev, bochs->fb_base, bochs->fb_size); in bochs_load()
|
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_fb.c | 637 unsigned int fb_bpp, fb_pitch, fb_size; in vmw_fb_init() local 648 fb_size = fb_pitch * fb_height; in vmw_fb_init() 678 par->vmalloc = vzalloc(fb_size); in vmw_fb_init() 698 info->fix.smem_len = fb_size; in vmw_fb_init() 702 info->screen_size = fb_size; in vmw_fb_init()
|
/drivers/gpu/drm/hisilicon/hibmc/ |
D | hibmc_drm_drv.h | 37 resource_size_t fb_size; member
|
D | hibmc_drm_drv.c | 232 priv->fb_size = size; in hibmc_hw_map() 273 ret = drmm_vram_helper_init(dev, pci_resource_start(pdev, 0), priv->fb_size); in hibmc_load()
|
/drivers/gpu/drm/nouveau/include/nvfw/ |
D | pmu.h | 18 u16 fb_size; member
|
/drivers/gpu/drm/savage/ |
D | savage_bci.c | 577 unsigned long mmio_base, fb_base, fb_size, aperture_base; in savage_driver_firstopen() local 582 fb_size = SAVAGE_FB_SIZE_S3; in savage_driver_firstopen() 606 fb_size = SAVAGE_FB_SIZE_S4; in savage_driver_firstopen() 623 fb_size = pci_resource_len(pdev, 1); in savage_driver_firstopen() 634 ret = drm_legacy_addmap(dev, fb_base, fb_size, _DRM_FRAME_BUFFER, in savage_driver_firstopen()
|
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgv_sriovmsg.h | 256 uint32_t fb_size; member
|
/drivers/gpu/drm/amd/display/dmub/ |
D | dmub_srv.h | 188 uint32_t fb_size; member
|
/drivers/video/fbdev/core/ |
D | fbmem.c | 1475 unsigned long fb_size = PAGE_ALIGN(info->fix.smem_len); in get_fb_unmapped_area() local 1477 if (pgoff > fb_size || len > fb_size - pgoff) in get_fb_unmapped_area()
|