Home
last modified time | relevance | path

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

/linux/arch/hexagon/include/asm/
A Dio.h23 #define _IO_BASE ((void __iomem *)0xfe000000) macro
207 return readb(_IO_BASE + (port & IO_SPACE_LIMIT)); in inb()
212 return readw(_IO_BASE + (port & IO_SPACE_LIMIT)); in inw()
217 return readl(_IO_BASE + (port & IO_SPACE_LIMIT)); in inl()
227 writeb(data, _IO_BASE + (port & IO_SPACE_LIMIT)); in outb()
232 writew(data, _IO_BASE + (port & IO_SPACE_LIMIT)); in outw()
237 writel(data, _IO_BASE + (port & IO_SPACE_LIMIT)); in outl()
/linux/arch/powerpc/include/asm/
A Dio.h48 #define _IO_BASE 0 macro
52 #define _IO_BASE isa_io_base macro
56 #define _IO_BASE pci_io_base macro
458 : "r" (port + _IO_BASE) \
473 : : "r" (val), "r" (port + _IO_BASE) \
535 #define __do_outb(val, port) writeb(val,(PCI_IO_ADDR)_IO_BASE+port);
536 #define __do_outw(val, port) writew(val,(PCI_IO_ADDR)_IO_BASE+port);
537 #define __do_outl(val, port) writel(val,(PCI_IO_ADDR)_IO_BASE+port);
538 #define __do_inb(port) readb((PCI_IO_ADDR)_IO_BASE + port);
539 #define __do_inw(port) readw((PCI_IO_ADDR)_IO_BASE + port);
[all …]
/linux/arch/microblaze/include/asm/
A Dio.h17 #define _IO_BASE 0 macro
20 #define _IO_BASE isa_io_base macro
30 #define PCI_IOBASE ((void __iomem *)_IO_BASE)
/linux/arch/powerpc/kernel/
A 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()
A Dpci-common.c305 (unsigned long)hose->io_base_virt - _IO_BASE; in pci_address_to_pio()
495 ioaddr -= (unsigned long)hose->io_base_virt - _IO_BASE; in pci_iobar_pfn()
563 offset = (unsigned long)hose->io_base_virt - _IO_BASE; in pci_legacy_read()
603 offset = (unsigned long)hose->io_base_virt - _IO_BASE; in pci_legacy_write()
670 unsigned long io_offset = (unsigned long)hose->io_base_virt - _IO_BASE; in pci_mmap_legacy_page_range()
959 offset = (unsigned long)hose->io_base_virt - _IO_BASE; in pcibios_uninitialized_bridge_resource()
1352 offset = (unsigned long)hose->io_base_virt - _IO_BASE; in pcibios_reserve_legacy_regions()
1508 return (unsigned long) hose->io_base_virt - _IO_BASE; in pcibios_io_space_offset()
A Diomap.c16 return (void __iomem *) (port + _IO_BASE); in ioport_map()
A Dtraps.c557 regs->gpr[rb] - _IO_BASE, nip); in check_io_access()
/linux/arch/powerpc/platforms/82xx/
A Dm82xx_pci.h10 #ifndef _IO_BASE
11 #define _IO_BASE isa_io_base macro
/linux/arch/microblaze/pci/
A 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()
339 _IO_BASE; in pci_mmap_legacy_page_range()
826 offset = (unsigned long)hose->io_base_virt - _IO_BASE; in pcibios_reserve_legacy_regions()
919 (__force resource_size_t)(hose->io_base_virt - _IO_BASE)); in pcibios_setup_phb_resources()
953 (unsigned long)hose->io_base_virt - _IO_BASE); in pcibios_setup_phb_resources()

Completed in 19 milliseconds