Home
last modified time | relevance | path

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

12

/Linux-v6.6/drivers/video/fbdev/
Dsunxvr1000.c25 unsigned int fb_size; member
76 info->screen_size = gp->fb_size; in gfb_set_fbinfo()
83 info->fix.smem_len = gp->fb_size; in gfb_set_fbinfo()
138 gp->fb_size = info->fix.line_length * gp->height; in gfb_probe()
141 gp->fb_size, "gfb fb"); in gfb_probe()
165 of_iounmap(&op->resource[6], gp->fb_base, gp->fb_size); in gfb_probe()
Dsunxvr2500.c29 unsigned int fb_size; member
80 info->screen_size = sp->fb_size; in s3d_set_fbinfo()
87 info->fix.smem_len = sp->fb_size; in s3d_set_fbinfo()
183 sp->fb_size = info->fix.line_length * sp->height; in s3d_pci_register()
185 sp->fb_base = ioremap(sp->fb_base_phys, sp->fb_size); in s3d_pci_register()
Dsunxvr500.c47 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()
349 ep->fb_size = info->fix.line_length * ep->height; in e3d_pci_register()
351 ep->fb_base = ioremap(ep->fb_base_phys, ep->fb_size); in e3d_pci_register()
Dxen-fbfront.c347 int fb_size; in xenfb_probe() local
369 fb_size = video[KPARAM_MEM] * 1024 * 1024; in xenfb_probe()
371 > fb_size) { in xenfb_probe()
377 fb_size = XENFB_DEFAULT_FB_LEN; in xenfb_probe()
387 info->fb = vzalloc(fb_size); in xenfb_probe()
391 info->nr_pages = (fb_size + PAGE_SIZE - 1) >> PAGE_SHIFT; in xenfb_probe()
430 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->device, fb_size, &phys_addr, GFP_KERNEL); in ep93xxfb_alloc_videomem()
443 dma_free_coherent(info->device, 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()
1580 info->fix.smem_len = ovl->fb_size; in sh_mobile_lcdc_overlay_fb_init()
1962 ch->dma_handle, ch->fb_size); in sh_mobile_lcdc_mmap()
1998 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()
2387 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-v6.6/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.c95 if (pitch * h > hv->fb_size) in hyperv_check_size()
126 if (fb->pitches[0] * fb->height > hv->fb_size) { in hyperv_pipe_check()
128 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-v6.6/drivers/video/fbdev/mmp/fb/
Dmmpfb.c291 (var->bits_per_pixel >> 3) > fbi->fb_size) in mmpfb_check_var()
514 info->fix.smem_len = fbi->fb_size; in fb_info_setup()
522 info->screen_size = fbi->fb_size; in fb_info_setup()
598 fbi->fb_size = info->var.xres_virtual * info->var.yres_virtual in mmpfb_probe()
601 fbi->fb_size = MMPFB_DEFAULT_SIZE; in mmpfb_probe()
604 fbi->fb_start = dma_alloc_coherent(&pdev->dev, PAGE_ALIGN(fbi->fb_size), in mmpfb_probe()
611 dev_info(fbi->dev, "fb %dk allocated\n", fbi->fb_size/1024); in mmpfb_probe()
643 dma_free_coherent(&pdev->dev, PAGE_ALIGN(fbi->fb_size), fbi->fb_start, in mmpfb_probe()
Dmmpfb.h28 int fb_size; member
/Linux-v6.6/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()
584 ret = drmm_vram_helper_init(dev, bochs->fb_base, bochs->fb_size); in bochs_load()
Dofdrm.c1088 resource_size_t fb_size, fb_base, fb_pgbase, fb_pgsize; in ofdrm_device_create() local
1170 fb_size = linebytes * height; in ofdrm_device_create()
1184 struct resource fb_res = DEFINE_RES_MEM(address, fb_size); in ofdrm_device_create()
1194 struct resource fb_res = DEFINE_RES_MEM(0u, fb_size); in ofdrm_device_create()
1207 fb_pgsize = fb_base - fb_pgbase + round_up(fb_size, PAGE_SIZE); in ofdrm_device_create()
/Linux-v6.6/drivers/video/fbdev/core/
Dfb_chrdev.c438 unsigned long fb_size = PAGE_ALIGN(info->fix.smem_len); in get_fb_unmapped_area() local
440 if (pgoff > fb_size || len > fb_size - pgoff) in get_fb_unmapped_area()
/Linux-v6.6/drivers/gpu/drm/nouveau/include/nvfw/
Dpmu.h18 u16 fb_size; member
/Linux-v6.6/arch/sparc/include/uapi/asm/
Dfbio.h56 int fb_size; /* fb size in bytes */ member
/Linux-v6.6/drivers/gpu/drm/amd/amdgpu/
Damdgv_sriovmsg.h260 uint32_t fb_size; member
Damdgpu_virt.c604 vf2pf_info->fb_size = adev->gmc.real_vram_size >> 20; in amdgpu_virt_write_vf2pf_data()
/Linux-v6.6/arch/m68k/include/asm/
Dfbio.h56 int fb_size; /* fb size in bytes */ member
/Linux-v6.6/drivers/gpu/drm/amd/display/dmub/
Ddmub_srv.h207 uint32_t fb_size; member
/Linux-v6.6/drivers/gpu/drm/amd/display/dmub/src/
Ddmub_srv.c443 out->fb_size = dmub_align(scratch_mem->top, 4096); in dmub_srv_calc_region_info()

12