Searched refs:PCI_IOBASE (Results 1 – 12 of 12) sorted by relevance
/Linux-v4.19/include/asm-generic/ |
D | io.h | 450 #ifndef PCI_IOBASE 451 #define PCI_IOBASE ((void __iomem *)0) macro 473 val = __raw_readb(PCI_IOBASE + addr); in inb() 486 val = __le16_to_cpu(__raw_readw(PCI_IOBASE + addr)); in inw() 499 val = __le32_to_cpu(__raw_readl(PCI_IOBASE + addr)); in inl() 510 __raw_writeb(value, PCI_IOBASE + addr); in outb() 520 __raw_writew(cpu_to_le16(value), PCI_IOBASE + addr); in outw() 530 __raw_writel(cpu_to_le32(value), PCI_IOBASE + addr); in outl() 592 readsb(PCI_IOBASE + addr, buffer, count); in insb() 600 readsw(PCI_IOBASE + addr, buffer, count); in insw() [all …]
|
/Linux-v4.19/lib/ |
D | logic_pio.c | 194 #if defined(CONFIG_INDIRECT_PIO) && defined(PCI_IOBASE) 201 ret = read##bw(PCI_IOBASE + addr); \ 217 write##bw(value, PCI_IOBASE + addr); \ 233 reads##bw(PCI_IOBASE + addr, buffer, count); \ 250 writes##bw(PCI_IOBASE + addr, buffer, count); \
|
/Linux-v4.19/arch/unicore32/include/asm/ |
D | io.h | 20 #define PCI_IOBASE PKUNITY_PCILIO_BASE macro 47 #define PIO_OFFSET (unsigned int)(PCI_IOBASE)
|
/Linux-v4.19/arch/riscv/include/asm/ |
D | io.h | 205 #define inb(c) ({ u8 __v; __io_pbr(); __v = readb_cpu((void*)(PCI_IOBASE + (c))); __io_par(); __v… 206 #define inw(c) ({ u16 __v; __io_pbr(); __v = readw_cpu((void*)(PCI_IOBASE + (c))); __io_par(); __v… 207 #define inl(c) ({ u32 __v; __io_pbr(); __v = readl_cpu((void*)(PCI_IOBASE + (c))); __io_par(); __v… 209 #define outb(v,c) ({ __io_pbw(); writeb_cpu((v),(void*)(PCI_IOBASE + (c))); __io_paw(); }) 210 #define outw(v,c) ({ __io_pbw(); writew_cpu((v),(void*)(PCI_IOBASE + (c))); __io_paw(); }) 211 #define outl(v,c) ({ __io_pbw(); writel_cpu((v),(void*)(PCI_IOBASE + (c))); __io_paw(); })
|
/Linux-v4.19/arch/microblaze/include/asm/ |
D | io.h | 33 #define PCI_IOBASE ((void __iomem *)_IO_BASE) macro
|
/Linux-v4.19/arch/m68k/include/asm/ |
D | io_no.h | 130 #define PCI_IOBASE ((void __iomem *) PCI_IO_PA) macro
|
/Linux-v4.19/arch/arm64/include/asm/ |
D | io.h | 149 #define PCI_IOBASE ((void __iomem *)PCI_IO_START) macro
|
/Linux-v4.19/arch/x86/include/asm/ |
D | io.h | 387 #undef PCI_IOBASE
|
/Linux-v4.19/arch/ia64/include/asm/ |
D | io.h | 457 #undef PCI_IOBASE
|
/Linux-v4.19/drivers/pci/ |
D | pci.c | 3766 #ifdef PCI_IOBASE in pci_register_io_range() 3793 #ifdef PCI_IOBASE in pci_pio_to_address() 3805 #ifdef PCI_IOBASE in pci_address_to_pio() 3827 #if defined(PCI_IOBASE) && defined(CONFIG_MMU) in pci_remap_iospace() 3828 unsigned long vaddr = (unsigned long)PCI_IOBASE + res->start; in pci_remap_iospace() 3857 #if defined(PCI_IOBASE) && defined(CONFIG_MMU) in pci_unmap_iospace() 3858 unsigned long vaddr = (unsigned long)PCI_IOBASE + res->start; in pci_unmap_iospace()
|
/Linux-v4.19/arch/arm/include/asm/ |
D | io.h | 179 #define PCI_IOBASE ((void __iomem *)PCI_IO_VIRT_BASE) macro
|
/Linux-v4.19/drivers/acpi/ |
D | pci_root.c | 744 #ifdef PCI_IOBASE in acpi_pci_root_remap_iospace()
|