Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/arch/riscv/include/asm/
H A Dio.h30 #define PCI_IOBASE ((void __iomem *)PCI_IO_START) macro
55 #define inb(c) ({ u8 __v; __io_pbr(); __v = readb_cpu((void*)(PCI_IOBASE + (c))); __io_par(__v); …
56 #define inw(c) ({ u16 __v; __io_pbr(); __v = readw_cpu((void*)(PCI_IOBASE + (c))); __io_par(__v); …
57 #define inl(c) ({ u32 __v; __io_pbr(); __v = readl_cpu((void*)(PCI_IOBASE + (c))); __io_par(__v); …
59 #define outb(v,c) ({ __io_pbw(); writeb_cpu((v),(void*)(PCI_IOBASE + (c))); __io_paw(); })
60 #define outw(v,c) ({ __io_pbw(); writew_cpu((v),(void*)(PCI_IOBASE + (c))); __io_paw(); })
61 #define outl(v,c) ({ __io_pbw(); writel_cpu((v),(void*)(PCI_IOBASE + (c))); __io_paw(); })
117 #define insb(addr, buffer, count) __insb(PCI_IOBASE + (addr), buffer, count)
118 #define insw(addr, buffer, count) __insw(PCI_IOBASE + (addr), buffer, count)
119 #define insl(addr, buffer, count) __insl(PCI_IOBASE + (addr), buffer, count)
[all …]
/OK3568_Linux_fs/kernel/include/asm-generic/
H A Dio.h443 #ifndef PCI_IOBASE
444 #define PCI_IOBASE ((void __iomem *)0) macro
464 val = __raw_readb(PCI_IOBASE + addr); in _inb()
477 val = __le16_to_cpu((__le16 __force)__raw_readw(PCI_IOBASE + addr)); in _inw()
490 val = __le32_to_cpu((__le32 __force)__raw_readl(PCI_IOBASE + addr)); in _inl()
501 __raw_writeb(value, PCI_IOBASE + addr); in _outb()
511 __raw_writew((u16 __force)cpu_to_le16(value), PCI_IOBASE + addr); in _outw()
521 __raw_writel((u32 __force)cpu_to_le32(value), PCI_IOBASE + addr); in _outl()
609 readsb(PCI_IOBASE + addr, buffer, count); in insb()
617 readsw(PCI_IOBASE + addr, buffer, count); in insw()
[all …]
/OK3568_Linux_fs/kernel/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)
/OK3568_Linux_fs/kernel/arch/mips/loongson64/
H A Dinit.c56 set_io_port_base(PCI_IOBASE); in prom_init()
102 vaddr = PCI_IOBASE + range->io_start; in add_legacy_isa_io()
/OK3568_Linux_fs/kernel/lib/
H A Dlogic_pio.c234 #if defined(CONFIG_INDIRECT_PIO) && defined(PCI_IOBASE)
273 reads##bwl(PCI_IOBASE + addr, buffer, count); \
290 writes##bwl(PCI_IOBASE + addr, buffer, count); \
/OK3568_Linux_fs/kernel/arch/xtensa/include/asm/
H A Dio.h24 #define PCI_IOBASE ((void __iomem *)XCHAL_KIO_BYPASS_VADDR) macro
/OK3568_Linux_fs/kernel/arch/microblaze/include/asm/
H A Dio.h30 #define PCI_IOBASE ((void __iomem *)_IO_BASE) macro
/OK3568_Linux_fs/kernel/arch/m68k/include/asm/
H A Dio_no.h130 #define PCI_IOBASE ((void __iomem *) PCI_IO_PA) macro
/OK3568_Linux_fs/kernel/arch/ia64/include/asm/
H A Dio.h283 #undef PCI_IOBASE
/OK3568_Linux_fs/kernel/arch/arm64/include/asm/
H A Dio.h166 #define PCI_IOBASE ((void __iomem *)PCI_IO_START) macro
/OK3568_Linux_fs/kernel/arch/x86/include/asm/
H A Dio.h376 #undef PCI_IOBASE
/OK3568_Linux_fs/kernel/arch/arm/include/asm/
H A Dio.h174 #define PCI_IOBASE ((void __iomem *)PCI_IO_VIRT_BASE) macro
/OK3568_Linux_fs/kernel/drivers/pci/
H A Dpci.c4021 #ifdef PCI_IOBASE in pci_register_io_range()
4052 #ifdef PCI_IOBASE in pci_pio_to_address()
4065 #ifdef PCI_IOBASE in pci_address_to_pio()
4087 #if defined(PCI_IOBASE) && defined(CONFIG_MMU) in pci_remap_iospace()
4088 unsigned long vaddr = (unsigned long)PCI_IOBASE + res->start; in pci_remap_iospace()
4119 #if defined(PCI_IOBASE) && defined(CONFIG_MMU) in pci_unmap_iospace()
4120 unsigned long vaddr = (unsigned long)PCI_IOBASE + res->start; in pci_unmap_iospace()
/OK3568_Linux_fs/kernel/drivers/acpi/
H A Dpci_root.c747 #ifdef PCI_IOBASE in acpi_pci_root_remap_iospace()