Home
last modified time | relevance | path

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

12

/linux-6.15/drivers/video/fbdev/
H A 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()
H A 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()
H A Dsunxvr500.c47 unsigned int fb_size; member
207 info->screen_size = ep->fb_size; in e3d_set_fbinfo()
214 info->fix.smem_len = ep->fb_size; in e3d_set_fbinfo()
351 ep->fb_size = info->fix.line_length * ep->height; in e3d_pci_register()
353 ep->fb_base = ioremap(ep->fb_base_phys, ep->fb_size); in e3d_pci_register()
H A 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()
431 fb_info->fix.smem_len = fb_size; in xenfb_probe()
H A Dep93xx-fb.c422 unsigned int fb_size; in ep93xxfb_alloc_videomem() local
425 fb_size = EP93XXFB_MAX_XRES * EP93XXFB_MAX_YRES * 2; in ep93xxfb_alloc_videomem()
427 virt_addr = dma_alloc_wc(info->device, fb_size, &phys_addr, GFP_KERNEL); in ep93xxfb_alloc_videomem()
444 dma_free_coherent(info->device, fb_size, virt_addr, phys_addr); in ep93xxfb_alloc_videomem()
449 info->fix.smem_len = fb_size; in ep93xxfb_alloc_videomem()
H A Dsbuslib.h28 int type, int fb_depth, unsigned long fb_size);
H A Dsh_mobile_lcdcfb.h69 unsigned long fb_size; member
H 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()
1491 ovl->dma_handle, ovl->fb_size); in sh_mobile_lcdc_overlay_mmap()
1576 info->fix.smem_len = ovl->fb_size; in sh_mobile_lcdc_overlay_fb_init()
1960 ch->dma_handle, ch->fb_size); in sh_mobile_lcdc_mmap()
1995 ch->fb_size >> PAGE_SHIFT); in sh_mobile_lcdc_channel_fb_register()
2071 info->fix.smem_len = ch->fb_size; in sh_mobile_lcdc_channel_fb_init()
2255 dma_free_coherent(&pdev->dev, ovl->fb_size, in sh_mobile_lcdc_remove()
2270 dma_free_coherent(&pdev->dev, ch->fb_size, in sh_mobile_lcdc_remove()
2374 ovl->fb_size = ovl->cfg->max_xres * ovl->cfg->max_yres in sh_mobile_lcdc_overlay_init()
[all …]
H A Dsbuslib.c103 int type, int fb_depth, unsigned long fb_size) in sbusfb_ioctl_helper() argument
114 put_user(fb_size, &f->fb_cmsize)) in sbusfb_ioctl_helper()
H A Dcyber2000fb.h469 unsigned int fb_size; member
/linux-6.15/drivers/gpu/drm/hyperv/
H A Dhyperv_drm_drv.c75 hv->fb_size = (unsigned long)hv->mmio_megabytes * 1024 * 1024; in hyperv_setup_vram()
77 ret = vmbus_allocate_mmio(&hv->mem, hdev, 0, -1, hv->fb_size, 0x100000, in hyperv_setup_vram()
89 hv->vram = ioremap_cache(hv->mem->start, hv->fb_size); in hyperv_setup_vram()
100 vmbus_free_mmio(hv->mem->start, hv->fb_size); in hyperv_setup_vram()
158 vmbus_free_mmio(hv->mem->start, hv->fb_size); in hyperv_vmbus_probe()
177 vmbus_free_mmio(hv->mem->start, hv->fb_size); in hyperv_vmbus_remove()
H 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()
H A Dhyperv_drm.h28 unsigned long fb_size; member
/linux-6.15/drivers/gpu/drm/tests/
H A Ddrm_framebuffer_test.c448 const unsigned int fb_size; member
463 .expect = -ENOSPC, .src_x = 1, .fb_size = UINT_MAX,
466 .expect = -ENOSPC, .src_y = 1, .fb_size = UINT_MAX,
469 .expect = -ENOSPC, .dsrc_w = 1, .fb_size = UINT_MAX - 1,
472 .expect = -ENOSPC, .dsrc_h = 1, .fb_size = UINT_MAX - 1,
481 const uint32_t src_w = (params->fb_size << 16) + params->dsrc_w; in drm_test_framebuffer_check_src_coords()
482 const uint32_t src_h = (params->fb_size << 16) + params->dsrc_h; in drm_test_framebuffer_check_src_coords()
484 .width = params->fb_size, in drm_test_framebuffer_check_src_coords()
485 .height = params->fb_size in drm_test_framebuffer_check_src_coords()
/linux-6.15/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/
H A Dtu102.c118 tu102_gsp_vga_workspace_addr(struct nvkm_gsp *gsp, u64 fb_size) in tu102_gsp_vga_workspace_addr() argument
121 const u64 base = fb_size - 0x100000; in tu102_gsp_vga_workspace_addr()
131 return fb_size - 0x20000; in tu102_gsp_vga_workspace_addr()
/linux-6.15/drivers/video/fbdev/mmp/fb/
H A 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()
636 dma_free_coherent(&pdev->dev, PAGE_ALIGN(fbi->fb_size), fbi->fb_start, in mmpfb_probe()
H A Dmmpfb.h28 int fb_size; member
/linux-6.15/drivers/video/fbdev/core/
H A Dfb_chrdev.c397 unsigned long fb_size = PAGE_ALIGN(info->fix.smem_len); in get_fb_unmapped_area() local
399 if (pgoff > fb_size || len > fb_size - pgoff) in get_fb_unmapped_area()
/linux-6.15/drivers/gpu/drm/nouveau/include/nvfw/
H A Dpmu.h18 u16 fb_size; member
/linux-6.15/drivers/gpu/drm/tiny/
H A Dbochs.c86 unsigned long fb_size; member
287 bochs->fb_size = size; in bochs_hw_init()
332 bochs->yres_virtual = bochs->fb_size / bochs->stride; in bochs_hw_setmode()
585 if (mode->vdisplay > DIV_ROUND_DOWN_ULL(bochs->fb_size, pitch)) in bochs_mode_config_mode_valid()
H A Dofdrm.c1101 resource_size_t fb_size, fb_base, fb_pgbase, fb_pgsize; in ofdrm_device_create() local
1183 fb_size = linebytes * height; in ofdrm_device_create()
1197 struct resource fb_res = DEFINE_RES_MEM(address, fb_size); in ofdrm_device_create()
1207 struct resource fb_res = DEFINE_RES_MEM(0u, fb_size); in ofdrm_device_create()
1220 fb_pgsize = fb_base - fb_pgbase + round_up(fb_size, PAGE_SIZE); in ofdrm_device_create()
/linux-6.15/arch/sparc/include/uapi/asm/
H A Dfbio.h56 int fb_size; /* fb size in bytes */ member
/linux-6.15/arch/m68k/include/asm/
H A Dfbio.h56 int fb_size; /* fb size in bytes */ member
/linux-6.15/drivers/gpu/drm/amd/amdgpu/
H A Damdgv_sriovmsg.h304 uint32_t fb_size; member
/linux-6.15/drivers/gpu/drm/amd/display/dmub/
H A Ddmub_srv.h237 uint32_t fb_size; member

12