Lines Matching refs:a

55 static inline void hfa384x_outb_debug(struct net_device *dev, int a, u8 v)  in hfa384x_outb_debug()  argument
67 prism2_io_debug_add(dev, PRISM2_IO_DEBUG_CMD_OUTB, a, v); in hfa384x_outb_debug()
68 writeb(v, hw_priv->mem_start + a); in hfa384x_outb_debug()
72 static inline u8 hfa384x_inb_debug(struct net_device *dev, int a) in hfa384x_inb_debug() argument
85 v = readb(hw_priv->mem_start + a); in hfa384x_inb_debug()
86 prism2_io_debug_add(dev, PRISM2_IO_DEBUG_CMD_INB, a, v); in hfa384x_inb_debug()
91 static inline void hfa384x_outw_debug(struct net_device *dev, int a, u16 v) in hfa384x_outw_debug() argument
103 prism2_io_debug_add(dev, PRISM2_IO_DEBUG_CMD_OUTW, a, v); in hfa384x_outw_debug()
104 writew(v, hw_priv->mem_start + a); in hfa384x_outw_debug()
108 static inline u16 hfa384x_inw_debug(struct net_device *dev, int a) in hfa384x_inw_debug() argument
121 v = readw(hw_priv->mem_start + a); in hfa384x_inw_debug()
122 prism2_io_debug_add(dev, PRISM2_IO_DEBUG_CMD_INW, a, v); in hfa384x_inw_debug()
127 #define HFA384X_OUTB(v,a) hfa384x_outb_debug(dev, (a), (v)) argument
128 #define HFA384X_INB(a) hfa384x_inb_debug(dev, (a)) argument
129 #define HFA384X_OUTW(v,a) hfa384x_outw_debug(dev, (a), (v)) argument
130 #define HFA384X_INW(a) hfa384x_inw_debug(dev, (a)) argument
131 #define HFA384X_OUTW_DATA(v,a) hfa384x_outw_debug(dev, (a), le16_to_cpu((v))) argument
132 #define HFA384X_INW_DATA(a) cpu_to_le16(hfa384x_inw_debug(dev, (a))) argument
136 static inline void hfa384x_outb(struct net_device *dev, int a, u8 v) in hfa384x_outb() argument
142 writeb(v, hw_priv->mem_start + a); in hfa384x_outb()
145 static inline u8 hfa384x_inb(struct net_device *dev, int a) in hfa384x_inb() argument
151 return readb(hw_priv->mem_start + a); in hfa384x_inb()
154 static inline void hfa384x_outw(struct net_device *dev, int a, u16 v) in hfa384x_outw() argument
160 writew(v, hw_priv->mem_start + a); in hfa384x_outw()
163 static inline u16 hfa384x_inw(struct net_device *dev, int a) in hfa384x_inw() argument
169 return readw(hw_priv->mem_start + a); in hfa384x_inw()
172 #define HFA384X_OUTB(v,a) hfa384x_outb(dev, (a), (v)) argument
173 #define HFA384X_INB(a) hfa384x_inb(dev, (a)) argument
174 #define HFA384X_OUTW(v,a) hfa384x_outw(dev, (a), (v)) argument
175 #define HFA384X_INW(a) hfa384x_inw(dev, (a)) argument
176 #define HFA384X_OUTW_DATA(v,a) hfa384x_outw(dev, (a), le16_to_cpu((v))) argument
177 #define HFA384X_INW_DATA(a) cpu_to_le16(hfa384x_inw(dev, (a))) argument