Exemplo n.º 1
0
void iwl_rx_replenish(struct iwl_priv *priv)
{
	unsigned long flags;

	iwl_rx_allocate(priv, GFP_KERNEL);

	spin_lock_irqsave(&priv->lock, flags);
	iwl_rx_queue_restock(priv);
	spin_unlock_irqrestore(&priv->lock, flags);
}
Exemplo n.º 2
0
Arquivo: rx.c Projeto: sosilent/kis_pc
/*
 * iwl_rx_replenish - Move all used buffers from rx_used to rx_free
 *
 * When moving to rx_free an page is allocated for the slot.
 *
 * Also restock the Rx queue via iwl_rx_queue_restock.
 * This is called as a scheduled work item (except for during initialization)
 */
void iwl_rx_replenish(struct iwl_trans *trans)
{
    struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans);
    unsigned long flags;

    iwl_rx_allocate(trans, GFP_KERNEL);

    spin_lock_irqsave(&trans_pcie->irq_lock, flags);
    iwl_rx_queue_restock(trans);
    spin_unlock_irqrestore(&trans_pcie->irq_lock, flags);
}
Exemplo n.º 3
0
Arquivo: rx.c Projeto: sosilent/kis_pc
static void iwl_rx_replenish_now(struct iwl_trans *trans)
{
    iwl_rx_allocate(trans, GFP_ATOMIC);

    iwl_rx_queue_restock(trans);
}
Exemplo n.º 4
0
void iwl_rx_replenish_now(struct iwl_priv *priv)
{
	iwl_rx_allocate(priv, GFP_ATOMIC);

	iwl_rx_queue_restock(priv);
}