/linux/drivers/pci/hotplug/ |
H 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/ |
H A D | coresight.h | 126 bool io_mem; member 139 .io_mem = true, \ 417 if (likely(csa->io_mem)) in csdev_access_relaxed_read32() 483 if (likely(csa->io_mem)) { in csdev_access_relaxed_read_pair() 505 if (likely(csa->io_mem)) in csdev_access_read32() 514 if (likely(csa->io_mem)) in csdev_access_relaxed_write32() 522 if (likely(csa->io_mem)) in csdev_access_write32() 533 if (likely(csa->io_mem)) in csdev_access_relaxed_read64() 541 if (likely(csa->io_mem)) in csdev_access_read64() 550 if (likely(csa->io_mem)) in csdev_access_relaxed_write64() [all …]
|
/linux/drivers/media/pci/b2c2/ |
H 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() 306 fc_pci->io_mem = pci_iomap(fc_pci->pdev, 0, 0x800); in flexcop_pci_init() 308 if (!fc_pci->io_mem) { in flexcop_pci_init() 324 pci_iounmap(fc_pci->pdev, fc_pci->io_mem); in flexcop_pci_init() 336 pci_iounmap(fc_pci->pdev, fc_pci->io_mem); in flexcop_pci_exit()
|
/linux/drivers/scsi/pm8001/ |
H 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()
|
H A D | pm8001_init.c | 496 pm8001_ha->io_mem[logicalBar].membase = in pm8001_ioremap() 498 pm8001_ha->io_mem[logicalBar].memsize = in pm8001_ioremap() 500 pm8001_ha->io_mem[logicalBar].memvirtaddr = in pm8001_ioremap() 501 ioremap(pm8001_ha->io_mem[logicalBar].membase, in pm8001_ioremap() 502 pm8001_ha->io_mem[logicalBar].memsize); in pm8001_ioremap() 503 if (!pm8001_ha->io_mem[logicalBar].memvirtaddr) { in pm8001_ioremap() 511 (u64)pm8001_ha->io_mem[logicalBar].membase, in pm8001_ioremap() 513 pm8001_ha->io_mem[logicalBar].memvirtaddr, in pm8001_ioremap() 514 pm8001_ha->io_mem[logicalBar].memsize); in pm8001_ioremap() 516 pm8001_ha->io_mem[logicalBar].membase = 0; in pm8001_ioremap() [all …]
|
H A D | pm8001_sas.h | 479 struct pm8001_hba_memspace io_mem[6]; member
|
H A D | pm8001_sas.c | 252 u32 __iomem *qp = pm8001_ha->io_mem[2].memvirtaddr in pm8001_phy_control()
|
H A D | pm8001_hwi.c | 634 pm8001_ha->io_mem[pcibar].memvirtaddr + offset; in init_pci_device_addresses() 1176 if (pm8001_ha->io_mem[logical].memvirtaddr) { in pm8001_chip_iounmap() 1177 iounmap(pm8001_ha->io_mem[logical].memvirtaddr); in pm8001_chip_iounmap()
|
H A D | pm80xx_hwi.c | 1125 if (offset > pm8001_ha->io_mem[pcibar].memsize) { in init_pci_device_addresses() 1128 offset, pm8001_ha->io_mem[pcibar].memsize); in init_pci_device_addresses() 1132 pm8001_ha->io_mem[pcibar].memvirtaddr + offset; in init_pci_device_addresses()
|
/linux/drivers/media/pci/pluto2/ |
H 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/acpi/ |
H A D | acpi_lpit.c | 25 static int lpit_read_residency_counter_us(u64 *counter, bool io_mem) in lpit_read_residency_counter_us() argument 29 if (io_mem) { in lpit_read_residency_counter_us()
|
/linux/sound/soc/sof/ |
H A D | debug.c | 71 memcpy_fromio(buf, dfse->io_mem + pos, size); in sof_dfsentry_read() 87 memcpy_fromio(buf, dfse->io_mem + pos, size); in sof_dfsentry_read() 129 dfse->io_mem = base; in snd_sof_debugfs_io_item()
|
H A D | pm.c | 67 memcpy_fromio(dfse->cache_buf, dfse->io_mem, in sof_cache_debugfs()
|
H A D | sof-priv.h | 395 void __iomem *io_mem; member
|
/linux/drivers/media/pci/dm1105/ |
H 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() 1196 pci_iounmap(pdev, dev->io_mem); in dm1105_remove()
|
/linux/drivers/net/ethernet/cirrus/ |
H A D | cs89x0.c | 1594 void __iomem *io_mem; in cs89x0_ioport_probe() local 1606 io_mem = ioport_map(ioport & ~3, NETCARD_IO_EXTENT); in cs89x0_ioport_probe() 1607 if (!io_mem) { in cs89x0_ioport_probe() 1620 if ((ioread16(io_mem + ADD_PORT) & ADD_MASK) != in cs89x0_ioport_probe() 1623 dev->name, ioread16(io_mem + ADD_PORT)); in cs89x0_ioport_probe() 1630 ret = cs89x0_probe1(dev, io_mem, modular); in cs89x0_ioport_probe() 1634 ioport_unmap(io_mem); in cs89x0_ioport_probe()
|
/linux/drivers/hwtracing/coresight/ |
H A D | coresight-etm4x-core.c | 217 if (csa->io_mem) in etm4_cs_lock() 224 if (csa->io_mem) in etm4_cs_unlock() 381 if (!csa->io_mem) in etm4_check_arch_features() 429 if (!csa->io_mem) in etm4_enable_hw() 522 if (!csa->io_mem) in etm4_enable_hw() 1060 .io_mem = false, in etm4_init_sysreg_access() 1067 .io_mem = false, in etm4_init_sysreg_access() 1214 if (!csa->io_mem || in etm4_init_arch_data()
|
H A D | coresight-etm4x.h | 514 ((u32)((csa)->io_mem ? \ 519 ((u64)((csa)->io_mem ? \ 539 if ((csa)->io_mem) \ 548 if ((csa)->io_mem) \
|