Home
last modified time | relevance | path

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

/openbmc/u-boot/arch/powerpc/include/asm/
H A Dio.h19 #ifndef _IO_BASE
20 #define _IO_BASE 0 macro
50 #define inb(port) in_8((u8 *)((port)+_IO_BASE))
51 #define outb(val, port) out_8((u8 *)((port)+_IO_BASE), (val))
53 #define inw(port) in_be16((u16 *)((port)+_IO_BASE))
55 #define inl(port) in_be32((u32 *)((port)+_IO_BASE))
58 #define inw(port) in_le16((u16 *)((port)+_IO_BASE))
60 #define inl(port) in_le32((u32 *)((port)+_IO_BASE))
64 #define inb_p(port) in_8((u8 *)((port)+_IO_BASE))
66 #define inw_p(port) in_le16((u16 *)((port)+_IO_BASE))
[all …]
/openbmc/u-boot/arch/m68k/include/asm/
H A Dio.h14 #ifndef _IO_BASE
15 #define _IO_BASE 0 macro
53 #define inb(port) in_8((u8 *)((port)+_IO_BASE))
54 #define outb(val, port) out_8((u8 *)((port)+_IO_BASE), (val))
56 #define inw(port) in_be16((u16 *)((port)+_IO_BASE))
57 #define outw(val, port) out_be16((u16 *)((port)+_IO_BASE), (val))
58 #define inl(port) in_be32((u32 *)((port)+_IO_BASE))
59 #define outl(val, port) out_be32((u32 *)((port)+_IO_BASE), (val))
61 #define inw(port) in_le16((u16 *)((port)+_IO_BASE))
62 #define outw(val, port) out_le16((u16 *)((port)+_IO_BASE), (val))
[all …]
/openbmc/linux/arch/hexagon/include/asm/
H A Dio.h23 #define _IO_BASE ((void __iomem *)0xfe000000) macro
210 return readb(_IO_BASE + (port & IO_SPACE_LIMIT)); in inb()
215 return readw(_IO_BASE + (port & IO_SPACE_LIMIT)); in inw()
220 return readl(_IO_BASE + (port & IO_SPACE_LIMIT)); in inl()
230 writeb(data, _IO_BASE + (port & IO_SPACE_LIMIT)); in outb()
235 writew(data, _IO_BASE + (port & IO_SPACE_LIMIT)); in outw()
240 writel(data, _IO_BASE + (port & IO_SPACE_LIMIT)); in outl()
/openbmc/linux/arch/microblaze/include/asm/
H A Dio.h17 #define _IO_BASE 0 macro
20 #define _IO_BASE isa_io_base macro
30 #define PCI_IOBASE ((void __iomem *)_IO_BASE)
/openbmc/linux/arch/powerpc/include/asm/
H A Dio.h40 #define _IO_BASE POISON_POINTER_DELTA macro
44 #define _IO_BASE isa_io_base macro
48 #define _IO_BASE pci_io_base macro
511 : "r" (port + _IO_BASE) \
526 : : "r" (val), "r" (port + _IO_BASE) \
588 #define __do_outb(val, port) writeb(val,(PCI_IO_ADDR)(_IO_BASE+port));
589 #define __do_outw(val, port) writew(val,(PCI_IO_ADDR)(_IO_BASE+port));
590 #define __do_outl(val, port) writel(val,(PCI_IO_ADDR)(_IO_BASE+port));
591 #define __do_inb(port) readb((PCI_IO_ADDR)(_IO_BASE + port));
592 #define __do_inw(port) readw((PCI_IO_ADDR)(_IO_BASE + port));
[all …]
/openbmc/linux/arch/powerpc/kernel/
H 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()
H A Diomap.c16 return (void __iomem *) (port + _IO_BASE); in ioport_map()
H A Dpci-common.c323 (unsigned long)hose->io_base_virt - _IO_BASE; in pci_address_to_pio()
513 ioaddr -= (unsigned long)hose->io_base_virt - _IO_BASE; in pci_iobar_pfn()
581 offset = (unsigned long)hose->io_base_virt - _IO_BASE; in pci_legacy_read()
621 offset = (unsigned long)hose->io_base_virt - _IO_BASE; in pci_legacy_write()
688 unsigned long io_offset = (unsigned long)hose->io_base_virt - _IO_BASE; in pci_mmap_legacy_page_range()
978 offset = (unsigned long)hose->io_base_virt - _IO_BASE; in pcibios_uninitialized_bridge_resource()
1371 offset = (unsigned long)hose->io_base_virt - _IO_BASE; in pcibios_reserve_legacy_regions()
1526 return (unsigned long) hose->io_base_virt - _IO_BASE; in pcibios_io_space_offset()
H A Dtraps.c560 regs->gpr[rb] - _IO_BASE, nip); in check_io_access()
/openbmc/u-boot/board/freescale/m54455evb/
H A DREADME110 _IO_BASE -- define for IO base address