Home
last modified time | relevance | path

Searched refs:io_mem (Results 1 – 18 of 18) sorted by relevance

/linux/drivers/pci/hotplug/
H A Dibmphp_ebda.c51 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 Dcoresight.h126 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 Dflexcop-pci.c52 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 Dpm8001_chips.h57 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 Dpm8001_init.c496 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 Dpm8001_sas.h479 struct pm8001_hba_memspace io_mem[6]; member
H A Dpm8001_sas.c252 u32 __iomem *qp = pm8001_ha->io_mem[2].memvirtaddr in pm8001_phy_control()
H A Dpm8001_hwi.c634 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 Dpm80xx_hwi.c1125 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 Dpluto2.c87 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 Dacpi_lpit.c25 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 Ddebug.c71 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 Dpm.c67 memcpy_fromio(dfse->cache_buf, dfse->io_mem, in sof_cache_debugfs()
H A Dsof-priv.h395 void __iomem *io_mem; member
/linux/drivers/media/pci/dm1105/
H A Ddm1105.c320 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 Dcs89x0.c1594 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 Dcoresight-etm4x-core.c217 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 Dcoresight-etm4x.h514 ((u32)((csa)->io_mem ? \
519 ((u64)((csa)->io_mem ? \
539 if ((csa)->io_mem) \
548 if ((csa)->io_mem) \