/linux-6.12.1/drivers/video/fbdev/ |
D | atafb_mfb.c | 31 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()
|
D | atafb_iplan2p2.c | 50 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()
|
D | atafb_iplan2p4.c | 50 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()
|
D | atafb_iplan2p8.c | 57 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()
|
D | cobalt_lcdfb.c | 56 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() 305 info->screen_base = devm_ioremap(&dev->dev, res->start, in cobalt_lcdfb_probe() 307 if (!info->screen_base) { in cobalt_lcdfb_probe()
|
D | atafb.c | 97 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 …]
|
D | efifb.c | 152 u8 *dst = info->screen_base; in efifb_show_boot_graphics() 257 if (info->screen_base) { in efifb_destroy() 259 iounmap(info->screen_base); in efifb_destroy() 261 memunmap(info->screen_base); in efifb_destroy() 481 info->screen_base = ioremap_wc(efifb_fix.smem_start, in efifb_probe() 484 info->screen_base = ioremap(efifb_fix.smem_start, in efifb_probe() 487 info->screen_base = memremap(efifb_fix.smem_start, in efifb_probe() 490 info->screen_base = memremap(efifb_fix.smem_start, in efifb_probe() 492 if (!info->screen_base) { in efifb_probe() 588 iounmap(info->screen_base); in efifb_probe() [all …]
|
D | chipsfb.c | 334 fb_memset_io(p->screen_base, 0, 0x100000); in init_chips() 409 p->screen_base = ioremap_wc(addr, 0x200000); in chipsfb_pci_init() 411 p->screen_base = ioremap(addr, 0x200000); in chipsfb_pci_init() 413 if (p->screen_base == NULL) { in chipsfb_pci_init() 436 iounmap(p->screen_base); in chipsfb_pci_init() 451 if (p->screen_base == NULL) in chipsfb_remove() 454 iounmap(p->screen_base); in chipsfb_remove() 455 p->screen_base = NULL; in chipsfb_remove()
|
D | sunxvr500.c | 158 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() 206 info->screen_base = ep->fb_base; in e3d_set_fbinfo()
|
D | vesafb.c | 195 if (info->screen_base) in vesafb_destroy() 196 iounmap(info->screen_base); in vesafb_destroy() 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() 493 if (info->screen_base) in vesafb_probe() 494 iounmap(info->screen_base); in vesafb_probe()
|
D | pvr2fb.c | 650 if (!info->screen_base) in pvr2fb_write() 682 dst = (unsigned long)fb_info->screen_base + *ppos; in pvr2fb_write() 791 fb_info->screen_base = ioremap(pvr2_fix.smem_start, in pvr2fb_common_init() 794 if (!fb_info->screen_base) { in pvr2fb_common_init() 806 fb_memset_io(fb_info->screen_base, 0, pvr2_fix.smem_len); in pvr2fb_common_init() 864 if (fb_info->screen_base) in pvr2fb_common_init() 865 iounmap(fb_info->screen_base); in pvr2fb_common_init() 929 if (fb_info->screen_base) { in pvr2fb_dc_exit() 930 iounmap(fb_info->screen_base); in pvr2fb_dc_exit() 931 fb_info->screen_base = NULL; in pvr2fb_dc_exit() [all …]
|
D | hpfb.c | 293 fb_info.screen_base = (char *)fb_start; in hpfb_init_one() 311 if (fb_info.screen_base) { in hpfb_init_one() 312 iounmap(fb_info.screen_base); in hpfb_init_one() 313 fb_info.screen_base = NULL; in hpfb_init_one() 361 if (fb_info.screen_base) in hpfb_remove_one() 362 iounmap(fb_info.screen_base); in hpfb_remove_one()
|
D | vga16fb.c | 853 where = info->screen_base + dx + rect->dy * info->fix.line_length; in vga_8planes_fillrect() 924 dst = info->screen_base + (rect->dx/8) + rect->dy * info->fix.line_length; in vga16fb_fillrect() 990 dest = info->screen_base + dx + area->dy * info->fix.line_length; in vga_8planes_copyarea() 991 src = info->screen_base + sx + area->sy * info->fix.line_length; in vga_8planes_copyarea() 1004 dest = info->screen_base + dx + width + in vga_8planes_copyarea() 1006 src = info->screen_base + sx + width + in vga_8planes_copyarea() 1080 dst = info->screen_base + (dx/8) + dy * info->fix.line_length; in vga16fb_copyarea() 1081 src = info->screen_base + (sx/8) + sy * info->fix.line_length; in vga16fb_copyarea() 1093 dst = info->screen_base + (dx/8) + width + in vga16fb_copyarea() 1095 src = info->screen_base + (sx/8) + width + in vga16fb_copyarea() [all …]
|
D | pmag-ba-fb.c | 190 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()
|
D | pmag-aa-fb.c | 199 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()
|
D | fm2fb.c | 253 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()
|
D | sm712fb.c | 1036 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() 1389 sfb->fb->screen_base = sfb->lfb; in smtc_map_smem() 1391 if (!sfb->fb->screen_base) { in smtc_map_smem() 1406 if (sfb && sfb->fb->screen_base) { in smtc_unmap_smem() 1408 sfb->fb->screen_base -= 0x00200000; in smtc_unmap_smem() 1409 iounmap(sfb->fb->screen_base); in smtc_unmap_smem() 1410 sfb->fb->screen_base = NULL; in smtc_unmap_smem()
|
D | goldfishfb.c | 238 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()
|
D | bw2.c | 313 info->screen_base = of_ioremap(&op->resource[0], 0, in bw2_probe() 315 if (!info->screen_base) { in bw2_probe() 336 of_iounmap(&op->resource[0], info->screen_base, info->fix.smem_len); in bw2_probe() 356 of_iounmap(&op->resource[0], info->screen_base, info->fix.smem_len); in bw2_remove()
|
/linux-6.12.1/samples/vfio-mdev/ |
D | mdpy-fb.c | 85 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-6.12.1/drivers/gpu/drm/tiny/ |
D | simpledrm.c | 245 struct iosys_map screen_base; member 644 struct iosys_map dst = sdev->screen_base; in simpledrm_primary_plane_helper_atomic_update() 670 iosys_map_memset(&sdev->screen_base, 0, 0, sdev->pitch * sdev->mode.vdisplay); in simpledrm_primary_plane_helper_atomic_disable() 684 sb->map[0] = sdev->screen_base; in simpledrm_primary_plane_helper_get_scanout_buffer() 883 void *screen_base; in simpledrm_device_create() local 893 screen_base = devm_memremap(dev->dev, mem->start, resource_size(mem), MEMREMAP_WC); in simpledrm_device_create() 894 if (IS_ERR(screen_base)) in simpledrm_device_create() 895 return screen_base; in simpledrm_device_create() 897 iosys_map_set_vaddr(&sdev->screen_base, screen_base); in simpledrm_device_create() 899 void __iomem *screen_base; in simpledrm_device_create() local [all …]
|
/linux-6.12.1/drivers/video/fbdev/core/ |
D | fb_io_fops.c | 18 if (!info->screen_base) in fb_io_read() 40 src = (u8 __iomem *) (info->screen_base + p); in fb_io_read() 82 if (!info->screen_base) in fb_io_write() 110 dst = (u8 __iomem *) (info->screen_base + p); in fb_io_write()
|
/linux-6.12.1/drivers/video/fbdev/geode/ |
D | gx1fb_core.c | 227 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()
|
D | gxfb_core.c | 253 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()
|
D | lxfb_core.c | 361 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()
|