/drivers/ata/ |
D | pata_cs5520.c | 121 void __iomem *iomap[5]; in cs5520_init_one() local 166 iomap[0] = devm_ioport_map(&pdev->dev, cmd_port[0], 8); in cs5520_init_one() 167 iomap[1] = devm_ioport_map(&pdev->dev, ctl_port[0], 1); in cs5520_init_one() 168 iomap[2] = devm_ioport_map(&pdev->dev, cmd_port[1], 8); in cs5520_init_one() 169 iomap[3] = devm_ioport_map(&pdev->dev, ctl_port[1], 1); in cs5520_init_one() 170 iomap[4] = pcim_iomap(pdev, 2, 0); in cs5520_init_one() 172 if (!iomap[0] || !iomap[1] || !iomap[2] || !iomap[3] || !iomap[4]) in cs5520_init_one() 176 ioaddr->cmd_addr = iomap[0]; in cs5520_init_one() 177 ioaddr->ctl_addr = iomap[1]; in cs5520_init_one() 178 ioaddr->altstatus_addr = iomap[1]; in cs5520_init_one() [all …]
|
D | sata_uli.c | 135 void __iomem * const *iomap; in uli_init_one() local 166 iomap = host->iomap; in uli_init_one() 177 ioaddr->cmd_addr = iomap[0] + 8; in uli_init_one() 180 ((unsigned long)iomap[1] | ATA_PCI_CTL_OFS) + 4; in uli_init_one() 181 ioaddr->bmdma_addr = iomap[4] + 16; in uli_init_one() 192 ioaddr->cmd_addr = iomap[2] + 8; in uli_init_one() 195 ((unsigned long)iomap[3] | ATA_PCI_CTL_OFS) + 4; in uli_init_one() 196 ioaddr->bmdma_addr = iomap[4] + 24; in uli_init_one()
|
D | sata_sx4.c | 420 void __iomem *mmio = ap->host->iomap[PDC_MMIO_BAR]; in pdc20621_dma_prep() 421 void __iomem *dimm_mmio = ap->host->iomap[PDC_DIMM_BAR]; in pdc20621_dma_prep() 479 void __iomem *mmio = ap->host->iomap[PDC_MMIO_BAR]; in pdc20621_nodata_prep() 480 void __iomem *dimm_mmio = ap->host->iomap[PDC_DIMM_BAR]; in pdc20621_nodata_prep() 530 void __iomem *mmio = host->iomap[PDC_MMIO_BAR]; in __pdc20621_push_hdma() 583 void __iomem *dimm_mmio = ap->host->iomap[PDC_DIMM_BAR]; in pdc20621_dump_hdma() 598 void __iomem *mmio = host->iomap[PDC_MMIO_BAR]; in pdc20621_packet_start() 750 if (!host || !host->iomap[PDC_MMIO_BAR]) in pdc20621_interrupt() 753 mmio_base = host->iomap[PDC_MMIO_BAR]; in pdc20621_interrupt() 944 void __iomem *mmio = host->iomap[PDC_MMIO_BAR]; in pdc20621_get_from_dimm() [all …]
|
D | sata_sil.c | 254 void __iomem *mmio_base = ap->host->iomap[SIL_MMIO_BAR]; in sil_bmdma_stop() 280 void __iomem *mmio_base = ap->host->iomap[SIL_MMIO_BAR]; in sil_bmdma_start() 348 void __iomem *mmio_base = ap->host->iomap[SIL_MMIO_BAR]; in sil_set_mode() 509 void __iomem *mmio_base = host->iomap[SIL_MMIO_BAR]; in sil_interrupt() 538 void __iomem *mmio_base = ap->host->iomap[SIL_MMIO_BAR]; in sil_freeze() 566 void __iomem *mmio_base = ap->host->iomap[SIL_MMIO_BAR]; in sil_thaw() 653 void __iomem *mmio_base = host->iomap[SIL_MMIO_BAR]; in sil_init_controller() 759 host->iomap = pcim_iomap_table(pdev); in sil_init_one() 765 mmio_base = host->iomap[SIL_MMIO_BAR]; in sil_init_one()
|
D | sata_vsc.c | 108 mask_addr = ap->host->iomap[VSC_MMIO_BAR] + in vsc_freeze() 119 mask_addr = ap->host->iomap[VSC_MMIO_BAR] + in vsc_thaw() 131 mask_addr = ap->host->iomap[VSC_MMIO_BAR] + in vsc_intr_mask_update() 255 status = readl(host->iomap[VSC_MMIO_BAR] + VSC_SATA_INT_STAT_OFFSET); in vsc_sata_interrupt() 357 host->iomap = pcim_iomap_table(pdev); in vsc_sata_init_one() 359 mmio_base = host->iomap[VSC_MMIO_BAR]; in vsc_sata_init_one()
|
D | sata_via.c | 438 void __iomem * const * iomap = ap->host->iomap; in vt6421_init_addrs() local 439 void __iomem *reg_addr = iomap[ap->port_no]; in vt6421_init_addrs() 440 void __iomem *bmdma_addr = iomap[4] + (ap->port_no * 8); in vt6421_init_addrs() 448 ioaddr->scr_addr = vt6421_scr_addr(iomap[5], ap->port_no); in vt6421_init_addrs() 478 host->ports[0]->ioaddr.scr_addr = svia_scr_addr(host->iomap[5], 0); in vt6420_prepare_host() 479 host->ports[1]->ioaddr.scr_addr = svia_scr_addr(host->iomap[5], 1); in vt6420_prepare_host() 503 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() 133 base = host->iomap[0]; in ninja32_init_one() 162 ninja32_program(host->iomap[0]); in ninja32_reinit_one()
|
D | pata_pdc2027x.c | 176 return ap->host->iomap[PDC_MMIO_BAR] + ap->port_no * 0x100 + offset; in port_mmio() 461 void __iomem *mmio_base = host->iomap[PDC_MMIO_BAR]; in pdc_read_counter() 502 void __iomem *mmio_base = host->iomap[PDC_MMIO_BAR]; in pdc_adjust_pll() 585 void __iomem *mmio_base = host->iomap[PDC_MMIO_BAR]; in pdc_detect_pll_input_clock() 708 host->iomap = pcim_iomap_table(pdev); in pdc2027x_init_one() 714 mmio_base = host->iomap[PDC_MMIO_BAR]; in pdc2027x_init_one()
|
D | sata_nv.c | 896 u8 irq_stat = readb(host->iomap[NV_MMIO_BAR] + NV_INT_STATUS_CK804) in nv_adma_interrupt() 904 u8 irq_stat = readb(host->iomap[NV_MMIO_BAR] + NV_INT_STATUS_CK804) in nv_adma_interrupt() 1025 ap->host->iomap[NV_MMIO_BAR] + NV_INT_STATUS_CK804); in nv_adma_freeze() 1065 ap->host->iomap[NV_MMIO_BAR] + NV_INT_STATUS_CK804); in nv_adma_irq_clear() 1121 mmio = ap->host->iomap[NV_MMIO_BAR] + NV_ADMA_PORT + in nv_adma_port_start() 1124 pp->gen_block = ap->host->iomap[NV_MMIO_BAR] + NV_ADMA_GEN; in nv_adma_port_start() 1250 void __iomem *mmio = ap->host->iomap[NV_MMIO_BAR]; in nv_adma_setup_port() 1494 irq_stat = readb(host->iomap[NV_MMIO_BAR] + NV_INT_STATUS_CK804); in nv_ck804_interrupt() 1577 void __iomem *mmio_base = ap->host->iomap[NV_MMIO_BAR]; in nv_ck804_freeze() 1588 void __iomem *mmio_base = ap->host->iomap[NV_MMIO_BAR]; in nv_ck804_thaw() [all …]
|
D | sata_sil24.c | 469 return ap->host->iomap[SIL24_PORT_BAR] + sil24_port_offset(ap); in sil24_port_base() 1142 void __iomem *host_base = host->iomap[SIL24_HOST_BAR]; in sil24_interrupt() 1221 void __iomem *host_base = host->iomap[SIL24_HOST_BAR]; in sil24_init_controller() 1265 void __iomem * const *iomap; in sil24_init_one() local 1286 iomap = pcim_iomap_table(pdev); in sil24_init_one() 1290 tmp = readl(iomap[SIL24_HOST_BAR] + HOST_CTRL); in sil24_init_one() 1303 host->iomap = iomap; in sil24_init_one() 1333 void __iomem *host_base = host->iomap[SIL24_HOST_BAR]; in sil24_pci_device_resume()
|
D | sata_qstor.c | 163 return host->iomap[QS_MMIO_BAR]; in qs_mmio_base() 490 void __iomem *mmio_base = host->iomap[QS_MMIO_BAR]; in qs_host_init() 566 host->iomap = pcim_iomap_table(pdev); in qs_ata_init_one() 568 rc = qs_set_dma_masks(pdev, host->iomap[QS_MMIO_BAR]); in qs_ata_init_one() 575 void __iomem *chan = host->iomap[QS_MMIO_BAR] + offset; in qs_ata_init_one()
|
D | sata_promise.c | 709 void __iomem *host_mmio = host->iomap[PDC_MMIO_BAR]; in pdc_sata_freeze() 747 void __iomem *host_mmio = host->iomap[PDC_MMIO_BAR]; in pdc_sata_thaw() 774 void __iomem *host_mmio = ap->host->iomap[PDC_MMIO_BAR]; in pdc_ata_port_to_ata_no() 782 void __iomem *host_mmio = ap->host->iomap[PDC_MMIO_BAR]; in pdc_hard_reset_port() 923 if (!host || !host->iomap[PDC_MMIO_BAR]) in pdc_interrupt() 926 host_mmio = host->iomap[PDC_MMIO_BAR]; in pdc_interrupt() 990 void __iomem *host_mmio = ap->host->iomap[PDC_MMIO_BAR]; in pdc_packet_start() 1095 void __iomem *host_mmio = host->iomap[PDC_MMIO_BAR]; in pdc_host_init() 1196 host->iomap = pcim_iomap_table(pdev); in pdc_ata_init_one()
|
D | pdc_adma.c | 41 ADMA_REGS((ap)->host->iomap[ADMA_MMIO_BAR], ap->port_no) 540 writeb(7, host->iomap[ADMA_MMIO_BAR] + ADMA_MODE_LOCK); in adma_host_init() 574 host->iomap = pcim_iomap_table(pdev); in adma_ata_init_one() 575 mmio_base = host->iomap[ADMA_MMIO_BAR]; in adma_ata_init_one()
|
D | pata_hpt3x3.c | 223 host->iomap = pcim_iomap_table(pdev); in hpt3x3_init_one() 228 base = host->iomap[4]; /* Bus mastering base */ in hpt3x3_init_one()
|
D | pata_atp867x.c | 69 #define ATP867X_IOBASE(ap) ((ap)->host->iomap[0]) 418 host->iomap = pcim_iomap_table(pdev); in atp867x_ata_pci_sff_init_host() 424 host->iomap[i]); in atp867x_ata_pci_sff_init_host()
|
D | sata_inic162x.c | 822 void __iomem * const *iomap; in inic_init_one() local 853 host->iomap = iomap = pcim_iomap_table(pdev); in inic_init_one() 854 hpriv->mmio_base = iomap[mmio_bar]; in inic_init_one()
|
/drivers/gpu/drm/i915/ |
D | i915_mm.h | 19 struct io_mapping *iomap); 24 struct io_mapping *iomap) in remap_io_mapping() argument
|
D | i915_mm.c | 96 struct io_mapping *iomap) in remap_io_mapping() argument 106 r.prot = __pgprot((pgprot_val(iomap->prot) & _PAGE_CACHE_MASK) | in remap_io_mapping()
|
D | i915_vma.c | 557 ptr = READ_ONCE(vma->iomap); in i915_vma_pin_iomap() 569 ptr = io_mapping_map_wc(&i915_vm_to_ggtt(vma->vm)->iomap, in i915_vma_pin_iomap() 587 if (unlikely(cmpxchg(&vma->iomap, NULL, ptr))) { in i915_vma_pin_iomap() 592 ptr = vma->iomap; in i915_vma_pin_iomap() 621 GEM_BUG_ON(vma->iomap == NULL); in i915_vma_unpin_iomap() 1787 if (vma->iomap == NULL) in __i915_vma_iounmap() 1790 if (page_unmask_bits(vma->iomap)) in __i915_vma_iounmap() 1793 io_mapping_unmap(vma->iomap); in __i915_vma_iounmap() 1794 vma->iomap = NULL; in __i915_vma_iounmap()
|
/drivers/pcmcia/ |
D | pcmcia_resource.c | 483 pccard_io_map iomap; in pcmcia_enable_device() local 585 iomap.speed = io_speed; in pcmcia_enable_device() 588 iomap.map = i; in pcmcia_enable_device() 589 iomap.flags = MAP_ACTIVE; in pcmcia_enable_device() 592 iomap.flags |= MAP_16BIT; break; in pcmcia_enable_device() 594 iomap.flags |= MAP_AUTOSZ; break; in pcmcia_enable_device() 598 iomap.start = s->io[i].res->start; in pcmcia_enable_device() 599 iomap.stop = s->io[i].res->end; in pcmcia_enable_device() 600 s->ops->set_io_map(s, &iomap); in pcmcia_enable_device()
|
/drivers/gpu/drm/i915/gt/ |
D | intel_region_lmem.c | 125 io_mapping_fini(&mem->iomap); in region_lmem_release() 135 if (!io_mapping_init_wc(&mem->iomap, in region_lmem_init() 147 io_mapping_fini(&mem->iomap); in region_lmem_init()
|
/drivers/gpu/drm/i915/gem/ |
D | i915_gem_mman.c | 255 resource_size_t iomap; in vm_fault_cpu() local 270 iomap = -1; in vm_fault_cpu() 272 iomap = obj->mm.region->iomap.base; in vm_fault_cpu() 273 iomap -= obj->mm.region->region.start; in vm_fault_cpu() 279 obj->mm.pages->sgl, iomap); in vm_fault_cpu() 401 &ggtt->iomap); in vm_fault_gtt()
|
/drivers/net/ethernet/microchip/sparx5/ |
D | sparx5_main.c | 223 const struct sparx5_main_io_resource *iomap = &sparx5_main_iomap[jdx]; in sparx5_create_targets() local 225 if (idx == iomap->range) { in sparx5_create_targets() 248 const struct sparx5_main_io_resource *iomap = &sparx5_main_iomap[jdx]; in sparx5_create_targets() local 250 sparx5->regs[iomap->id] = begin[iomap->range] + iomap->offset; in sparx5_create_targets()
|
/drivers/gpu/drm/ttm/ |
D | ttm_resource.c | 567 addr = io_mapping_map_local_wc(iter_io->iomap, iter_io->cache.offs + in ttm_kmap_iter_iomap_map_local() 598 struct io_mapping *iomap, in ttm_kmap_iter_iomap_init() argument 603 iter_io->iomap = iomap; in ttm_kmap_iter_iomap_init()
|
/drivers/nvdimm/ |
D | Makefile | 33 obj-$(CONFIG_NVDIMM_TEST_BUILD) += $(TEST_SRC)/iomap.o
|