Home
last modified time | relevance | path

Searched refs:_IO_BASE (Results 1 – 9 of 9) sorted by relevance

/arch/hexagon/include/asm/
Dio.h23 #define _IO_BASE ((void __iomem *)0xfe000000) macro
208 return readb(_IO_BASE + (port & IO_SPACE_LIMIT)); in inb()
213 return readw(_IO_BASE + (port & IO_SPACE_LIMIT)); in inw()
218 return readl(_IO_BASE + (port & IO_SPACE_LIMIT)); in inl()
228 writeb(data, _IO_BASE + (port & IO_SPACE_LIMIT)); in outb()
233 writew(data, _IO_BASE + (port & IO_SPACE_LIMIT)); in outw()
238 writel(data, _IO_BASE + (port & IO_SPACE_LIMIT)); in outl()
/arch/powerpc/platforms/82xx/
Dm82xx_pci.h10 #ifndef _IO_BASE
11 #define _IO_BASE isa_io_base macro
/arch/microblaze/include/asm/
Dio.h17 #define _IO_BASE 0 macro
20 #define _IO_BASE isa_io_base macro
30 #define PCI_IOBASE ((void __iomem *)_IO_BASE)
/arch/powerpc/include/asm/
Dio.h48 #define _IO_BASE 0 macro
52 #define _IO_BASE isa_io_base macro
56 #define _IO_BASE pci_io_base macro
467 : "r" (port + _IO_BASE) \
482 : : "r" (val), "r" (port + _IO_BASE) \
544 #define __do_outb(val, port) writeb(val,(PCI_IO_ADDR)_IO_BASE+port);
545 #define __do_outw(val, port) writew(val,(PCI_IO_ADDR)_IO_BASE+port);
546 #define __do_outl(val, port) writel(val,(PCI_IO_ADDR)_IO_BASE+port);
547 #define __do_inb(port) readb((PCI_IO_ADDR)_IO_BASE + port);
548 #define __do_inw(port) readw((PCI_IO_ADDR)_IO_BASE + port);
[all …]
/arch/powerpc/kernel/
Dpci_64.c103 __flush_hash_table_range(res->start + _IO_BASE, in pcibios_unmap_io_space()
104 res->end + _IO_BASE + 1); in pcibios_unmap_io_space()
206 bus->resource[0]->start + _IO_BASE, in pcibios_map_io_space()
207 bus->resource[0]->end + _IO_BASE); in pcibios_map_io_space()
Dpci-common.c321 (unsigned long)hose->io_base_virt - _IO_BASE; in pci_address_to_pio()
437 ioaddr -= (unsigned long)hose->io_base_virt - _IO_BASE; in pci_iobar_pfn()
505 offset = (unsigned long)hose->io_base_virt - _IO_BASE; in pci_legacy_read()
545 offset = (unsigned long)hose->io_base_virt - _IO_BASE; in pci_legacy_write()
612 unsigned long io_offset = (unsigned long)hose->io_base_virt - _IO_BASE; in pci_mmap_legacy_page_range()
901 offset = (unsigned long)hose->io_base_virt - _IO_BASE; in pcibios_uninitialized_bridge_resource()
1289 offset = (unsigned long)hose->io_base_virt - _IO_BASE; in pcibios_reserve_legacy_regions()
1445 return (unsigned long) hose->io_base_virt - _IO_BASE; in pcibios_io_space_offset()
Diomap.c176 return (void __iomem *) (port + _IO_BASE); in ioport_map()
Dtraps.c565 regs->gpr[rb] - _IO_BASE, nip); in check_io_access()
/arch/microblaze/pci/
Dpci-common.c114 (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()
829 offset = (unsigned long)hose->io_base_virt - _IO_BASE; in pcibios_reserve_legacy_regions()
922 (__force resource_size_t)(hose->io_base_virt - _IO_BASE)); in pcibios_setup_phb_resources()
956 (unsigned long)hose->io_base_virt - _IO_BASE); in pcibios_setup_phb_resources()