/linux-3.4.99/drivers/ata/ |
D | pata_cs5520.c | 129 void __iomem *iomap[5]; in cs5520_init_one() local 178 iomap[0] = devm_ioport_map(&pdev->dev, cmd_port[0], 8); in cs5520_init_one() 179 iomap[1] = devm_ioport_map(&pdev->dev, ctl_port[0], 1); in cs5520_init_one() 180 iomap[2] = devm_ioport_map(&pdev->dev, cmd_port[1], 8); in cs5520_init_one() 181 iomap[3] = devm_ioport_map(&pdev->dev, ctl_port[1], 1); in cs5520_init_one() 182 iomap[4] = pcim_iomap(pdev, 2, 0); in cs5520_init_one() 184 if (!iomap[0] || !iomap[1] || !iomap[2] || !iomap[3] || !iomap[4]) in cs5520_init_one() 188 ioaddr->cmd_addr = iomap[0]; in cs5520_init_one() 189 ioaddr->ctl_addr = iomap[1]; in cs5520_init_one() 190 ioaddr->altstatus_addr = iomap[1]; in cs5520_init_one() [all …]
|
D | sata_uli.c | 152 void __iomem * const *iomap; in uli_init_one() local 183 iomap = host->iomap; in uli_init_one() 194 ioaddr->cmd_addr = iomap[0] + 8; in uli_init_one() 197 ((unsigned long)iomap[1] | ATA_PCI_CTL_OFS) + 4; in uli_init_one() 198 ioaddr->bmdma_addr = iomap[4] + 16; in uli_init_one() 209 ioaddr->cmd_addr = iomap[2] + 8; in uli_init_one() 212 ((unsigned long)iomap[3] | ATA_PCI_CTL_OFS) + 4; in uli_init_one() 213 ioaddr->bmdma_addr = iomap[4] + 24; in uli_init_one()
|
D | sata_sx4.c | 461 void __iomem *mmio = ap->host->iomap[PDC_MMIO_BAR]; in pdc20621_dma_prep() 462 void __iomem *dimm_mmio = ap->host->iomap[PDC_DIMM_BAR]; in pdc20621_dma_prep() 521 void __iomem *mmio = ap->host->iomap[PDC_MMIO_BAR]; in pdc20621_nodata_prep() 522 void __iomem *dimm_mmio = ap->host->iomap[PDC_DIMM_BAR]; in pdc20621_nodata_prep() 572 void __iomem *mmio = host->iomap[PDC_MMIO_BAR]; in __pdc20621_push_hdma() 626 void __iomem *dimm_mmio = ap->host->iomap[PDC_DIMM_BAR]; in pdc20621_dump_hdma() 645 void __iomem *mmio = host->iomap[PDC_MMIO_BAR]; in pdc20621_packet_start() 803 if (!host || !host->iomap[PDC_MMIO_BAR]) { in pdc20621_interrupt() 808 mmio_base = host->iomap[PDC_MMIO_BAR]; in pdc20621_interrupt() 1007 void __iomem *mmio = host->iomap[PDC_MMIO_BAR]; in pdc20621_get_from_dimm() [all …]
|
D | sata_sil.c | 271 void __iomem *mmio_base = ap->host->iomap[SIL_MMIO_BAR]; in sil_bmdma_stop() 297 void __iomem *mmio_base = ap->host->iomap[SIL_MMIO_BAR]; in sil_bmdma_start() 364 void __iomem *mmio_base = ap->host->iomap[SIL_MMIO_BAR]; in sil_set_mode() 525 void __iomem *mmio_base = host->iomap[SIL_MMIO_BAR]; in sil_interrupt() 554 void __iomem *mmio_base = ap->host->iomap[SIL_MMIO_BAR]; in sil_freeze() 582 void __iomem *mmio_base = ap->host->iomap[SIL_MMIO_BAR]; in sil_thaw() 666 void __iomem *mmio_base = host->iomap[SIL_MMIO_BAR]; in sil_init_controller() 772 host->iomap = pcim_iomap_table(pdev); in sil_init_one() 781 mmio_base = host->iomap[SIL_MMIO_BAR]; in sil_init_one()
|
D | sata_via.c | 441 void __iomem * const * iomap = ap->host->iomap; in vt6421_init_addrs() local 442 void __iomem *reg_addr = iomap[ap->port_no]; in vt6421_init_addrs() 443 void __iomem *bmdma_addr = iomap[4] + (ap->port_no * 8); in vt6421_init_addrs() 451 ioaddr->scr_addr = vt6421_scr_addr(iomap[5], ap->port_no); in vt6421_init_addrs() 476 host->ports[0]->ioaddr.scr_addr = svia_scr_addr(host->iomap[5], 0); in vt6420_prepare_host() 477 host->ports[1]->ioaddr.scr_addr = svia_scr_addr(host->iomap[5], 1); in vt6420_prepare_host() 501 host->iomap = pcim_iomap_table(pdev); in vt6421_prepare_host()
|
D | pata_ninja32.c | 125 host->iomap = pcim_iomap_table(dev); in ninja32_init_one() 136 base = host->iomap[0]; in ninja32_init_one() 166 ninja32_program(host->iomap[0]); in ninja32_reinit_one()
|
D | sata_vsc.c | 125 mask_addr = ap->host->iomap[VSC_MMIO_BAR] + in vsc_freeze() 136 mask_addr = ap->host->iomap[VSC_MMIO_BAR] + in vsc_thaw() 148 mask_addr = ap->host->iomap[VSC_MMIO_BAR] + in vsc_intr_mask_update() 272 status = readl(host->iomap[VSC_MMIO_BAR] + VSC_SATA_INT_STAT_OFFSET); in vsc_sata_interrupt() 375 host->iomap = pcim_iomap_table(pdev); in vsc_sata_init_one() 377 mmio_base = host->iomap[VSC_MMIO_BAR]; in vsc_sata_init_one()
|
D | pata_pdc2027x.c | 187 return ap->host->iomap[PDC_MMIO_BAR] + ap->port_no * 0x100 + offset; in port_mmio() 477 void __iomem *mmio_base = host->iomap[PDC_MMIO_BAR]; in pdc_read_counter() 518 void __iomem *mmio_base = host->iomap[PDC_MMIO_BAR]; in pdc_adjust_pll() 604 void __iomem *mmio_base = host->iomap[PDC_MMIO_BAR]; in pdc_detect_pll_input_clock() 729 host->iomap = pcim_iomap_table(pdev); in pdc2027x_init_one() 739 mmio_base = host->iomap[PDC_MMIO_BAR]; in pdc2027x_init_one()
|
D | pata_scc.c | 189 void __iomem *ctrl_base = ap->host->iomap[SCC_CTRL_BAR]; in scc_set_piomode() 224 void __iomem *ctrl_base = ap->host->iomap[SCC_CTRL_BAR]; in scc_set_dmamode() 663 void __iomem *ctrl_base = ap->host->iomap[SCC_CTRL_BAR]; in scc_bmdma_stop() 664 void __iomem *bmid_base = ap->host->iomap[SCC_BMID_BAR]; in scc_bmdma_stop() 963 void __iomem *ctrl_base = host->iomap[SCC_CTRL_BAR]; in scc_reset_controller() 964 void __iomem *bmid_base = host->iomap[SCC_BMID_BAR]; in scc_reset_controller() 1041 scc_setup_ports(&host->ports[0]->ioaddr, host->iomap[SCC_BMID_BAR]); in scc_host_init() 1082 host->iomap = pcim_iomap_table(pdev); in scc_init_one()
|
D | sata_qstor.c | 180 return host->iomap[QS_MMIO_BAR]; in qs_mmio_base() 517 void __iomem *mmio_base = host->iomap[QS_MMIO_BAR]; in qs_host_init() 613 host->iomap = pcim_iomap_table(pdev); in qs_ata_init_one() 615 rc = qs_set_dma_masks(pdev, host->iomap[QS_MMIO_BAR]); in qs_ata_init_one() 622 void __iomem *chan = host->iomap[QS_MMIO_BAR] + offset; in qs_ata_init_one()
|
D | sata_promise.c | 732 void __iomem *host_mmio = host->iomap[PDC_MMIO_BAR]; in pdc_sata_freeze() 770 void __iomem *host_mmio = host->iomap[PDC_MMIO_BAR]; in pdc_sata_thaw() 797 void __iomem *host_mmio = ap->host->iomap[PDC_MMIO_BAR]; in pdc_ata_port_to_ata_no() 805 void __iomem *host_mmio = ap->host->iomap[PDC_MMIO_BAR]; in pdc_hard_reset_port() 948 if (!host || !host->iomap[PDC_MMIO_BAR]) { in pdc_interrupt() 953 host_mmio = host->iomap[PDC_MMIO_BAR]; in pdc_interrupt() 1024 void __iomem *host_mmio = ap->host->iomap[PDC_MMIO_BAR]; in pdc_packet_start() 1131 void __iomem *host_mmio = host->iomap[PDC_MMIO_BAR]; in pdc_host_init() 1232 host->iomap = pcim_iomap_table(pdev); in pdc_ata_init_one()
|
D | sata_sil24.c | 473 return ap->host->iomap[SIL24_PORT_BAR] + sil24_port_offset(ap); in sil24_port_base() 1151 void __iomem *host_base = host->iomap[SIL24_HOST_BAR]; in sil24_interrupt() 1231 void __iomem *host_base = host->iomap[SIL24_HOST_BAR]; in sil24_init_controller() 1275 void __iomem * const *iomap; in sil24_init_one() local 1296 iomap = pcim_iomap_table(pdev); in sil24_init_one() 1300 tmp = readl(iomap[SIL24_HOST_BAR] + HOST_CTRL); in sil24_init_one() 1313 host->iomap = iomap; in sil24_init_one() 1361 void __iomem *host_base = host->iomap[SIL24_HOST_BAR]; in sil24_pci_device_resume()
|
D | sata_nv.c | 925 u8 irq_stat = readb(host->iomap[NV_MMIO_BAR] + NV_INT_STATUS_CK804) in nv_adma_interrupt() 933 u8 irq_stat = readb(host->iomap[NV_MMIO_BAR] + NV_INT_STATUS_CK804) in nv_adma_interrupt() 1054 ap->host->iomap[NV_MMIO_BAR] + NV_INT_STATUS_CK804); in nv_adma_freeze() 1094 ap->host->iomap[NV_MMIO_BAR] + NV_INT_STATUS_CK804); in nv_adma_irq_clear() 1153 mmio = ap->host->iomap[NV_MMIO_BAR] + NV_ADMA_PORT + in nv_adma_port_start() 1156 pp->gen_block = ap->host->iomap[NV_MMIO_BAR] + NV_ADMA_GEN; in nv_adma_port_start() 1285 void __iomem *mmio = ap->host->iomap[NV_MMIO_BAR]; in nv_adma_setup_port() 1540 irq_stat = readb(host->iomap[NV_MMIO_BAR] + NV_INT_STATUS_CK804); in nv_ck804_interrupt() 1623 void __iomem *mmio_base = ap->host->iomap[NV_MMIO_BAR]; in nv_ck804_freeze() 1634 void __iomem *mmio_base = ap->host->iomap[NV_MMIO_BAR]; in nv_ck804_thaw() [all …]
|
D | pata_hpt3x3.c | 224 host->iomap = pcim_iomap_table(pdev); in hpt3x3_init_one() 232 base = host->iomap[4]; /* Bus mastering base */ in hpt3x3_init_one()
|
D | pata_atp867x.c | 84 #define ATP867X_IOBASE(ap) ((ap)->host->iomap[0]) 433 host->iomap = pcim_iomap_table(pdev); in atp867x_ata_pci_sff_init_host() 440 (unsigned long long)(host->iomap[i])); in atp867x_ata_pci_sff_init_host()
|
D | pdc_adma.c | 58 ADMA_REGS((ap)->host->iomap[ADMA_MMIO_BAR], ap->port_no) 586 writeb(7, host->iomap[ADMA_MMIO_BAR] + ADMA_MODE_LOCK); in adma_host_init() 637 host->iomap = pcim_iomap_table(pdev); in adma_ata_init_one() 638 mmio_base = host->iomap[ADMA_MMIO_BAR]; in adma_ata_init_one()
|
/linux-3.4.99/include/linux/ |
D | io-mapping.h | 54 struct io_mapping *iomap; in io_mapping_create_wc() local 57 iomap = kmalloc(sizeof(*iomap), GFP_KERNEL); in io_mapping_create_wc() 58 if (!iomap) in io_mapping_create_wc() 64 iomap->base = base; in io_mapping_create_wc() 65 iomap->size = size; in io_mapping_create_wc() 66 iomap->prot = prot; in io_mapping_create_wc() 67 return iomap; in io_mapping_create_wc() 70 kfree(iomap); in io_mapping_create_wc()
|
/linux-3.4.99/lib/ |
D | devres.c | 309 void __iomem * const *iomap; in pcim_iomap_regions() local 312 iomap = pcim_iomap_table(pdev); in pcim_iomap_regions() 313 if (!iomap) in pcim_iomap_regions() 344 pcim_iounmap(pdev, iomap[i]); in pcim_iomap_regions() 386 void __iomem * const *iomap; in pcim_iounmap_regions() local 389 iomap = pcim_iomap_table(pdev); in pcim_iounmap_regions() 390 if (!iomap) in pcim_iounmap_regions() 397 pcim_iounmap(pdev, iomap[i]); in pcim_iounmap_regions()
|
/linux-3.4.99/sound/oss/ |
D | sb_mixer.c | 240 mask = (1 << (*devc->iomap)[dev][chn].nbits) - 1; in oss_change_bits() 243 shift = (*devc->iomap)[dev][chn].bitoffs - (*devc->iomap)[dev][LEFT_CHN].nbits + 1; in oss_change_bits() 281 regoffs = (*devc->iomap)[dev][LEFT_CHN].regno; in sb_common_mixer_set() 289 if ((*devc->iomap)[dev][RIGHT_CHN].regno != regoffs) /* in sb_common_mixer_set() 296 regoffs = (*devc->iomap)[dev][RIGHT_CHN].regno; in sb_common_mixer_set() 695 devc->iomap = &sbpro_mix; in sb_mixer_init() 707 devc->iomap = &sbpro_mix; in sb_mixer_init() 719 devc->iomap = &sb16_mix; in sb_mixer_init() 725 devc->iomap = &als007_mix; in sb_mixer_init()
|
/linux-3.4.99/drivers/dma/ioat/ |
D | pci.c | 124 void __iomem * const *iomap; in ioat_pci_probe() local 136 iomap = pcim_iomap_table(pdev); in ioat_pci_probe() 137 if (!iomap) in ioat_pci_probe() 152 device = alloc_ioatdma(pdev, iomap[IOAT_MMIO_BAR]); in ioat_pci_probe()
|
/linux-3.4.99/arch/mips/lib/ |
D | Makefile | 8 obj-y += iomap.o 9 obj-$(CONFIG_PCI) += iomap-pci.o
|
/linux-3.4.99/drivers/pcmcia/ |
D | pcmcia_resource.c | 490 pccard_io_map iomap; in pcmcia_enable_device() local 593 iomap.speed = io_speed; in pcmcia_enable_device() 596 iomap.map = i; in pcmcia_enable_device() 597 iomap.flags = MAP_ACTIVE; in pcmcia_enable_device() 600 iomap.flags |= MAP_16BIT; break; in pcmcia_enable_device() 602 iomap.flags |= MAP_AUTOSZ; break; in pcmcia_enable_device() 606 iomap.start = s->io[i].res->start; in pcmcia_enable_device() 607 iomap.stop = s->io[i].res->end; in pcmcia_enable_device() 608 s->ops->set_io_map(s, &iomap); in pcmcia_enable_device()
|
/linux-3.4.99/arch/microblaze/pci/ |
D | Makefile | 5 obj-$(CONFIG_PCI) += pci-common.o indirect_pci.o iomap.o
|
/linux-3.4.99/arch/parisc/lib/ |
D | Makefile | 7 obj-y := iomap.o
|
/linux-3.4.99/drivers/net/ethernet/ti/ |
D | davinci_cpdma.c | 80 void __iomem *iomap; /* ioremap map */ member 165 pool->iomap = ioremap(phys, size); in cpdma_desc_pool_create() 170 pool->iomap = pool->cpumap; in cpdma_desc_pool_create() 174 if (pool->iomap) in cpdma_desc_pool_create() 197 iounmap(pool->iomap); in cpdma_desc_pool_destroy() 209 (__force dma_addr_t)pool->iomap; in desc_phys() 215 return dma ? pool->iomap + dma - pool->hw_addr : NULL; in desc_from_phys() 231 desc = pool->iomap + pool->desc_size * index; in cpdma_desc_alloc() 244 index = ((unsigned long)desc - (unsigned long)pool->iomap) / in cpdma_desc_free()
|