/openbmc/linux/drivers/virt/vboxguest/ |
H A D | vboxguest_linux.c | 288 resource_size_t io, io_len, mmio, mmio_len; in vbg_pci_probe() local 318 mmio_len = pci_resource_len(pci, 1); in vbg_pci_probe() 319 if (!mmio || !mmio_len) { in vbg_pci_probe() 324 if (devm_request_mem_region(dev, mmio, mmio_len, DEVICE_NAME) == NULL) { in vbg_pci_probe() 330 vmmdev = devm_ioremap(dev, mmio, mmio_len); in vbg_pci_probe() 333 &mmio, &mmio_len); in vbg_pci_probe() 339 vmmdev->size < 32 || vmmdev->size > mmio_len) { in vbg_pci_probe() 342 vmmdev->size, (int)mmio_len); in vbg_pci_probe()
|
/openbmc/linux/drivers/xen/ |
H A D | platform-pci.c | 97 long mmio_addr, mmio_len; in platform_pci_probe() local 111 mmio_len = pci_resource_len(pdev, 1); in platform_pci_probe() 128 platform_mmiolen = mmio_len; in platform_pci_probe()
|
/openbmc/linux/drivers/video/fbdev/mb862xx/ |
H A D | mb862xxfbdrv.c | 435 fbi->fix.mmio_len = par->mmio_len; in mb862xxfb_init_fbinfo() 713 par->mmio_len = MB862XX_MMIO_SIZE; in of_platform_mb862xx_probe() 725 par->mmio_base = ioremap(par->mmio_base_phys, par->mmio_len); in of_platform_mb862xx_probe() 734 (u64)par->mmio_base_phys, (ulong)par->mmio_len, par->irq); in of_platform_mb862xx_probe() 1039 par->mmio_len = MB862XX_MMIO_SIZE; in mb862xx_pci_probe() 1045 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()
|
H A D | mb862xxfb.h | 61 size_t mmio_len; /* length of register region */ member
|
/openbmc/linux/drivers/video/fbdev/core/ |
H A D | fb_chrdev.c | 185 u32 mmio_len; member 251 err |= put_user(fix->mmio_len, &fix32->mmio_len); in do_fscreeninfo_to_user() 363 len = info->fix.mmio_len; in fb_mmap()
|
/openbmc/linux/drivers/video/fbdev/ |
H A D | pmag-ba-fb.c | 76 .mmio_len = PMAG_BA_SIZE - PMAG_BA_BT459, 180 par->mmio = ioremap(info->fix.mmio_start, info->fix.mmio_len); in pmagbafb_probe()
|
H A D | carminefb.c | 628 carminefb_fix.mmio_len = pci_resource_len(dev, CARMINE_CONFIG_BAR); in carminefb_probe() 631 carminefb_fix.mmio_len, in carminefb_probe() 638 carminefb_fix.mmio_len); in carminefb_probe() 717 release_mem_region(carminefb_fix.mmio_start, carminefb_fix.mmio_len); in carminefb_probe() 748 release_mem_region(fix.mmio_start, fix.mmio_len); in carminefb_remove()
|
H A D | pmag-aa-fb.c | 101 .mmio_len = PMAG_AA_ONBOARD_FBMEM_OFFSET - PMAG_AA_BT455_OFFSET, 188 par->mmio = ioremap(info->fix.mmio_start, info->fix.mmio_len); in pmagaafb_probe()
|
H A D | s1d13xxxfb.c | 864 info->fix.mmio_len = resource_size(&pdev->resource[1]); in s1d13xxxfb_probe() 936 s1dfb->regs_save = kmalloc(info->fix.mmio_len, GFP_KERNEL); in s1d13xxxfb_suspend() 944 memcpy_fromio(s1dfb->regs_save, s1dfb->regs, info->fix.mmio_len); in s1d13xxxfb_suspend() 973 memcpy_toio(s1dfb->regs, s1dfb->regs_save, info->fix.mmio_len); in s1d13xxxfb_resume()
|
H A D | pm3fb.c | 1342 pm3fb_fix.mmio_len = PM3_REGS_SIZE; in pm3fb_probe() 1349 if (!request_mem_region(pm3fb_fix.mmio_start, pm3fb_fix.mmio_len, in pm3fb_probe() 1355 ioremap(pm3fb_fix.mmio_start, pm3fb_fix.mmio_len); in pm3fb_probe() 1359 release_mem_region(pm3fb_fix.mmio_start, pm3fb_fix.mmio_len); in pm3fb_probe() 1455 release_mem_region(pm3fb_fix.mmio_start, pm3fb_fix.mmio_len); in pm3fb_probe() 1479 release_mem_region(fix->mmio_start, fix->mmio_len); in pm3fb_remove()
|
H A D | pmagb-b-fb.c | 65 .mmio_len = PMAGB_B_FBMEM, 287 par->mmio = ioremap(info->fix.mmio_start, info->fix.mmio_len); in pmagbbfb_probe()
|
H A D | stifb.c | 1248 fix->mmio_len = 0x400000; in stifb_init_fb() 1383 if (!request_mem_region(fix->mmio_start, fix->mmio_len, "stifb mmio")) { in stifb_init_fb() 1385 fix->mmio_start, fix->mmio_start+fix->mmio_len); in stifb_init_fb() 1407 release_mem_region(fix->mmio_start, fix->mmio_len); in stifb_init_fb() 1484 release_mem_region(info->fix.mmio_start, info->fix.mmio_len); in stifb_cleanup()
|
H A D | atmel_lcdfb.c | 1134 info->fix.mmio_len = resource_size(regs); in atmel_lcdfb_probe() 1137 info->fix.mmio_len, pdev->name)) { in atmel_lcdfb_probe() 1142 sinfo->mmio = ioremap(info->fix.mmio_start, info->fix.mmio_len); in atmel_lcdfb_probe() 1204 release_mem_region(info->fix.mmio_start, info->fix.mmio_len); in atmel_lcdfb_probe() 1246 release_mem_region(info->fix.mmio_start, info->fix.mmio_len); in atmel_lcdfb_remove()
|
H A D | fm2fb.c | 135 .mmio_len = (8),
|
H A D | sstfb.c | 1356 fix->mmio_len = 0x400000; in sstfb_probe() 1359 if (!request_mem_region(fix->mmio_start, fix->mmio_len, "sstfb MMIO")) { in sstfb_probe() 1370 fix->mmio_len); in sstfb_probe() 1457 release_mem_region(fix->mmio_start, info->fix.mmio_len); in sstfb_probe() 1476 release_mem_region(info->fix.mmio_start, info->fix.mmio_len); in sstfb_remove()
|
H A D | au1100fb.c | 434 au1100fb_fix.mmio_len = resource_size(regs_res); in au1100fb_drv_probe() 438 au1100fb_fix.mmio_len, in au1100fb_drv_probe()
|
H A D | pm2fb.c | 1558 pm2fb_fix.mmio_len = PM2_REGS_SIZE; in pm2fb_probe() 1571 if (!request_mem_region(pm2fb_fix.mmio_start, pm2fb_fix.mmio_len, in pm2fb_probe() 1577 ioremap(pm2fb_fix.mmio_start, pm2fb_fix.mmio_len); in pm2fb_probe() 1581 release_mem_region(pm2fb_fix.mmio_start, pm2fb_fix.mmio_len); in pm2fb_probe() 1716 release_mem_region(pm2fb_fix.mmio_start, pm2fb_fix.mmio_len); in pm2fb_probe() 1740 release_mem_region(fix->mmio_start, fix->mmio_len); in pm2fb_remove()
|
H A D | pvr2fb.c | 798 pvr2_fix.mmio_len); in pvr2fb_common_init() 908 pvr2_fix.mmio_len = 0x2000; in pvr2fb_dc_init() 972 pvr2_fix.mmio_len = pci_resource_len(pdev, 1); in pvr2fb_pci_probe()
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb/ |
H A D | cxgb2.c | 947 unsigned long mmio_start, mmio_len; in init_one() local 979 mmio_len = pci_resource_len(pdev, 0); in init_one() 998 adapter->regs = ioremap(mmio_start, mmio_len); in init_one() 1013 adapter->mmio_len = mmio_len; in init_one() 1032 netdev->mem_end = mmio_start + mmio_len - 1; in init_one()
|
H A D | common.h | 230 u32 mmio_len; member
|
/openbmc/linux/drivers/gpu/drm/gma500/ |
H A D | oaktrail.h | 215 unsigned int mmio, mmio_len; member
|
/openbmc/linux/drivers/misc/genwqe/ |
H A D | card_dev.c | 1083 if ((reg_offs >= cd->mmio_len) || (reg_offs & 0x7)) in genwqe_ioctl() 1103 if ((reg_offs >= cd->mmio_len) || (reg_offs & 0x7)) in genwqe_ioctl() 1119 if ((reg_offs >= cd->mmio_len) || (reg_offs & 0x3)) in genwqe_ioctl() 1139 if ((reg_offs >= cd->mmio_len) || (reg_offs & 0x3)) in genwqe_ioctl()
|
/openbmc/linux/include/uapi/linux/ |
H A D | fb.h | 171 __u32 mmio_len; /* Length of Memory Mapped I/O */ member
|
/openbmc/linux/drivers/video/fbdev/kyro/ |
H A D | fbdev.c | 696 kyro_fix.mmio_len = pci_resource_len(pdev, 1); in kyrofb_probe() 699 ioremap(kyro_fix.mmio_start, kyro_fix.mmio_len); in kyrofb_probe()
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | adapter.h | 231 unsigned int mmio_len; member
|