/linux-2.6.39/drivers/ata/ |
D | pata_cs5520.c | 129 void __iomem *iomap[5]; in cs5520_init_one() local 179 iomap[0] = devm_ioport_map(&pdev->dev, cmd_port[0], 8); in cs5520_init_one() 180 iomap[1] = devm_ioport_map(&pdev->dev, ctl_port[0], 1); in cs5520_init_one() 181 iomap[2] = devm_ioport_map(&pdev->dev, cmd_port[1], 8); in cs5520_init_one() 182 iomap[3] = devm_ioport_map(&pdev->dev, ctl_port[1], 1); in cs5520_init_one() 183 iomap[4] = pcim_iomap(pdev, 2, 0); in cs5520_init_one() 185 if (!iomap[0] || !iomap[1] || !iomap[2] || !iomap[3] || !iomap[4]) in cs5520_init_one() 189 ioaddr->cmd_addr = iomap[0]; in cs5520_init_one() 190 ioaddr->ctl_addr = iomap[1]; in cs5520_init_one() 191 ioaddr->altstatus_addr = iomap[1]; in cs5520_init_one() [all …]
|
D | sata_uli.c | 153 void __iomem * const *iomap; in uli_init_one() local 185 iomap = host->iomap; in uli_init_one() 196 ioaddr->cmd_addr = iomap[0] + 8; in uli_init_one() 199 ((unsigned long)iomap[1] | ATA_PCI_CTL_OFS) + 4; in uli_init_one() 200 ioaddr->bmdma_addr = iomap[4] + 16; in uli_init_one() 211 ioaddr->cmd_addr = iomap[2] + 8; in uli_init_one() 214 ((unsigned long)iomap[3] | ATA_PCI_CTL_OFS) + 4; in uli_init_one() 215 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 | 270 void __iomem *mmio_base = ap->host->iomap[SIL_MMIO_BAR]; in sil_bmdma_stop() 296 void __iomem *mmio_base = ap->host->iomap[SIL_MMIO_BAR]; in sil_bmdma_start() 363 void __iomem *mmio_base = ap->host->iomap[SIL_MMIO_BAR]; in sil_set_mode() 524 void __iomem *mmio_base = host->iomap[SIL_MMIO_BAR]; in sil_interrupt() 553 void __iomem *mmio_base = ap->host->iomap[SIL_MMIO_BAR]; in sil_freeze() 581 void __iomem *mmio_base = ap->host->iomap[SIL_MMIO_BAR]; in sil_thaw() 665 void __iomem *mmio_base = host->iomap[SIL_MMIO_BAR]; in sil_init_controller() 774 host->iomap = pcim_iomap_table(pdev); in sil_init_one() 783 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() 378 host->iomap = pcim_iomap_table(pdev); in vsc_sata_init_one() 380 mmio_base = host->iomap[VSC_MMIO_BAR]; in vsc_sata_init_one()
|
D | pata_pdc2027x.c | 182 return ap->host->iomap[PDC_MMIO_BAR] + ap->port_no * 0x100 + offset; in port_mmio() 472 void __iomem *mmio_base = host->iomap[PDC_MMIO_BAR]; in pdc_read_counter() 513 void __iomem *mmio_base = host->iomap[PDC_MMIO_BAR]; in pdc_adjust_pll() 599 void __iomem *mmio_base = host->iomap[PDC_MMIO_BAR]; in pdc_detect_pll_input_clock() 726 host->iomap = pcim_iomap_table(pdev); in pdc2027x_init_one() 736 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() 664 void __iomem *ctrl_base = ap->host->iomap[SCC_CTRL_BAR]; in scc_bmdma_stop() 665 void __iomem *bmid_base = ap->host->iomap[SCC_BMID_BAR]; in scc_bmdma_stop() 976 void __iomem *ctrl_base = host->iomap[SCC_CTRL_BAR]; in scc_reset_controller() 977 void __iomem *bmid_base = host->iomap[SCC_BMID_BAR]; in scc_reset_controller() 1054 scc_setup_ports(&host->ports[0]->ioaddr, host->iomap[SCC_BMID_BAR]); in scc_host_init() 1098 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() 616 host->iomap = pcim_iomap_table(pdev); in qs_ata_init_one() 618 rc = qs_set_dma_masks(pdev, host->iomap[QS_MMIO_BAR]); in qs_ata_init_one() 625 void __iomem *chan = host->iomap[QS_MMIO_BAR] + offset; in qs_ata_init_one()
|
D | sata_promise.c | 728 void __iomem *host_mmio = host->iomap[PDC_MMIO_BAR]; in pdc_sata_freeze() 766 void __iomem *host_mmio = host->iomap[PDC_MMIO_BAR]; in pdc_sata_thaw() 793 void __iomem *host_mmio = ap->host->iomap[PDC_MMIO_BAR]; in pdc_ata_port_to_ata_no() 801 void __iomem *host_mmio = ap->host->iomap[PDC_MMIO_BAR]; in pdc_hard_reset_port() 943 if (!host || !host->iomap[PDC_MMIO_BAR]) { in pdc_interrupt() 948 host_mmio = host->iomap[PDC_MMIO_BAR]; in pdc_interrupt() 1019 void __iomem *host_mmio = ap->host->iomap[PDC_MMIO_BAR]; in pdc_packet_start() 1126 void __iomem *host_mmio = host->iomap[PDC_MMIO_BAR]; in pdc_host_init() 1223 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() 1152 void __iomem *host_base = host->iomap[SIL24_HOST_BAR]; in sil24_interrupt() 1232 void __iomem *host_base = host->iomap[SIL24_HOST_BAR]; in sil24_init_controller() 1277 void __iomem * const *iomap; in sil24_init_one() local 1299 iomap = pcim_iomap_table(pdev); in sil24_init_one() 1303 tmp = readl(iomap[SIL24_HOST_BAR] + HOST_CTRL); in sil24_init_one() 1317 host->iomap = iomap; in sil24_init_one() 1366 void __iomem *host_base = host->iomap[SIL24_HOST_BAR]; in sil24_pci_device_resume()
|
D | sata_nv.c | 926 u8 irq_stat = readb(host->iomap[NV_MMIO_BAR] + NV_INT_STATUS_CK804) in nv_adma_interrupt() 934 u8 irq_stat = readb(host->iomap[NV_MMIO_BAR] + NV_INT_STATUS_CK804) in nv_adma_interrupt() 1055 ap->host->iomap[NV_MMIO_BAR] + NV_INT_STATUS_CK804); in nv_adma_freeze() 1095 ap->host->iomap[NV_MMIO_BAR] + NV_INT_STATUS_CK804); in nv_adma_irq_clear() 1154 mmio = ap->host->iomap[NV_MMIO_BAR] + NV_ADMA_PORT + in nv_adma_port_start() 1157 pp->gen_block = ap->host->iomap[NV_MMIO_BAR] + NV_ADMA_GEN; in nv_adma_port_start() 1286 void __iomem *mmio = ap->host->iomap[NV_MMIO_BAR]; in nv_adma_setup_port() 1542 irq_stat = readb(host->iomap[NV_MMIO_BAR] + NV_INT_STATUS_CK804); in nv_ck804_interrupt() 1625 void __iomem *mmio_base = ap->host->iomap[NV_MMIO_BAR]; in nv_ck804_freeze() 1636 void __iomem *mmio_base = ap->host->iomap[NV_MMIO_BAR]; in nv_ck804_thaw() [all …]
|
D | pata_hpt3x3.c | 226 host->iomap = pcim_iomap_table(pdev); in hpt3x3_init_one() 234 base = host->iomap[4]; /* Bus mastering base */ in hpt3x3_init_one()
|
/linux-2.6.39/include/linux/ |
D | io-mapping.h | 53 struct io_mapping *iomap; in io_mapping_create_wc() local 56 iomap = kmalloc(sizeof(*iomap), GFP_KERNEL); in io_mapping_create_wc() 57 if (!iomap) in io_mapping_create_wc() 63 iomap->base = base; in io_mapping_create_wc() 64 iomap->size = size; in io_mapping_create_wc() 65 iomap->prot = prot; in io_mapping_create_wc() 66 return iomap; in io_mapping_create_wc() 69 kfree(iomap); in io_mapping_create_wc()
|
/linux-2.6.39/lib/ |
D | devres.c | 258 void __iomem * const *iomap; in pcim_iomap_regions() local 261 iomap = pcim_iomap_table(pdev); in pcim_iomap_regions() 262 if (!iomap) in pcim_iomap_regions() 293 pcim_iounmap(pdev, iomap[i]); in pcim_iomap_regions() 335 void __iomem * const *iomap; in pcim_iounmap_regions() local 338 iomap = pcim_iomap_table(pdev); in pcim_iounmap_regions() 339 if (!iomap) in pcim_iounmap_regions() 346 pcim_iounmap(pdev, iomap[i]); in pcim_iounmap_regions()
|
/linux-2.6.39/sound/oss/ |
D | sb_mixer.c | 240 mask = (1 << (*devc->iomap)[dev][chn].nbits) - 1; in change_bits() 243 shift = (*devc->iomap)[dev][chn].bitoffs - (*devc->iomap)[dev][LEFT_CHN].nbits + 1; in 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-2.6.39/drivers/dma/ioat/ |
D | pci.c | 113 void __iomem * const *iomap; in ioat_pci_probe() local 125 iomap = pcim_iomap_table(pdev); in ioat_pci_probe() 126 if (!iomap) in ioat_pci_probe() 141 device = alloc_ioatdma(pdev, iomap[IOAT_MMIO_BAR]); in ioat_pci_probe()
|
/linux-2.6.39/arch/mips/lib/ |
D | Makefile | 8 obj-y += iomap.o 9 obj-$(CONFIG_PCI) += iomap-pci.o
|
/linux-2.6.39/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-2.6.39/arch/microblaze/pci/ |
D | Makefile | 5 obj-$(CONFIG_PCI) += pci_32.o pci-common.o indirect_pci.o iomap.o
|
/linux-2.6.39/arch/parisc/lib/ |
D | Makefile | 7 obj-y := iomap.o
|
/linux-2.6.39/arch/mn10300/unit-asb2305/ |
D | Makefile | 8 obj-$(CONFIG_PCI) += pci.o pci-asb2305.o pci-irq.o pci-iomap.o
|
/linux-2.6.39/drivers/net/ |
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 = (void __force __iomem *)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()
|
/linux-2.6.39/arch/frv/mb93090-mb00/ |
D | Makefile | 6 obj-y := pci-frv.o pci-irq.o pci-vdk.o pci-iomap.o
|