io_mem 24 drivers/acpi/acpi_lpit.c static int lpit_read_residency_counter_us(u64 *counter, bool io_mem) io_mem 28 drivers/acpi/acpi_lpit.c if (io_mem) { io_mem 52 drivers/media/pci/b2c2/flexcop-pci.c void __iomem *io_mem; io_mem 81 drivers/media/pci/b2c2/flexcop-pci.c v.raw = readl(fc_pci->io_mem + r); io_mem 101 drivers/media/pci/b2c2/flexcop-pci.c writel(v.raw, fc_pci->io_mem + r); io_mem 303 drivers/media/pci/b2c2/flexcop-pci.c fc_pci->io_mem = pci_iomap(fc_pci->pdev, 0, 0x800); io_mem 305 drivers/media/pci/b2c2/flexcop-pci.c if (!fc_pci->io_mem) { io_mem 321 drivers/media/pci/b2c2/flexcop-pci.c pci_iounmap(fc_pci->pdev, fc_pci->io_mem); io_mem 333 drivers/media/pci/b2c2/flexcop-pci.c pci_iounmap(fc_pci->pdev, fc_pci->io_mem); io_mem 321 drivers/media/pci/dm1105/dm1105.c u8 __iomem *io_mem; io_mem 359 drivers/media/pci/dm1105/dm1105.c #define dm_io_mem(reg) ((unsigned long)(&dev->io_mem[reg])) io_mem 1024 drivers/media/pci/dm1105/dm1105.c dev->io_mem = pci_iomap(pdev, 0, pci_resource_len(pdev, 0)); io_mem 1025 drivers/media/pci/dm1105/dm1105.c if (!dev->io_mem) { io_mem 1165 drivers/media/pci/dm1105/dm1105.c pci_iounmap(pdev, dev->io_mem); io_mem 1198 drivers/media/pci/dm1105/dm1105.c pci_iounmap(pdev, dev->io_mem); io_mem 87 drivers/media/pci/pluto2/pluto2.c u8 __iomem *io_mem; io_mem 127 drivers/media/pci/pluto2/pluto2.c return readl(&pluto->io_mem[reg]); io_mem 132 drivers/media/pci/pluto2/pluto2.c writel(val, &pluto->io_mem[reg]); io_mem 137 drivers/media/pci/pluto2/pluto2.c u32 val = readl(&pluto->io_mem[reg]); io_mem 140 drivers/media/pci/pluto2/pluto2.c writel(val, &pluto->io_mem[reg]); io_mem 608 drivers/media/pci/pluto2/pluto2.c pluto->io_mem = pci_iomap(pdev, 0, 0x40); io_mem 609 drivers/media/pci/pluto2/pluto2.c if (!pluto->io_mem) { io_mem 719 drivers/media/pci/pluto2/pluto2.c pci_iounmap(pdev, pluto->io_mem); io_mem 750 drivers/media/pci/pluto2/pluto2.c pci_iounmap(pdev, pluto->io_mem); io_mem 1590 drivers/net/ethernet/cirrus/cs89x0.c void __iomem *io_mem; io_mem 1602 drivers/net/ethernet/cirrus/cs89x0.c io_mem = ioport_map(ioport & ~3, NETCARD_IO_EXTENT); io_mem 1603 drivers/net/ethernet/cirrus/cs89x0.c if (!io_mem) { io_mem 1616 drivers/net/ethernet/cirrus/cs89x0.c if ((ioread16(io_mem + ADD_PORT) & ADD_MASK) != io_mem 1619 drivers/net/ethernet/cirrus/cs89x0.c dev->name, ioread16(io_mem + ADD_PORT)); io_mem 1626 drivers/net/ethernet/cirrus/cs89x0.c ret = cs89x0_probe1(dev, io_mem, modular); io_mem 1630 drivers/net/ethernet/cirrus/cs89x0.c ioport_unmap(io_mem); io_mem 244 drivers/pci/controller/pci-v3-semi.c u32 io_mem; io_mem 536 drivers/pci/controller/pci-v3-semi.c v3->io_mem = io_base; io_mem 548 drivers/pci/controller/pci-v3-semi.c writel(v3_addr_to_lb_base2(v3->io_mem) | io_mem 51 drivers/pci/hotplug/ibmphp_ebda.c static void __iomem *io_mem; io_mem 241 drivers/pci/hotplug/ibmphp_ebda.c io_mem = ioremap((0x40 << 4) + 0x0e, 2); io_mem 242 drivers/pci/hotplug/ibmphp_ebda.c if (!io_mem) io_mem 244 drivers/pci/hotplug/ibmphp_ebda.c ebda_seg = readw(io_mem); io_mem 245 drivers/pci/hotplug/ibmphp_ebda.c iounmap(io_mem); io_mem 248 drivers/pci/hotplug/ibmphp_ebda.c io_mem = ioremap(ebda_seg<<4, 1); io_mem 249 drivers/pci/hotplug/ibmphp_ebda.c if (!io_mem) io_mem 251 drivers/pci/hotplug/ibmphp_ebda.c ebda_sz = readb(io_mem); io_mem 252 drivers/pci/hotplug/ibmphp_ebda.c iounmap(io_mem); io_mem 257 drivers/pci/hotplug/ibmphp_ebda.c io_mem = ioremap(ebda_seg<<4, (ebda_sz * 1024)); io_mem 258 drivers/pci/hotplug/ibmphp_ebda.c if (!io_mem) io_mem 270 drivers/pci/hotplug/ibmphp_ebda.c next_offset = readw(io_mem + offset); /* offset of next blk */ io_mem 275 drivers/pci/hotplug/ibmphp_ebda.c blk_id = readw(io_mem + offset); /* this blk id */ io_mem 285 drivers/pci/hotplug/ibmphp_ebda.c format = readb(io_mem + offset); io_mem 295 drivers/pci/hotplug/ibmphp_ebda.c re = readw(io_mem + sub_addr); /* next sub blk */ io_mem 298 drivers/pci/hotplug/ibmphp_ebda.c rc_id = readw(io_mem + sub_addr); /* sub blk id */ io_mem 304 drivers/pci/hotplug/ibmphp_ebda.c num_ctlrs = readb(io_mem + sub_addr); io_mem 322 drivers/pci/hotplug/ibmphp_ebda.c rc = readw(io_mem + sub_addr); /* next sub blk */ io_mem 325 drivers/pci/hotplug/ibmphp_ebda.c re_id = readw(io_mem + sub_addr); /* sub blk id */ io_mem 332 drivers/pci/hotplug/ibmphp_ebda.c num_entries = readw(io_mem + sub_addr); io_mem 360 drivers/pci/hotplug/ibmphp_ebda.c rio_table_ptr->ver_num = readb(io_mem + offset); io_mem 361 drivers/pci/hotplug/ibmphp_ebda.c rio_table_ptr->scal_count = readb(io_mem + offset + 1); io_mem 362 drivers/pci/hotplug/ibmphp_ebda.c rio_table_ptr->riodev_count = readb(io_mem + offset + 2); io_mem 393 drivers/pci/hotplug/ibmphp_ebda.c iounmap(io_mem); io_mem 414 drivers/pci/hotplug/ibmphp_ebda.c rio_detail_ptr->rio_node_id = readb(io_mem + offset); io_mem 415 drivers/pci/hotplug/ibmphp_ebda.c rio_detail_ptr->bbar = readl(io_mem + offset + 1); io_mem 416 drivers/pci/hotplug/ibmphp_ebda.c rio_detail_ptr->rio_type = readb(io_mem + offset + 5); io_mem 417 drivers/pci/hotplug/ibmphp_ebda.c rio_detail_ptr->owner_id = readb(io_mem + offset + 6); io_mem 418 drivers/pci/hotplug/ibmphp_ebda.c rio_detail_ptr->port0_node_connect = readb(io_mem + offset + 7); io_mem 419 drivers/pci/hotplug/ibmphp_ebda.c rio_detail_ptr->port0_port_connect = readb(io_mem + offset + 8); io_mem 420 drivers/pci/hotplug/ibmphp_ebda.c rio_detail_ptr->port1_node_connect = readb(io_mem + offset + 9); io_mem 421 drivers/pci/hotplug/ibmphp_ebda.c rio_detail_ptr->port1_port_connect = readb(io_mem + offset + 10); io_mem 422 drivers/pci/hotplug/ibmphp_ebda.c rio_detail_ptr->first_slot_num = readb(io_mem + offset + 11); io_mem 423 drivers/pci/hotplug/ibmphp_ebda.c rio_detail_ptr->status = readb(io_mem + offset + 12); io_mem 424 drivers/pci/hotplug/ibmphp_ebda.c rio_detail_ptr->wpindex = readb(io_mem + offset + 13); io_mem 425 drivers/pci/hotplug/ibmphp_ebda.c rio_detail_ptr->chassis_num = readb(io_mem + offset + 14); io_mem 698 drivers/pci/hotplug/ibmphp_ebda.c ctlr_id = readb(io_mem + addr); io_mem 700 drivers/pci/hotplug/ibmphp_ebda.c slot_num = readb(io_mem + addr); io_mem 706 drivers/pci/hotplug/ibmphp_ebda.c bus_num = readb(io_mem + addr); io_mem 711 drivers/pci/hotplug/ibmphp_ebda.c temp = readb(io_mem + addr); io_mem 733 drivers/pci/hotplug/ibmphp_ebda.c slot_ptr->slot_num = readb(io_mem + addr_slot); io_mem 734 drivers/pci/hotplug/ibmphp_ebda.c slot_ptr->slot_bus_num = readb(io_mem + addr_slot + slot_num); io_mem 735 drivers/pci/hotplug/ibmphp_ebda.c slot_ptr->ctl_index = readb(io_mem + addr_slot + 2*slot_num); io_mem 736 drivers/pci/hotplug/ibmphp_ebda.c slot_ptr->slot_cap = readb(io_mem + addr_slot + 3*slot_num); io_mem 775 drivers/pci/hotplug/ibmphp_ebda.c bus_ptr->bus_num = readb(io_mem + addr_bus + bus); io_mem 776 drivers/pci/hotplug/ibmphp_ebda.c bus_ptr->slots_at_33_conv = readb(io_mem + addr_bus + bus_num + 8 * bus); io_mem 777 drivers/pci/hotplug/ibmphp_ebda.c bus_ptr->slots_at_66_conv = readb(io_mem + addr_bus + bus_num + 8 * bus + 1); io_mem 779 drivers/pci/hotplug/ibmphp_ebda.c bus_ptr->slots_at_66_pcix = readb(io_mem + addr_bus + bus_num + 8 * bus + 2); io_mem 781 drivers/pci/hotplug/ibmphp_ebda.c bus_ptr->slots_at_100_pcix = readb(io_mem + addr_bus + bus_num + 8 * bus + 3); io_mem 783 drivers/pci/hotplug/ibmphp_ebda.c bus_ptr->slots_at_133_pcix = readb(io_mem + addr_bus + bus_num + 8 * bus + 4); io_mem 800 drivers/pci/hotplug/ibmphp_ebda.c hpc_ptr->u.pci_ctlr.bus = readb(io_mem + addr); io_mem 801 drivers/pci/hotplug/ibmphp_ebda.c hpc_ptr->u.pci_ctlr.dev_fun = readb(io_mem + addr + 1); io_mem 802 drivers/pci/hotplug/ibmphp_ebda.c hpc_ptr->irq = readb(io_mem + addr + 2); io_mem 810 drivers/pci/hotplug/ibmphp_ebda.c hpc_ptr->u.isa_ctlr.io_start = readw(io_mem + addr); io_mem 811 drivers/pci/hotplug/ibmphp_ebda.c hpc_ptr->u.isa_ctlr.io_end = readw(io_mem + addr + 2); io_mem 818 drivers/pci/hotplug/ibmphp_ebda.c hpc_ptr->irq = readb(io_mem + addr + 4); io_mem 824 drivers/pci/hotplug/ibmphp_ebda.c hpc_ptr->u.wpeg_ctlr.wpegbbar = readl(io_mem + addr); io_mem 825 drivers/pci/hotplug/ibmphp_ebda.c hpc_ptr->u.wpeg_ctlr.i2c_addr = readb(io_mem + addr + 4); io_mem 826 drivers/pci/hotplug/ibmphp_ebda.c hpc_ptr->irq = readb(io_mem + addr + 5); io_mem 914 drivers/pci/hotplug/ibmphp_ebda.c iounmap(io_mem); io_mem 934 drivers/pci/hotplug/ibmphp_ebda.c type = readb(io_mem + addr); io_mem 942 drivers/pci/hotplug/ibmphp_ebda.c iounmap(io_mem); io_mem 947 drivers/pci/hotplug/ibmphp_ebda.c rsrc_ptr->bus_num = readb(io_mem + addr); io_mem 948 drivers/pci/hotplug/ibmphp_ebda.c rsrc_ptr->dev_fun = readb(io_mem + addr + 1); io_mem 949 drivers/pci/hotplug/ibmphp_ebda.c rsrc_ptr->start_addr = readw(io_mem + addr + 2); io_mem 950 drivers/pci/hotplug/ibmphp_ebda.c rsrc_ptr->end_addr = readw(io_mem + addr + 4); io_mem 963 drivers/pci/hotplug/ibmphp_ebda.c iounmap(io_mem); io_mem 968 drivers/pci/hotplug/ibmphp_ebda.c rsrc_ptr->bus_num = readb(io_mem + addr); io_mem 969 drivers/pci/hotplug/ibmphp_ebda.c rsrc_ptr->dev_fun = readb(io_mem + addr + 1); io_mem 970 drivers/pci/hotplug/ibmphp_ebda.c rsrc_ptr->start_addr = readl(io_mem + addr + 2); io_mem 971 drivers/pci/hotplug/ibmphp_ebda.c rsrc_ptr->end_addr = readl(io_mem + addr + 6); io_mem 57 drivers/scsi/pm8001/pm8001_chips.h return readl(pm8001_ha->io_mem[bar].memvirtaddr + offset); io_mem 63 drivers/scsi/pm8001/pm8001_chips.h writel(val, pm8001_ha->io_mem[bar].memvirtaddr + addr); io_mem 627 drivers/scsi/pm8001/pm8001_hwi.c pm8001_ha->io_mem[pcibar].memvirtaddr + offset; io_mem 1200 drivers/scsi/pm8001/pm8001_hwi.c if (pm8001_ha->io_mem[logical].memvirtaddr) { io_mem 1201 drivers/scsi/pm8001/pm8001_hwi.c iounmap(pm8001_ha->io_mem[logical].memvirtaddr); io_mem 416 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->io_mem[logicalBar].membase = io_mem 418 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->io_mem[logicalBar].memsize = io_mem 420 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->io_mem[logicalBar].memvirtaddr = io_mem 421 drivers/scsi/pm8001/pm8001_init.c ioremap(pm8001_ha->io_mem[logicalBar].membase, io_mem 422 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->io_mem[logicalBar].memsize); io_mem 428 drivers/scsi/pm8001/pm8001_init.c (u64)pm8001_ha->io_mem[logicalBar].membase, io_mem 430 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->io_mem[logicalBar].memvirtaddr, io_mem 431 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->io_mem[logicalBar].memsize)); io_mem 433 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->io_mem[logicalBar].membase = 0; io_mem 434 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->io_mem[logicalBar].memsize = 0; io_mem 435 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->io_mem[logicalBar].memvirtaddr = 0; io_mem 239 drivers/scsi/pm8001/pm8001_sas.c pm8001_ha->io_mem[2].memvirtaddr) io_mem 491 drivers/scsi/pm8001/pm8001_sas.h struct pm8001_hba_memspace io_mem[6]; io_mem 808 drivers/scsi/pm8001/pm80xx_hwi.c pm8001_ha->io_mem[pcibar].memvirtaddr + offset; io_mem 289 sound/soc/sof/debug.c memcpy_fromio(buf, dfse->io_mem + pos, size); io_mem 305 sound/soc/sof/debug.c memcpy_fromio(buf, dfse->io_mem + pos, size); io_mem 348 sound/soc/sof/debug.c dfse->io_mem = base; io_mem 257 sound/soc/sof/pm.c memcpy_fromio(dfse->cache_buf, dfse->io_mem, io_mem 251 sound/soc/sof/sof-priv.h void __iomem *io_mem;