/drivers/net/ethernet/brocade/bna/ |
H A D | bna_types.h | 606 struct bna_rxq *rxq; member in struct:bna_rcb 732 union bna_rxq_u rxq; member in struct:bna_rxp 879 struct bna_rxq *rxq; /* BFI_MAX_RXQ entries */ member in struct:bna_rx_mod
|
/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_main.c | 481 struct sge_ofld_rxq *rxq = container_of(q, struct sge_ofld_rxq, rspq); local 484 rxq->stats.nomem++; 488 rxq->stats.imm++; 490 rxq->stats.an++; 492 rxq->stats.pkts++;
|
/drivers/net/ethernet/marvell/ |
H A D | mv643xx_eth.c | 424 struct rx_queue rxq[8]; member in struct:mv643xx_eth_private 459 /* rxq/txq helper functions *************************************************/ 460 static struct mv643xx_eth_private *rxq_to_mp(struct rx_queue *rxq) argument 462 return container_of(rxq, struct mv643xx_eth_private, rxq[rxq->index]); 470 static void rxq_enable(struct rx_queue *rxq) argument 472 struct mv643xx_eth_private *mp = rxq_to_mp(rxq); 473 wrlp(mp, RXQ_COMMAND, 1 << rxq->index); 476 static void rxq_disable(struct rx_queue *rxq) argument 553 rxq_process(struct rx_queue *rxq, int budget) argument 655 rxq_refill(struct rx_queue *rxq, int budget) argument 1209 struct rx_queue *rxq = mp->rxq + i; local 1849 struct rx_queue *rxq = mp->rxq + index; local 1929 rxq_deinit(struct rx_queue *rxq) argument 2282 struct rx_queue *rxq = mp->rxq + i; local [all...] |
H A D | sky2.c | 1341 unsigned rxq = rxqaddr[sky2->port]; local 1345 sky2_write8(hw, RB_ADDR(rxq, RB_CTRL), RB_DIS_OP_MD); 1348 if (sky2_read8(hw, RB_ADDR(rxq, Q_RSL)) 1349 == sky2_read8(hw, RB_ADDR(rxq, Q_RL))) 1354 sky2_write32(hw, Q_ADDR(rxq, Q_CSR), BMU_RST_SET | BMU_FIFO_RST); 1357 sky2_write32(hw, Y2_QADDR(rxq, PREF_UNIT_CTRL), PREF_UNIT_RST_SET); 1493 static inline void sky2_rx_update(struct sky2_port *sky2, unsigned rxq) argument 1495 sky2_put_idx(sky2->hw, rxq, sky2->rx_put); 1535 unsigned rxq = rxqaddr[sky2->port]; local 1539 sky2_qset(hw, rxq); 2954 unsigned rxq = rxqaddr[port]; local [all...] |
/drivers/net/wireless/iwlegacy/ |
H A D | common.c | 2463 * + A list of pre-allocated SKBs is stored in iwl->rxq->rx_free. When 2464 * iwl->rxq->free_count drops to or below RX_LOW_WATERMARK, work is scheduled 2465 * to replenish the iwl->rxq->rx_free. 2467 * iwl->rxq is replenished and the READ IDX is updated (updating the 2470 * detached from the iwl->rxq. The driver 'processed' idx is updated. 2471 * + The Host/Firmware iwl->rxq is replenished at tasklet time from the rx_free 2472 * list. If there are no allocated buffers in iwl->rxq->rx_free, the READ 2561 struct il_rx_queue *rxq = &il->rxq; local 2565 spin_lock_init(&rxq [all...] |
H A D | 4965-mac.c | 101 il4965_rx_queue_reset(struct il_priv *il, struct il_rx_queue *rxq) argument 105 spin_lock_irqsave(&rxq->lock, flags); 106 INIT_LIST_HEAD(&rxq->rx_free); 107 INIT_LIST_HEAD(&rxq->rx_used); 112 if (rxq->pool[i].page != NULL) { 113 pci_unmap_page(il->pci_dev, rxq->pool[i].page_dma, 116 __il_free_pages(il, rxq->pool[i].page); 117 rxq->pool[i].page = NULL; 119 list_add_tail(&rxq->pool[i].list, &rxq 134 il4965_rx_init(struct il_priv *il, struct il_rx_queue *rxq) argument 199 struct il_rx_queue *rxq = &il->rxq; local 268 struct il_rx_queue *rxq = &il->rxq; local 318 struct il_rx_queue *rxq = &il->rxq; local 420 il4965_rx_queue_free(struct il_priv *il, struct il_rx_queue *rxq) argument 4185 struct il_rx_queue *rxq = &il->rxq; local [all...] |
H A D | common.h | 1273 struct il_rx_queue rxq; member in struct:il_priv
|
/drivers/net/wireless/ipw2x00/ |
H A D | ipw2100.c | 2694 struct ipw2100_bd_queue *rxq = &priv->rx_queue; local 2707 if (r >= rxq->entries) { 2712 i = (rxq->next + 1) % rxq->entries; 2716 r, rxq->next, i); */ 2784 rxq->drv[i].status.info.field = 0; 2786 i = (i + 1) % rxq->entries; 2791 rxq->next = (i ? i : rxq->entries) - 1; 2794 IPW_MEM_HOST_SHARED_RX_WRITE_INDEX, rxq [all...] |
H A D | ipw2200.c | 3442 struct ipw_rx_queue *rxq) 3447 spin_lock_irqsave(&rxq->lock, flags); 3449 INIT_LIST_HEAD(&rxq->rx_free); 3450 INIT_LIST_HEAD(&rxq->rx_used); 3456 if (rxq->pool[i].skb != NULL) { 3457 pci_unmap_single(priv->pci_dev, rxq->pool[i].dma_addr, 3459 dev_kfree_skb(rxq->pool[i].skb); 3460 rxq->pool[i].skb = NULL; 3462 list_add_tail(&rxq->pool[i].list, &rxq 3441 ipw_rx_queue_reset(struct ipw_priv *priv, struct ipw_rx_queue *rxq) argument 5171 struct ipw_rx_queue *rxq = priv->rxq; local 5211 struct ipw_rx_queue *rxq = priv->rxq; local 5257 ipw_rx_queue_free(struct ipw_priv *priv, struct ipw_rx_queue *rxq) argument 5277 struct ipw_rx_queue *rxq; local [all...] |
H A D | ipw2200.h | 1206 struct ipw_rx_queue *rxq; member in struct:ipw_priv
|
/drivers/net/wireless/ |
H A D | mwl8k.c | 229 struct mwl8k_rx_queue rxq[MWL8K_RX_QUEUES]; member in struct:mwl8k_priv 1117 struct mwl8k_rx_queue *rxq = priv->rxq + index; local 1121 rxq->rxd_count = 0; 1122 rxq->head = 0; 1123 rxq->tail = 0; 1127 rxq->rxd = pci_alloc_consistent(priv->pdev, size, &rxq->rxd_dma); 1128 if (rxq->rxd == NULL) { 1132 memset(rxq 1164 struct mwl8k_rx_queue *rxq = priv->rxq + index; local 1201 struct mwl8k_rx_queue *rxq = priv->rxq + index; local 1278 struct mwl8k_rx_queue *rxq = priv->rxq + index; local [all...] |