Home
last modified time | relevance | path

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

1234

/linux-6.3-rc2/drivers/virt/vboxguest/
A Dvboxguest_linux.c288 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 Dplatform-pci.c97 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 Dmb862xxfbdrv.c438 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 Dmb862xxfb.h61 size_t mmio_len; /* length of register region */ member
/linux-6.3-rc2/drivers/video/fbdev/
A Dpmag-ba-fb.c76 .mmio_len = PMAG_BA_SIZE - PMAG_BA_BT459,
183 par->mmio = ioremap(info->fix.mmio_start, info->fix.mmio_len); in pmagbafb_probe()
A Dcarminefb.c632 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 Dpmag-aa-fb.c101 .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 Ds1d13xxxfb.c865 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 Dpm3fb.c1342 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 Dpmagb-b-fb.c65 .mmio_len = PMAGB_B_FBMEM,
290 par->mmio = ioremap(info->fix.mmio_start, info->fix.mmio_len); in pmagbbfb_probe()
A Datmel_lcdfb.c1136 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 Dstifb.c1224 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 Dfm2fb.c135 .mmio_len = (8),
A Dsstfb.c1358 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 Dau1100fb.c434 au1100fb_fix.mmio_len = resource_size(regs_res); in au1100fb_drv_probe()
438 au1100fb_fix.mmio_len, in au1100fb_drv_probe()
A Dpvr2fb.c795 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 Dpm2fb.c1558 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 Dcxgb2.c947 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 Dcommon.h230 u32 mmio_len; member
/linux-6.3-rc2/drivers/gpu/drm/gma500/
A Doaktrail.h215 unsigned int mmio, mmio_len; member
/linux-6.3-rc2/drivers/misc/genwqe/
A Dcard_dev.c1083 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 Dcard_base.h302 unsigned long mmio_len; member
/linux-6.3-rc2/include/uapi/linux/
A Dfb.h171 __u32 mmio_len; /* Length of Memory Mapped I/O */ member
/linux-6.3-rc2/drivers/net/ethernet/chelsio/cxgb3/
A Dadapter.h231 unsigned int mmio_len; member
/linux-6.3-rc2/drivers/video/fbdev/kyro/
A Dfbdev.c698 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()

Completed in 64 milliseconds

1234