Home
last modified time | relevance | path

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

123456

/drivers/video/fbdev/
Datafb_mfb.c31 src = (u8 *)info->screen_base + sy * (width >> 3); in atafb_mfb_copyarea()
32 dest = (u8 *)info->screen_base + dy * (width >> 3); in atafb_mfb_copyarea()
35 src = (u8 *)info->screen_base + sy * next_line + (sx >> 3); in atafb_mfb_copyarea()
36 dest = (u8 *)info->screen_base + dy * next_line + (dx >> 3); in atafb_mfb_copyarea()
43 src = (u8 *)info->screen_base + (sy + height - 1) * next_line + (sx >> 3); in atafb_mfb_copyarea()
44 dest = (u8 *)info->screen_base + (dy + height - 1) * next_line + (dx >> 3); in atafb_mfb_copyarea()
59 dest = (u8 *)info->screen_base + sy * next_line + (sx >> 3); in atafb_mfb_fillrect()
83 dest = (u8 *)info->screen_base + dy * next_line + (dx >> 3); in atafb_mfb_linefill()
Datafb_iplan2p2.c50 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea()
51 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea()
75 src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea()
76 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea()
109 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea()
110 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea()
151 src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea()
152 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea()
199 dest = (u32 *)(info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL)); in atafb_iplan2p2_fillrect()
247 dest = (u32 *)(info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL)); in atafb_iplan2p2_linefill()
Datafb_iplan2p4.c50 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea()
51 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea()
75 src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea()
76 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea()
109 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea()
110 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea()
158 src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea()
159 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea()
213 dest = (u32 *)(info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL)); in atafb_iplan2p4_fillrect()
261 dest = (u32 *)(info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL)); in atafb_iplan2p4_linefill()
Datafb_iplan2p8.c57 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea()
58 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea()
82 src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea()
83 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea()
116 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea()
117 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea()
179 src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea()
180 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea()
248 dest = (u32 *)(info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL)); in atafb_iplan2p8_fillrect()
296 dest = (u32 *)(info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL)); in atafb_iplan2p8_linefill()
Datafb.c97 void *screen_base; member
169 static void *screen_base; /* base address of screen */ variable
650 par->screen_base = screen_base + var->yoffset * linelen; in tt_decode_var()
739 if (screen_base) in tt_encode_var()
740 var->yoffset = (par->screen_base - screen_base) / linelen; in tt_encode_var()
757 par->screen_base = atari_stram_to_virt(addr); in tt_get_par()
765 if (current_par.screen_base != par->screen_base) in tt_set_par()
766 fbhw->set_screen_base(par->screen_base); in tt_set_par()
1341 par->screen_base = screen_base + var->yoffset * linelen; in falcon_decode_var()
1502 if (screen_base) in falcon_encode_var()
[all …]
Dcobalt_lcdfb.c56 writel((u32)control << 24, info->screen_base); in lcd_write_control()
61 return readl(info->screen_base) >> 24; in lcd_read_control()
66 writel((u32)data << 24, info->screen_base + LCD_DATA_REG_OFFSET); in lcd_write_data()
71 return readl(info->screen_base + LCD_DATA_REG_OFFSET) >> 24; in lcd_read_data()
297 info->screen_base = devm_ioremap(&dev->dev, res->start, in cobalt_lcdfb_probe()
299 if (!info->screen_base) { in cobalt_lcdfb_probe()
Dchipsfb.c335 fb_memset(p->screen_base, 0, 0x100000); in init_chips()
411 p->screen_base = ioremap_wc(addr, 0x200000); in chipsfb_pci_init()
413 p->screen_base = ioremap(addr, 0x200000); in chipsfb_pci_init()
415 if (p->screen_base == NULL) { in chipsfb_pci_init()
438 iounmap(p->screen_base); in chipsfb_pci_init()
453 if (p->screen_base == NULL) in chipsfb_remove()
456 iounmap(p->screen_base); in chipsfb_remove()
457 p->screen_base = NULL; in chipsfb_remove()
Defifb.c150 u8 *dst = info->screen_base; in efifb_show_boot_graphics()
255 if (info->screen_base) { in efifb_destroy()
257 iounmap(info->screen_base); in efifb_destroy()
259 memunmap(info->screen_base); in efifb_destroy()
488 info->screen_base = ioremap_wc(efifb_fix.smem_start, in efifb_probe()
491 info->screen_base = ioremap(efifb_fix.smem_start, in efifb_probe()
494 info->screen_base = memremap(efifb_fix.smem_start, in efifb_probe()
497 info->screen_base = memremap(efifb_fix.smem_start, in efifb_probe()
499 if (!info->screen_base) { in efifb_probe()
604 iounmap(info->screen_base); in efifb_probe()
[all …]
Dvesafb.c192 if (info->screen_base) in vesafb_destroy()
193 iounmap(info->screen_base); in vesafb_destroy()
437 info->screen_base = ioremap_wc(vesafb_fix.smem_start, vesafb_fix.smem_len); in vesafb_probe()
441 info->screen_base = ioremap(vesafb_fix.smem_start, vesafb_fix.smem_len); in vesafb_probe()
444 if (!info->screen_base) { in vesafb_probe()
454 vesafb_fix.smem_start, info->screen_base, in vesafb_probe()
479 if (info->screen_base) in vesafb_probe()
480 iounmap(info->screen_base); in vesafb_probe()
Dsunxvr500.c158 info->screen_base += ep->fb8_buf_diff; in e3d_imageblit()
160 info->screen_base -= ep->fb8_buf_diff; in e3d_imageblit()
171 info->screen_base += ep->fb8_buf_diff; in e3d_fillrect()
173 info->screen_base -= ep->fb8_buf_diff; in e3d_fillrect()
184 info->screen_base += ep->fb8_buf_diff; in e3d_copyarea()
186 info->screen_base -= ep->fb8_buf_diff; in e3d_copyarea()
205 info->screen_base = ep->fb_base; in e3d_set_fbinfo()
Dpvr2fb.c679 dst = (unsigned long)fb_info->screen_base + *ppos; in pvr2fb_write()
786 fb_info->screen_base = ioremap(pvr2_fix.smem_start, in pvr2fb_common_init()
789 if (!fb_info->screen_base) { in pvr2fb_common_init()
801 fb_memset(fb_info->screen_base, 0, pvr2_fix.smem_len); in pvr2fb_common_init()
859 if (fb_info->screen_base) in pvr2fb_common_init()
860 iounmap(fb_info->screen_base); in pvr2fb_common_init()
924 if (fb_info->screen_base) { in pvr2fb_dc_exit()
925 iounmap(fb_info->screen_base); in pvr2fb_dc_exit()
926 fb_info->screen_base = NULL; in pvr2fb_dc_exit()
978 if (fb_info->screen_base) { in pvr2fb_pci_remove()
[all …]
Dvga16fb.c854 where = info->screen_base + dx + rect->dy * info->fix.line_length; in vga_8planes_fillrect()
925 dst = info->screen_base + (rect->dx/8) + rect->dy * info->fix.line_length; in vga16fb_fillrect()
991 dest = info->screen_base + dx + area->dy * info->fix.line_length; in vga_8planes_copyarea()
992 src = info->screen_base + sx + area->sy * info->fix.line_length; in vga_8planes_copyarea()
1005 dest = info->screen_base + dx + width + in vga_8planes_copyarea()
1007 src = info->screen_base + sx + width + in vga_8planes_copyarea()
1081 dst = info->screen_base + (dx/8) + dy * info->fix.line_length; in vga16fb_copyarea()
1082 src = info->screen_base + (sx/8) + sy * info->fix.line_length; in vga16fb_copyarea()
1094 dst = info->screen_base + (dx/8) + width + in vga16fb_copyarea()
1096 src = info->screen_base + (sx/8) + width + in vga16fb_copyarea()
[all …]
Dhpfb.c292 fb_info.screen_base = (char *)fb_start; in hpfb_init_one()
310 if (fb_info.screen_base) { in hpfb_init_one()
311 iounmap(fb_info.screen_base); in hpfb_init_one()
312 fb_info.screen_base = NULL; in hpfb_init_one()
359 if (fb_info.screen_base) in hpfb_remove_one()
360 iounmap(fb_info.screen_base); in hpfb_remove_one()
Dhecubafb.c105 unsigned char *buf = (unsigned char __force *)par->info->screen_base; in hecubafb_dpy_update()
186 dst = (void __force *) (info->screen_base + p); in hecubafb_write()
242 info->screen_base = (char __force __iomem *)videomemory; in hecubafb_probe()
290 vfree((void __force *)info->screen_base); in hecubafb_remove()
Dpmag-ba-fb.c193 info->screen_base = ioremap(info->fix.smem_start, in pmagbafb_probe()
195 if (!info->screen_base) { in pmagbafb_probe()
220 iounmap(info->screen_base); in pmagbafb_probe()
245 iounmap(info->screen_base); in pmagbafb_remove()
Dpmag-aa-fb.c202 info->screen_base = ioremap(info->fix.smem_start, in pmagaafb_probe()
204 if (!info->screen_base) { in pmagaafb_probe()
235 iounmap(info->screen_base); in pmagaafb_probe()
257 iounmap(info->screen_base); in pmagaafb_remove()
Dsm712fb.c1031 if (!info || !info->screen_base) in smtcfb_read()
1055 src = (u32 __iomem *)(info->screen_base + p); in smtcfb_read()
1097 if (!info || !info->screen_base) in smtcfb_write()
1127 dst = (u32 __iomem *)(info->screen_base + p); in smtcfb_write()
1391 sfb->fb->screen_base = sfb->lfb; in smtc_map_smem()
1393 if (!sfb->fb->screen_base) { in smtc_map_smem()
1408 if (sfb && sfb->fb->screen_base) { in smtc_unmap_smem()
1410 sfb->fb->screen_base -= 0x00200000; in smtc_unmap_smem()
1411 iounmap(sfb->fb->screen_base); in smtc_unmap_smem()
1412 sfb->fb->screen_base = NULL; in smtc_unmap_smem()
Dgoldfishfb.c241 fb->fb.screen_base = (char __force __iomem *)dma_alloc_coherent( in goldfish_fb_probe()
245 width, height, fb->fb.screen_base); in goldfish_fb_probe()
246 if (fb->fb.screen_base == NULL) { in goldfish_fb_probe()
275 (void *)fb->fb.screen_base, in goldfish_fb_probe()
295 dma_free_coherent(&pdev->dev, framesize, (void *)fb->fb.screen_base, in goldfish_fb_remove()
Dfm2fb.c255 info->screen_base = ioremap(fb_fix.smem_start, FRAMEMASTER_SIZE); in fm2fb_probe()
257 fm2fb_reg = (unsigned char *)(info->screen_base+FRAMEMASTER_REG); in fm2fb_probe()
287 iounmap(info->screen_base); in fm2fb_probe()
Dp9100.c288 info->screen_base = of_ioremap(&op->resource[2], 0, in p9100_probe()
290 if (!info->screen_base) 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()
/drivers/video/fbdev/geode/
Dgxfb_core.c253 info->screen_base = ioremap_wc(info->fix.smem_start, in gxfb_map_video_memory()
255 if (!info->screen_base) in gxfb_map_video_memory()
402 memset_io(info->screen_base, 0, info->fix.smem_len); in gxfb_probe()
418 if (info->screen_base) { in gxfb_probe()
419 iounmap(info->screen_base); in gxfb_probe()
447 iounmap((void __iomem *)info->screen_base); in gxfb_remove()
Dgx1fb_core.c227 info->screen_base = ioremap(info->fix.smem_start, info->fix.smem_len); in gx1fb_map_video_memory()
228 if (!info->screen_base) in gx1fb_map_video_memory()
351 memset_io(info->screen_base, 0, info->fix.smem_len); in gx1fb_probe()
365 if (info->screen_base) { in gx1fb_probe()
366 iounmap(info->screen_base); in gx1fb_probe()
391 iounmap((void __iomem *)info->screen_base); in gx1fb_remove()
Dlxfb_core.c361 info->screen_base = ioremap(info->fix.smem_start, info->fix.smem_len); in lxfb_map_video_memory()
365 if (info->screen_base == NULL) in lxfb_map_video_memory()
532 memset_io(info->screen_base, 0, info->fix.smem_len); in lxfb_probe()
551 if (info->screen_base) { in lxfb_probe()
552 iounmap(info->screen_base); in lxfb_probe()
581 iounmap(info->screen_base); in lxfb_remove()
/drivers/gpu/drm/tiny/
Dsimpledrm.c210 void __iomem *screen_base; member
494 struct iosys_map dst = IOSYS_MAP_INIT_VADDR(sdev->screen_base); in simpledrm_primary_plane_helper_atomic_update()
521 memset_io(sdev->screen_base, 0, sdev->pitch * sdev->mode.vdisplay); in simpledrm_primary_plane_helper_atomic_disable()
639 void __iomem *screen_base; in simpledrm_device_create() local
734 screen_base = devm_ioremap_wc(&pdev->dev, mem->start, resource_size(mem)); in simpledrm_device_create()
735 if (!screen_base) in simpledrm_device_create()
737 sdev->screen_base = screen_base; in simpledrm_device_create()
/drivers/video/fbdev/core/
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()

123456