/linux-6.3-rc2/drivers/video/fbdev/aty/ |
A D | mach64_cursor.c | 118 aty_st_le32(CUR_OFFSET, (info->fix.smem_len >> 3) + (yoff << 1), par); in atyfb_cursor() 201 info->fix.smem_len -= PAGE_SIZE; in aty_init_cursor() 204 addr = (unsigned long) info->screen_base - 0x800000 + info->fix.smem_len; in aty_init_cursor() 208 addr = info->fix.smem_start - 0x800000 + info->fix.smem_len; in aty_init_cursor() 211 addr = (unsigned long) info->screen_base + info->fix.smem_len; in aty_init_cursor()
|
A D | atyfb_base.c | 2499 info->fix.smem_len = 0x80000; in aty_init() 2502 info->fix.smem_len = 0x100000; in aty_init() 2505 info->fix.smem_len = 0x200000; in aty_init() 2508 info->fix.smem_len = 0x400000; in aty_init() 2511 info->fix.smem_len = 0x600000; in aty_init() 2517 info->fix.smem_len = 0x80000; in aty_init() 2521 info->fix.smem_len = 0x80000; in aty_init() 2539 info->fix.smem_len = 0x80000; in aty_init() 2586 info->fix.smem_len == 0x80000 ? 512 : (info->fix.smem_len>>20), in aty_init() 3482 info->fix.smem_len = 0x800000; in atyfb_setup_generic() [all …]
|
/linux-6.3-rc2/drivers/video/fbdev/ |
A D | atmel_lcdfb.c | 46 unsigned int smem_len; member 328 unsigned int smem_len; in atmel_lcdfb_alloc_video_memory() local 330 smem_len = (var->xres_virtual * var->yres_virtual in atmel_lcdfb_alloc_video_memory() 332 info->fix.smem_len = max(smem_len, sinfo->smem_len); in atmel_lcdfb_alloc_video_memory() 342 memset(info->screen_base, 0, info->fix.smem_len); in atmel_lcdfb_alloc_video_memory() 430 if (info->fix.smem_len) { in atmel_lcdfb_check_var() 433 if (smem_len > info->fix.smem_len) { in atmel_lcdfb_check_var() 435 info->fix.smem_len, smem_len); in atmel_lcdfb_check_var() 1107 info->fix.smem_len = resource_size(map); in atmel_lcdfb_probe() 1109 info->fix.smem_len, pdev->name)) { in atmel_lcdfb_probe() [all …]
|
A D | tcx.c | 137 for (pend = p + info->fix.smem_len; p < pend; p++) { in __tcx_set_control_plane() 306 info->fix.smem_start, info->fix.smem_len, in tcx_mmap() 318 info->fix.smem_len); in tcx_ioctl() 360 par->cplane, info->fix.smem_len * sizeof(u32)); in tcx_unmap_regs() 363 info->screen_base, info->fix.smem_len); in tcx_unmap_regs() 392 info->fix.smem_len = PAGE_ALIGN(linebytes * info->var.yres); in tcx_probe() 401 info->fix.smem_len, "tcx ram"); in tcx_probe() 409 info->fix.smem_len * sizeof(u32), in tcx_probe()
|
A D | p9100.c | 225 info->fix.smem_start, info->fix.smem_len, in p9100_mmap() 234 FBTYPE_SUN3COLOR, 8, info->fix.smem_len); in p9100_ioctl() 279 info->fix.smem_len = PAGE_ALIGN(linebytes * info->var.yres); in p9100_probe() 289 info->fix.smem_len, "p9100 ram"); in p9100_probe() 318 of_iounmap(&op->resource[2], info->screen_base, info->fix.smem_len); in p9100_probe() 339 of_iounmap(&op->resource[2], info->screen_base, info->fix.smem_len); in p9100_remove()
|
A D | bw2.c | 168 info->fix.smem_start, info->fix.smem_len, in bw2_mmap() 176 FBTYPE_SUN2BW, 1, info->fix.smem_len); in bw2_ioctl() 315 info->fix.smem_len = PAGE_ALIGN(linebytes * info->var.yres); in bw2_probe() 321 info->fix.smem_len, "bw2 ram"); in bw2_probe() 343 of_iounmap(&op->resource[0], info->screen_base, info->fix.smem_len); in bw2_probe() 363 of_iounmap(&op->resource[0], info->screen_base, info->fix.smem_len); in bw2_remove()
|
A D | cg3.c | 232 info->fix.smem_start, info->fix.smem_len, in cg3_mmap() 240 FBTYPE_SUN3COLOR, 8, info->fix.smem_len); in cg3_ioctl() 380 info->fix.smem_len = PAGE_ALIGN(linebytes * info->var.yres); in cg3_probe() 390 info->fix.smem_len, "cg3 ram"); in cg3_probe() 425 of_iounmap(&op->resource[0], info->screen_base, info->fix.smem_len); in cg3_probe() 446 of_iounmap(&op->resource[0], info->screen_base, info->fix.smem_len); in cg3_remove()
|
A D | efifb.c | 448 efifb_fix.smem_len = size_remap; in efifb_probe() 473 if ((efifb_fix.smem_start + efifb_fix.smem_len) > in efifb_probe() 493 efifb_fix.smem_len); in efifb_probe() 496 efifb_fix.smem_len); in efifb_probe() 499 efifb_fix.smem_len, MEMREMAP_WT); in efifb_probe() 502 efifb_fix.smem_len, MEMREMAP_WB); in efifb_probe() 505 efifb_fix.smem_len, efifb_fix.smem_start); in efifb_probe() 520 efifb_defined.yres_virtual = efifb_fix.smem_len / in efifb_probe()
|
A D | carminefb.c | 650 carminefb_fix.smem_len = pci_resource_len(dev, CARMINE_MEMORY_BAR); in carminefb_probe() 656 if (carminefb_fix.smem_len > CARMINE_TOTAL_DIPLAY_MEM) in carminefb_probe() 657 carminefb_fix.smem_len = CARMINE_TOTAL_DIPLAY_MEM; in carminefb_probe() 659 else if (carminefb_fix.smem_len < CARMINE_TOTAL_DIPLAY_MEM) { in carminefb_probe() 661 "are required.", carminefb_fix.smem_len, in carminefb_probe() 667 carminefb_fix.smem_len, "carminefb smem")) { in carminefb_probe() 673 carminefb_fix.smem_len); in carminefb_probe() 717 release_mem_region(carminefb_fix.smem_start, carminefb_fix.smem_len); in carminefb_probe() 750 release_mem_region(fix.smem_start, fix.smem_len); in carminefb_remove()
|
A D | pm3fb.c | 995 if (lpitch * var->yres_virtual > info->fix.smem_len) { in pm3fb_check_var() 1240 ioremap(pm3fb_fix.smem_start, pm3fb_fix.smem_len); in pm3fb_size_memory() 1243 release_mem_region(pm3fb_fix.smem_start, pm3fb_fix.smem_len); in pm3fb_size_memory() 1303 release_mem_region(pm3fb_fix.smem_start, pm3fb_fix.smem_len); in pm3fb_size_memory() 1365 pm3fb_fix.smem_len = pm3fb_size_memory(par); in pm3fb_probe() 1366 if (!pm3fb_fix.smem_len) { in pm3fb_probe() 1376 pm3fb_fix.smem_len); in pm3fb_probe() 1382 info->screen_size = pm3fb_fix.smem_len; in pm3fb_probe() 1386 pm3fb_fix.smem_len); in pm3fb_probe() 1453 release_mem_region(pm3fb_fix.smem_start, pm3fb_fix.smem_len); in pm3fb_probe() [all …]
|
A D | pvr2fb.c | 529 if (line_length * var->yres_virtual > info->fix.smem_len) in pvr2fb_check_var() 687 if ((*ppos + len) > fb_info->fix.smem_len) { in pvr2fb_write() 701 if ((*ppos + (i << PAGE_SHIFT)) > fb_info->fix.smem_len) { in pvr2fb_write() 787 pvr2_fix.smem_len); in pvr2fb_common_init() 801 fb_memset(fb_info->screen_base, 0, pvr2_fix.smem_len); in pvr2fb_common_init() 838 (unsigned long)(fb_info->fix.smem_len >> 10)); in pvr2fb_common_init() 849 pvr2fb_map = sq_remap(fb_info->fix.smem_start, fb_info->fix.smem_len, in pvr2fb_common_init() 902 pvr2_fix.smem_len = 8 << 20; in pvr2fb_dc_init() 966 pvr2_fix.smem_len = pci_resource_len(pdev, 0); in pvr2fb_pci_probe()
|
A D | vesafb.c | 299 vesafb_fix.smem_len = size_remap; in vesafb_probe() 367 vesafb_defined.yres_virtual = vesafb_fix.smem_len / vesafb_fix.line_length; in vesafb_probe() 434 info->screen_base = ioremap_wc(vesafb_fix.smem_start, vesafb_fix.smem_len); in vesafb_probe() 438 info->screen_base = ioremap(vesafb_fix.smem_start, vesafb_fix.smem_len); in vesafb_probe() 444 vesafb_fix.smem_len, vesafb_fix.smem_start); in vesafb_probe()
|
A D | pmag-ba-fb.c | 72 .smem_len = (1024 * 1024), 194 info->fix.smem_len); in pmagbafb_probe() 200 info->screen_size = info->fix.smem_len; in pmagbafb_probe()
|
A D | cg6.c | 597 info->fix.smem_start, info->fix.smem_len, in cg6_mmap() 604 FBTYPE_SUNFAST_COLOR, 8, info->fix.smem_len); in cg6_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()
|
A D | pmag-aa-fb.c | 95 .smem_len = (2048 * 1024), 203 info->fix.smem_len); in pmagaafb_probe() 209 info->screen_size = info->fix.smem_len; in pmagaafb_probe()
|
A D | mx3fb.c | 804 if (mem_len > fbi->fix.smem_len) { in __set_par() 817 fbi->fix.smem_len, in __set_par() 1088 memset((char *)fbi->screen_base, 0, fbi->fix.smem_len); in __blank() 1110 blank, fbi->screen_base, fbi->fix.smem_len); in mx3fb_blank() 1192 virt_to_page(fbi->screen_base + offset), fbi->fix.smem_len, in mx3fb_pan_display() 1345 fbi->fix.smem_len = mem_len; in mx3fb_map_video_memory() 1352 fbi->screen_size = fbi->fix.smem_len; in mx3fb_map_video_memory() 1355 memset((char *)fbi->screen_base, 0, fbi->fix.smem_len); in mx3fb_map_video_memory() 1360 fbi->fix.smem_len = 0; in mx3fb_map_video_memory() 1373 dma_free_wc(fbi->device, fbi->fix.smem_len, fbi->screen_base, in mx3fb_unmap_video_memory() [all …]
|
A D | cg14.c | 272 info->fix.smem_start, info->fix.smem_len, in cg14_mmap() 345 info->fix.smem_len); in cg14_ioctl() 462 info->screen_base, info->fix.smem_len); in cg14_unmap_regs() 488 info->fix.smem_len = PAGE_ALIGN(linebytes * info->var.yres); in cg14_probe() 507 info->fix.smem_len, "cg14 ram"); in cg14_probe()
|
A D | g364fb.c | 215 fb_fix.smem_len = (1 << (mem * 2)) * 512 * 1024; in g364fb_init() 216 fb_var.yres_virtual = fb_fix.smem_len / fb_var.xres; in g364fb_init()
|
A D | pxa168fb.c | 173 var->yres_virtual = info->fix.smem_len / in set_mode() 224 (var->bits_per_pixel >> 3) > info->fix.smem_len) in pxa168fb_check_var() 577 var->yres_virtual = info->fix.smem_len / in pxa168fb_init_mode() 668 info->fix.smem_len = PAGE_ALIGN(DEFAULT_FB_SIZE); in pxa168fb_probe() 670 info->screen_base = dma_alloc_wc(fbi->dev, info->fix.smem_len, in pxa168fb_probe() 759 dma_free_wc(fbi->dev, info->fix.smem_len, in pxa168fb_probe() 791 dma_free_wc(fbi->dev, info->fix.smem_len, in pxa168fb_remove()
|
A D | grvga.c | 102 if (info->fix.smem_len) { in grvga_check_var() 103 if ((var->yres_virtual*var->xres_virtual*var->bits_per_pixel/8) > info->fix.smem_len) in grvga_check_var() 381 info->fix.smem_len = grvga_mem_size; in grvga_probe() 470 info->fix.smem_len = grvga_mem_size; in grvga_probe()
|
/linux-6.3-rc2/drivers/video/fbdev/core/ |
A D | fb_defio.c | 101 if (offset >= info->fix.smem_len) in fb_deferred_io_fault() 274 if (WARN_ON(!info->fix.smem_len)) in fb_deferred_io_init() 283 npagerefs = DIV_ROUND_UP(info->fix.smem_len, PAGE_SIZE); in fb_deferred_io_init() 322 for (i = 0 ; i < info->fix.smem_len; i += PAGE_SIZE) { in fb_deferred_io_release()
|
A D | fb_sys_fops.c | 30 total_size = info->fix.smem_len; in fb_sys_read() 70 total_size = info->fix.smem_len; in fb_sys_write()
|
/linux-6.3-rc2/drivers/video/fbdev/geode/ |
A D | gx1fb_core.c | 123 if (gx1_line_delta(var->xres, var->bits_per_pixel) * var->yres > info->fix.smem_len) in gx1fb_check_var() 226 info->fix.smem_len = fb_len; in gx1fb_map_video_memory() 227 info->screen_base = ioremap(info->fix.smem_start, info->fix.smem_len); in gx1fb_map_video_memory() 232 info->fix.smem_len / 1024, info->fix.smem_start); in gx1fb_map_video_memory() 351 memset_io(info->screen_base, 0, info->fix.smem_len); in gx1fb_probe()
|
A D | gxfb_core.c | 150 if (gx_line_delta(var->xres, var->bits_per_pixel) * var->yres > info->fix.smem_len) in gxfb_check_var() 252 info->fix.smem_len = vram ? vram : gx_frame_buffer_size(); in gxfb_map_video_memory() 254 info->fix.smem_len); in gxfb_map_video_memory() 264 info->fix.smem_len / 1024, info->fix.smem_start); in gxfb_map_video_memory() 402 memset_io(info->screen_base, 0, info->fix.smem_len); in gxfb_probe()
|
A D | lxfb_core.c | 260 > info->fix.smem_len) in lxfb_check_var() 356 info->fix.smem_len = vram ? vram : lx_framebuffer_size(); in lxfb_map_video_memory() 358 info->screen_base = ioremap(info->fix.smem_start, info->fix.smem_len); in lxfb_map_video_memory() 385 info->fix.smem_len / 1024, info->fix.smem_start); in lxfb_map_video_memory() 529 memset_io(info->screen_base, 0, info->fix.smem_len); in lxfb_probe()
|