Home
last modified time | relevance | path

Searched refs:screen_base (Results 1 – 25 of 157) sorted by relevance

1234567

/linux-2.6.39/drivers/video/
Datafb_mfb.c32 src = (u8 *)info->screen_base + sy * (width >> 3); in atafb_mfb_copyarea()
33 dest = (u8 *)info->screen_base + dy * (width >> 3); in atafb_mfb_copyarea()
36 src = (u8 *)info->screen_base + sy * next_line + (sx >> 3); in atafb_mfb_copyarea()
37 dest = (u8 *)info->screen_base + dy * next_line + (dx >> 3); in atafb_mfb_copyarea()
44 src = (u8 *)info->screen_base + (sy + height - 1) * next_line + (sx >> 3); in atafb_mfb_copyarea()
45 dest = (u8 *)info->screen_base + (dy + height - 1) * next_line + (dx >> 3); in atafb_mfb_copyarea()
60 dest = (u8 *)info->screen_base + sy * next_line + (sx >> 3); in atafb_mfb_fillrect()
84 dest = (u8 *)info->screen_base + dy * next_line + (dx >> 3); in atafb_mfb_linefill()
Datafb_iplan2p2.c51 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea()
52 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea()
76 src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea()
77 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea()
110 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea()
111 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea()
152 src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea()
153 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea()
200 dest = (u32 *)(info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL)); in atafb_iplan2p2_fillrect()
248 dest = (u32 *)(info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL)); in atafb_iplan2p2_linefill()
Datafb_iplan2p4.c51 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea()
52 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea()
76 src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea()
77 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea()
110 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea()
111 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea()
159 src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea()
160 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea()
214 dest = (u32 *)(info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL)); in atafb_iplan2p4_fillrect()
262 dest = (u32 *)(info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL)); in atafb_iplan2p4_linefill()
Datafb_iplan2p8.c58 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea()
59 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea()
83 src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea()
84 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea()
117 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea()
118 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea()
180 src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea()
181 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea()
249 dest = (u32 *)(info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL)); in atafb_iplan2p8_fillrect()
297 dest = (u32 *)(info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL)); in atafb_iplan2p8_linefill()
Dcobalt_lcdfb.c66 writel((u32)control << 24, info->screen_base); in lcd_write_control()
71 return readl(info->screen_base) >> 24; in lcd_read_control()
76 writel((u32)data << 24, info->screen_base + LCD_DATA_REG_OFFSET); in lcd_write_data()
81 return readl(info->screen_base + LCD_DATA_REG_OFFSET) >> 24; in lcd_read_data()
307 info->screen_base = ioremap(res->start, info->screen_size); in cobalt_lcdfb_probe()
318 iounmap(info->screen_base); in cobalt_lcdfb_probe()
339 iounmap(info->screen_base); in cobalt_lcdfb_remove()
Dvesafb.c178 if (info->screen_base) in vesafb_destroy()
179 iounmap(info->screen_base); in vesafb_destroy()
442 info->screen_base = ioremap_nocache(vesafb_fix.smem_start, vesafb_fix.smem_len); in vesafb_probe()
445 info->screen_base = ioremap_cache(vesafb_fix.smem_start, vesafb_fix.smem_len); 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()
455 if (!info->screen_base) { in vesafb_probe()
465 vesafb_fix.smem_start, info->screen_base, in vesafb_probe()
490 if (info->screen_base) in vesafb_probe()
491 iounmap(info->screen_base); in vesafb_probe()
Datafb.c121 void *screen_base; member
193 static void *screen_base; /* base address of screen */ variable
686 par->screen_base = screen_base + var->yoffset * linelen; in tt_decode_var()
775 if (screen_base) in tt_encode_var()
776 var->yoffset = (par->screen_base - screen_base) / linelen; in tt_encode_var()
793 par->screen_base = phys_to_virt(addr); in tt_get_par()
801 if (current_par.screen_base != par->screen_base) in tt_set_par()
802 fbhw->set_screen_base(par->screen_base); in tt_set_par()
1384 par->screen_base = screen_base + var->yoffset * linelen; in falcon_decode_var()
1545 if (screen_base) in falcon_encode_var()
[all …]
Dchipsfb.c335 memset(p->screen_base, 0, 0x100000); in init_chips()
405 p->screen_base = __ioremap(addr, 0x200000, _PAGE_NO_CACHE); in chipsfb_pci_init()
407 p->screen_base = ioremap(addr, 0x200000); in chipsfb_pci_init()
409 if (p->screen_base == NULL) { in chipsfb_pci_init()
431 iounmap(p->screen_base); in chipsfb_pci_init()
445 if (p->screen_base == NULL) in chipsfb_remove()
448 iounmap(p->screen_base); in chipsfb_remove()
449 p->screen_base = NULL; in chipsfb_remove()
Dsunxvr500.c156 info->screen_base += ep->fb8_buf_diff; in e3d_imageblit()
158 info->screen_base -= ep->fb8_buf_diff; in e3d_imageblit()
169 info->screen_base += ep->fb8_buf_diff; in e3d_fillrect()
171 info->screen_base -= ep->fb8_buf_diff; in e3d_fillrect()
182 info->screen_base += ep->fb8_buf_diff; in e3d_copyarea()
184 info->screen_base -= ep->fb8_buf_diff; in e3d_copyarea()
203 info->screen_base = ep->fb_base; in e3d_set_fbinfo()
Depson1355fb.c408 base_addr = info->screen_base; in epson1355fb_read()
438 base_addr = info->screen_base; in epson1355fb_write()
467 char *p = info->screen_base; in get_fb_size()
569 u16 *dst = (u16 *) info->screen_base; in clearfb16()
595 if (info->screen_base) in epson1355fb_remove()
596 iounmap(info->screen_base); in epson1355fb_remove()
641 info->screen_base = ioremap(EPSON1355FB_FB_PHYS, EPSON1355FB_FB_LEN); in epson1355fb_probe()
642 if (!info->screen_base) { in epson1355fb_probe()
661 default_par->reg_addr, info->fix.smem_len / 1024, info->screen_base); in epson1355fb_probe()
Dfb_defio.c28 void *screen_base = (void __force *) info->screen_base; in fb_deferred_io_page() local
31 if (is_vmalloc_addr(screen_base + offs)) in fb_deferred_io_page()
32 page = vmalloc_to_page(screen_base + offs); in fb_deferred_io_page()
Dvga16fb.c838 where = info->screen_base + dx + rect->dy * info->fix.line_length; in vga_8planes_fillrect()
909 dst = info->screen_base + (rect->dx/8) + rect->dy * info->fix.line_length; in vga16fb_fillrect()
975 dest = info->screen_base + dx + area->dy * info->fix.line_length; in vga_8planes_copyarea()
976 src = info->screen_base + sx + area->sy * info->fix.line_length; in vga_8planes_copyarea()
989 dest = info->screen_base + dx + width + in vga_8planes_copyarea()
991 src = info->screen_base + sx + width + in vga_8planes_copyarea()
1066 dst = info->screen_base + (dx/8) + dy * info->fix.line_length; in vga16fb_copyarea()
1067 src = info->screen_base + (sx/8) + sy * info->fix.line_length; in vga16fb_copyarea()
1079 dst = info->screen_base + (dx/8) + width + in vga16fb_copyarea()
1081 src = info->screen_base + (sx/8) + width + in vga16fb_copyarea()
[all …]
Dhecubafb.c105 unsigned char *buf = (unsigned char __force *)par->info->screen_base; in hecubafb_dpy_update()
187 dst = (void __force *) (info->screen_base + p); in hecubafb_write()
243 info->screen_base = (char __force __iomem *)videomemory; in hecubafb_probe()
291 vfree((void __force *)info->screen_base); in hecubafb_remove()
Dpmag-ba-fb.c196 info->screen_base = ioremap_nocache(info->fix.smem_start, in pmagbafb_probe()
198 if (!info->screen_base) { in pmagbafb_probe()
223 iounmap(info->screen_base); in pmagbafb_probe()
248 iounmap(info->screen_base); in pmagbafb_remove()
Dpvr2fb.c702 dst = (unsigned long)fb_info->screen_base + *ppos; in pvr2fb_write()
771 fb_info->screen_base = ioremap_nocache(pvr2_fix.smem_start, in pvr2fb_common_init()
774 if (!fb_info->screen_base) { in pvr2fb_common_init()
786 fb_memset(fb_info->screen_base, 0, pvr2_fix.smem_len); in pvr2fb_common_init()
843 if (fb_info->screen_base) in pvr2fb_common_init()
844 iounmap(fb_info->screen_base); in pvr2fb_common_init()
908 if (fb_info->screen_base) { in pvr2fb_dc_exit()
909 iounmap(fb_info->screen_base); in pvr2fb_dc_exit()
910 fb_info->screen_base = NULL; in pvr2fb_dc_exit()
958 if (fb_info->screen_base) { in pvr2fb_pci_remove()
[all …]
Dfm2fb.c257 info->screen_base = ioremap(fb_fix.smem_start, FRAMEMASTER_SIZE); in fm2fb_probe()
259 fm2fb_reg = (unsigned char *)(info->screen_base+FRAMEMASTER_REG); in fm2fb_probe()
289 iounmap(info->screen_base); in fm2fb_probe()
Dfb_sys_fops.c41 src = (void __force *)(info->screen_base + p); in fb_sys_read()
87 dst = (void __force *) (info->screen_base + p); in fb_sys_write()
Digafb.c416 if ((info->screen_base = ioremap(addr, 1024*1024*2)) == 0) { in igafb_init()
452 iounmap((void *)info->screen_base); in igafb_init()
470 iounmap(info->screen_base); in igafb_init()
521 igafb_fix.smem_start = (unsigned long) info->screen_base; in igafb_init()
531 iounmap(info->screen_base); in igafb_init()
Defifb.c282 if (info->screen_base) in efifb_destroy()
283 iounmap(info->screen_base); in efifb_destroy()
416 info->screen_base = ioremap(efifb_fix.smem_start, efifb_fix.smem_len); in efifb_probe()
417 if (!info->screen_base) { in efifb_probe()
427 efifb_fix.smem_start, info->screen_base, in efifb_probe()
490 iounmap(info->screen_base); in efifb_probe()
/linux-2.6.39/arch/arm/mach-netx/
Dfb.c45 fb->fb.screen_base = dma_alloc_writecombine(&fb->dev->dev, 1024*1024, in netx_clcd_setup()
47 if (!fb->fb.screen_base) { in netx_clcd_setup()
61 fb->fb.screen_base, in netx_clcd_mmap()
69 fb->fb.screen_base, fb->fb.fix.smem_start); in netx_clcd_remove()
/linux-2.6.39/arch/arm/plat-versatile/
Dclcd.c157 fb->fb.screen_base = dma_alloc_writecombine(&fb->dev->dev, framesize, in versatile_clcd_setup_dma()
159 if (!fb->fb.screen_base) { in versatile_clcd_setup_dma()
173 fb->fb.screen_base, in versatile_clcd_mmap_dma()
181 fb->fb.screen_base, fb->fb.fix.smem_start); in versatile_clcd_remove_dma()
/linux-2.6.39/drivers/video/geode/
Dgx1fb_core.c230 info->screen_base = ioremap(info->fix.smem_start, info->fix.smem_len); in gx1fb_map_video_memory()
231 if (!info->screen_base) in gx1fb_map_video_memory()
350 memset_io(info->screen_base, 0, info->fix.smem_len); in gx1fb_probe()
364 if (info->screen_base) { in gx1fb_probe()
365 iounmap(info->screen_base); in gx1fb_probe()
392 iounmap((void __iomem *)info->screen_base); in gx1fb_remove()
Dgxfb_core.c269 info->screen_base = ioremap(info->fix.smem_start, info->fix.smem_len); in gxfb_map_video_memory()
270 if (!info->screen_base) in gxfb_map_video_memory()
418 memset_io(info->screen_base, 0, info->fix.smem_len); in gxfb_probe()
434 if (info->screen_base) { in gxfb_probe()
435 iounmap(info->screen_base); in gxfb_probe()
465 iounmap((void __iomem *)info->screen_base); in gxfb_remove()
Dlxfb_core.c373 info->screen_base = ioremap(info->fix.smem_start, info->fix.smem_len); in lxfb_map_video_memory()
377 if (info->screen_base == NULL) in lxfb_map_video_memory()
548 memset_io(info->screen_base, 0, info->fix.smem_len); in lxfb_probe()
568 if (info->screen_base) { in lxfb_probe()
569 iounmap(info->screen_base); in lxfb_probe()
600 iounmap(info->screen_base); in lxfb_remove()
/linux-2.6.39/arch/arm/mach-lpc32xx/
Dphy3250.c82 fb->fb.screen_base = dma_alloc_writecombine(&fb->dev->dev, in lpc32xx_clcd_setup()
84 if (!fb->fb.screen_base) { in lpc32xx_clcd_setup()
113 fb->fb.screen_base, fb->fb.fix.smem_start, in lpc32xx_clcd_mmap()
120 fb->fb.screen_base, fb->fb.fix.smem_start); in lpc32xx_clcd_remove()

1234567