Searched refs:PCI_IOBASE (Results 1 – 13 of 13) sorted by relevance
| /Linux-v5.4/include/asm-generic/ |
| D | io.h | 443 #ifndef PCI_IOBASE 444 #define PCI_IOBASE ((void __iomem *)0) macro 466 val = __raw_readb(PCI_IOBASE + addr); in inb() 479 val = __le16_to_cpu(__raw_readw(PCI_IOBASE + addr)); in inw() 492 val = __le32_to_cpu(__raw_readl(PCI_IOBASE + addr)); in inl() 503 __raw_writeb(value, PCI_IOBASE + addr); in outb() 513 __raw_writew(cpu_to_le16(value), PCI_IOBASE + addr); in outw() 523 __raw_writel(cpu_to_le32(value), PCI_IOBASE + addr); in outl() 585 readsb(PCI_IOBASE + addr, buffer, count); in insb() 593 readsw(PCI_IOBASE + addr, buffer, count); in insw() [all …]
|
| /Linux-v5.4/lib/ |
| D | logic_pio.c | 229 #if defined(CONFIG_INDIRECT_PIO) && defined(PCI_IOBASE) 236 ret = read##bw(PCI_IOBASE + addr); \ 252 write##bw(value, PCI_IOBASE + addr); \ 268 reads##bw(PCI_IOBASE + addr, buffer, count); \ 285 writes##bw(PCI_IOBASE + addr, buffer, count); \
|
| /Linux-v5.4/arch/unicore32/include/asm/ |
| D | io.h | 17 #define PCI_IOBASE PKUNITY_PCILIO_BASE macro 44 #define PIO_OFFSET (unsigned int)(PCI_IOBASE)
|
| /Linux-v5.4/arch/riscv/include/asm/ |
| D | io.h | 169 #define PCI_IOBASE ((void __iomem *)PCI_IO_START) macro 193 #define inb(c) ({ u8 __v; __io_pbr(); __v = readb_cpu((void*)(PCI_IOBASE + (c))); __io_par(__v); … 194 #define inw(c) ({ u16 __v; __io_pbr(); __v = readw_cpu((void*)(PCI_IOBASE + (c))); __io_par(__v); … 195 #define inl(c) ({ u32 __v; __io_pbr(); __v = readl_cpu((void*)(PCI_IOBASE + (c))); __io_par(__v); … 197 #define outb(v,c) ({ __io_pbw(); writeb_cpu((v),(void*)(PCI_IOBASE + (c))); __io_paw(); }) 198 #define outw(v,c) ({ __io_pbw(); writew_cpu((v),(void*)(PCI_IOBASE + (c))); __io_paw(); }) 199 #define outl(v,c) ({ __io_pbw(); writel_cpu((v),(void*)(PCI_IOBASE + (c))); __io_paw(); })
|
| /Linux-v5.4/arch/xtensa/include/asm/ |
| D | io.h | 24 #define PCI_IOBASE ((void __iomem *)XCHAL_KIO_BYPASS_VADDR) macro
|
| /Linux-v5.4/arch/microblaze/include/asm/ |
| D | io.h | 33 #define PCI_IOBASE ((void __iomem *)_IO_BASE) macro
|
| /Linux-v5.4/arch/m68k/include/asm/ |
| D | io_no.h | 130 #define PCI_IOBASE ((void __iomem *) PCI_IO_PA) macro
|
| /Linux-v5.4/arch/ia64/include/asm/ |
| D | io.h | 284 #undef PCI_IOBASE
|
| /Linux-v5.4/arch/arm64/include/asm/ |
| D | io.h | 149 #define PCI_IOBASE ((void __iomem *)PCI_IO_START) macro
|
| /Linux-v5.4/arch/x86/include/asm/ |
| D | io.h | 381 #undef PCI_IOBASE
|
| /Linux-v5.4/arch/arm/include/asm/ |
| D | io.h | 174 #define PCI_IOBASE ((void __iomem *)PCI_IO_VIRT_BASE) macro
|
| /Linux-v5.4/drivers/pci/ |
| D | pci.c | 3881 #ifdef PCI_IOBASE in pci_register_io_range() 3908 #ifdef PCI_IOBASE in pci_pio_to_address() 3920 #ifdef PCI_IOBASE in pci_address_to_pio() 3942 #if defined(PCI_IOBASE) && defined(CONFIG_MMU) in pci_remap_iospace() 3943 unsigned long vaddr = (unsigned long)PCI_IOBASE + res->start; in pci_remap_iospace() 3974 #if defined(PCI_IOBASE) && defined(CONFIG_MMU) in pci_unmap_iospace() 3975 unsigned long vaddr = (unsigned long)PCI_IOBASE + res->start; in pci_unmap_iospace()
|
| /Linux-v5.4/drivers/acpi/ |
| D | pci_root.c | 741 #ifdef PCI_IOBASE in acpi_pci_root_remap_iospace()
|