9 #include <linux/module.h>
26 #define PIO_MASK 0x0ffffUL
106 while (--count >= 0) {
113 static inline void mmio_insw(
void __iomem *addr,
u16 *dst,
int count)
115 while (--count >= 0) {
122 static inline void mmio_insl(
void __iomem *addr,
u32 *dst,
int count)
124 while (--count >= 0) {
131 static inline void mmio_outsb(
void __iomem *addr,
const u8 *
src,
int count)
133 while (--count >= 0) {
139 static inline void mmio_outsw(
void __iomem *addr,
const u16 *src,
int count)
141 while (--count >= 0) {
147 static inline void mmio_outsl(
void __iomem *addr,
const u32 *src,
int count)
149 while (--count >= 0) {
157 mmio_insb(addr, dst, count);
164 mmio_insw(addr, dst, count);
171 mmio_insl(addr, dst, count);
178 mmio_outsb(addr, src, count);
185 mmio_outsw(addr, src, count);
192 mmio_outsl(addr, src, count);
206 static void __iomem *ioport_map_legacy(
unsigned long port,
unsigned int nr)
216 return ioport_map_legacy(port, nr);