Home
last modified time | relevance | path

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

123

/drivers/video/fbdev/
Dstifb.c156 #define READ_BYTE(fb,reg) gsc_readb((fb)->info.fix.mmio_start + (reg))
157 #define READ_WORD(fb,reg) gsc_readl((fb)->info.fix.mmio_start + (reg))
163 # define WRITE_BYTE(value,fb,reg) gsc_writeb((value),(fb)->info.fix.mmio_start + (reg))
164 # define WRITE_WORD(value,fb,reg) gsc_writel((value),(fb)->info.fix.mmio_start + (reg))
172 gsc_writeb((value),(fb)->info.fix.mmio_start + (reg)); } while (0)
176 gsc_writel((value),(fb)->info.fix.mmio_start + (reg)); } while (0)
1183 fix->mmio_start = REGION_BASE(fb,2); in stifb_init_fb()
1312 if (!request_mem_region(fix->mmio_start, fix->mmio_len, "stifb mmio")) { in stifb_init_fb()
1314 fix->mmio_start, fix->mmio_start+fix->mmio_len); in stifb_init_fb()
1330 fix->mmio_start); in stifb_init_fb()
[all …]
Digafb.c445 igafb_fix.mmio_start = par->frame_buffer_phys | 0x00800000; in igafb_init()
447 igafb_fix.mmio_start = 0x30000000; /* XXX */ in igafb_init()
449 if ((par->io_base = (int) ioremap(igafb_fix.mmio_start, igafb_fix.smem_len)) == 0) { in igafb_init()
450 printk("igafb_init: can't remap %lx[4K]\n", igafb_fix.mmio_start); in igafb_init()
Dau1100fb.c460 au1100fb_fix.mmio_start = regs_res->start; in au1100fb_drv_probe()
464 au1100fb_fix.mmio_start, in au1100fb_drv_probe()
468 au1100fb_fix.mmio_start); in au1100fb_drv_probe()
472 fbdev->regs = (struct au1100fb_regs*)KSEG1ADDR(au1100fb_fix.mmio_start); in au1100fb_drv_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()
Dpmag-ba-fb.c184 info->fix.mmio_start = start; in pmagbafb_probe()
185 par->mmio = ioremap_nocache(info->fix.mmio_start, info->fix.mmio_len); in pmagbafb_probe()
Dsstfb.c1351 fix->mmio_start = pci_resource_start(pdev,0); in sstfb_probe()
1353 fix->smem_start = fix->mmio_start + 0x400000; in sstfb_probe()
1355 if (!request_mem_region(fix->mmio_start, fix->mmio_len, "sstfb MMIO")) { in sstfb_probe()
1365 par->mmio_vbase = ioremap_nocache(fix->mmio_start, in sstfb_probe()
1369 fix->mmio_start); in sstfb_probe()
1454 release_mem_region(fix->mmio_start, info->fix.mmio_len); in sstfb_probe()
1473 release_mem_region(info->fix.mmio_start, info->fix.mmio_len); in sstfb_remove()
Dpm3fb.c1336 pm3fb_fix.mmio_start = pci_resource_start(dev, 0); in pm3fb_probe()
1339 pm3fb_fix.mmio_start += PM3_REGS_SIZE; in pm3fb_probe()
1344 if (!request_mem_region(pm3fb_fix.mmio_start, pm3fb_fix.mmio_len, in pm3fb_probe()
1350 ioremap_nocache(pm3fb_fix.mmio_start, pm3fb_fix.mmio_len); in pm3fb_probe()
1354 release_mem_region(pm3fb_fix.mmio_start, pm3fb_fix.mmio_len); in pm3fb_probe()
1451 release_mem_region(pm3fb_fix.mmio_start, pm3fb_fix.mmio_len); in pm3fb_probe()
1475 release_mem_region(fix->mmio_start, fix->mmio_len); in pm3fb_remove()
Dneofb.c1652 info->fix.mmio_start = pci_resource_start(dev, 0)+ in neo_map_mmio()
1657 info->fix.mmio_start = pci_resource_start(dev, 0)+ in neo_map_mmio()
1666 info->fix.mmio_start = pci_resource_start(dev, 1); in neo_map_mmio()
1669 info->fix.mmio_start = pci_resource_start(dev, 0); in neo_map_mmio()
1674 (info->fix.mmio_start, MMIO_SIZE, "memory mapped I/O")) { in neo_map_mmio()
1679 par->mmio_vbase = ioremap(info->fix.mmio_start, MMIO_SIZE); in neo_map_mmio()
1682 release_mem_region(info->fix.mmio_start, in neo_map_mmio()
1700 release_mem_region(info->fix.mmio_start, in neo_unmap_mmio()
Dpm2fb.c1544 pm2fb_fix.mmio_start = pci_resource_start(pdev, 0); in pm2fb_probe()
1552 pm2fb_fix.mmio_start += PM2_REGS_SIZE; in pm2fb_probe()
1555 DPRINTK("Register base at 0x%lx\n", pm2fb_fix.mmio_start); in pm2fb_probe()
1558 if (!request_mem_region(pm2fb_fix.mmio_start, pm2fb_fix.mmio_len, in pm2fb_probe()
1564 ioremap_nocache(pm2fb_fix.mmio_start, pm2fb_fix.mmio_len); in pm2fb_probe()
1568 release_mem_region(pm2fb_fix.mmio_start, pm2fb_fix.mmio_len); in pm2fb_probe()
1704 release_mem_region(pm2fb_fix.mmio_start, pm2fb_fix.mmio_len); in pm2fb_probe()
1728 release_mem_region(fix->mmio_start, fix->mmio_len); in pm2fb_remove()
Datmel_lcdfb.c1295 info->fix.mmio_start = regs->start; in atmel_lcdfb_probe()
1298 if (!request_mem_region(info->fix.mmio_start, in atmel_lcdfb_probe()
1304 sinfo->mmio = ioremap(info->fix.mmio_start, info->fix.mmio_len); in atmel_lcdfb_probe()
1352 info->node, info->fix.mmio_start, sinfo->mmio, sinfo->irq_base); in atmel_lcdfb_probe()
1366 release_mem_region(info->fix.mmio_start, info->fix.mmio_len); in atmel_lcdfb_probe()
1410 release_mem_region(info->fix.mmio_start, info->fix.mmio_len); in atmel_lcdfb_remove()
Dpmagb-b-fb.c291 info->fix.mmio_start = start; in pmagbbfb_probe()
292 par->mmio = ioremap_nocache(info->fix.mmio_start, info->fix.mmio_len); in pmagbbfb_probe()
Dfm2fb.c256 fb_fix.mmio_start = fb_fix.smem_start + FRAMEMASTER_REG; in fm2fb_probe()
Dpvr2fb.c777 par->mmio_base = (unsigned long)ioremap_nocache(pvr2_fix.mmio_start, in pvr2fb_common_init()
887 pvr2_fix.mmio_start = 0xa05f8000; /* registers start here */ in pvr2fb_dc_init()
947 pvr2_fix.mmio_start = pci_resource_start(pdev, 1); in pvr2fb_pci_probe()
Dtridentfb.c1551 tridentfb_fix.mmio_start = pci_resource_start(dev, 1); in trident_pci_probe()
1554 if (!request_mem_region(tridentfb_fix.mmio_start, in trident_pci_probe()
1561 default_par->io_virt = ioremap_nocache(tridentfb_fix.mmio_start, in trident_pci_probe()
1717 release_mem_region(tridentfb_fix.mmio_start, tridentfb_fix.mmio_len); in trident_pci_probe()
1733 release_mem_region(tridentfb_fix.mmio_start, tridentfb_fix.mmio_len); in trident_pci_remove()
Dtdfxfb.c1409 info->fix.mmio_start = pci_resource_start(pdev, 0); in tdfxfb_probe()
1411 if (!request_mem_region(info->fix.mmio_start, info->fix.mmio_len, in tdfxfb_probe()
1418 ioremap_nocache(info->fix.mmio_start, info->fix.mmio_len); in tdfxfb_probe()
1561 release_mem_region(info->fix.mmio_start, info->fix.mmio_len); in tdfxfb_probe()
Dcirrusfb.c1949 if (info->fix.mmio_start > 16 * MB_) in cirrusfb_zorro_unmap()
2110 get_pci_addrs(pdev, &board_addr, &info->fix.mmio_start); in cirrusfb_pci_register()
2113 cinfo->laguna_mmio = ioremap(info->fix.mmio_start, 0x1000); in cirrusfb_pci_register()
2116 board_addr, info->fix.mmio_start); in cirrusfb_pci_register()
2257 info->fix.mmio_start = regbase; in cirrusfb_zorro_register()
/drivers/net/ethernet/chelsio/cxgb/
Dcxgb2.c978 unsigned long mmio_start, mmio_len; in init_one() local
1019 mmio_start = pci_resource_start(pdev, 0); in init_one()
1039 adapter->regs = ioremap(mmio_start, mmio_len); in init_one()
1074 netdev->mem_start = mmio_start; in init_one()
1075 netdev->mem_end = mmio_start + mmio_len - 1; in init_one()
/drivers/net/ethernet/toshiba/
Dspider_net.c2399 unsigned long mmio_start, mmio_len; in spider_net_setup_pci_dev() local
2429 mmio_start = pci_resource_start(pdev, 0); in spider_net_setup_pci_dev()
2432 card->netdev->mem_start = mmio_start; in spider_net_setup_pci_dev()
2433 card->netdev->mem_end = mmio_start + mmio_len; in spider_net_setup_pci_dev()
2434 card->regs = ioremap(mmio_start, mmio_len); in spider_net_setup_pci_dev()
/drivers/video/fbdev/kyro/
Dfbdev.c690 kyro_fix.mmio_start = pci_resource_start(pdev, 1); in kyrofb_probe()
694 ioremap_nocache(kyro_fix.mmio_start, kyro_fix.mmio_len); in kyrofb_probe()
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_drv.c659 dev_priv->mmio_start = pci_resource_start(dev->pdev, 2); in vmw_driver_load()
760 dev_priv->mmio_start, dev_priv->mmio_size / 1024); in vmw_driver_load()
771 dev_priv->mmio_virt = memremap(dev_priv->mmio_start, in vmw_driver_load()
/drivers/net/ethernet/brocade/bna/
Dbnad.h326 u64 mmio_start; member
/drivers/net/ethernet/atheros/atlx/
Datl2.c1342 unsigned long mmio_start; in atl2_probe() local
1384 mmio_start = pci_resource_start(pdev, 0x0); in atl2_probe()
1388 adapter->hw.hw_addr = ioremap(mmio_start, mmio_len); in atl2_probe()
1401 netdev->mem_start = mmio_start; in atl2_probe()
1402 netdev->mem_end = mmio_start + mmio_len; in atl2_probe()
/drivers/gpu/drm/cirrus/
Dcirrus_fbdev.c237 info->fix.mmio_start = 0; in cirrusfb_create()
/drivers/video/fbdev/core/
Dfbmem.c1266 compat_caddr_t mmio_start; member
1336 data = (__u32) (unsigned long) fix->mmio_start; in do_fscreeninfo_to_user()
1337 err |= put_user(data, &fix32->mmio_start); in do_fscreeninfo_to_user()
1445 start = info->fix.mmio_start; in fb_mmap()
/drivers/video/fbdev/aty/
Datyfb_base.c2572 info->fix.mmio_start -= 0x400; in aty_init()
2576 info->fix.mmio_start -= 0x400; in aty_init()
2952 info->fix.mmio_start = addr + 0x7ffc00UL; in atyfb_setup_sparc()
3443 info->fix.mmio_start = raddr; in atyfb_setup_generic()
3448 par->ati_regbase = ioremap_uc(info->fix.mmio_start, 0x1000); in atyfb_setup_generic()
3452 info->fix.mmio_start += par->aux_start ? 0x400 : 0xc00; in atyfb_setup_generic()
3667 info->fix.mmio_start = (unsigned long)par->ati_regbase; /* Fake! */ in atyfb_atari_probe()

123