Home
last modified time | relevance | path

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

/linux/arch/riscv/include/asm/
H A Dio.h30 #define PCI_IOBASE ((void __iomem *)PCI_IO_START) macro
108 #define insb(addr, buffer, count) __insb(PCI_IOBASE + (addr), buffer, count)
109 #define insw(addr, buffer, count) __insw(PCI_IOBASE + (addr), buffer, count)
110 #define insl(addr, buffer, count) __insl(PCI_IOBASE + (addr), buffer, count)
122 #define outsb(addr, buffer, count) __outsb(PCI_IOBASE + (addr), buffer, count)
123 #define outsw(addr, buffer, count) __outsw(PCI_IOBASE + (addr), buffer, count)
124 #define outsl(addr, buffer, count) __outsl(PCI_IOBASE + (addr), buffer, count)
131 #define insq(addr, buffer, count) __insq(PCI_IOBASE + (addr), buffer, count)
137 #define outsq(addr, buffer, count) __outsq(PCI_IOBASE + (addr), buffer, count)
/linux/include/asm-generic/
H A Dio.h561 #ifndef PCI_IOBASE
562 #define PCI_IOBASE ((void __iomem *)0) macro
583 val = __raw_readb(PCI_IOBASE + addr); in _inb()
601 val = __le16_to_cpu((__le16 __force)__raw_readw(PCI_IOBASE + addr)); in _inw()
619 val = __le32_to_cpu((__le32 __force)__raw_readl(PCI_IOBASE + addr)); in _inl()
635 __raw_writeb(value, PCI_IOBASE + addr); in _outb()
650 __raw_writew((u16 __force)cpu_to_le16(value), PCI_IOBASE + addr); in _outw()
665 __raw_writel((u32 __force)cpu_to_le32(value), PCI_IOBASE + addr); in _outl()
758 readsb(PCI_IOBASE + addr, buffer, count); in insb()
771 readsw(PCI_IOBASE + addr, buffer, count); in insw()
[all …]
/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); \
/linux/arch/mips/loongson64/
H A Dinit.c131 set_io_port_base((unsigned long)PCI_IOBASE); in prom_init()
181 vaddr = (unsigned long)PCI_IOBASE + range->io_start; in add_legacy_isa_io()
/linux/arch/mips/include/asm/mach-ralink/
H A Dspaces.h5 #define PCI_IOBASE (void __iomem *)mips_io_port_base macro
/linux/arch/mips/include/asm/mach-loongson64/
H A Dspaces.h11 #define PCI_IOBASE (void __iomem *)PCI_PORT_BASE macro
/linux/arch/arm/mach-s3c/
H A Dmap-base.h40 #define S3C24XX_VA_ISA_BYTE PCI_IOBASE
/linux/arch/xtensa/include/asm/
H A Dio.h25 #define PCI_IOBASE ((void __iomem *)XCHAL_KIO_BYPASS_VADDR) macro
/linux/arch/microblaze/include/asm/
H A Dio.h30 #define PCI_IOBASE ((void __iomem *)_IO_BASE) macro
/linux/arch/loongarch/include/asm/
H A Daddrspace.h141 #define PCI_IOBASE ((void __iomem *)(vm_map_base + (2 * PAGE_SIZE))) macro
/linux/arch/m68k/include/asm/
H A Dio_no.h126 #define PCI_IOBASE ((void __iomem *) PCI_IO_PA) macro
/linux/drivers/pci/
H A Diomap.c180 uintptr_t start = (uintptr_t) PCI_IOBASE; in pci_iounmap()
H A Dpci.c3976 #ifdef PCI_IOBASE in pci_register_io_range()
4005 #ifdef PCI_IOBASE in pci_pio_to_address()
4016 #ifdef PCI_IOBASE in pci_address_to_pio()
4039 #if defined(PCI_IOBASE) in pci_remap_iospace()
4040 unsigned long vaddr = (unsigned long)PCI_IOBASE + res->start; in pci_remap_iospace()
4072 #if defined(PCI_IOBASE) in pci_unmap_iospace()
4073 unsigned long vaddr = (unsigned long)PCI_IOBASE + res->start; in pci_unmap_iospace()
/linux/arch/mips/include/asm/
H A Dio.h553 #ifndef PCI_IOBASE
554 #define PCI_IOBASE ((void __iomem *)mips_io_port_base) macro
/linux/arch/arm64/include/asm/
H A Dio.h130 #define PCI_IOBASE ((void __iomem *)PCI_IO_START) macro
/linux/arch/x86/include/asm/
H A Dio.h344 #undef PCI_IOBASE
/linux/drivers/pcmcia/
H A Dsoc_common.c784 iounmap(PCI_IOBASE + skt->res_io_io.start); in soc_pcmcia_remove_one()
874 iounmap(PCI_IOBASE + skt->res_io_io.start); in soc_pcmcia_add_one()
/linux/arch/arm/include/asm/
H A Dio.h173 #define PCI_IOBASE ((void __iomem *)PCI_IO_VIRT_BASE) macro
/linux/arch/arm/mm/
H A Dioremap.c486 unsigned long vaddr = (unsigned long)PCI_IOBASE + res->start; in pci_remap_iospace()
/linux/arch/loongarch/kernel/
H A Dsetup.c495 vaddr = (unsigned long)(PCI_IOBASE + range->io_start); in add_legacy_isa_io()
/linux/drivers/acpi/
H A Dpci_root.c864 #ifdef PCI_IOBASE in acpi_pci_root_remap_iospace()