Home
last modified time | relevance | path

Searched refs:TX_DESC_COUNT (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/aurora/
Dnb8800.c366 priv->tx_queue = (priv->tx_queue + txb->chain_len) % TX_DESC_COUNT; in __nb8800_tx_dma_start()
428 next = (next + 1) % TX_DESC_COUNT; in nb8800_xmit()
524 done = (done + 1) % TX_DESC_COUNT; in nb8800_tx_done()
744 #define TX_DESC_SIZE (TX_DESC_COUNT * sizeof(struct nb8800_tx_desc))
761 for (i = 0; i < TX_DESC_COUNT; i++) in nb8800_dma_free()
804 for (i = 0; i < TX_DESC_COUNT; i++) { in nb8800_dma_reset()
818 atomic_set(&priv->tx_free, TX_DESC_COUNT); in nb8800_dma_reset()
829 unsigned int n_tx = TX_DESC_COUNT; in nb8800_dma_init()
Dnb8800.h12 #define TX_DESC_COUNT 256 macro