| /linux/drivers/video/fbdev/ |
| H A D | tcx.c | 131 for (pend = p + info->fix.smem_len; p < pend; p++) { in __tcx_set_control_plane() 300 info->fix.smem_start, info->fix.smem_len, in tcx_sbusfb_mmap() 311 info->fix.smem_len); in tcx_sbusfb_ioctl() 353 par->cplane, info->fix.smem_len * sizeof(u32)); in tcx_unmap_regs() 356 info->screen_base, info->fix.smem_len); in tcx_unmap_regs() 384 info->fix.smem_len = PAGE_ALIGN(linebytes * info->var.yres); in tcx_probe() 393 info->fix.smem_len, "tcx ram"); in tcx_probe() 401 info->fix.smem_len * sizeof(u32), in tcx_probe()
|
| H A D | bw2.c | 162 info->fix.smem_start, info->fix.smem_len, in bw2_sbusfb_mmap() 170 FBTYPE_SUN2BW, 1, info->fix.smem_len); in bw2_sbusfb_ioctl() 309 info->fix.smem_len = PAGE_ALIGN(linebytes * info->var.yres); in bw2_probe() 314 info->fix.smem_len, "bw2 ram"); in bw2_probe() 336 of_iounmap(&op->resource[0], info->screen_base, info->fix.smem_len); in bw2_probe() 356 of_iounmap(&op->resource[0], info->screen_base, info->fix.smem_len); in bw2_remove()
|
| H A D | p9100.c | 219 info->fix.smem_start, info->fix.smem_len, in p9100_sbusfb_mmap() 227 FBTYPE_SUN3COLOR, 8, info->fix.smem_len); in p9100_sbusfb_ioctl() 272 info->fix.smem_len = PAGE_ALIGN(linebytes * info->var.yres); in p9100_probe() 281 info->fix.smem_len, "p9100 ram"); in p9100_probe() 310 of_iounmap(&op->resource[2], info->screen_base, info->fix.smem_len); in p9100_probe() 331 of_iounmap(&op->resource[2], info->screen_base, info->fix.smem_len); in p9100_remove()
|
| H A D | cg3.c | 226 info->fix.smem_start, info->fix.smem_len, in cg3_sbusfb_mmap() 234 FBTYPE_SUN3COLOR, 8, info->fix.smem_len); in cg3_sbusfb_ioctl() 374 info->fix.smem_len = PAGE_ALIGN(linebytes * info->var.yres); in cg3_probe() 383 info->fix.smem_len, "cg3 ram"); in cg3_probe() 418 of_iounmap(&op->resource[0], info->screen_base, info->fix.smem_len); in cg3_probe() 439 of_iounmap(&op->resource[0], info->screen_base, info->fix.smem_len); in cg3_remove()
|
| H A D | pmag-ba-fb.c | 72 .smem_len = (1024 * 1024), 191 info->fix.smem_len); in pmagbafb_probe() 197 info->screen_size = info->fix.smem_len; in pmagbafb_probe()
|
| H A D | cg6.c | 597 info->fix.smem_start, info->fix.smem_len, in cg6_sbusfb_mmap() 604 FBTYPE_SUNFAST_COLOR, 8, info->fix.smem_len); in cg6_sbusfb_ioctl() 630 if (info->fix.smem_len <= 0x100000) in cg6_init_fix() 635 if (info->fix.smem_len <= 0x100000) in cg6_init_fix() 738 info->fix.smem_len); in cg6_unmap_regs() 768 info->fix.smem_len = PAGE_ALIGN(linebytes * info->var.yres); in cg6_probe() 772 info->fix.smem_len *= 4; in cg6_probe() 791 info->fix.smem_len, "cgsix ram"); in cg6_probe()
|
| H A D | pmag-aa-fb.c | 95 .smem_len = (2048 * 1024), 200 info->fix.smem_len); in pmagaafb_probe() 206 info->screen_size = info->fix.smem_len; in pmagaafb_probe()
|
| H A D | cg14.c | 266 info->fix.smem_start, info->fix.smem_len, in cg14_sbusfb_mmap() 339 info->fix.smem_len); in cg14_sbusfb_ioctl() 456 info->screen_base, info->fix.smem_len); in cg14_unmap_regs() 482 info->fix.smem_len = PAGE_ALIGN(linebytes * info->var.yres); in cg14_probe() 501 info->fix.smem_len, "cg14 ram"); in cg14_probe()
|
| H A D | g364fb.c | 213 fb_fix.smem_len = (1 << (mem * 2)) * 512 * 1024; in g364fb_init() 214 fb_var.yres_virtual = fb_fix.smem_len / fb_var.xres; in g364fb_init()
|
| H A D | acornfb.c | 203 if (current_par.using_vram && info->fix.smem_len == 2048*1024) in acornfb_set_timing() 348 if (min_size > info->fix.smem_len) in acornfb_adjust_timing() 354 for (size = info->fix.smem_len; in acornfb_adjust_timing() 367 size = info->fix.smem_len; in acornfb_adjust_timing() 557 unsigned long size = info->fix.smem_len - VDMA_XFERSIZE; in acornfb_set_par() 1015 fb_info.fix.smem_len = size; in acornfb_probe() 1067 fb_info.fix.smem_len / 1024, in acornfb_probe()
|
| H A D | stifb.c | 1320 fix->smem_len = fb->sti->regions[1].region_desc.length * 4096; in stifb_init_fb() 1327 if (fix->smem_len > yres*fix->line_length) in stifb_init_fb() 1328 fix->smem_len = ALIGN(yres*fix->line_length, 4*1024*1024); in stifb_init_fb() 1362 info->screen_base = ioremap(REGION_BASE(fb,1), fix->smem_len); in stifb_init_fb() 1367 info->screen_size = fix->smem_len; in stifb_init_fb() 1379 if (!request_mem_region(fix->smem_start, fix->smem_len, "stifb fb")) { in stifb_init_fb() 1381 fix->smem_start, fix->smem_start+fix->smem_len); in stifb_init_fb() 1412 release_mem_region(fix->smem_start, fix->smem_len); in stifb_init_fb() 1490 release_mem_region(info->fix.smem_start, info->fix.smem_len); in stifb_cleanup()
|
| H A D | hpfb.c | 246 fb_info.fix.smem_len = fb_width * fb_height; in hpfb_init_one() 248 fb_info.fix.smem_len); in hpfb_init_one() 256 fb_info.fix.smem_start, fb_start, fb_info.fix.smem_len/1024); in hpfb_init_one()
|
| H A D | s1d13xxxfb.c | 709 yres_virtual = fix->smem_len / (offset * 2); in s1d13xxxfb_fetch_hw_state() 874 info->fix.smem_len = resource_size(&pdev->resource[0]); in s1d13xxxfb_probe() 877 default_par->regs, info->fix.smem_len / 1024, info->screen_base); in s1d13xxxfb_probe() 930 s1dfb->disp_save = kmalloc(info->fix.smem_len, GFP_KERNEL); in s1d13xxxfb_suspend() 937 memcpy_fromio(s1dfb->disp_save, info->screen_base, info->fix.smem_len); in s1d13xxxfb_suspend() 986 info->fix.smem_len); in s1d13xxxfb_resume()
|
| H A D | pm2fb.c | 615 if (lpitch * var->yres_virtual > info->fix.smem_len) { in pm2fb_check_var() 1627 pm2fb_fix.smem_len = 0x200000; in pm2fb_probe() 1630 pm2fb_fix.smem_len = 0x400000; in pm2fb_probe() 1633 pm2fb_fix.smem_len = 0x600000; in pm2fb_probe() 1636 pm2fb_fix.smem_len = 0x800000; in pm2fb_probe() 1642 if (!request_mem_region(pm2fb_fix.smem_start, pm2fb_fix.smem_len, in pm2fb_probe() 1648 ioremap_wc(pm2fb_fix.smem_start, pm2fb_fix.smem_len); in pm2fb_probe() 1651 release_mem_region(pm2fb_fix.smem_start, pm2fb_fix.smem_len); in pm2fb_probe() 1657 pm2fb_fix.smem_len); in pm2fb_probe() 1700 info->fix.id, pm2fb_fix.smem_len / 1024); in pm2fb_probe() [all …]
|
| H A D | pmagb-b-fb.c | 62 .smem_len = (2048 * 1024), 298 par->smem = ioremap(info->fix.smem_start, info->fix.smem_len); in pmagbbfb_probe() 306 info->screen_size = info->fix.smem_len - 2 * vid_base * 0x1000; in pmagbbfb_probe()
|
| H A D | ocfb.c | 219 fix->smem_len = fix->line_length * var->yres; in ocfb_init_fix() 324 fbsize = fbdev->info.fix.smem_len; in ocfb_probe() 377 dma_free_coherent(&pdev->dev, PAGE_ALIGN(fbdev->info.fix.smem_len), in ocfb_remove()
|
| H A D | sm712fb.c | 1042 total_size = info->fix.smem_len; in smtcfb_read() 1105 total_size = info->fix.smem_len; in smtcfb_write() 1375 struct pci_dev *pdev, u_long smem_len) in smtc_map_smem() argument 1387 sfb->fb->fix.smem_len = smem_len; in smtc_map_smem() 1626 memset_io(sfb->lfb, 0, sfb->fb->fix.smem_len); in smtcfb_pci_probe()
|
| H A D | ep93xx-fb.c | 316 if (offset < info->fix.smem_len) { in ep93xxfb_mmap() 318 info->fix.smem_start, info->fix.smem_len); in ep93xxfb_mmap() 449 info->fix.smem_len = fb_size; in ep93xxfb_alloc_videomem() 458 dma_free_coherent(info->device, info->fix.smem_len, in ep93xxfb_dealloc_videomem()
|
| H A D | simplefb.c | 584 info->fix.smem_len = resource_size(mem); in simplefb_probe() 599 par->size = info->fix.smem_len; in simplefb_probe() 603 info->fix.smem_len); in simplefb_probe() 626 info->fix.smem_start, info->fix.smem_len); in simplefb_probe()
|
| H A D | hitfb.c | 267 maxy = info->fix.smem_len / var->xres; in hitfb_check_var() 356 hitfb_fix.smem_len = 512 * 1024; in hitfb_probe() 378 hitfb_var.yres_virtual = hitfb_fix.smem_len / lcdclor; in hitfb_probe()
|
| H A D | imsttfb.c | 728 switch (info->fix.smem_len) { in set_imstt_regvals() 790 if ((var->xres * var->yres) * (var->bits_per_pixel >> 3) > info->fix.smem_len in imsttfb_check_var() 791 || (var->xres_virtual * var->yres_virtual) * (var->bits_per_pixel >> 3) > info->fix.smem_len) in imsttfb_check_var() 840 __u32 vram = (info->fix.smem_len - (PAGE_SIZE << 2)); in imsttfb_check_var() 1359 info->fix.smem_len = (tmp & 0x0004) ? 0x400000 : 0x200000; in init_imstt() 1361 info->fix.smem_len = 0x800000; in init_imstt() 1364 end = (__u32 *)(info->screen_base + info->fix.smem_len); in init_imstt() 1421 if ((info->var.xres * info->var.yres) * (info->var.bits_per_pixel >> 3) > info->fix.smem_len in init_imstt() 1465 info->fix.id, info->fix.smem_len >> 20, tmp); in init_imstt()
|
| H A D | q40fb.c | 31 .smem_len = 1024*1024,
|
| /linux/drivers/video/fbdev/geode/ |
| H A D | lxfb_core.c | 263 > info->fix.smem_len) in lxfb_check_var() 359 info->fix.smem_len = vram ? vram : lx_framebuffer_size(); in lxfb_map_video_memory() 361 info->screen_base = ioremap(info->fix.smem_start, info->fix.smem_len); in lxfb_map_video_memory() 388 info->fix.smem_len / 1024, info->fix.smem_start); in lxfb_map_video_memory() 528 memset_io(info->screen_base, 0, info->fix.smem_len); in lxfb_probe()
|
| /linux/drivers/gpu/drm/xe/display/ |
| H A D | xe_display_bo.c | 183 info->fix.smem_len = obj->ttm.base.size; in xe_display_bo_fbdev_fill_info() 187 info->fix.smem_len = obj->ttm.base.size; in xe_display_bo_fbdev_fill_info()
|
| /linux/samples/vfio-mdev/ |
| H A D | mdpy-fb.c | 144 info->fix.smem_len = pci_resource_len(pdev, 0); in mdpy_fb_probe() 153 info->screen_size = info->fix.smem_len; in mdpy_fb_probe()
|