Home
last modified time | relevance | path

Searched refs:mmio_start (Results 1 – 25 of 78) sorted by relevance

1234

/linux-2.6.39/drivers/video/
Dstifb.c152 #define READ_BYTE(fb,reg) gsc_readb((fb)->info.fix.mmio_start + (reg))
153 #define READ_WORD(fb,reg) gsc_readl((fb)->info.fix.mmio_start + (reg))
159 # define WRITE_BYTE(value,fb,reg) gsc_writeb((value),(fb)->info.fix.mmio_start + (reg))
160 # define WRITE_WORD(value,fb,reg) gsc_writel((value),(fb)->info.fix.mmio_start + (reg))
168 gsc_writeb((value),(fb)->info.fix.mmio_start + (reg)); } while (0)
172 gsc_writel((value),(fb)->info.fix.mmio_start + (reg)); } while (0)
1145 fix->mmio_start = REGION_BASE(fb,2); in stifb_init_fb()
1275 if (!request_mem_region(fix->mmio_start, fix->mmio_len, "stifb mmio")) { in stifb_init_fb()
1277 fix->mmio_start, fix->mmio_start+fix->mmio_len); in stifb_init_fb()
1295 fix->mmio_start); in stifb_init_fb()
[all …]
Digafb.c446 igafb_fix.mmio_start = par->frame_buffer_phys | 0x00800000; in igafb_init()
448 igafb_fix.mmio_start = 0x30000000; /* XXX */ in igafb_init()
450 if ((par->io_base = (int) ioremap(igafb_fix.mmio_start, igafb_fix.smem_len)) == 0) { in igafb_init()
451 printk("igafb_init: can't remap %lx[4K]\n", igafb_fix.mmio_start); in igafb_init()
Dpmag-ba-fb.c185 info->fix.mmio_start = start; in pmagbafb_probe()
186 par->mmio = ioremap_nocache(info->fix.mmio_start, info->fix.mmio_len); in pmagbafb_probe()
Dcarminefb.c625 carminefb_fix.mmio_start = pci_resource_start(dev, CARMINE_CONFIG_BAR); in carminefb_probe()
628 if (!request_mem_region(carminefb_fix.mmio_start, in carminefb_probe()
635 hw->v_regs = ioremap_nocache(carminefb_fix.mmio_start, in carminefb_probe()
715 release_mem_region(carminefb_fix.mmio_start, carminefb_fix.mmio_len); in carminefb_probe()
746 release_mem_region(fix.mmio_start, fix.mmio_len); in carminefb_remove()
Dau1100fb.c488 au1100fb_fix.mmio_start = regs_res->start; in au1100fb_drv_probe()
491 if (!request_mem_region(au1100fb_fix.mmio_start, au1100fb_fix.mmio_len, in au1100fb_drv_probe()
494 au1100fb_fix.mmio_start); in au1100fb_drv_probe()
498 fbdev->regs = (struct au1100fb_regs*)KSEG1ADDR(au1100fb_fix.mmio_start); in au1100fb_drv_probe()
Datmel_lcdfb.c934 info->fix.mmio_start = regs->start; in atmel_lcdfb_probe()
937 if (!request_mem_region(info->fix.mmio_start, in atmel_lcdfb_probe()
943 sinfo->mmio = ioremap(info->fix.mmio_start, info->fix.mmio_len); in atmel_lcdfb_probe()
1001 info->node, info->fix.mmio_start, sinfo->mmio, sinfo->irq_base); in atmel_lcdfb_probe()
1016 release_mem_region(info->fix.mmio_start, info->fix.mmio_len); in atmel_lcdfb_probe()
1061 release_mem_region(info->fix.mmio_start, info->fix.mmio_len); in atmel_lcdfb_remove()
Dpm3fb.c1344 pm3fb_fix.mmio_start = pci_resource_start(dev, 0); in pm3fb_probe()
1347 pm3fb_fix.mmio_start += PM3_REGS_SIZE; in pm3fb_probe()
1352 if (!request_mem_region(pm3fb_fix.mmio_start, pm3fb_fix.mmio_len, in pm3fb_probe()
1358 ioremap_nocache(pm3fb_fix.mmio_start, pm3fb_fix.mmio_len); in pm3fb_probe()
1362 release_mem_region(pm3fb_fix.mmio_start, pm3fb_fix.mmio_len); in pm3fb_probe()
1463 release_mem_region(pm3fb_fix.mmio_start, pm3fb_fix.mmio_len); in pm3fb_probe()
1491 release_mem_region(fix->mmio_start, fix->mmio_len); in pm3fb_remove()
Dsstfb.c1352 fix->mmio_start = pci_resource_start(pdev,0); in sstfb_probe()
1354 fix->smem_start = fix->mmio_start + 0x400000; in sstfb_probe()
1356 if (!request_mem_region(fix->mmio_start, fix->mmio_len, "sstfb MMIO")) { in sstfb_probe()
1366 par->mmio_vbase = ioremap_nocache(fix->mmio_start, in sstfb_probe()
1370 fix->mmio_start); in sstfb_probe()
1455 release_mem_region(fix->mmio_start, info->fix.mmio_len); in sstfb_probe()
1474 release_mem_region(info->fix.mmio_start, info->fix.mmio_len); in sstfb_remove()
Dneofb.c1659 info->fix.mmio_start = pci_resource_start(dev, 0)+ in neo_map_mmio()
1664 info->fix.mmio_start = pci_resource_start(dev, 0)+ in neo_map_mmio()
1673 info->fix.mmio_start = pci_resource_start(dev, 1); in neo_map_mmio()
1676 info->fix.mmio_start = pci_resource_start(dev, 0); in neo_map_mmio()
1681 (info->fix.mmio_start, MMIO_SIZE, "memory mapped I/O")) { in neo_map_mmio()
1686 par->mmio_vbase = ioremap(info->fix.mmio_start, MMIO_SIZE); in neo_map_mmio()
1689 release_mem_region(info->fix.mmio_start, in neo_map_mmio()
1707 release_mem_region(info->fix.mmio_start, in neo_unmap_mmio()
Dpm2fb.c1552 pm2fb_fix.mmio_start = pci_resource_start(pdev, 0); in pm2fb_probe()
1560 pm2fb_fix.mmio_start += PM2_REGS_SIZE; in pm2fb_probe()
1563 DPRINTK("Register base at 0x%lx\n", pm2fb_fix.mmio_start); in pm2fb_probe()
1566 if (!request_mem_region(pm2fb_fix.mmio_start, pm2fb_fix.mmio_len, in pm2fb_probe()
1572 ioremap_nocache(pm2fb_fix.mmio_start, pm2fb_fix.mmio_len); in pm2fb_probe()
1576 release_mem_region(pm2fb_fix.mmio_start, pm2fb_fix.mmio_len); in pm2fb_probe()
1717 release_mem_region(pm2fb_fix.mmio_start, pm2fb_fix.mmio_len); in pm2fb_probe()
1746 release_mem_region(fix->mmio_start, fix->mmio_len); in pm2fb_remove()
Dpmagb-b-fb.c292 info->fix.mmio_start = start; in pmagbbfb_probe()
293 par->mmio = ioremap_nocache(info->fix.mmio_start, info->fix.mmio_len); in pmagbbfb_probe()
Dfm2fb.c258 fb_fix.mmio_start = fb_fix.smem_start + FRAMEMASTER_REG; in fm2fb_probe()
Dcirrusfb.c2127 get_prep_addrs(&board_addr, &info->fix.mmio_start); in cirrusfb_pci_register()
2130 cinfo->regbase = (char __iomem *) info->fix.mmio_start; in cirrusfb_pci_register()
2134 get_pci_addrs(pdev, &board_addr, &info->fix.mmio_start); in cirrusfb_pci_register()
2137 cinfo->laguna_mmio = ioremap(info->fix.mmio_start, 0x1000); in cirrusfb_pci_register()
2141 board_addr, info->fix.mmio_start); in cirrusfb_pci_register()
2280 info->fix.mmio_start = board_addr + 0x600000; in cirrusfb_zorro_register()
2300 info->fix.mmio_start = z2->resource.start; in cirrusfb_zorro_register()
Dpvr2fb.c779 par->mmio_base = (unsigned long)ioremap_nocache(pvr2_fix.mmio_start, in pvr2fb_common_init()
888 pvr2_fix.mmio_start = 0xa05f8000; /* registers start here */ in pvr2fb_dc_init()
948 pvr2_fix.mmio_start = pci_resource_start(pdev, 1); in pvr2fb_pci_probe()
Dtridentfb.c1423 tridentfb_fix.mmio_start = pci_resource_start(dev, 1); in trident_pci_probe()
1426 if (!request_mem_region(tridentfb_fix.mmio_start, in trident_pci_probe()
1433 default_par->io_virt = ioremap_nocache(tridentfb_fix.mmio_start, in trident_pci_probe()
1541 release_mem_region(tridentfb_fix.mmio_start, tridentfb_fix.mmio_len); in trident_pci_probe()
1555 release_mem_region(tridentfb_fix.mmio_start, tridentfb_fix.mmio_len); in trident_pci_remove()
Damba-clcd.c450 fb->fb.fix.mmio_start = fb->dev->res.start; in clcdfb_register()
453 fb->regs = ioremap(fb->fb.fix.mmio_start, fb->fb.fix.mmio_len); in clcdfb_register()
Dtdfxfb.c1430 info->fix.mmio_start = pci_resource_start(pdev, 0); in tdfxfb_probe()
1432 if (!request_mem_region(info->fix.mmio_start, info->fix.mmio_len, in tdfxfb_probe()
1439 ioremap_nocache(info->fix.mmio_start, info->fix.mmio_len); in tdfxfb_probe()
1586 release_mem_region(info->fix.mmio_start, info->fix.mmio_len); in tdfxfb_probe()
/linux-2.6.39/drivers/gpu/drm/vmwgfx/
Dvmwgfx_drv.c271 dev_priv->mmio_start = pci_resource_start(dev->pdev, 2); in vmw_driver_load()
314 dev_priv->mmio_start, dev_priv->mmio_size / 1024); in vmw_driver_load()
350 dev_priv->mmio_mtrr = drm_mtrr_add(dev_priv->mmio_start, in vmw_driver_load()
353 dev_priv->mmio_virt = ioremap_wc(dev_priv->mmio_start, in vmw_driver_load()
447 drm_mtrr_del(dev_priv->mmio_mtrr, dev_priv->mmio_start, in vmw_driver_load()
486 drm_mtrr_del(dev_priv->mmio_mtrr, dev_priv->mmio_start, in vmw_driver_unload()
Dvmwgfx_ioctl.c49 param->value = dev_priv->mmio_start; in vmw_getparam_ioctl()
/linux-2.6.39/drivers/net/tokenring/
Dlanstreamer.c244 unsigned long mmio_start, mmio_end, mmio_flags, mmio_len; in streamer_init_one() local
300 mmio_start = pci_resource_start(pdev, 1); in streamer_init_one()
309 mmio_start, mmio_end, mmio_flags, mmio_len); in streamer_init_one()
319 if (!request_mem_region(mmio_start, mmio_len, "lanstreamer")) { in streamer_init_one()
321 mmio_start); in streamer_init_one()
326 streamer_priv->streamer_mmio=ioremap(mmio_start, mmio_len); in streamer_init_one()
329 mmio_start); in streamer_init_one()
379 release_mem_region(mmio_start, mmio_len); in streamer_init_one()
/linux-2.6.39/drivers/net/chelsio/
Dcxgb2.c1005 unsigned long mmio_start, mmio_len; in init_one() local
1050 mmio_start = pci_resource_start(pdev, 0); in init_one()
1070 adapter->regs = ioremap(mmio_start, mmio_len); in init_one()
1105 netdev->mem_start = mmio_start; in init_one()
1106 netdev->mem_end = mmio_start + mmio_len - 1; in init_one()
/linux-2.6.39/drivers/net/bna/
Dbnad.h250 u64 mmio_start; member
/linux-2.6.39/drivers/net/
Dspider_net.c2432 unsigned long mmio_start, mmio_len; in spider_net_setup_pci_dev() local
2462 mmio_start = pci_resource_start(pdev, 0); in spider_net_setup_pci_dev()
2465 card->netdev->mem_start = mmio_start; in spider_net_setup_pci_dev()
2466 card->netdev->mem_end = mmio_start + mmio_len; in spider_net_setup_pci_dev()
2467 card->regs = ioremap(mmio_start, mmio_len); in spider_net_setup_pci_dev()
/linux-2.6.39/drivers/video/kyro/
Dfbdev.c691 kyro_fix.mmio_start = pci_resource_start(pdev, 1); in kyrofb_probe()
695 ioremap_nocache(kyro_fix.mmio_start, kyro_fix.mmio_len); in kyrofb_probe()
/linux-2.6.39/drivers/staging/gma500/
Dpsb_fb.c411 info->fix.mmio_start = pci_resource_start(dev->pdev, 0); in psb_user_framebuffer_create()
496 info->fix.mmio_start = pci_resource_start(dev->pdev, 0); in psbfb_create()

1234