Lines Matching refs:u16

20 #define __raw_readw(addr) (*(volatile u16 *)(addr))
24 #define __raw_writew(w,addr) ((*(volatile u16 *) (addr)) = (w))
30 #define readw(addr) (*(volatile u16 *) (addr))
32 #define writew(b,addr) ((*(volatile u16 *) (addr)) = (b))
35 #define readw(addr) in_be16((volatile u16 *)(addr))
37 #define writew(b,addr) out_be16((volatile u16 *)(addr),(b))
49 #define insw(port, buf, ns) _insw_ns((u16 *)((port)+_IO_BASE), (buf), (ns))
50 #define outsw(port, buf, ns) _outsw_ns((u16 *)((port)+_IO_BASE), (buf), (ns))
57 #define inw(port) in_be16((u16 *)((port)+_IO_BASE))
58 #define outw(val, port) out_be16((u16 *)((port)+_IO_BASE), (val))
62 #define inw(port) in_le16((u16 *)((port)+_IO_BASE))
63 #define outw(val, port) out_le16((u16 *)((port)+_IO_BASE), (val))
84 static inline void _insw(volatile u16 * port, void *buf, int ns) in _insw()
86 u16 *data = (u16 *) buf; in _insw()
91 static inline void _outsw(volatile u16 * port, const void *buf, int ns) in _outsw()
93 u16 *data = (u16 *) buf; in _outsw()
116 static inline void _insw_ns(volatile u16 * port, void *buf, int ns) in _insw_ns()
118 u16 *data = (u16 *) buf; in _insw_ns()
123 static inline void _outsw_ns(volatile u16 * port, const void *buf, int ns) in _outsw_ns()
125 u16 *data = (u16 *) buf; in _outsw_ns()
152 #define insw_ns(port, buf, ns) _insw_ns((u16 *)((port)+_IO_BASE), (buf), (ns))
153 #define outsw_ns(port, buf, ns) _outsw_ns((u16 *)((port)+_IO_BASE), (buf), (ns))
172 static inline int in_le16(volatile u16 * addr) in in_le16()
177 static inline int in_be16(volatile u16 * addr) in in_be16()
182 static inline void out_le16(volatile u16 * addr, int val) in out_le16()
187 static inline void out_be16(volatile u16 * addr, int val) in out_be16()
189 *addr = (u16) val; in out_be16()