Home
last modified time | relevance | path

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

1234

/drivers/xen/
Dplatform-pci.c109 long mmio_addr, mmio_len; in platform_pci_init() local
119 mmio_len = pci_resource_len(pdev, 1); in platform_pci_init()
136 platform_mmiolen = mmio_len; in platform_pci_init()
/drivers/video/mb862xx/
Dmb862xxfbdrv.c435 fbi->fix.mmio_len = par->mmio_len; in mb862xxfb_init_fbinfo()
715 par->mmio_len = MB862XX_MMIO_SIZE; in of_platform_mb862xx_probe()
727 par->mmio_base = ioremap(par->mmio_base_phys, par->mmio_len); in of_platform_mb862xx_probe()
736 (u64)par->mmio_base_phys, (ulong)par->mmio_len, par->irq); in of_platform_mb862xx_probe()
1041 par->mmio_len = MB862XX_MMIO_SIZE; in mb862xx_pci_probe()
1047 par->mmio_len = pci_resource_len(par->pdev, 3); in mb862xx_pci_probe()
1062 par->mmio_base = ioremap(par->mmio_base_phys, par->mmio_len); in mb862xx_pci_probe()
1072 (unsigned long long)par->mmio_base_phys, (ulong)par->mmio_len); in mb862xx_pci_probe()
Dmb862xxfb.h60 size_t mmio_len; /* length of register region */ member
/drivers/video/
Dcarminefb.c627 carminefb_fix.mmio_len = pci_resource_len(dev, CARMINE_CONFIG_BAR); in carminefb_probe()
630 carminefb_fix.mmio_len, in carminefb_probe()
637 carminefb_fix.mmio_len); in carminefb_probe()
716 release_mem_region(carminefb_fix.mmio_start, carminefb_fix.mmio_len); in carminefb_probe()
747 release_mem_region(fix.mmio_start, fix.mmio_len); in carminefb_remove()
Dpmag-ba-fb.c76 .mmio_len = PMAG_BA_SIZE - PMAG_BA_BT459,
185 par->mmio = ioremap_nocache(info->fix.mmio_start, info->fix.mmio_len); in pmagbafb_probe()
Datmel_lcdfb.c960 info->fix.mmio_len = resource_size(regs); in atmel_lcdfb_probe()
963 info->fix.mmio_len, pdev->name)) { in atmel_lcdfb_probe()
968 sinfo->mmio = ioremap(info->fix.mmio_start, info->fix.mmio_len); in atmel_lcdfb_probe()
1041 release_mem_region(info->fix.mmio_start, info->fix.mmio_len); in atmel_lcdfb_probe()
1086 release_mem_region(info->fix.mmio_start, info->fix.mmio_len); in atmel_lcdfb_remove()
Ds1d13xxxfb.c873 info->fix.mmio_len = pdev->resource[1].end - pdev->resource[1].start + 1; in s1d13xxxfb_probe()
946 s1dfb->regs_save = kmalloc(info->fix.mmio_len, GFP_KERNEL); in s1d13xxxfb_suspend()
954 memcpy_fromio(s1dfb->regs_save, s1dfb->regs, info->fix.mmio_len); in s1d13xxxfb_suspend()
983 memcpy_toio(s1dfb->regs, s1dfb->regs_save, info->fix.mmio_len); in s1d13xxxfb_resume()
Dpm3fb.c1345 pm3fb_fix.mmio_len = 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()
Dstifb.c1146 fix->mmio_len = 0x400000; 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()
1301 release_mem_region(fix->mmio_start, fix->mmio_len); in stifb_init_fb()
1377 release_mem_region(info->fix.mmio_start, info->fix.mmio_len); in stifb_cleanup()
Dpmagb-b-fb.c65 .mmio_len = PMAGB_B_FBMEM,
292 par->mmio = ioremap_nocache(info->fix.mmio_start, info->fix.mmio_len); in pmagbbfb_probe()
Dsstfb.c1353 fix->mmio_len = 0x400000; in sstfb_probe()
1356 if (!request_mem_region(fix->mmio_start, fix->mmio_len, "sstfb MMIO")) { in sstfb_probe()
1367 fix->mmio_len); 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()
Dpm2fb.c1553 pm2fb_fix.mmio_len = PM2_REGS_SIZE; 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()
Dfm2fb.c135 .mmio_len = (8),
Dpvr2fb.c780 pvr2_fix.mmio_len); in pvr2fb_common_init()
889 pvr2_fix.mmio_len = 0x2000; in pvr2fb_dc_init()
949 pvr2_fix.mmio_len = pci_resource_len(pdev, 1); in pvr2fb_pci_probe()
Dtridentfb.c1424 tridentfb_fix.mmio_len = pci_resource_len(dev, 1); in trident_pci_probe()
1427 tridentfb_fix.mmio_len, "tridentfb")) { in trident_pci_probe()
1434 tridentfb_fix.mmio_len); 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()
Dau1100fb.c500 au1100fb_fix.mmio_len = resource_size(regs_res); in au1100fb_drv_probe()
504 au1100fb_fix.mmio_len, in au1100fb_drv_probe()
Damba-clcd.c457 fb->fb.fix.mmio_len = resource_size(&fb->dev->res); in clcdfb_register()
459 fb->regs = ioremap(fb->fb.fix.mmio_start, fb->fb.fix.mmio_len); in clcdfb_register()
/drivers/net/ethernet/chelsio/cxgb/
Dcxgb2.c983 unsigned long mmio_start, mmio_len; in init_one() local
1029 mmio_len = pci_resource_len(pdev, 0); in init_one()
1048 adapter->regs = ioremap(mmio_start, mmio_len); in init_one()
1063 adapter->mmio_len = mmio_len; in init_one()
1084 netdev->mem_end = mmio_start + mmio_len - 1; in init_one()
Dcommon.h238 u32 mmio_len; member
/drivers/gpu/drm/gma500/
Doaktrail_hdmi.c396 hdmi_dev->mmio_len = pci_resource_len(pdev, 0); in oaktrail_hdmi_setup()
397 hdmi_dev->regs = ioremap(hdmi_dev->mmio, hdmi_dev->mmio_len); in oaktrail_hdmi_setup()
Doaktrail.h226 unsigned int mmio, mmio_len; member
/drivers/net/tokenring/
Dlanstreamer.c243 unsigned long mmio_start, mmio_end, mmio_flags, mmio_len; in streamer_init_one() local
302 mmio_len = pci_resource_len(pdev, 1); in streamer_init_one()
308 mmio_start, mmio_end, mmio_flags, mmio_len); in streamer_init_one()
318 if (!request_mem_region(mmio_start, mmio_len, "lanstreamer")) { in streamer_init_one()
325 streamer_priv->streamer_mmio=ioremap(mmio_start, mmio_len); in streamer_init_one()
378 release_mem_region(mmio_start, mmio_len); in streamer_init_one()
/drivers/video/kyro/
Dfbdev.c692 kyro_fix.mmio_len = pci_resource_len(pdev, 1); in kyrofb_probe()
695 ioremap_nocache(kyro_fix.mmio_start, kyro_fix.mmio_len); in kyrofb_probe()
/drivers/net/ethernet/chelsio/cxgb3/
Dadapter.h232 unsigned int mmio_len; member
/drivers/net/ethernet/brocade/bna/
Dbnad.h297 u64 mmio_len; member

1234