Home
last modified time | relevance | path

Searched refs:PCI_IOBASE (Results 1 – 21 of 21) sorted by relevance

/openbmc/linux/arch/riscv/include/asm/
H A Dio.h30 #define PCI_IOBASE ((void __iomem *)PCI_IO_START) macro
104 #define insb(addr, buffer, count) __insb(PCI_IOBASE + (addr), buffer, count)
105 #define insw(addr, buffer, count) __insw(PCI_IOBASE + (addr), buffer, count)
106 #define insl(addr, buffer, count) __insl(PCI_IOBASE + (addr), buffer, count)
118 #define outsb(addr, buffer, count) __outsb(PCI_IOBASE + (addr), buffer, count)
119 #define outsw(addr, buffer, count) __outsw(PCI_IOBASE + (addr), buffer, count)
120 #define outsl(addr, buffer, count) __outsl(PCI_IOBASE + (addr), buffer, count)
127 #define insq(addr, buffer, count) __insq(PCI_IOBASE + (addr), buffer, count)
133 #define outsq(addr, buffer, count) __outsq(PCI_IOBASE + (addr), buffer, count)
/openbmc/linux/include/asm-generic/
H A Dio.h526 #ifndef PCI_IOBASE
527 #define PCI_IOBASE ((void __iomem *)0) macro
547 val = __raw_readb(PCI_IOBASE + addr); in _inb()
560 val = __le16_to_cpu((__le16 __force)__raw_readw(PCI_IOBASE + addr)); in _inw()
573 val = __le32_to_cpu((__le32 __force)__raw_readl(PCI_IOBASE + addr)); in _inl()
584 __raw_writeb(value, PCI_IOBASE + addr); in _outb()
594 __raw_writew((u16 __force)cpu_to_le16(value), PCI_IOBASE + addr); in _outw()
604 __raw_writel((u32 __force)cpu_to_le32(value), PCI_IOBASE + addr); in _outl()
692 readsb(PCI_IOBASE + addr, buffer, count); in insb()
700 readsw(PCI_IOBASE + addr, buffer, count); in insw()
[all …]
/openbmc/linux/arch/mips/include/asm/mach-loongson64/
H A Dspaces.h10 #define PCI_IOBASE _AC(0xc000000000000000 + SZ_128K, UL) macro
12 #define MAP_BASE (PCI_IOBASE + PCI_IOSIZE)
/openbmc/linux/lib/
H A Dlogic_pio.c231 #if defined(CONFIG_INDIRECT_PIO) && defined(PCI_IOBASE)
270 reads##bwl(PCI_IOBASE + addr, buffer, count); \
287 writes##bwl(PCI_IOBASE + addr, buffer, count); \
H A Dpci_iomap.c168 uintptr_t start = (uintptr_t) PCI_IOBASE; in pci_iounmap()
/openbmc/linux/arch/mips/include/asm/mach-ralink/
H A Dspaces.h5 #define PCI_IOBASE mips_io_port_base macro
/openbmc/linux/arch/mips/loongson64/
H A Dinit.c128 set_io_port_base(PCI_IOBASE); in prom_init()
178 vaddr = PCI_IOBASE + range->io_start; in add_legacy_isa_io()
/openbmc/linux/arch/arm/mach-s3c/
H A Dmap-base.h40 #define S3C24XX_VA_ISA_BYTE PCI_IOBASE
/openbmc/linux/arch/xtensa/include/asm/
H A Dio.h25 #define PCI_IOBASE ((void __iomem *)XCHAL_KIO_BYPASS_VADDR) macro
/openbmc/linux/arch/loongarch/include/asm/
H A Daddrspace.h123 #define PCI_IOBASE ((void __iomem *)(vm_map_base + (2 * PAGE_SIZE))) macro
/openbmc/linux/arch/microblaze/include/asm/
H A Dio.h30 #define PCI_IOBASE ((void __iomem *)_IO_BASE) macro
/openbmc/linux/arch/m68k/include/asm/
H A Dio_no.h130 #define PCI_IOBASE ((void __iomem *) PCI_IO_PA) macro
/openbmc/linux/arch/ia64/include/asm/
H A Dio.h267 #undef PCI_IOBASE
/openbmc/linux/arch/arm64/include/asm/
H A Dio.h125 #define PCI_IOBASE ((void __iomem *)PCI_IO_START) macro
/openbmc/linux/arch/x86/include/asm/
H A Dio.h328 #undef PCI_IOBASE
/openbmc/linux/drivers/pcmcia/
H A Dsoc_common.c786 iounmap(PCI_IOBASE + skt->res_io_io.start); in soc_pcmcia_remove_one()
876 iounmap(PCI_IOBASE + skt->res_io_io.start); in soc_pcmcia_add_one()
/openbmc/linux/arch/arm/include/asm/
H A Dio.h173 #define PCI_IOBASE ((void __iomem *)PCI_IO_VIRT_BASE) macro
/openbmc/linux/arch/arm/mm/
H A Dioremap.c486 unsigned long vaddr = (unsigned long)PCI_IOBASE + res->start; in pci_remap_iospace()
/openbmc/linux/arch/loongarch/kernel/
H A Dsetup.c510 /* Legacy ISA must placed at the start of PCI_IOBASE */ in add_legacy_isa_io()
517 vaddr = (unsigned long)(PCI_IOBASE + range->io_start); in add_legacy_isa_io()
/openbmc/linux/drivers/pci/
H A Dpci.c4238 #ifdef PCI_IOBASE in pci_register_io_range()
4267 #ifdef PCI_IOBASE in pci_pio_to_address()
4278 #ifdef PCI_IOBASE in pci_address_to_pio()
4301 #if defined(PCI_IOBASE) && defined(CONFIG_MMU) in pci_remap_iospace()
4302 unsigned long vaddr = (unsigned long)PCI_IOBASE + res->start; in pci_remap_iospace()
4334 #if defined(PCI_IOBASE) && defined(CONFIG_MMU) in pci_unmap_iospace()
4335 unsigned long vaddr = (unsigned long)PCI_IOBASE + res->start; in pci_unmap_iospace()
/openbmc/linux/drivers/acpi/
H A Dpci_root.c869 #ifdef PCI_IOBASE in acpi_pci_root_remap_iospace()