Home
last modified time | relevance | path

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

/linux-4.19.296/include/asm-generic/
Dio.h450 #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-4.19.296/lib/
Dlogic_pio.c232 #if defined(CONFIG_INDIRECT_PIO) && defined(PCI_IOBASE)
239 ret = read##bw(PCI_IOBASE + addr); \
255 write##bw(value, PCI_IOBASE + addr); \
271 reads##bw(PCI_IOBASE + addr, buffer, count); \
288 writes##bw(PCI_IOBASE + addr, buffer, count); \
/linux-4.19.296/drivers/pci/
Dpci.c3821 #ifdef PCI_IOBASE in pci_register_io_range()
3852 #ifdef PCI_IOBASE in pci_pio_to_address()
3864 #ifdef PCI_IOBASE in pci_address_to_pio()
3886 #if defined(PCI_IOBASE) && defined(CONFIG_MMU) in pci_remap_iospace()
3887 unsigned long vaddr = (unsigned long)PCI_IOBASE + res->start; in pci_remap_iospace()
3916 #if defined(PCI_IOBASE) && defined(CONFIG_MMU) in pci_unmap_iospace()
3917 unsigned long vaddr = (unsigned long)PCI_IOBASE + res->start; in pci_unmap_iospace()