Searched refs:ADDR2PORT (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/arch/parisc/lib/
H A Diomap.c65 #define ADDR2PORT(addr) ((unsigned long __force)(addr) & 0xffffff) macro
69 return inb(ADDR2PORT(addr)); ioport_read8()
74 return inw(ADDR2PORT(addr)); ioport_read16()
79 return inl(ADDR2PORT(addr)); ioport_read32()
84 outb(datum, ADDR2PORT(addr)); ioport_write8()
89 outw(datum, ADDR2PORT(addr)); ioport_write16()
94 outl(datum, ADDR2PORT(addr)); ioport_write32()
99 insb(ADDR2PORT(addr), dst, count); ioport_read8r()
104 insw(ADDR2PORT(addr), dst, count); ioport_read16r()
109 insl(ADDR2PORT(addr), dst, count); ioport_read32r()
114 outsb(ADDR2PORT(addr), s, n); ioport_write8r()
119 outsw(ADDR2PORT(addr), s, n); ioport_write16r()
124 outsl(ADDR2PORT(addr), s, n); ioport_write32r()

Completed in 79 milliseconds