Home
last modified time | relevance | path

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

123456

/kernel/linux/linux-5.10/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.c99 void *screen_base; member
171 static void *screen_base; /* base address of screen */ variable
662 par->screen_base = screen_base + var->yoffset * linelen; in tt_decode_var()
751 if (screen_base) in tt_encode_var()
752 var->yoffset = (par->screen_base - screen_base) / linelen; in tt_encode_var()
769 par->screen_base = atari_stram_to_virt(addr); in tt_get_par()
777 if (current_par.screen_base != par->screen_base) in tt_set_par()
778 fbhw->set_screen_base(par->screen_base); in tt_set_par()
1360 par->screen_base = screen_base + var->yoffset * linelen; in falcon_decode_var()
1521 if (screen_base) in falcon_encode_var()
[all …]
Dchipsfb.c334 fb_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()
442 if (p->screen_base == NULL) in chipsfb_remove()
445 iounmap(p->screen_base); in chipsfb_remove()
446 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.c188 if (info->screen_base) in vesafb_destroy()
189 iounmap(info->screen_base); in vesafb_destroy()
431 info->screen_base = ioremap_wc(vesafb_fix.smem_start, vesafb_fix.smem_len); in vesafb_probe()
435 info->screen_base = ioremap(vesafb_fix.smem_start, vesafb_fix.smem_len); in vesafb_probe()
438 if (!info->screen_base) { in vesafb_probe()
448 vesafb_fix.smem_start, info->screen_base, in vesafb_probe()
473 if (info->screen_base) in vesafb_probe()
474 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.c678 dst = (unsigned long)fb_info->screen_base + *ppos; in pvr2fb_write()
785 fb_info->screen_base = ioremap(pvr2_fix.smem_start, in pvr2fb_common_init()
788 if (!fb_info->screen_base) { in pvr2fb_common_init()
800 fb_memset(fb_info->screen_base, 0, pvr2_fix.smem_len); in pvr2fb_common_init()
858 if (fb_info->screen_base) in pvr2fb_common_init()
859 iounmap(fb_info->screen_base); in pvr2fb_common_init()
923 if (fb_info->screen_base) { in pvr2fb_dc_exit()
924 iounmap(fb_info->screen_base); in pvr2fb_dc_exit()
925 fb_info->screen_base = NULL; in pvr2fb_dc_exit()
973 if (fb_info->screen_base) { in pvr2fb_pci_remove()
[all …]
Dvga16fb.c857 where = info->screen_base + dx + rect->dy * info->fix.line_length; in vga_8planes_fillrect()
928 dst = info->screen_base + (rect->dx/8) + rect->dy * info->fix.line_length; in vga16fb_fillrect()
994 dest = info->screen_base + dx + area->dy * info->fix.line_length; in vga_8planes_copyarea()
995 src = info->screen_base + sx + area->sy * info->fix.line_length; in vga_8planes_copyarea()
1008 dest = info->screen_base + dx + width + in vga_8planes_copyarea()
1010 src = info->screen_base + sx + width + in vga_8planes_copyarea()
1084 dst = info->screen_base + (dx/8) + dy * info->fix.line_length; in vga16fb_copyarea()
1085 src = info->screen_base + (sx/8) + sy * info->fix.line_length; in vga16fb_copyarea()
1097 dst = info->screen_base + (dx/8) + width + in vga16fb_copyarea()
1099 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(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()
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()
Dsm712fb.c1030 if (!info || !info->screen_base) in smtcfb_read()
1054 src = (u32 __iomem *)(info->screen_base + p); in smtcfb_read()
1096 if (!info || !info->screen_base) in smtcfb_write()
1126 dst = (u32 __iomem *)(info->screen_base + p); in smtcfb_write()
1390 sfb->fb->screen_base = sfb->lfb; in smtc_map_smem()
1392 if (!sfb->fb->screen_base) { in smtc_map_smem()
1407 if (sfb && sfb->fb->screen_base) { in smtc_unmap_smem()
1409 sfb->fb->screen_base -= 0x00200000; in smtc_unmap_smem()
1410 iounmap(sfb->fb->screen_base); in smtc_unmap_smem()
1411 sfb->fb->screen_base = NULL; in smtc_unmap_smem()
/kernel/linux/linux-5.10/samples/vfio-mdev/
Dmdpy-fb.c85 if (info->screen_base) in mdpy_fb_destroy()
86 iounmap(info->screen_base); in mdpy_fb_destroy()
156 info->screen_base = ioremap(info->fix.smem_start, in mdpy_fb_probe()
158 if (!info->screen_base) { in mdpy_fb_probe()
186 iounmap(info->screen_base); in mdpy_fb_probe()
205 iounmap(info->screen_base); in mdpy_fb_remove()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
397 memset_io(info->screen_base, 0, info->fix.smem_len); in gxfb_probe()
413 if (info->screen_base) { in gxfb_probe()
414 iounmap(info->screen_base); in gxfb_probe()
442 iounmap((void __iomem *)info->screen_base); in gxfb_remove()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/
Dmsm_fbdev.c121 fbi->screen_base = msm_gem_get_vaddr(bo); in msm_fbdev_create()
122 if (IS_ERR(fbi->screen_base)) { in msm_fbdev_create()
123 ret = PTR_ERR(fbi->screen_base); in msm_fbdev_create()

123456