/linux-6.3-rc2/drivers/virt/vboxguest/ |
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()
|
/linux-6.3-rc2/drivers/xen/ |
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()
|
/linux-6.3-rc2/drivers/video/fbdev/mb862xx/ |
A D | mb862xxfbdrv.c | 438 fbi->fix.mmio_len = par->mmio_len; in mb862xxfb_init_fbinfo() 716 par->mmio_len = MB862XX_MMIO_SIZE; in of_platform_mb862xx_probe() 728 par->mmio_base = ioremap(par->mmio_base_phys, par->mmio_len); in of_platform_mb862xx_probe() 737 (u64)par->mmio_base_phys, (ulong)par->mmio_len, par->irq); in of_platform_mb862xx_probe() 1043 par->mmio_len = MB862XX_MMIO_SIZE; in mb862xx_pci_probe() 1049 par->mmio_len = pci_resource_len(par->pdev, 3); in mb862xx_pci_probe() 1066 par->mmio_base = ioremap(par->mmio_base_phys, par->mmio_len); in mb862xx_pci_probe() 1076 (unsigned long long)par->mmio_base_phys, (ulong)par->mmio_len); in mb862xx_pci_probe()
|
A D | mb862xxfb.h | 61 size_t mmio_len; /* length of register region */ member
|
/linux-6.3-rc2/drivers/video/fbdev/ |
A D | pmag-ba-fb.c | 76 .mmio_len = PMAG_BA_SIZE - PMAG_BA_BT459, 183 par->mmio = ioremap(info->fix.mmio_start, info->fix.mmio_len); in pmagbafb_probe()
|
A D | carminefb.c | 632 carminefb_fix.mmio_len = pci_resource_len(dev, CARMINE_CONFIG_BAR); in carminefb_probe() 635 carminefb_fix.mmio_len, in carminefb_probe() 642 carminefb_fix.mmio_len); in carminefb_probe() 721 release_mem_region(carminefb_fix.mmio_start, carminefb_fix.mmio_len); in carminefb_probe() 752 release_mem_region(fix.mmio_start, fix.mmio_len); in carminefb_remove()
|
A D | pmag-aa-fb.c | 101 .mmio_len = PMAG_AA_ONBOARD_FBMEM_OFFSET - PMAG_AA_BT455_OFFSET, 191 par->mmio = ioremap(info->fix.mmio_start, info->fix.mmio_len); in pmagaafb_probe()
|
A D | s1d13xxxfb.c | 865 info->fix.mmio_len = resource_size(&pdev->resource[1]); in s1d13xxxfb_probe() 937 s1dfb->regs_save = kmalloc(info->fix.mmio_len, GFP_KERNEL); in s1d13xxxfb_suspend() 945 memcpy_fromio(s1dfb->regs_save, s1dfb->regs, info->fix.mmio_len); in s1d13xxxfb_suspend() 974 memcpy_toio(s1dfb->regs, s1dfb->regs_save, info->fix.mmio_len); in s1d13xxxfb_resume()
|
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() 1456 release_mem_region(pm3fb_fix.mmio_start, pm3fb_fix.mmio_len); in pm3fb_probe() 1480 release_mem_region(fix->mmio_start, fix->mmio_len); in pm3fb_remove()
|
A D | pmagb-b-fb.c | 65 .mmio_len = PMAGB_B_FBMEM, 290 par->mmio = ioremap(info->fix.mmio_start, info->fix.mmio_len); in pmagbbfb_probe()
|
A D | atmel_lcdfb.c | 1136 info->fix.mmio_len = resource_size(regs); in atmel_lcdfb_probe() 1139 info->fix.mmio_len, pdev->name)) { in atmel_lcdfb_probe() 1144 sinfo->mmio = ioremap(info->fix.mmio_start, info->fix.mmio_len); in atmel_lcdfb_probe() 1206 release_mem_region(info->fix.mmio_start, info->fix.mmio_len); in atmel_lcdfb_probe() 1248 release_mem_region(info->fix.mmio_start, info->fix.mmio_len); in atmel_lcdfb_remove()
|
A D | stifb.c | 1224 fix->mmio_len = 0x400000; in stifb_init_fb() 1356 if (!request_mem_region(fix->mmio_start, fix->mmio_len, "stifb mmio")) { in stifb_init_fb() 1358 fix->mmio_start, fix->mmio_start+fix->mmio_len); in stifb_init_fb() 1380 release_mem_region(fix->mmio_start, fix->mmio_len); in stifb_init_fb() 1456 release_mem_region(info->fix.mmio_start, info->fix.mmio_len); in stifb_cleanup()
|
A D | fm2fb.c | 135 .mmio_len = (8),
|
A D | sstfb.c | 1358 fix->mmio_len = 0x400000; in sstfb_probe() 1361 if (!request_mem_region(fix->mmio_start, fix->mmio_len, "sstfb MMIO")) { in sstfb_probe() 1372 fix->mmio_len); in sstfb_probe() 1460 release_mem_region(fix->mmio_start, info->fix.mmio_len); in sstfb_probe() 1479 release_mem_region(info->fix.mmio_start, info->fix.mmio_len); in sstfb_remove()
|
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()
|
A D | pvr2fb.c | 795 pvr2_fix.mmio_len); in pvr2fb_common_init() 905 pvr2_fix.mmio_len = 0x2000; in pvr2fb_dc_init() 969 pvr2_fix.mmio_len = pci_resource_len(pdev, 1); in pvr2fb_pci_probe()
|
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() 1717 release_mem_region(pm2fb_fix.mmio_start, pm2fb_fix.mmio_len); in pm2fb_probe() 1741 release_mem_region(fix->mmio_start, fix->mmio_len); in pm2fb_remove()
|
/linux-6.3-rc2/drivers/net/ethernet/chelsio/cxgb/ |
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()
|
A D | common.h | 230 u32 mmio_len; member
|
/linux-6.3-rc2/drivers/gpu/drm/gma500/ |
A D | oaktrail.h | 215 unsigned int mmio, mmio_len; member
|
/linux-6.3-rc2/drivers/misc/genwqe/ |
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()
|
A D | card_base.h | 302 unsigned long mmio_len; member
|
/linux-6.3-rc2/include/uapi/linux/ |
A D | fb.h | 171 __u32 mmio_len; /* Length of Memory Mapped I/O */ member
|
/linux-6.3-rc2/drivers/net/ethernet/chelsio/cxgb3/ |
A D | adapter.h | 231 unsigned int mmio_len; member
|
/linux-6.3-rc2/drivers/video/fbdev/kyro/ |
A D | fbdev.c | 698 kyro_fix.mmio_len = pci_resource_len(pdev, 1); in kyrofb_probe() 701 ioremap(kyro_fix.mmio_start, kyro_fix.mmio_len); in kyrofb_probe()
|