Searched refs:TX_DESC_COUNT (Results 1 – 2 of 2) sorted by relevance
377 priv->tx_queue = (priv->tx_queue + txb->chain_len) % TX_DESC_COUNT; in __nb8800_tx_dma_start()437 next = (next + 1) % TX_DESC_COUNT; in nb8800_xmit()533 done = (done + 1) % TX_DESC_COUNT; in nb8800_tx_done()753 #define TX_DESC_SIZE (TX_DESC_COUNT * sizeof(struct nb8800_tx_desc))770 for (i = 0; i < TX_DESC_COUNT; i++) in nb8800_dma_free()813 for (i = 0; i < TX_DESC_COUNT; i++) { in nb8800_dma_reset()827 atomic_set(&priv->tx_free, TX_DESC_COUNT); in nb8800_dma_reset()838 unsigned int n_tx = TX_DESC_COUNT; in nb8800_dma_init()
11 #define TX_DESC_COUNT 256 macro