Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/drivers/video/fbdev/
A 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()
A 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()
A 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()
A 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()
A 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()
A Dsbuslib.h24 int type, int fb_depth, unsigned long fb_size);
A Dsh_mobile_lcdcfb.h69 unsigned long fb_size; member
A 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 …]
A 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()
A Dcyber2000fb.h469 unsigned int fb_size; member
/linux-6.3-rc2/drivers/gpu/drm/hyperv/
A 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()
A 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()
A Dhyperv_drm.h28 unsigned long fb_size; member
/linux-6.3-rc2/drivers/gpu/drm/gma500/
A Dframebuffer.c354 unsigned int fb_size; in psbfb_probe() local
364 fb_size = ALIGN(sizes->surface_width * bytespp, 64) * in psbfb_probe()
366 fb_size = ALIGN(fb_size, PAGE_SIZE); in psbfb_probe()
368 if (fb_size > dev_priv->vram_stolen_size) { in psbfb_probe()
/linux-6.3-rc2/drivers/video/fbdev/mmp/fb/
A 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()
A Dmmpfb.h28 int fb_size; member
/linux-6.3-rc2/drivers/gpu/drm/tiny/
A 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()
585 ret = drmm_vram_helper_init(dev, bochs->fb_base, bochs->fb_size); in bochs_load()
A Dofdrm.c1092 resource_size_t fb_size, fb_base, fb_pgbase, fb_pgsize; in ofdrm_device_create() local
1174 fb_size = linebytes * height; in ofdrm_device_create()
1188 struct resource fb_res = DEFINE_RES_MEM(address, fb_size); in ofdrm_device_create()
1198 struct resource fb_res = DEFINE_RES_MEM(0u, fb_size); in ofdrm_device_create()
1211 fb_pgsize = fb_base - fb_pgbase + round_up(fb_size, PAGE_SIZE); in ofdrm_device_create()
/linux-6.3-rc2/drivers/gpu/drm/nouveau/include/nvfw/
A Dpmu.h18 u16 fb_size; member
/linux-6.3-rc2/arch/sparc/include/uapi/asm/
A Dfbio.h56 int fb_size; /* fb size in bytes */ member
/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/
A Damdgv_sriovmsg.h260 uint32_t fb_size; member
A Damdgpu_virt.c604 vf2pf_info->fb_size = adev->gmc.real_vram_size >> 20; in amdgpu_virt_write_vf2pf_data()
/linux-6.3-rc2/arch/m68k/include/asm/
A Dfbio.h56 int fb_size; /* fb size in bytes */ member
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dmub/
A Ddmub_srv.h207 uint32_t fb_size; member
/linux-6.3-rc2/drivers/video/fbdev/core/
A Dfbmem.c1474 unsigned long fb_size = PAGE_ALIGN(info->fix.smem_len); in get_fb_unmapped_area() local
1476 if (pgoff > fb_size || len > fb_size - pgoff) in get_fb_unmapped_area()

Completed in 99 milliseconds

12