Home
last modified time | relevance | path

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

12

/linux-6.1.9/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.c29 unsigned int fb_size; member
83 info->screen_size = sp->fb_size; in s3d_set_fbinfo()
90 info->fix.smem_len = sp->fb_size; in s3d_set_fbinfo()
186 sp->fb_size = info->fix.line_length * sp->height; in s3d_pci_register()
188 sp->fb_base = ioremap(sp->fb_base_phys, sp->fb_size); in s3d_pci_register()
Dsunxvr500.c47 unsigned int fb_size; member
206 info->screen_size = ep->fb_size; in e3d_set_fbinfo()
213 info->fix.smem_len = ep->fb_size; in e3d_set_fbinfo()
350 ep->fb_size = info->fix.line_length * ep->height; in e3d_pci_register()
352 ep->fb_base = ioremap(ep->fb_base_phys, ep->fb_size); in e3d_pci_register()
Dxen-fbfront.c368 int fb_size; in xenfb_probe() local
390 fb_size = video[KPARAM_MEM] * 1024 * 1024; in xenfb_probe()
392 > fb_size) { in xenfb_probe()
398 fb_size = XENFB_DEFAULT_FB_LEN; in xenfb_probe()
408 info->fb = vzalloc(fb_size); in xenfb_probe()
412 info->nr_pages = (fb_size + PAGE_SIZE - 1) >> PAGE_SHIFT; in xenfb_probe()
451 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
Dsh_mobile_lcdcfb.c188 unsigned long fb_size; member
441 unsigned int nr_pages_max = ch->fb_size >> PAGE_SHIFT; in sh_mobile_lcdc_sginit()
1486 ovl->dma_handle, ovl->fb_size); in sh_mobile_lcdc_overlay_mmap()
1581 info->fix.smem_len = ovl->fb_size; in sh_mobile_lcdc_overlay_fb_init()
1963 ch->dma_handle, ch->fb_size); in sh_mobile_lcdc_mmap()
1999 ch->fb_size >> PAGE_SHIFT); in sh_mobile_lcdc_channel_fb_register()
2075 info->fix.smem_len = ch->fb_size; in sh_mobile_lcdc_channel_fb_init()
2270 dma_free_coherent(&pdev->dev, ovl->fb_size, in sh_mobile_lcdc_remove()
2285 dma_free_coherent(&pdev->dev, ch->fb_size, in sh_mobile_lcdc_remove()
2390 ovl->fb_size = ovl->cfg->max_xres * ovl->cfg->max_yres in sh_mobile_lcdc_overlay_init()
[all …]
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.h469 unsigned int fb_size; member
/linux-6.1.9/drivers/gpu/drm/hyperv/
Dhyperv_drm_drv.c80 hv->fb_size = (unsigned long)hv->mmio_megabytes * 1024 * 1024; in hyperv_setup_vram()
82 ret = vmbus_allocate_mmio(&hv->mem, hdev, 0, -1, hv->fb_size, 0x100000, in hyperv_setup_vram()
94 hv->vram = ioremap_cache(hv->mem->start, hv->fb_size); in hyperv_setup_vram()
105 vmbus_free_mmio(hv->mem->start, hv->fb_size); in hyperv_setup_vram()
160 vmbus_free_mmio(hv->mem->start, hv->fb_size); in hyperv_vmbus_probe()
178 vmbus_free_mmio(hv->mem->start, hv->fb_size); in hyperv_vmbus_remove()
Dhyperv_drm_modeset.c96 if (pitch * h > hv->fb_size) in hyperv_check_size()
127 if (fb->pitches[0] * fb->height > hv->fb_size) { in hyperv_pipe_check()
129 current->comm, fb->width, fb->height, fb->pitches[0], hv->fb_size); in hyperv_pipe_check()
Dhyperv_drm.h28 unsigned long fb_size; member
/linux-6.1.9/drivers/gpu/drm/gma500/
Dframebuffer.c355 unsigned int fb_size; in psbfb_probe() local
365 fb_size = ALIGN(sizes->surface_width * bytespp, 64) * in psbfb_probe()
367 fb_size = ALIGN(fb_size, PAGE_SIZE); in psbfb_probe()
369 if (fb_size > dev_priv->vram_stolen_size) { in psbfb_probe()
/linux-6.1.9/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
/linux-6.1.9/drivers/gpu/drm/hisilicon/hibmc/
Dhibmc_drm_drv.h37 resource_size_t fb_size; member
Dhibmc_drm_drv.c233 priv->fb_size = size; in hibmc_hw_map()
274 ret = drmm_vram_helper_init(dev, pci_resource_start(pdev, 0), priv->fb_size); in hibmc_load()
/linux-6.1.9/drivers/gpu/drm/tiny/
Dbochs.c79 unsigned long fb_size; member
270 bochs->fb_size = size; in bochs_hw_init()
331 bochs->yres_virtual = bochs->fb_size / bochs->stride; in bochs_hw_setmode()
586 ret = drmm_vram_helper_init(dev, bochs->fb_base, bochs->fb_size); in bochs_load()
/linux-6.1.9/drivers/gpu/drm/vmwgfx/
Dvmwgfx_fb.c631 unsigned int fb_bpp, fb_pitch, fb_size; in vmw_fb_init() local
642 fb_size = fb_pitch * fb_height; in vmw_fb_init()
672 par->vmalloc = vzalloc(fb_size); in vmw_fb_init()
692 info->fix.smem_len = fb_size; in vmw_fb_init()
696 info->screen_size = fb_size; in vmw_fb_init()
/linux-6.1.9/drivers/gpu/drm/nouveau/include/nvfw/
Dpmu.h18 u16 fb_size; member
/linux-6.1.9/drivers/gpu/drm/savage/
Dsavage_bci.c577 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()
/linux-6.1.9/arch/sparc/include/uapi/asm/
Dfbio.h56 int fb_size; /* fb size in bytes */ member
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgv_sriovmsg.h260 uint32_t fb_size; member
/linux-6.1.9/arch/m68k/include/asm/
Dfbio.h56 int fb_size; /* fb size in bytes */ member

12