Lines Matching refs:ADDR2PORT
74 #define ADDR2PORT(addr) ((unsigned long __force)(addr) & 0xffffff) macro
78 return inb(ADDR2PORT(addr)); in ioport_read8()
83 return inw(ADDR2PORT(addr)); in ioport_read16()
88 return inl(ADDR2PORT(addr)); in ioport_read32()
93 outb(datum, ADDR2PORT(addr)); in ioport_write8()
98 outw(datum, ADDR2PORT(addr)); in ioport_write16()
103 outl(datum, ADDR2PORT(addr)); in ioport_write32()
108 insb(ADDR2PORT(addr), dst, count); in ioport_read8r()
113 insw(ADDR2PORT(addr), dst, count); in ioport_read16r()
118 insl(ADDR2PORT(addr), dst, count); in ioport_read32r()
123 outsb(ADDR2PORT(addr), s, n); in ioport_write8r()
128 outsw(ADDR2PORT(addr), s, n); in ioport_write16r()
133 outsl(ADDR2PORT(addr), s, n); in ioport_write32r()