Home
last modified time | relevance | path

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

123456

/Linux-v6.6/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()
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()
132 if (!info->screen_base) in cobalt_lcdfb_read()
181 if (!info->screen_base) in cobalt_lcdfb_write()
303 info->screen_base = devm_ioremap(&dev->dev, res->start, in cobalt_lcdfb_probe()
305 if (!info->screen_base) { in cobalt_lcdfb_probe()
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 …]
Dchipsfb.c333 fb_memset_io(p->screen_base, 0, 0x100000); in init_chips()
408 p->screen_base = ioremap_wc(addr, 0x200000); in chipsfb_pci_init()
410 p->screen_base = ioremap(addr, 0x200000); in chipsfb_pci_init()
412 if (p->screen_base == NULL) { in chipsfb_pci_init()
435 iounmap(p->screen_base); in chipsfb_pci_init()
450 if (p->screen_base == NULL) in chipsfb_remove()
453 iounmap(p->screen_base); in chipsfb_remove()
454 p->screen_base = NULL; in chipsfb_remove()
Defifb.c157 u8 *dst = info->screen_base; in efifb_show_boot_graphics()
264 if (info->screen_base) { in efifb_destroy()
266 iounmap(info->screen_base); in efifb_destroy()
268 memunmap(info->screen_base); in efifb_destroy()
490 info->screen_base = ioremap_wc(efifb_fix.smem_start, in efifb_probe()
493 info->screen_base = ioremap(efifb_fix.smem_start, in efifb_probe()
496 info->screen_base = memremap(efifb_fix.smem_start, in efifb_probe()
499 info->screen_base = memremap(efifb_fix.smem_start, in efifb_probe()
501 if (!info->screen_base) { in efifb_probe()
610 iounmap(info->screen_base); in efifb_probe()
[all …]
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()
204 info->screen_base = ep->fb_base; in e3d_set_fbinfo()
Dvesafb.c195 if (info->screen_base) in vesafb_destroy()
196 iounmap(info->screen_base); in vesafb_destroy()
432 info->screen_base = ioremap_wc(vesafb_fix.smem_start, vesafb_fix.smem_len); in vesafb_probe()
436 info->screen_base = ioremap(vesafb_fix.smem_start, vesafb_fix.smem_len); in vesafb_probe()
439 if (!info->screen_base) { in vesafb_probe()
449 vesafb_fix.smem_start, info->screen_base, in vesafb_probe()
477 if (info->screen_base) in vesafb_probe()
478 iounmap(info->screen_base); in vesafb_probe()
Dpvr2fb.c650 if (!info->screen_base) in pvr2fb_write()
682 dst = (unsigned long)fb_info->screen_base + *ppos; in pvr2fb_write()
789 fb_info->screen_base = ioremap(pvr2_fix.smem_start, in pvr2fb_common_init()
792 if (!fb_info->screen_base) { in pvr2fb_common_init()
804 fb_memset_io(fb_info->screen_base, 0, pvr2_fix.smem_len); in pvr2fb_common_init()
862 if (fb_info->screen_base) in pvr2fb_common_init()
863 iounmap(fb_info->screen_base); in pvr2fb_common_init()
927 if (fb_info->screen_base) { in pvr2fb_dc_exit()
928 iounmap(fb_info->screen_base); in pvr2fb_dc_exit()
929 fb_info->screen_base = NULL; in pvr2fb_dc_exit()
[all …]
Dhpfb.c291 fb_info.screen_base = (char *)fb_start; in hpfb_init_one()
309 if (fb_info.screen_base) { in hpfb_init_one()
310 iounmap(fb_info.screen_base); in hpfb_init_one()
311 fb_info.screen_base = NULL; in hpfb_init_one()
358 if (fb_info.screen_base) in hpfb_remove_one()
359 iounmap(fb_info.screen_base); in hpfb_remove_one()
Dvga16fb.c855 where = info->screen_base + dx + rect->dy * info->fix.line_length; in vga_8planes_fillrect()
926 dst = info->screen_base + (rect->dx/8) + rect->dy * info->fix.line_length; in vga16fb_fillrect()
992 dest = info->screen_base + dx + area->dy * info->fix.line_length; in vga_8planes_copyarea()
993 src = info->screen_base + sx + area->sy * info->fix.line_length; in vga_8planes_copyarea()
1006 dest = info->screen_base + dx + width + in vga_8planes_copyarea()
1008 src = info->screen_base + sx + width + in vga_8planes_copyarea()
1082 dst = info->screen_base + (dx/8) + dy * info->fix.line_length; in vga16fb_copyarea()
1083 src = info->screen_base + (sx/8) + sy * info->fix.line_length; in vga16fb_copyarea()
1095 dst = info->screen_base + (dx/8) + width + in vga16fb_copyarea()
1097 src = info->screen_base + (sx/8) + width + in vga16fb_copyarea()
[all …]
Dpmag-ba-fb.c190 info->screen_base = ioremap(info->fix.smem_start, in pmagbafb_probe()
192 if (!info->screen_base) { in pmagbafb_probe()
217 iounmap(info->screen_base); in pmagbafb_probe()
242 iounmap(info->screen_base); in pmagbafb_remove()
Dpmag-aa-fb.c199 info->screen_base = ioremap(info->fix.smem_start, in pmagaafb_probe()
201 if (!info->screen_base) { in pmagaafb_probe()
232 iounmap(info->screen_base); in pmagaafb_probe()
254 iounmap(info->screen_base); in pmagaafb_remove()
Dfm2fb.c253 info->screen_base = ioremap(fb_fix.smem_start, FRAMEMASTER_SIZE); in fm2fb_probe()
255 fm2fb_reg = (unsigned char *)(info->screen_base+FRAMEMASTER_REG); in fm2fb_probe()
284 iounmap(info->screen_base); in fm2fb_probe()
Dgoldfishfb.c238 fb->fb.screen_base = (char __force __iomem *)dma_alloc_coherent( in goldfish_fb_probe()
242 width, height, fb->fb.screen_base); in goldfish_fb_probe()
243 if (fb->fb.screen_base == NULL) { in goldfish_fb_probe()
272 (void *)fb->fb.screen_base, in goldfish_fb_probe()
292 dma_free_coherent(&pdev->dev, framesize, (void *)fb->fb.screen_base, in goldfish_fb_remove()
Dsm712fb.c1036 if (!info->screen_base) in smtcfb_read()
1057 src = (u32 __iomem *)(info->screen_base + p); in smtcfb_read()
1099 if (!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()
/Linux-v6.6/samples/vfio-mdev/
Dmdpy-fb.c85 if (info->screen_base) in mdpy_fb_destroy()
86 iounmap(info->screen_base); in mdpy_fb_destroy()
154 info->screen_base = ioremap(info->fix.smem_start, in mdpy_fb_probe()
156 if (!info->screen_base) { in mdpy_fb_probe()
175 iounmap(info->screen_base); in mdpy_fb_probe()
194 iounmap(info->screen_base); in mdpy_fb_remove()
/Linux-v6.6/drivers/gpu/drm/tiny/
Dsimpledrm.c237 struct iosys_map screen_base; member
503 struct iosys_map dst = sdev->screen_base; in simpledrm_primary_plane_helper_atomic_update()
529 iosys_map_memset(&sdev->screen_base, 0, 0, sdev->pitch * sdev->mode.vdisplay); in simpledrm_primary_plane_helper_atomic_disable()
724 void *screen_base; in simpledrm_device_create() local
734 screen_base = devm_memremap(dev->dev, mem->start, resource_size(mem), MEMREMAP_WC); in simpledrm_device_create()
735 if (IS_ERR(screen_base)) in simpledrm_device_create()
736 return screen_base; in simpledrm_device_create()
738 iosys_map_set_vaddr(&sdev->screen_base, screen_base); in simpledrm_device_create()
740 void __iomem *screen_base; in simpledrm_device_create() local
766 screen_base = devm_ioremap_wc(&pdev->dev, mem->start, resource_size(mem)); in simpledrm_device_create()
[all …]
/Linux-v6.6/drivers/video/fbdev/core/
Dfb_io_fops.c15 if (!info->screen_base) in fb_io_read()
37 src = (u8 __iomem *) (info->screen_base + p); in fb_io_read()
76 if (!info->screen_base) in fb_io_write()
104 dst = (u8 __iomem *) (info->screen_base + p); in fb_io_write()
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()
/Linux-v6.6/drivers/video/fbdev/geode/
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()
347 memset_io(info->screen_base, 0, info->fix.smem_len); in gx1fb_probe()
361 if (info->screen_base) { in gx1fb_probe()
362 iounmap(info->screen_base); in gx1fb_probe()
387 iounmap((void __iomem *)info->screen_base); in gx1fb_remove()
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()
398 memset_io(info->screen_base, 0, info->fix.smem_len); in gxfb_probe()
414 if (info->screen_base) { in gxfb_probe()
415 iounmap(info->screen_base); in gxfb_probe()
443 iounmap((void __iomem *)info->screen_base); in gxfb_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()
528 memset_io(info->screen_base, 0, info->fix.smem_len); in lxfb_probe()
547 if (info->screen_base) { in lxfb_probe()
548 iounmap(info->screen_base); in lxfb_probe()
577 iounmap(info->screen_base); in lxfb_remove()

123456