Searched refs:_IO_BASE (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.4/arch/hexagon/include/asm/ |
D | io.h | 23 #define _IO_BASE ((void __iomem *)0xfe000000) macro 220 return readb(_IO_BASE + (port & IO_SPACE_LIMIT)); in inb() 225 return readw(_IO_BASE + (port & IO_SPACE_LIMIT)); in inw() 230 return readl(_IO_BASE + (port & IO_SPACE_LIMIT)); in inl() 240 writeb(data, _IO_BASE + (port & IO_SPACE_LIMIT)); in outb() 245 writew(data, _IO_BASE + (port & IO_SPACE_LIMIT)); in outw() 250 writel(data, _IO_BASE + (port & IO_SPACE_LIMIT)); in outl()
|
/Linux-v5.4/arch/powerpc/include/asm/ |
D | io.h | 49 #define _IO_BASE 0 macro 53 #define _IO_BASE isa_io_base macro 57 #define _IO_BASE pci_io_base macro 444 : "r" (port + _IO_BASE) \ 459 : : "r" (val), "r" (port + _IO_BASE) \ 521 #define __do_outb(val, port) writeb(val,(PCI_IO_ADDR)_IO_BASE+port); 522 #define __do_outw(val, port) writew(val,(PCI_IO_ADDR)_IO_BASE+port); 523 #define __do_outl(val, port) writel(val,(PCI_IO_ADDR)_IO_BASE+port); 524 #define __do_inb(port) readb((PCI_IO_ADDR)_IO_BASE + port); 525 #define __do_inw(port) readw((PCI_IO_ADDR)_IO_BASE + port); [all …]
|
/Linux-v5.4/arch/powerpc/platforms/82xx/ |
D | m82xx_pci.h | 10 #ifndef _IO_BASE 11 #define _IO_BASE isa_io_base macro
|
/Linux-v5.4/arch/microblaze/include/asm/ |
D | io.h | 20 #define _IO_BASE 0 macro 23 #define _IO_BASE isa_io_base macro 33 #define PCI_IOBASE ((void __iomem *)_IO_BASE)
|
/Linux-v5.4/arch/powerpc/kernel/ |
D | pci_64.c | 103 __flush_hash_table_range(&init_mm, res->start + _IO_BASE, in pcibios_unmap_io_space() 104 res->end + _IO_BASE + 1); in pcibios_unmap_io_space() 188 bus->resource[0]->start + _IO_BASE, in pcibios_map_io_space() 189 bus->resource[0]->end + _IO_BASE); in pcibios_map_io_space()
|
D | pci-common.c | 310 (unsigned long)hose->io_base_virt - _IO_BASE; in pci_address_to_pio() 426 ioaddr -= (unsigned long)hose->io_base_virt - _IO_BASE; in pci_iobar_pfn() 494 offset = (unsigned long)hose->io_base_virt - _IO_BASE; in pci_legacy_read() 534 offset = (unsigned long)hose->io_base_virt - _IO_BASE; in pci_legacy_write() 601 unsigned long io_offset = (unsigned long)hose->io_base_virt - _IO_BASE; in pci_mmap_legacy_page_range() 890 offset = (unsigned long)hose->io_base_virt - _IO_BASE; in pcibios_uninitialized_bridge_resource() 1310 offset = (unsigned long)hose->io_base_virt - _IO_BASE; in pcibios_reserve_legacy_regions() 1472 return (unsigned long) hose->io_base_virt - _IO_BASE; in pcibios_io_space_offset()
|
D | iomap.c | 176 return (void __iomem *) (port + _IO_BASE); in ioport_map()
|
D | traps.c | 561 regs->gpr[rb] - _IO_BASE, nip); in check_io_access()
|
/Linux-v5.4/arch/microblaze/pci/ |
D | pci-common.c | 114 (unsigned long)hose->io_base_virt - _IO_BASE; in pci_address_to_pio() 162 ioaddr -= (unsigned long)hose->io_base_virt - _IO_BASE; in pci_iobar_pfn() 230 offset = (unsigned long)hose->io_base_virt - _IO_BASE; in pci_legacy_read() 270 offset = (unsigned long)hose->io_base_virt - _IO_BASE; in pci_legacy_write() 341 _IO_BASE; in pci_mmap_legacy_page_range() 833 offset = (unsigned long)hose->io_base_virt - _IO_BASE; in pcibios_reserve_legacy_regions() 926 (__force resource_size_t)(hose->io_base_virt - _IO_BASE)); in pcibios_setup_phb_resources() 960 (unsigned long)hose->io_base_virt - _IO_BASE); in pcibios_setup_phb_resources()
|