Lines Matching refs:hw_bufs_used
72 priv->hw_bufs_used = 0; in cw1200_register_bh()
154 ++priv->hw_bufs_used; in wsm_alloc_tx_buffer()
160 int hw_bufs_used = priv->hw_bufs_used; in wsm_release_tx_buffer() local
162 priv->hw_bufs_used -= count; in wsm_release_tx_buffer()
163 if (WARN_ON(priv->hw_bufs_used < 0)) in wsm_release_tx_buffer()
165 else if (hw_bufs_used >= priv->wsm_caps.input_buffers) in wsm_release_tx_buffer()
167 if (!priv->hw_bufs_used) in wsm_release_tx_buffer()
428 if (!priv->hw_bufs_used && in cw1200_bh()
436 } else if (priv->hw_bufs_used) { in cw1200_bh()
475 if (priv->hw_bufs_used && (!rx || !tx)) { in cw1200_bh()
478 priv->hw_bufs_used); in cw1200_bh()
501 priv->hw_bufs_used, pending, in cw1200_bh()
563 BUG_ON(priv->hw_bufs_used > priv->wsm_caps.input_buffers); in cw1200_bh()
564 tx_burst = priv->wsm_caps.input_buffers - priv->hw_bufs_used; in cw1200_bh()