Lines Matching refs:ipw
295 static u8 _ipw_read_reg8(struct ipw_priv *ipw, u32 reg);
326 static inline void _ipw_write8(struct ipw_priv *ipw, unsigned long ofs, in _ipw_write8() argument
329 writeb(val, ipw->hw_base + ofs); in _ipw_write8()
333 #define ipw_write8(ipw, ofs, val) do { \ argument
336 _ipw_write8(ipw, ofs, val); \
340 static inline void _ipw_write16(struct ipw_priv *ipw, unsigned long ofs, in _ipw_write16() argument
343 writew(val, ipw->hw_base + ofs); in _ipw_write16()
347 #define ipw_write16(ipw, ofs, val) do { \ argument
350 _ipw_write16(ipw, ofs, val); \
354 static inline void _ipw_write32(struct ipw_priv *ipw, unsigned long ofs, in _ipw_write32() argument
357 writel(val, ipw->hw_base + ofs); in _ipw_write32()
361 #define ipw_write32(ipw, ofs, val) do { \ argument
364 _ipw_write32(ipw, ofs, val); \
368 static inline u8 _ipw_read8(struct ipw_priv *ipw, unsigned long ofs) in _ipw_read8() argument
370 return readb(ipw->hw_base + ofs); in _ipw_read8()
374 #define ipw_read8(ipw, ofs) ({ \ argument
377 _ipw_read8(ipw, ofs); \
381 static inline u32 _ipw_read32(struct ipw_priv *ipw, unsigned long ofs) in _ipw_read32() argument
383 return readl(ipw->hw_base + ofs); in _ipw_read32()
387 #define ipw_read32(ipw, ofs) ({ \ argument
390 _ipw_read32(ipw, ofs); \