Home
last modified time | relevance | path

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

1234567

/Linux-v5.4/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.c100 void *screen_base; member
172 static void *screen_base; /* base address of screen */ variable
663 par->screen_base = screen_base + var->yoffset * linelen; in tt_decode_var()
752 if (screen_base) in tt_encode_var()
753 var->yoffset = (par->screen_base - screen_base) / linelen; in tt_encode_var()
770 par->screen_base = atari_stram_to_virt(addr); in tt_get_par()
778 if (current_par.screen_base != par->screen_base) in tt_set_par()
779 fbhw->set_screen_base(par->screen_base); in tt_set_par()
1361 par->screen_base = screen_base + var->yoffset * linelen; in falcon_decode_var()
1522 if (screen_base) in falcon_encode_var()
[all …]
Dchipsfb.c334 memset(p->screen_base, 0, 0x100000); in init_chips()
401 p->screen_base = ioremap_wc(addr, 0x200000); in chipsfb_pci_init()
403 p->screen_base = ioremap(addr, 0x200000); in chipsfb_pci_init()
405 if (p->screen_base == NULL) { in chipsfb_pci_init()
427 iounmap(p->screen_base); in chipsfb_pci_init()
441 if (p->screen_base == NULL) in chipsfb_remove()
444 iounmap(p->screen_base); in chipsfb_remove()
445 p->screen_base = NULL; in chipsfb_remove()
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()
Defifb.c147 u8 *dst = info->screen_base; in efifb_show_boot_graphics()
246 if (info->screen_base) { in efifb_destroy()
248 iounmap(info->screen_base); in efifb_destroy()
250 memunmap(info->screen_base); in efifb_destroy()
477 info->screen_base = ioremap_wc(efifb_fix.smem_start, in efifb_probe()
480 info->screen_base = ioremap(efifb_fix.smem_start, in efifb_probe()
483 info->screen_base = memremap(efifb_fix.smem_start, in efifb_probe()
486 info->screen_base = memremap(efifb_fix.smem_start, in efifb_probe()
488 if (!info->screen_base) { in efifb_probe()
586 iounmap(info->screen_base); in efifb_probe()
[all …]
Dsunxvr500.c157 info->screen_base += ep->fb8_buf_diff; in e3d_imageblit()
159 info->screen_base -= ep->fb8_buf_diff; in e3d_imageblit()
170 info->screen_base += ep->fb8_buf_diff; in e3d_fillrect()
172 info->screen_base -= ep->fb8_buf_diff; in e3d_fillrect()
183 info->screen_base += ep->fb8_buf_diff; in e3d_copyarea()
185 info->screen_base -= ep->fb8_buf_diff; in e3d_copyarea()
204 info->screen_base = ep->fb_base; in e3d_set_fbinfo()
Dvesafb.c187 if (info->screen_base) in vesafb_destroy()
188 iounmap(info->screen_base); in vesafb_destroy()
430 info->screen_base = ioremap_wc(vesafb_fix.smem_start, vesafb_fix.smem_len); in vesafb_probe()
434 info->screen_base = ioremap(vesafb_fix.smem_start, vesafb_fix.smem_len); in vesafb_probe()
437 if (!info->screen_base) { in vesafb_probe()
447 vesafb_fix.smem_start, info->screen_base, in vesafb_probe()
472 if (info->screen_base) in vesafb_probe()
473 iounmap(info->screen_base); in vesafb_probe()
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()
Dpvr2fb.c664 dst = (unsigned long)fb_info->screen_base + *ppos; in pvr2fb_write()
773 fb_info->screen_base = ioremap_nocache(pvr2_fix.smem_start, in pvr2fb_common_init()
776 if (!fb_info->screen_base) { in pvr2fb_common_init()
788 fb_memset(fb_info->screen_base, 0, pvr2_fix.smem_len); in pvr2fb_common_init()
846 if (fb_info->screen_base) in pvr2fb_common_init()
847 iounmap(fb_info->screen_base); in pvr2fb_common_init()
911 if (fb_info->screen_base) { in pvr2fb_dc_exit()
912 iounmap(fb_info->screen_base); in pvr2fb_dc_exit()
913 fb_info->screen_base = NULL; in pvr2fb_dc_exit()
961 if (fb_info->screen_base) { in pvr2fb_pci_remove()
[all …]
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()
1065 dst = info->screen_base + (dx/8) + dy * info->fix.line_length; in vga16fb_copyarea()
1066 src = info->screen_base + (sx/8) + sy * info->fix.line_length; in vga16fb_copyarea()
1078 dst = info->screen_base + (dx/8) + width + in vga16fb_copyarea()
1080 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()
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_nocache(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_nocache(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()
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()
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()
/Linux-v5.4/samples/vfio-mdev/
Dmdpy-fb.c85 if (info->screen_base) in mdpy_fb_destroy()
86 iounmap(info->screen_base); in mdpy_fb_destroy()
151 info->screen_base = ioremap(info->fix.smem_start, in mdpy_fb_probe()
153 if (!info->screen_base) { in mdpy_fb_probe()
181 iounmap(info->screen_base); in mdpy_fb_probe()
/Linux-v5.4/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()
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()
/Linux-v5.4/drivers/gpu/drm/vboxvideo/
Dvbox_fb.c89 info->screen_base = (char __iomem *)drm_gem_vram_kmap(gbo, true, NULL); in vboxfb_create()
90 if (IS_ERR(info->screen_base)) in vboxfb_create()
91 return PTR_ERR(info->screen_base); in vboxfb_create()
/Linux-v5.4/drivers/video/fbdev/geode/
Dgx1fb_core.c226 info->screen_base = ioremap(info->fix.smem_start, info->fix.smem_len); in gx1fb_map_video_memory()
227 if (!info->screen_base) in gx1fb_map_video_memory()
346 memset_io(info->screen_base, 0, info->fix.smem_len); in gx1fb_probe()
360 if (info->screen_base) { in gx1fb_probe()
361 iounmap(info->screen_base); in gx1fb_probe()
386 iounmap((void __iomem *)info->screen_base); in gx1fb_remove()
Dgxfb_core.c252 info->screen_base = ioremap_wc(info->fix.smem_start, in gxfb_map_video_memory()
254 if (!info->screen_base) in gxfb_map_video_memory()
401 memset_io(info->screen_base, 0, info->fix.smem_len); in gxfb_probe()
417 if (info->screen_base) { in gxfb_probe()
418 iounmap(info->screen_base); in gxfb_probe()
446 iounmap((void __iomem *)info->screen_base); in gxfb_remove()
Dlxfb_core.c357 info->screen_base = ioremap(info->fix.smem_start, info->fix.smem_len); in lxfb_map_video_memory()
361 if (info->screen_base == NULL) in lxfb_map_video_memory()
531 memset_io(info->screen_base, 0, info->fix.smem_len); in lxfb_probe()
550 if (info->screen_base) { in lxfb_probe()
551 iounmap(info->screen_base); in lxfb_probe()
580 iounmap(info->screen_base); in lxfb_remove()

1234567