Home
last modified time | relevance | path

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

1234

/drivers/virt/vboxguest/
Dvboxguest_linux.c285 resource_size_t io, io_len, mmio, mmio_len; in vbg_pci_probe() local
315 mmio_len = pci_resource_len(pci, 1); in vbg_pci_probe()
316 if (!mmio || !mmio_len) { in vbg_pci_probe()
321 if (devm_request_mem_region(dev, mmio, mmio_len, DEVICE_NAME) == NULL) { in vbg_pci_probe()
327 vmmdev = devm_ioremap(dev, mmio, mmio_len); in vbg_pci_probe()
330 &mmio, &mmio_len); in vbg_pci_probe()
336 vmmdev->size < 32 || vmmdev->size > mmio_len) { in vbg_pci_probe()
339 vmmdev->size, (int)mmio_len); in vbg_pci_probe()
402 &mmio, &mmio_len); in vbg_pci_probe()
/drivers/xen/
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()
/drivers/video/fbdev/mb862xx/
Dmb862xxfbdrv.c433 fbi->fix.mmio_len = par->mmio_len; in mb862xxfb_init_fbinfo()
711 par->mmio_len = MB862XX_MMIO_SIZE; in of_platform_mb862xx_probe()
723 par->mmio_base = ioremap(par->mmio_base_phys, par->mmio_len); in of_platform_mb862xx_probe()
732 (u64)par->mmio_base_phys, (ulong)par->mmio_len, par->irq); in of_platform_mb862xx_probe()
1034 par->mmio_len = MB862XX_MMIO_SIZE; in mb862xx_pci_probe()
1040 par->mmio_len = pci_resource_len(par->pdev, 3); in mb862xx_pci_probe()
1057 par->mmio_base = ioremap(par->mmio_base_phys, par->mmio_len); in mb862xx_pci_probe()
1067 (unsigned long long)par->mmio_base_phys, (ulong)par->mmio_len); in mb862xx_pci_probe()
Dmb862xxfb.h61 size_t mmio_len; /* length of register region */ member
/drivers/video/fbdev/
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,
183 par->mmio = ioremap_nocache(info->fix.mmio_start, info->fix.mmio_len); in pmagbafb_probe()
Dpmag-aa-fb.c101 .mmio_len = PMAG_AA_ONBOARD_FBMEM_OFFSET - PMAG_AA_BT455_OFFSET,
191 par->mmio = ioremap_nocache(info->fix.mmio_start, info->fix.mmio_len); in pmagaafb_probe()
Ds1d13xxxfb.c860 info->fix.mmio_len = pdev->resource[1].end - pdev->resource[1].start + 1; in s1d13xxxfb_probe()
932 s1dfb->regs_save = kmalloc(info->fix.mmio_len, GFP_KERNEL); in s1d13xxxfb_suspend()
940 memcpy_fromio(s1dfb->regs_save, s1dfb->regs, info->fix.mmio_len); in s1d13xxxfb_suspend()
969 memcpy_toio(s1dfb->regs, s1dfb->regs_save, info->fix.mmio_len); in s1d13xxxfb_resume()
Dpm3fb.c1337 pm3fb_fix.mmio_len = 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()
Dstifb.c1182 fix->mmio_len = 0x400000; in stifb_init_fb()
1314 if (!request_mem_region(fix->mmio_start, fix->mmio_len, "stifb mmio")) { in stifb_init_fb()
1316 fix->mmio_start, fix->mmio_start+fix->mmio_len); in stifb_init_fb()
1338 release_mem_region(fix->mmio_start, fix->mmio_len); in stifb_init_fb()
1414 release_mem_region(info->fix.mmio_start, info->fix.mmio_len); in stifb_cleanup()
Datmel_lcdfb.c1156 info->fix.mmio_len = resource_size(regs); in atmel_lcdfb_probe()
1159 info->fix.mmio_len, pdev->name)) { in atmel_lcdfb_probe()
1164 sinfo->mmio = ioremap(info->fix.mmio_start, info->fix.mmio_len); in atmel_lcdfb_probe()
1226 release_mem_region(info->fix.mmio_start, info->fix.mmio_len); in atmel_lcdfb_probe()
1268 release_mem_region(info->fix.mmio_start, info->fix.mmio_len); in atmel_lcdfb_remove()
Dpmagb-b-fb.c65 .mmio_len = PMAGB_B_FBMEM,
290 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.c1547 pm2fb_fix.mmio_len = PM2_REGS_SIZE; in pm2fb_probe()
1560 if (!request_mem_region(pm2fb_fix.mmio_start, pm2fb_fix.mmio_len, in pm2fb_probe()
1566 ioremap_nocache(pm2fb_fix.mmio_start, pm2fb_fix.mmio_len); in pm2fb_probe()
1570 release_mem_region(pm2fb_fix.mmio_start, pm2fb_fix.mmio_len); in pm2fb_probe()
1706 release_mem_region(pm2fb_fix.mmio_start, pm2fb_fix.mmio_len); in pm2fb_probe()
1730 release_mem_region(fix->mmio_start, fix->mmio_len); in pm2fb_remove()
Dfm2fb.c135 .mmio_len = (8),
Dau1100fb.c434 au1100fb_fix.mmio_len = resource_size(regs_res); in au1100fb_drv_probe()
438 au1100fb_fix.mmio_len, in au1100fb_drv_probe()
Dpvr2fb.c782 pvr2_fix.mmio_len); in pvr2fb_common_init()
892 pvr2_fix.mmio_len = 0x2000; in pvr2fb_dc_init()
952 pvr2_fix.mmio_len = pci_resource_len(pdev, 1); in pvr2fb_pci_probe()
Dtridentfb.c1550 tridentfb_fix.mmio_len = pci_resource_len(dev, 1); in trident_pci_probe()
1553 tridentfb_fix.mmio_len, "tridentfb")) { in trident_pci_probe()
1560 tridentfb_fix.mmio_len); in trident_pci_probe()
1715 release_mem_region(tridentfb_fix.mmio_start, tridentfb_fix.mmio_len); in trident_pci_probe()
1731 release_mem_region(tridentfb_fix.mmio_start, tridentfb_fix.mmio_len); in trident_pci_remove()
/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_mdss.c28 unsigned long mmio_len; member
260 dpu_mdss->mmio_len = resource_size(res); in dpu_mdss_init()
Ddpu_kms.h103 unsigned long mmio_len, vbif_len[VBIF_MAX], reg_dma_len; member
/drivers/net/ethernet/chelsio/cxgb/
Dcxgb2.c982 unsigned long mmio_start, mmio_len; in init_one() local
1024 mmio_len = pci_resource_len(pdev, 0); in init_one()
1043 adapter->regs = ioremap(mmio_start, mmio_len); in init_one()
1058 adapter->mmio_len = mmio_len; in init_one()
1079 netdev->mem_end = mmio_start + mmio_len - 1; in init_one()
Dcommon.h240 u32 mmio_len; member
/drivers/misc/genwqe/
Dcard_dev.c1072 if ((reg_offs >= cd->mmio_len) || (reg_offs & 0x7)) in genwqe_ioctl()
1092 if ((reg_offs >= cd->mmio_len) || (reg_offs & 0x7)) in genwqe_ioctl()
1108 if ((reg_offs >= cd->mmio_len) || (reg_offs & 0x3)) in genwqe_ioctl()
1128 if ((reg_offs >= cd->mmio_len) || (reg_offs & 0x3)) in genwqe_ioctl()
/drivers/gpu/drm/gma500/
Doaktrail.h215 unsigned int mmio, mmio_len; member
/drivers/video/fbdev/kyro/
Dfbdev.c683 kyro_fix.mmio_len = pci_resource_len(pdev, 1); in kyrofb_probe()
686 ioremap_nocache(kyro_fix.mmio_start, kyro_fix.mmio_len); in kyrofb_probe()

1234