Lines Matching refs:TX_DESC_NUM
115 #define TX_DESC_NUM 256 macro
116 #define TX_NEXT(N) (((N) + 1) & (TX_DESC_NUM-1))
164 struct sk_buff *tx_skb[TX_DESC_NUM];
165 dma_addr_t tx_phys[TX_DESC_NUM];
188 return (head - tail) % (TX_DESC_NUM - 1); in tx_count()
410 if (unlikely(netif_queue_stopped(ndev)) && (count < (TX_DESC_NUM - 1))) in hip04_tx_reclaim()
435 if (count == (TX_DESC_NUM - 1)) { in hip04_mac_start_xmit()
778 TX_DESC_NUM * sizeof(struct tx_desc), in hip04_alloc_ring()
803 for (i = 0; i < TX_DESC_NUM; i++) in hip04_free_ring()
807 dma_free_coherent(d, TX_DESC_NUM * sizeof(struct tx_desc), in hip04_free_ring()
854 priv->tx_coalesce_frames = TX_DESC_NUM * 3 / 4; in hip04_mac_probe()