Home
last modified time | relevance | path

Searched refs:io_map_base (Results 1 – 25 of 29) sorted by relevance

12

/openbmc/linux/arch/mips/lib/
H A Diomap-pci.c20 unsigned long base = ctrl->io_map_base; in __pci_ioport_map()
23 if (unlikely(!ctrl->io_map_base)) { in __pci_ioport_map()
30 ctrl->io_map_base = base = mips_io_port_base; in __pci_ioport_map()
43 return (void __iomem *) (ctrl->io_map_base + port); in __pci_ioport_map()
/openbmc/linux/arch/mips/pci/
H A Dpci-sb1250.c198 void __iomem *io_map_base; in sb1250_pcibios_init() local
244 io_map_base = ioremap(A_PHYS_LDTPCI_IO_MATCH_BYTES, 1024 * 1024); in sb1250_pcibios_init()
245 sb1250_controller.io_map_base = (unsigned long)io_map_base; in sb1250_pcibios_init()
246 set_io_port_base((unsigned long)io_map_base); in sb1250_pcibios_init()
H A Dpci-rc32434.c207 void __iomem *io_map_base; in rc32434_pci_init() local
216 io_map_base = ioremap(rc32434_res_pci_io1.start, in rc32434_pci_init()
219 if (!io_map_base) in rc32434_pci_init()
222 rc32434_controller.io_map_base = in rc32434_pci_init()
223 (unsigned long)io_map_base - rc32434_res_pci_io1.start; in rc32434_pci_init()
H A Dpci-rt2880.c192 void __iomem *io_map_base; in rt288x_pci_probe() local
196 io_map_base = ioremap(RT2880_PCI_IO_BASE, RT2880_PCI_IO_SIZE); in rt288x_pci_probe()
197 rt2880_pci_controller.io_map_base = (unsigned long) io_map_base; in rt288x_pci_probe()
198 set_io_port_base((unsigned long) io_map_base); in rt288x_pci_probe()
H A Dpci-bcm1480.c240 bcm1480_controller.io_map_base = (unsigned long) in bcm1480_pcibios_init()
242 bcm1480_controller.io_map_base -= bcm1480_controller.io_offset; in bcm1480_pcibios_init()
243 set_io_port_base(bcm1480_controller.io_map_base); in bcm1480_pcibios_init()
H A Dpci-bcm1480ht.c194 bcm1480ht_controller.io_map_base = (unsigned long) in bcm1480ht_pcibios_init()
196 bcm1480ht_controller.io_map_base -= bcm1480ht_controller.io_offset; in bcm1480ht_pcibios_init()
H A Dpci-legacy.c152 hose->io_map_base = in pci_load_of_ranges()
207 if (!hose->io_map_base) { in register_pci_controller()
H A Dpci-ip32.c121 .io_map_base = CKSEG1ADDR(MACEPCI_LOW_IO),
H A Dpci-alchemy.c429 ctx->alchemy_pci_ctrl.io_map_base = (unsigned long)virt_io; in alchemy_pci_probe()
469 set_io_port_base((unsigned long)ctx->alchemy_pci_ctrl.io_map_base); in alchemy_pci_probe()
H A Dpci-malta.c239 controller->io_map_base = mips_io_port_base; in mips_pcibios_init()
H A Dpci-mt7620.c218 .io_map_base = 0xa0000000,
/openbmc/linux/arch/sh/drivers/pci/
H A Dpci.c121 if (!hose->io_map_base) { in register_pci_controller()
278 if (unlikely(!chan->io_map_base)) { in __pci_ioport_map()
279 chan->io_map_base = sh_io_port_base; in __pci_ioport_map()
286 return (void __iomem *)(chan->io_map_base + port); in __pci_ioport_map()
H A Dpci-sh7751.c65 .io_map_base = SH7751_PCI_IO_BASE,
H A Dpci-sh7780.c61 .io_map_base = 0xfe200000,
/openbmc/linux/drivers/bcma/
H A Ddriver_pci_host.c393 unsigned long io_map_base; in bcma_core_pci_hostmode_init() local
518 io_map_base = (unsigned long)ioremap(pc_host->mem_resource.start, in bcma_core_pci_hostmode_init()
520 pc_host->pci_controller.io_map_base = io_map_base; in bcma_core_pci_hostmode_init()
521 set_io_port_base(pc_host->pci_controller.io_map_base); in bcma_core_pci_hostmode_init()
/openbmc/linux/arch/mips/cobalt/
H A Dpci.c38 .io_map_base = CKSEG1ADDR(GT_DEF_PCI0_IO_BASE),
/openbmc/linux/arch/mips/loongson2ef/common/
H A Dpci.c80 loongson_pci_controller.io_map_base = mips_io_port_base; in pcibios_init()
/openbmc/linux/arch/mips/include/asm/
H A Dpci.h40 unsigned long io_map_base; member
/openbmc/linux/arch/sh/include/asm/
H A Dpci.h28 unsigned long io_map_base; member
/openbmc/linux/arch/mips/txx9/generic/
H A Dpci.c200 pcic->io_map_base = IO_BASE + pcic->mem_resource[1].start; in txx9_alloc_pci_controller()
206 pcic->io_map_base = mips_io_port_base; in txx9_alloc_pci_controller()
/openbmc/linux/arch/arm64/kvm/
H A Dmmu.c32 static unsigned long __ro_after_init io_map_base; variable
615 if ((base ^ io_map_base) & BIT(VA_BITS - 1)) in __hyp_alloc_private_va_range()
618 io_map_base = base; in __hyp_alloc_private_va_range()
650 base = io_map_base - size; in hyp_alloc_private_va_range()
703 base = ALIGN_DOWN(io_map_base - size, size); in create_hyp_stack()
1952 io_map_base = hyp_idmap_start; in kvm_mmu_init()
/openbmc/linux/arch/mips/sni/
H A Dpcit.c157 .io_map_base = SNI_PORT_BASE
H A Dpcimt.c195 .io_map_base = SNI_PORT_BASE
/openbmc/linux/drivers/ssb/
H A Ddriver_pcicore.c388 ssb_pcicore_controller.io_map_base = (unsigned long)ioremap(SSB_PCI_MEM, 0x04000000); in ssb_pcicore_init_hostmode()
389 set_io_port_base(ssb_pcicore_controller.io_map_base); in ssb_pcicore_init_hostmode()
H A Ddriver_gige.c185 dev->pci_controller.io_map_base = 0x800; in ssb_gige_probe()

12