Lines Matching refs:TX_DESC_NUM
154 #define TX_DESC_NUM 256 macro
155 #define TX_NEXT(N) (((N) + 1) & (TX_DESC_NUM-1))
228 struct sk_buff *tx_skb[TX_DESC_NUM];
229 dma_addr_t tx_phys[TX_DESC_NUM];
253 return (head - tail) % TX_DESC_NUM; in tx_count()
490 if (unlikely(netif_queue_stopped(ndev)) && (count < (TX_DESC_NUM - 1))) in hip04_tx_reclaim()
516 if (count == (TX_DESC_NUM - 1)) { in hip04_mac_start_xmit()
860 TX_DESC_NUM * sizeof(struct tx_desc), in hip04_alloc_ring()
885 for (i = 0; i < TX_DESC_NUM; i++) in hip04_free_ring()
889 dma_free_coherent(d, TX_DESC_NUM * sizeof(struct tx_desc), in hip04_free_ring()
945 priv->tx_coalesce_frames = TX_DESC_NUM * 3 / 4; in hip04_mac_probe()