Searched refs:RX_QUEUE_SIZE (Results 1 – 10 of 10) sorted by relevance
/drivers/net/wireless/iwlwifi/pcie/ |
D | rx.c | 117 BUILD_BUG_ON(RX_QUEUE_SIZE & (RX_QUEUE_SIZE - 1)); in iwl_rxq_space() 125 return (rxq->read - rxq->write - 1) & (RX_QUEUE_SIZE - 1); in iwl_rxq_space() 358 for (i = 0; i < RX_FREE_BUFFERS + RX_QUEUE_SIZE; i++) { in iwl_pcie_rxq_free_rbs() 406 rxq->bd = dma_zalloc_coherent(dev, sizeof(__le32) * RX_QUEUE_SIZE, in iwl_pcie_rx_alloc() 420 dma_free_coherent(dev, sizeof(__le32) * RX_QUEUE_SIZE, in iwl_pcie_rx_alloc() 491 for (i = 0; i < RX_FREE_BUFFERS + RX_QUEUE_SIZE; i++) in iwl_pcie_rx_init_rxb_lists() 515 for (i = 0; i < RX_QUEUE_SIZE; i++) in iwl_pcie_rx_init() 554 dma_free_coherent(trans->dev, sizeof(__le32) * RX_QUEUE_SIZE, in iwl_pcie_rx_free() 724 total_empty += RX_QUEUE_SIZE; in iwl_pcie_rx_handle() 726 if (total_empty > (RX_QUEUE_SIZE / 2)) in iwl_pcie_rx_handle()
|
D | internal.h | 98 struct iwl_rx_mem_buffer pool[RX_QUEUE_SIZE + RX_FREE_BUFFERS]; 99 struct iwl_rx_mem_buffer *queue[RX_QUEUE_SIZE];
|
/drivers/net/wireless/iwlwifi/ |
D | iwl-fh.h | 436 #define RX_QUEUE_SIZE 256 macro
|
/drivers/net/wireless/ipw2x00/ |
D | ipw2200.h | 149 #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];
|
D | ipw2200.c | 3462 for (i = 0; i < RX_FREE_BUFFERS + RX_QUEUE_SIZE; i++) { in ipw_rx_queue_reset() 3727 s += RX_QUEUE_SIZE; in ipw_rx_queue_space() 5180 rxq->write = (rxq->write + 1) % RX_QUEUE_SIZE; in ipw_rx_queue_restock() 5257 for (i = 0; i < RX_QUEUE_SIZE + RX_FREE_BUFFERS; i++) { in ipw_rx_queue_free() 5283 for (i = 0; i < RX_FREE_BUFFERS + RX_QUEUE_SIZE; i++) in ipw_rx_queue_alloc() 8288 if (ipw_rx_queue_space (priv->rxq) > (RX_QUEUE_SIZE / 2)) in ipw_rx() 8457 i = (i + 1) % RX_QUEUE_SIZE; in ipw_rx()
|
/drivers/net/wireless/iwlegacy/ |
D | 3945-mac.c | 1088 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()
|
D | common.h | 50 #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];
|
D | 4965-mac.c | 108 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() 6451 il->hw_params.max_rxq_size = RX_QUEUE_SIZE; in il4965_set_hw_params()
|
D | common.c | 2558 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()
|
D | 3945.c | 2417 il->hw_params.max_rxq_size = RX_QUEUE_SIZE; in il3945_hw_set_hw_params()
|