Home
last modified time | relevance | path

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

/Linux-v5.10/arch/riscv/include/asm/
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(); })
/Linux-v5.10/include/asm-generic/
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 …]
/Linux-v5.10/arch/mips/include/asm/mach-loongson64/
Dspaces.h10 #define PCI_IOBASE _AC(0xc000000000000000 + SZ_128K, UL) macro
12 #define MAP_BASE (PCI_IOBASE + PCI_IOSIZE)
/Linux-v5.10/arch/mips/loongson64/
Dinit.c56 set_io_port_base(PCI_IOBASE); in prom_init()
102 vaddr = PCI_IOBASE + range->io_start; in add_legacy_isa_io()
/Linux-v5.10/lib/
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-v5.10/arch/xtensa/include/asm/
Dio.h24 #define PCI_IOBASE ((void __iomem *)XCHAL_KIO_BYPASS_VADDR) macro
/Linux-v5.10/arch/microblaze/include/asm/
Dio.h30 #define PCI_IOBASE ((void __iomem *)_IO_BASE) macro
/Linux-v5.10/arch/m68k/include/asm/
Dio_no.h130 #define PCI_IOBASE ((void __iomem *) PCI_IO_PA) macro
/Linux-v5.10/arch/ia64/include/asm/
Dio.h283 #undef PCI_IOBASE
/Linux-v5.10/arch/arm64/include/asm/
Dio.h150 #define PCI_IOBASE ((void __iomem *)PCI_IO_START) macro
/Linux-v5.10/arch/x86/include/asm/
Dio.h376 #undef PCI_IOBASE
/Linux-v5.10/arch/arm/include/asm/
Dio.h174 #define PCI_IOBASE ((void __iomem *)PCI_IO_VIRT_BASE) macro
/Linux-v5.10/drivers/pci/
Dpci.c3988 #ifdef PCI_IOBASE in pci_register_io_range()
4015 #ifdef PCI_IOBASE in pci_pio_to_address()
4027 #ifdef PCI_IOBASE in pci_address_to_pio()
4049 #if defined(PCI_IOBASE) && defined(CONFIG_MMU) in pci_remap_iospace()
4050 unsigned long vaddr = (unsigned long)PCI_IOBASE + res->start; in pci_remap_iospace()
4081 #if defined(PCI_IOBASE) && defined(CONFIG_MMU) in pci_unmap_iospace()
4082 unsigned long vaddr = (unsigned long)PCI_IOBASE + res->start; in pci_unmap_iospace()
/Linux-v5.10/drivers/acpi/
Dpci_root.c747 #ifdef PCI_IOBASE in acpi_pci_root_remap_iospace()