/drivers/video/fbdev/aty/ |
D | mach64_cursor.c | 117 aty_st_le32(CUR_OFFSET, (info->fix.smem_len >> 3) + (yoff << 1), par); in atyfb_cursor() 200 info->fix.smem_len -= PAGE_SIZE; in aty_init_cursor() 203 addr = (unsigned long) info->screen_base - 0x800000 + info->fix.smem_len; in aty_init_cursor() 207 addr = info->fix.smem_start - 0x800000 + info->fix.smem_len; in aty_init_cursor() 210 addr = (unsigned long) info->screen_base + info->fix.smem_len; in aty_init_cursor()
|
D | atyfb_base.c | 434 (info->fix.smem_len == 0x800000 || in aty_fudge_framebuffer_len() 435 (par->bus_type == ISA && info->fix.smem_len == 0x400000))) in aty_fudge_framebuffer_len() 436 info->fix.smem_len -= GUI_RESERVE; in aty_fudge_framebuffer_len() 868 if (vyres * line_length > info->fix.smem_len) in aty_var_to_crtc() 1722 u32 videoram = (info->fix.smem_len - (PAGE_SIZE << 2)); in atyfb_release() 1844 fbtyp.fb_size = info->fix.smem_len; in atyfb_ioctl() 1956 if (((vma->vm_pgoff == 0) && (size == info->fix.smem_len)) || in atyfb_mmap() 1957 ((off == info->fix.smem_len) && (size == PAGE_SIZE))) in atyfb_mmap() 2495 info->fix.smem_len = 0x80000; in aty_init() 2498 info->fix.smem_len = 0x100000; in aty_init() [all …]
|
/drivers/video/fbdev/ |
D | atmel_lcdfb.c | 45 unsigned int smem_len; member 415 dma_free_wc(info->device, info->fix.smem_len, info->screen_base, in atmel_lcdfb_free_video_memory() 430 unsigned int smem_len; in atmel_lcdfb_alloc_video_memory() local 432 smem_len = (var->xres_virtual * var->yres_virtual in atmel_lcdfb_alloc_video_memory() 434 info->fix.smem_len = max(smem_len, sinfo->smem_len); in atmel_lcdfb_alloc_video_memory() 436 info->screen_base = dma_alloc_wc(info->device, info->fix.smem_len, in atmel_lcdfb_alloc_video_memory() 444 memset(info->screen_base, 0, info->fix.smem_len); in atmel_lcdfb_alloc_video_memory() 532 if (info->fix.smem_len) { in atmel_lcdfb_check_var() 533 unsigned int smem_len = (var->xres_virtual * var->yres_virtual in atmel_lcdfb_check_var() local 535 if (smem_len > info->fix.smem_len) { in atmel_lcdfb_check_var() [all …]
|
D | tcx.c | 136 for (pend = p + info->fix.smem_len; p < pend; p++) { in __tcx_set_control_plane() 305 info->fix.smem_start, info->fix.smem_len, in tcx_mmap() 317 info->fix.smem_len); in tcx_ioctl() 359 par->cplane, info->fix.smem_len * sizeof(u32)); in tcx_unmap_regs() 362 info->screen_base, info->fix.smem_len); in tcx_unmap_regs() 391 info->fix.smem_len = PAGE_ALIGN(linebytes * info->var.yres); in tcx_probe() 400 info->fix.smem_len, "tcx ram"); in tcx_probe() 408 info->fix.smem_len * sizeof(u32), in tcx_probe()
|
D | p9100.c | 224 info->fix.smem_start, info->fix.smem_len, in p9100_mmap() 233 FBTYPE_SUN3COLOR, 8, info->fix.smem_len); in p9100_ioctl() 278 info->fix.smem_len = PAGE_ALIGN(linebytes * info->var.yres); in p9100_probe() 288 info->fix.smem_len, "p9100 ram"); in p9100_probe() 317 of_iounmap(&op->resource[2], info->screen_base, info->fix.smem_len); in p9100_probe() 338 of_iounmap(&op->resource[2], info->screen_base, info->fix.smem_len); in p9100_remove()
|
D | bw2.c | 167 info->fix.smem_start, info->fix.smem_len, in bw2_mmap() 175 FBTYPE_SUN2BW, 1, info->fix.smem_len); in bw2_ioctl() 314 info->fix.smem_len = PAGE_ALIGN(linebytes * info->var.yres); in bw2_probe() 320 info->fix.smem_len, "bw2 ram"); in bw2_probe() 342 of_iounmap(&op->resource[0], info->screen_base, info->fix.smem_len); in bw2_probe() 362 of_iounmap(&op->resource[0], info->screen_base, info->fix.smem_len); in bw2_remove()
|
D | nuc900fb.c | 394 unsigned long map_size = PAGE_ALIGN(info->fix.smem_len); in nuc900fb_map_video_memory() 414 dma_free_wc(fbi->dev, PAGE_ALIGN(info->fix.smem_len), in nuc900fb_unmap_video_memory() 612 unsigned long smem_len = mach_info->displays[i].xres; in nuc900fb_probe() local 613 smem_len *= mach_info->displays[i].yres; in nuc900fb_probe() 614 smem_len *= mach_info->displays[i].bpp; in nuc900fb_probe() 615 smem_len >>= 3; in nuc900fb_probe() 616 if (fbinfo->fix.smem_len < smem_len) in nuc900fb_probe() 617 fbinfo->fix.smem_len = smem_len; in nuc900fb_probe()
|
D | cg3.c | 231 info->fix.smem_start, info->fix.smem_len, in cg3_mmap() 239 FBTYPE_SUN3COLOR, 8, info->fix.smem_len); in cg3_ioctl() 379 info->fix.smem_len = PAGE_ALIGN(linebytes * info->var.yres); in cg3_probe() 389 info->fix.smem_len, "cg3 ram"); in cg3_probe() 424 of_iounmap(&op->resource[0], info->screen_base, info->fix.smem_len); in cg3_probe() 445 of_iounmap(&op->resource[0], info->screen_base, info->fix.smem_len); in cg3_remove()
|
D | igafb.c | 339 info->fix.smem_len = 0x100000; in iga_init() 342 info->fix.smem_len = 0x200000; in iga_init() 346 info->fix.smem_len = 0x400000; in iga_init() 364 info->fix.id, par->frame_buffer_phys, info->fix.smem_len >> 20); in iga_init() 449 if ((par->io_base = (int) ioremap(igafb_fix.mmio_start, igafb_fix.smem_len)) == 0) { in igafb_init() 544 par->mmap_map[0].size = info->fix.smem_len & PAGE_MASK; in igafb_init()
|
D | pm3fb.c | 994 if (lpitch * var->yres_virtual > info->fix.smem_len) { in pm3fb_check_var() 1231 pm3fb_fix.smem_len = 64 * 1024l * 1024; /* request full aperture size */ in pm3fb_size_memory() 1233 if (!request_mem_region(pm3fb_fix.smem_start, pm3fb_fix.smem_len, in pm3fb_size_memory() 1239 ioremap_nocache(pm3fb_fix.smem_start, pm3fb_fix.smem_len); in pm3fb_size_memory() 1242 release_mem_region(pm3fb_fix.smem_start, pm3fb_fix.smem_len); in pm3fb_size_memory() 1302 release_mem_region(pm3fb_fix.smem_start, pm3fb_fix.smem_len); in pm3fb_size_memory() 1360 pm3fb_fix.smem_len = pm3fb_size_memory(par); in pm3fb_probe() 1361 if (!pm3fb_fix.smem_len) { in pm3fb_probe() 1365 if (!request_mem_region(pm3fb_fix.smem_start, pm3fb_fix.smem_len, in pm3fb_probe() 1371 pm3fb_fix.smem_len); in pm3fb_probe() [all …]
|
D | carminefb.c | 644 carminefb_fix.smem_len = pci_resource_len(dev, CARMINE_MEMORY_BAR); in carminefb_probe() 650 if (carminefb_fix.smem_len > CARMINE_TOTAL_DIPLAY_MEM) in carminefb_probe() 651 carminefb_fix.smem_len = CARMINE_TOTAL_DIPLAY_MEM; in carminefb_probe() 653 else if (carminefb_fix.smem_len < CARMINE_TOTAL_DIPLAY_MEM) { in carminefb_probe() 655 "are required.", carminefb_fix.smem_len, in carminefb_probe() 661 carminefb_fix.smem_len, "carminefb smem")) { in carminefb_probe() 667 carminefb_fix.smem_len); in carminefb_probe() 711 release_mem_region(carminefb_fix.smem_start, carminefb_fix.smem_len); in carminefb_probe() 744 release_mem_region(fix.smem_start, fix.smem_len); in carminefb_remove()
|
D | s3c2410fb.c | 644 unsigned map_size = PAGE_ALIGN(info->fix.smem_len); in s3c2410fb_map_video_memory() 670 dma_free_wc(fbi->dev, PAGE_ALIGN(info->fix.smem_len), in s3c2410fb_unmap_video_memory() 944 unsigned long smem_len = mach_info->displays[i].xres; in s3c24xxfb_probe() local 946 smem_len *= mach_info->displays[i].yres; in s3c24xxfb_probe() 947 smem_len *= mach_info->displays[i].bpp; in s3c24xxfb_probe() 948 smem_len >>= 3; in s3c24xxfb_probe() 949 if (fbinfo->fix.smem_len < smem_len) in s3c24xxfb_probe() 950 fbinfo->fix.smem_len = smem_len; in s3c24xxfb_probe()
|
D | vesafb.c | 288 vesafb_fix.smem_len = size_remap; in vesafb_probe() 362 vesafb_defined.yres_virtual = vesafb_fix.smem_len / vesafb_fix.line_length; in vesafb_probe() 429 info->screen_base = ioremap_wc(vesafb_fix.smem_start, vesafb_fix.smem_len); in vesafb_probe() 433 info->screen_base = ioremap(vesafb_fix.smem_start, vesafb_fix.smem_len); in vesafb_probe() 439 vesafb_fix.smem_len, vesafb_fix.smem_start); in vesafb_probe()
|
D | pvr2fb.c | 532 if (line_length * var->yres_virtual > info->fix.smem_len) in pvr2fb_check_var() 708 if ((*ppos + len) > fb_info->fix.smem_len) { in pvr2fb_write() 722 if ((*ppos + (i << PAGE_SHIFT)) > fb_info->fix.smem_len) { in pvr2fb_write() 770 pvr2_fix.smem_len); in pvr2fb_common_init() 784 fb_memset(fb_info->screen_base, 0, pvr2_fix.smem_len); in pvr2fb_common_init() 821 (unsigned long)(fb_info->fix.smem_len >> 10)); in pvr2fb_common_init() 832 pvr2fb_map = sq_remap(fb_info->fix.smem_start, fb_info->fix.smem_len, in pvr2fb_common_init() 885 pvr2_fix.smem_len = 8 << 20; in pvr2fb_dc_init() 945 pvr2_fix.smem_len = pci_resource_len(pdev, 0); in pvr2fb_pci_probe()
|
D | cg6.c | 596 info->fix.smem_start, info->fix.smem_len, in cg6_mmap() 603 FBTYPE_SUNFAST_COLOR, 8, info->fix.smem_len); in cg6_ioctl() 629 if (info->fix.smem_len <= 0x100000) in cg6_init_fix() 634 if (info->fix.smem_len <= 0x100000) in cg6_init_fix() 737 info->fix.smem_len); in cg6_unmap_regs() 767 info->fix.smem_len = PAGE_ALIGN(linebytes * info->var.yres); in cg6_probe() 771 info->fix.smem_len *= 4; in cg6_probe() 790 info->fix.smem_len, "cgsix ram"); in cg6_probe()
|
D | pmag-ba-fb.c | 72 .smem_len = (1024 * 1024), 196 info->fix.smem_len); in pmagbafb_probe() 202 info->screen_size = info->fix.smem_len; in pmagbafb_probe()
|
D | efifb.c | 204 efifb_fix.smem_len = size_remap; in efifb_probe() 234 info->screen_base = ioremap_wc(efifb_fix.smem_start, efifb_fix.smem_len); in efifb_probe() 238 efifb_fix.smem_len, efifb_fix.smem_start); in efifb_probe() 251 efifb_defined.yres_virtual = efifb_fix.smem_len / in efifb_probe()
|
D | cg14.c | 271 info->fix.smem_start, info->fix.smem_len, in cg14_mmap() 344 info->fix.smem_len); in cg14_ioctl() 463 info->screen_base, info->fix.smem_len); in cg14_unmap_regs() 489 info->fix.smem_len = PAGE_ALIGN(linebytes * info->var.yres); in cg14_probe() 508 info->fix.smem_len, "cg14 ram"); in cg14_probe()
|
D | bfin-t350mcqb-fb.c | 286 if ((info->fix.line_length * var->yres_virtual) > info->fix.smem_len) { in bfin_t350mcqb_fb_check_var() 485 fbinfo->fix.smem_len = LCD_X_RES * LCD_Y_RES * LCD_BPP / 8; in bfin_t350mcqb_probe() 494 info->fb_buffer = dma_alloc_coherent(NULL, fbinfo->fix.smem_len + in bfin_t350mcqb_probe() 574 dma_free_coherent(NULL, fbinfo->fix.smem_len + ACTIVE_VIDEO_MEM_OFFSET, in bfin_t350mcqb_probe() 597 dma_free_coherent(NULL, fbinfo->fix.smem_len + in bfin_t350mcqb_remove()
|
D | pmag-aa-fb.c | 95 .smem_len = (2048 * 1024), 205 info->fix.smem_len); in pmagaafb_probe() 211 info->screen_size = info->fix.smem_len; in pmagaafb_probe()
|
D | mx3fb.c | 813 if (mem_len > fbi->fix.smem_len) { in __set_par() 826 fbi->fix.smem_len, in __set_par() 1097 memset((char *)fbi->screen_base, 0, fbi->fix.smem_len); in __blank() 1117 blank, fbi->screen_base, fbi->fix.smem_len); in mx3fb_blank() 1199 virt_to_page(fbi->screen_base + offset), fbi->fix.smem_len, in mx3fb_pan_display() 1352 fbi->fix.smem_len = mem_len; in mx3fb_map_video_memory() 1357 (uint32_t) fbi->fix.smem_start, fbi->screen_base, fbi->fix.smem_len); in mx3fb_map_video_memory() 1359 fbi->screen_size = fbi->fix.smem_len; in mx3fb_map_video_memory() 1362 memset((char *)fbi->screen_base, 0, fbi->fix.smem_len); in mx3fb_map_video_memory() 1367 fbi->fix.smem_len = 0; in mx3fb_map_video_memory() [all …]
|
/drivers/video/fbdev/geode/ |
D | gx1fb_core.c | 126 if (gx1_line_delta(var->xres, var->bits_per_pixel) * var->yres > info->fix.smem_len) in gx1fb_check_var() 229 info->fix.smem_len = fb_len; in gx1fb_map_video_memory() 230 info->screen_base = ioremap(info->fix.smem_start, info->fix.smem_len); in gx1fb_map_video_memory() 235 info->fix.smem_len / 1024, info->fix.smem_start); in gx1fb_map_video_memory() 350 memset_io(info->screen_base, 0, info->fix.smem_len); in gx1fb_probe()
|
D | gxfb_core.c | 163 if (gx_line_delta(var->xres, var->bits_per_pixel) * var->yres > info->fix.smem_len) in gxfb_check_var() 265 info->fix.smem_len = vram ? vram : gx_frame_buffer_size(); in gxfb_map_video_memory() 267 info->fix.smem_len); in gxfb_map_video_memory() 277 info->fix.smem_len / 1024, info->fix.smem_start); in gxfb_map_video_memory() 415 memset_io(info->screen_base, 0, info->fix.smem_len); in gxfb_probe()
|
D | lxfb_core.c | 272 > info->fix.smem_len) in lxfb_check_var() 368 info->fix.smem_len = vram ? vram : lx_framebuffer_size(); in lxfb_map_video_memory() 370 info->screen_base = ioremap(info->fix.smem_start, info->fix.smem_len); in lxfb_map_video_memory() 397 info->fix.smem_len / 1024, info->fix.smem_start); in lxfb_map_video_memory() 544 memset_io(info->screen_base, 0, info->fix.smem_len); in lxfb_probe()
|
/drivers/video/fbdev/core/ |
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()
|