1 /* Generic I/O and MEMIO string operations. */
3 #define __ide_insw insw
4 #define __ide_insl insl
5 #define __ide_outsw outsw
6 #define __ide_outsl outsl
8 static __inline__
void __ide_mm_insw(void __iomem
*port
, void *addr
, u32 count
)
11 *(u16
*)addr
= readw(port
);
16 static __inline__
void __ide_mm_insl(void __iomem
*port
, void *addr
, u32 count
)
19 *(u32
*)addr
= readl(port
);
24 static __inline__
void __ide_mm_outsw(void __iomem
*port
, void *addr
, u32 count
)
27 writew(*(u16
*)addr
, port
);
32 static __inline__
void __ide_mm_outsl(void __iomem
* port
, void *addr
, u32 count
)
35 writel(*(u32
*)addr
, port
);