Lines Matching refs:ipw

23 #include "ipw.h"
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,
329 writeb(val, ipw->hw_base + ofs);
333 #define ipw_write8(ipw, ofs, val) do { \
336 _ipw_write8(ipw, ofs, val); \
340 static inline void _ipw_write16(struct ipw_priv *ipw, unsigned long ofs,
343 writew(val, ipw->hw_base + ofs);
347 #define ipw_write16(ipw, ofs, val) do { \
350 _ipw_write16(ipw, ofs, val); \
354 static inline void _ipw_write32(struct ipw_priv *ipw, unsigned long ofs,
357 writel(val, ipw->hw_base + ofs);
361 #define ipw_write32(ipw, ofs, val) do { \
364 _ipw_write32(ipw, ofs, val); \
368 static inline u8 _ipw_read8(struct ipw_priv *ipw, unsigned long ofs)
370 return readb(ipw->hw_base + ofs);
374 #define ipw_read8(ipw, ofs) ({ \
377 _ipw_read8(ipw, ofs); \
381 static inline u16 _ipw_read16(struct ipw_priv *ipw, unsigned long ofs)
383 return readw(ipw->hw_base + ofs);
387 #define ipw_read16(ipw, ofs) ({ \
390 _ipw_read16(ipw, ofs); \
394 static inline u32 _ipw_read32(struct ipw_priv *ipw, unsigned long ofs)
396 return readl(ipw->hw_base + ofs);
400 #define ipw_read32(ipw, ofs) ({ \
403 _ipw_read32(ipw, ofs); \
1179 * of this device driver (i.e. a new file in /sys/bus/pci/drivers/ipw/)
1182 * See the level definitions in ipw for details.
3032 * the ipw hardware. It assumes the buffer has all the bits for the
3123 /* load new ipw uCode */
5095 * + A list of pre-allocated SKBs is stored in ipw->rxq->rx_free. When
5096 * ipw->rxq->free_count drops to or below RX_LOW_WATERMARK, work is scheduled
5097 * to replensish the ipw->rxq->rx_free.
5099 * ipw->rxq is replenished and the READ INDEX is updated (updating the
5102 * detached from the ipw->rxq. The driver 'processed' index is updated.
5103 * + The Host/Firmware ipw->rxq is replenished at tasklet time from the rx_free
5104 * list. If there are no allocated buffers in ipw->rxq->rx_free, the READ
5105 * INDEX is not incremented and ipw->status(RX_STALLED) is set. If there
8217 * ipw header and 802.11 frame */
8221 /* Advance past the ipw packet header to the 802.11 frame */