Home
last modified time | relevance | path

Searched refs:RX_QUEUE_SIZE (Results 1 – 10 of 10) sorted by relevance

/drivers/net/wireless/iwlwifi/pcie/
Drx.c144 BUILD_BUG_ON(RX_QUEUE_SIZE & (RX_QUEUE_SIZE - 1)); in iwl_rxq_space()
152 return (rxq->read - rxq->write - 1) & (RX_QUEUE_SIZE - 1); in iwl_rxq_space()
309 iwl_rxq_space(rxq) > (RX_QUEUE_SIZE / 2) && in iwl_pcie_rx_alloc_page()
397 for (i = 0; i < RX_QUEUE_SIZE; i++) { in iwl_pcie_rxq_free_rbs()
577 rxq->bd = dma_zalloc_coherent(dev, sizeof(__le32) * RX_QUEUE_SIZE, in iwl_pcie_rx_alloc()
591 dma_free_coherent(dev, sizeof(__le32) * RX_QUEUE_SIZE, in iwl_pcie_rx_alloc()
663 for (i = 0; i < RX_QUEUE_SIZE; i++) in iwl_pcie_rx_init_rxb_lists()
736 for (i = 0; i < RX_QUEUE_SIZE; i++) in iwl_pcie_rx_init()
784 dma_free_coherent(trans->dev, sizeof(__le32) * RX_QUEUE_SIZE, in iwl_pcie_rx_free()
989 if (unlikely(rxq->used_count == RX_QUEUE_SIZE / 2)) in iwl_pcie_rx_handle()
[all …]
Dinternal.h125 struct iwl_rx_mem_buffer pool[RX_QUEUE_SIZE];
126 struct iwl_rx_mem_buffer *queue[RX_QUEUE_SIZE];
/drivers/net/wireless/iwlwifi/
Diwl-fh.h437 #define RX_QUEUE_SIZE 256 macro
/drivers/net/wireless/ipw2x00/
Dipw2200.h149 #define RX_QUEUE_SIZE 32 macro
721 struct ipw_rx_mem_buffer pool[RX_QUEUE_SIZE + RX_FREE_BUFFERS];
722 struct ipw_rx_mem_buffer *queue[RX_QUEUE_SIZE];
Dipw2200.c3463 for (i = 0; i < RX_FREE_BUFFERS + RX_QUEUE_SIZE; i++) { in ipw_rx_queue_reset()
3728 s += RX_QUEUE_SIZE; in ipw_rx_queue_space()
5181 rxq->write = (rxq->write + 1) % RX_QUEUE_SIZE; in ipw_rx_queue_restock()
5258 for (i = 0; i < RX_QUEUE_SIZE + RX_FREE_BUFFERS; i++) { in ipw_rx_queue_free()
5284 for (i = 0; i < RX_FREE_BUFFERS + RX_QUEUE_SIZE; i++) in ipw_rx_queue_alloc()
8289 if (ipw_rx_queue_space (priv->rxq) > (RX_QUEUE_SIZE / 2)) in ipw_rx()
8458 i = (i + 1) % RX_QUEUE_SIZE; in ipw_rx()
/drivers/net/wireless/iwlegacy/
D3945-mac.c1088 for (i = 0; i < RX_FREE_BUFFERS + RX_QUEUE_SIZE; i++) { in il3945_rx_queue_reset()
1139 for (i = 0; i < RX_QUEUE_SIZE + RX_FREE_BUFFERS; i++) { in il3945_rx_queue_free()
1149 dma_free_coherent(&il->pci_dev->dev, 4 * RX_QUEUE_SIZE, rxq->bd, in il3945_rx_queue_free()
1223 total_empty += RX_QUEUE_SIZE; in il3945_rx_handle()
1225 if (total_empty > (RX_QUEUE_SIZE / 2)) in il3945_rx_handle()
Dcommon.h50 #define RX_QUEUE_SIZE 256 macro
609 struct il_rx_buf pool[RX_QUEUE_SIZE + RX_FREE_BUFFERS];
610 struct il_rx_buf *queue[RX_QUEUE_SIZE];
D4965-mac.c108 for (i = 0; i < RX_FREE_BUFFERS + RX_QUEUE_SIZE; i++) { in il4965_rx_queue_reset()
121 for (i = 0; i < RX_QUEUE_SIZE; i++) in il4965_rx_queue_reset()
425 for (i = 0; i < RX_QUEUE_SIZE + RX_FREE_BUFFERS; i++) { in il4965_rx_queue_free()
435 dma_free_coherent(&il->pci_dev->dev, 4 * RX_QUEUE_SIZE, rxq->bd, in il4965_rx_queue_free()
4251 total_empty += RX_QUEUE_SIZE; in il4965_rx_handle()
4253 if (total_empty > (RX_QUEUE_SIZE / 2)) in il4965_rx_handle()
6453 il->hw_params.max_rxq_size = RX_QUEUE_SIZE; in il4965_set_hw_params()
Dcommon.c2558 s += RX_QUEUE_SIZE; in il_rx_queue_space()
2623 rxq->bd = dma_alloc_coherent(dev, 4 * RX_QUEUE_SIZE, &rxq->bd_dma, in il_rx_queue_alloc()
2634 for (i = 0; i < RX_FREE_BUFFERS + RX_QUEUE_SIZE; i++) in il_rx_queue_alloc()
2646 dma_free_coherent(&il->pci_dev->dev, 4 * RX_QUEUE_SIZE, rxq->bd, in il_rx_queue_alloc()
D3945.c2417 il->hw_params.max_rxq_size = RX_QUEUE_SIZE; in il3945_hw_set_hw_params()