/linux/drivers/pci/hotplug/ |
A D | ibmphp_ebda.c | 51 static void __iomem *io_mem; variable 242 if (!io_mem) in ibmphp_access_ebda() 244 ebda_seg = readw(io_mem); in ibmphp_access_ebda() 245 iounmap(io_mem); in ibmphp_access_ebda() 249 if (!io_mem) in ibmphp_access_ebda() 251 ebda_sz = readb(io_mem); in ibmphp_access_ebda() 252 iounmap(io_mem); in ibmphp_access_ebda() 258 if (!io_mem) in ibmphp_access_ebda() 393 iounmap(io_mem); in ibmphp_access_ebda() 939 iounmap(io_mem); in ebda_rsrc_rsrc() [all …]
|
/linux/include/linux/ |
A D | coresight.h | 128 bool io_mem; member 141 .io_mem = true, \ 374 if (likely(csa->io_mem)) in csdev_access_relaxed_read32() 382 if (likely(csa->io_mem)) in csdev_access_read32() 391 if (likely(csa->io_mem)) in csdev_access_relaxed_write32() 399 if (likely(csa->io_mem)) in csdev_access_write32() 410 if (likely(csa->io_mem)) in csdev_access_relaxed_read64() 418 if (likely(csa->io_mem)) in csdev_access_read64() 427 if (likely(csa->io_mem)) in csdev_access_relaxed_write64() 435 if (likely(csa->io_mem)) in csdev_access_write64()
|
/linux/drivers/media/pci/b2c2/ |
A D | flexcop-pci.c | 52 void __iomem *io_mem; member 81 v.raw = readl(fc_pci->io_mem + r); in flexcop_pci_read_ibi_reg() 101 writel(v.raw, fc_pci->io_mem + r); in flexcop_pci_write_ibi_reg() 303 fc_pci->io_mem = pci_iomap(fc_pci->pdev, 0, 0x800); in flexcop_pci_init() 305 if (!fc_pci->io_mem) { in flexcop_pci_init() 321 pci_iounmap(fc_pci->pdev, fc_pci->io_mem); in flexcop_pci_init() 333 pci_iounmap(fc_pci->pdev, fc_pci->io_mem); in flexcop_pci_exit()
|
/linux/drivers/media/pci/pluto2/ |
A D | pluto2.c | 87 u8 __iomem *io_mem; member 127 return readl(&pluto->io_mem[reg]); in pluto_readreg() 132 writel(val, &pluto->io_mem[reg]); in pluto_writereg() 137 u32 val = readl(&pluto->io_mem[reg]); in pluto_rw() 140 writel(val, &pluto->io_mem[reg]); in pluto_rw() 608 pluto->io_mem = pci_iomap(pdev, 0, 0x40); in pluto2_probe() 609 if (!pluto->io_mem) { in pluto2_probe() 719 pci_iounmap(pdev, pluto->io_mem); in pluto2_probe() 750 pci_iounmap(pdev, pluto->io_mem); in pluto2_remove()
|
/linux/drivers/scsi/pm8001/ |
A D | pm8001_chips.h | 57 return readl(pm8001_ha->io_mem[bar].memvirtaddr + offset); in pm8001_cr32() 63 writel(val, pm8001_ha->io_mem[bar].memvirtaddr + addr); in pm8001_cw32()
|
A D | pm8001_init.c | 465 pm8001_ha->io_mem[logicalBar].membase = in pm8001_ioremap() 467 pm8001_ha->io_mem[logicalBar].memsize = in pm8001_ioremap() 469 pm8001_ha->io_mem[logicalBar].memvirtaddr = in pm8001_ioremap() 470 ioremap(pm8001_ha->io_mem[logicalBar].membase, in pm8001_ioremap() 471 pm8001_ha->io_mem[logicalBar].memsize); in pm8001_ioremap() 472 if (!pm8001_ha->io_mem[logicalBar].memvirtaddr) { in pm8001_ioremap() 480 (u64)pm8001_ha->io_mem[logicalBar].membase, in pm8001_ioremap() 482 pm8001_ha->io_mem[logicalBar].memvirtaddr, in pm8001_ioremap() 483 pm8001_ha->io_mem[logicalBar].memsize); in pm8001_ioremap() 485 pm8001_ha->io_mem[logicalBar].membase = 0; in pm8001_ioremap() [all …]
|
A D | pm8001_sas.h | 480 struct pm8001_hba_memspace io_mem[6]; member
|
A D | pm8001_sas.c | 237 pm8001_ha->io_mem[2].memvirtaddr) in pm8001_phy_control()
|
A D | pm8001_hwi.c | 633 pm8001_ha->io_mem[pcibar].memvirtaddr + offset; in init_pci_device_addresses() 1171 if (pm8001_ha->io_mem[logical].memvirtaddr) { in pm8001_chip_iounmap() 1172 iounmap(pm8001_ha->io_mem[logical].memvirtaddr); in pm8001_chip_iounmap()
|
A D | pm80xx_hwi.c | 1115 if (offset > pm8001_ha->io_mem[pcibar].memsize) { in init_pci_device_addresses() 1118 offset, pm8001_ha->io_mem[pcibar].memsize); in init_pci_device_addresses() 1122 pm8001_ha->io_mem[pcibar].memvirtaddr + offset; in init_pci_device_addresses()
|
/linux/drivers/acpi/ |
A D | acpi_lpit.c | 24 static int lpit_read_residency_counter_us(u64 *counter, bool io_mem) in lpit_read_residency_counter_us() argument 28 if (io_mem) { in lpit_read_residency_counter_us()
|
/linux/drivers/media/pci/dm1105/ |
A D | dm1105.c | 320 u8 __iomem *io_mem; member 358 #define dm_io_mem(reg) ((unsigned long)(&dev->io_mem[reg])) 1021 dev->io_mem = pci_iomap(pdev, 0, pci_resource_len(pdev, 0)); in dm1105_probe() 1022 if (!dev->io_mem) { in dm1105_probe() 1162 pci_iounmap(pdev, dev->io_mem); in dm1105_probe() 1195 pci_iounmap(pdev, dev->io_mem); in dm1105_remove()
|
/linux/drivers/net/ethernet/cirrus/ |
A D | cs89x0.c | 1593 void __iomem *io_mem; in cs89x0_ioport_probe() local 1605 io_mem = ioport_map(ioport & ~3, NETCARD_IO_EXTENT); in cs89x0_ioport_probe() 1606 if (!io_mem) { in cs89x0_ioport_probe() 1619 if ((ioread16(io_mem + ADD_PORT) & ADD_MASK) != in cs89x0_ioport_probe() 1622 dev->name, ioread16(io_mem + ADD_PORT)); in cs89x0_ioport_probe() 1629 ret = cs89x0_probe1(dev, io_mem, modular); in cs89x0_ioport_probe() 1633 ioport_unmap(io_mem); in cs89x0_ioport_probe()
|
/linux/drivers/hwtracing/coresight/ |
A D | coresight-etm4x-core.c | 212 if (csa->io_mem) in etm4_cs_lock() 219 if (csa->io_mem) in etm4_cs_unlock() 399 if (!csa->io_mem) in etm4_enable_hw() 490 if (!csa->io_mem) in etm4_enable_hw() 960 .io_mem = false, in etm4_init_sysreg_access() 967 .io_mem = false, in etm4_init_sysreg_access() 1973 if (!desc.access.io_mem || in etm4_probe()
|
A D | coresight-etm4x.h | 439 ((u32)((csa)->io_mem ? \ 444 ((u64)((csa)->io_mem ? \ 464 if ((csa)->io_mem) \ 473 if ((csa)->io_mem) \
|
/linux/sound/soc/sof/ |
A D | debug.c | 505 memcpy_fromio(buf, dfse->io_mem + pos, size); in sof_dfsentry_read() 521 memcpy_fromio(buf, dfse->io_mem + pos, size); in sof_dfsentry_read() 564 dfse->io_mem = base; in snd_sof_debugfs_io_item()
|
A D | pm.c | 80 memcpy_fromio(dfse->cache_buf, dfse->io_mem, in sof_cache_debugfs()
|
A D | sof-priv.h | 332 void __iomem *io_mem; member
|