Home
last modified time | relevance | path

Searched refs:smem_len (Results 1 – 25 of 145) sorted by relevance

123456

/linux-6.12.1/drivers/video/fbdev/aty/
Dmach64_cursor.c118 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()
Datyfb_base.c452 (info->fix.smem_len == 0x800000 || in aty_fudge_framebuffer_len()
453 (par->bus_type == ISA && info->fix.smem_len == 0x400000))) in aty_fudge_framebuffer_len()
454 info->fix.smem_len -= GUI_RESERVE; in aty_fudge_framebuffer_len()
886 if (vyres * line_length > info->fix.smem_len) in aty_var_to_crtc()
1720 u32 videoram = (info->fix.smem_len - (PAGE_SIZE << 2)); in atyfb_release()
1842 fbtyp.fb_size = info->fix.smem_len; in atyfb_ioctl()
1954 if (((vma->vm_pgoff == 0) && (size == info->fix.smem_len)) || in atyfb_mmap()
1955 ((off == info->fix.smem_len) && (size == PAGE_SIZE))) in atyfb_mmap()
2502 info->fix.smem_len = 0x80000; in aty_init()
2505 info->fix.smem_len = 0x100000; in aty_init()
[all …]
/linux-6.12.1/drivers/video/fbdev/
Datmel_lcdfb.c46 unsigned int smem_len; member
312 dma_free_wc(info->device, info->fix.smem_len, info->screen_base, in atmel_lcdfb_free_video_memory()
327 unsigned int smem_len; in atmel_lcdfb_alloc_video_memory() local
329 smem_len = (var->xres_virtual * var->yres_virtual in atmel_lcdfb_alloc_video_memory()
331 info->fix.smem_len = max(smem_len, sinfo->smem_len); in atmel_lcdfb_alloc_video_memory()
333 info->screen_base = dma_alloc_wc(info->device, info->fix.smem_len, in atmel_lcdfb_alloc_video_memory()
341 memset(info->screen_base, 0, info->fix.smem_len); in atmel_lcdfb_alloc_video_memory()
429 if (info->fix.smem_len) { in atmel_lcdfb_check_var()
430 unsigned int smem_len = (var->xres_virtual * var->yres_virtual in atmel_lcdfb_check_var() local
432 if (smem_len > info->fix.smem_len) { in atmel_lcdfb_check_var()
[all …]
Dtcx.c131 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()
Dbw2.c162 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()
Dp9100.c219 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()
Defifb.c438 efifb_fix.smem_len = size_remap; in efifb_probe()
462 if ((efifb_fix.smem_start + efifb_fix.smem_len) > in efifb_probe()
482 efifb_fix.smem_len); in efifb_probe()
485 efifb_fix.smem_len); in efifb_probe()
488 efifb_fix.smem_len, MEMREMAP_WT); in efifb_probe()
491 efifb_fix.smem_len, MEMREMAP_WB); in efifb_probe()
494 efifb_fix.smem_len, efifb_fix.smem_start); in efifb_probe()
509 efifb_defined.yres_virtual = efifb_fix.smem_len / in efifb_probe()
Dcg3.c226 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()
Dpm3fb.c995 if (lpitch * var->yres_virtual > info->fix.smem_len) { in pm3fb_check_var()
1234 pm3fb_fix.smem_len = 64 * 1024l * 1024; /* request full aperture size */ in pm3fb_size_memory()
1236 if (!request_mem_region(pm3fb_fix.smem_start, pm3fb_fix.smem_len, in pm3fb_size_memory()
1242 ioremap(pm3fb_fix.smem_start, pm3fb_fix.smem_len); in pm3fb_size_memory()
1245 release_mem_region(pm3fb_fix.smem_start, pm3fb_fix.smem_len); in pm3fb_size_memory()
1305 release_mem_region(pm3fb_fix.smem_start, pm3fb_fix.smem_len); in pm3fb_size_memory()
1367 pm3fb_fix.smem_len = pm3fb_size_memory(par); in pm3fb_probe()
1368 if (!pm3fb_fix.smem_len) { in pm3fb_probe()
1372 if (!request_mem_region(pm3fb_fix.smem_start, pm3fb_fix.smem_len, in pm3fb_probe()
1378 pm3fb_fix.smem_len); in pm3fb_probe()
[all …]
Dcarminefb.c646 carminefb_fix.smem_len = pci_resource_len(dev, CARMINE_MEMORY_BAR); in carminefb_probe()
652 if (carminefb_fix.smem_len > CARMINE_TOTAL_DIPLAY_MEM) in carminefb_probe()
653 carminefb_fix.smem_len = CARMINE_TOTAL_DIPLAY_MEM; in carminefb_probe()
655 else if (carminefb_fix.smem_len < CARMINE_TOTAL_DIPLAY_MEM) { in carminefb_probe()
657 "are required.", carminefb_fix.smem_len, in carminefb_probe()
663 carminefb_fix.smem_len, "carminefb smem")) { in carminefb_probe()
669 carminefb_fix.smem_len); in carminefb_probe()
713 release_mem_region(carminefb_fix.smem_start, carminefb_fix.smem_len); in carminefb_probe()
746 release_mem_region(fix.smem_start, fix.smem_len); in carminefb_remove()
Dpvr2fb.c529 if (line_length * var->yres_virtual > info->fix.smem_len) in pvr2fb_check_var()
690 if ((*ppos + len) > fb_info->fix.smem_len) { in pvr2fb_write()
704 if ((*ppos + (i << PAGE_SHIFT)) > fb_info->fix.smem_len) { in pvr2fb_write()
792 pvr2_fix.smem_len); in pvr2fb_common_init()
806 fb_memset_io(fb_info->screen_base, 0, pvr2_fix.smem_len); in pvr2fb_common_init()
843 (unsigned long)(fb_info->fix.smem_len >> 10)); in pvr2fb_common_init()
854 pvr2fb_map = sq_remap(fb_info->fix.smem_start, fb_info->fix.smem_len, in pvr2fb_common_init()
907 pvr2_fix.smem_len = 8 << 20; in pvr2fb_dc_init()
971 pvr2_fix.smem_len = pci_resource_len(pdev, 0); in pvr2fb_pci_probe()
Dvesafb.c310 vesafb_fix.smem_len = size_remap; in vesafb_probe()
381 vesafb_defined.yres_virtual = vesafb_fix.smem_len / vesafb_fix.line_length; in vesafb_probe()
448 info->screen_base = ioremap_wc(vesafb_fix.smem_start, vesafb_fix.smem_len); in vesafb_probe()
452 info->screen_base = ioremap(vesafb_fix.smem_start, vesafb_fix.smem_len); in vesafb_probe()
458 vesafb_fix.smem_len, vesafb_fix.smem_start); in vesafb_probe()
Dpmag-ba-fb.c72 .smem_len = (1024 * 1024),
191 info->fix.smem_len); in pmagbafb_probe()
197 info->screen_size = info->fix.smem_len; in pmagbafb_probe()
Dcg6.c597 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()
Dpmag-aa-fb.c95 .smem_len = (2048 * 1024),
200 info->fix.smem_len); in pmagaafb_probe()
206 info->screen_size = info->fix.smem_len; in pmagaafb_probe()
Dcg14.c266 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()
Dg364fb.c213 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()
Dpxa168fb.c173 var->yres_virtual = info->fix.smem_len / in set_mode()
224 (var->bits_per_pixel >> 3) > info->fix.smem_len) in pxa168fb_check_var()
575 var->yres_virtual = info->fix.smem_len / in pxa168fb_init_mode()
666 info->fix.smem_len = PAGE_ALIGN(DEFAULT_FB_SIZE); in pxa168fb_probe()
668 info->screen_base = dma_alloc_wc(fbi->dev, info->fix.smem_len, in pxa168fb_probe()
757 dma_free_wc(fbi->dev, info->fix.smem_len, in pxa168fb_probe()
789 dma_free_wc(fbi->dev, info->fix.smem_len, in pxa168fb_remove()
/linux-6.12.1/drivers/video/fbdev/core/
Dfb_io_fops.c24 total_size = info->fix.smem_len; in fb_io_read()
88 total_size = info->fix.smem_len; in fb_io_write()
144 u32 len = info->fix.smem_len; in fb_io_mmap()
Dfb_sys_fops.c34 total_size = info->fix.smem_len; in fb_sys_read()
79 total_size = info->fix.smem_len; in fb_sys_write()
/linux-6.12.1/drivers/video/fbdev/geode/
Dgx1fb_core.c123 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()
347 memset_io(info->screen_base, 0, info->fix.smem_len); in gx1fb_probe()
Dgxfb_core.c150 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()
398 memset_io(info->screen_base, 0, info->fix.smem_len); in gxfb_probe()
Dlxfb_core.c263 > 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-6.12.1/drivers/gpu/drm/i915/display/
Dintel_fbdev_fb.c84 info->fix.smem_len = obj->base.size; in intel_fbdev_fb_fill_info()
91 info->fix.smem_len = vma->size; in intel_fbdev_fb_fill_info()
/linux-6.12.1/drivers/gpu/drm/xe/display/
Dintel_fbdev_fb.c94 info->fix.smem_len = obj->ttm.base.size; in intel_fbdev_fb_fill_info()
98 info->fix.smem_len = obj->ttm.base.size; in intel_fbdev_fb_fill_info()

123456