Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/sun/
Dcassini.h2539 #define N_TX_RINGS MAX_TX_RINGS /* for QoS */ macro
2723 struct cas_tx_desc txds[N_TX_RINGS][INIT_BLOCK_TX];
2741 spinlock_t tx_lock[N_TX_RINGS]; /* tx bits */
2742 spinlock_t stat_lock[N_TX_RINGS + 1]; /* for stat gathering */
2747 int tx_new[N_TX_RINGS], tx_old[N_TX_RINGS];
2767 struct sk_buff *tx_skbs[N_TX_RINGS][TX_DESC_RING_SIZE];
2775 struct cas_tiny_count tx_tiny_use[N_TX_RINGS][TX_DESC_RING_SIZE];
2776 u8 *tx_tiny_bufs[N_TX_RINGS];
2781 struct net_device_stats net_stats[N_TX_RINGS + 1];
2854 dma_addr_t block_dvma, tx_tiny_dvma[N_TX_RINGS];
Dcassini.c235 for (i = 0; i < N_TX_RINGS; i++) in cas_lock_tx()
258 for (i = N_TX_RINGS; i > 0; i--) in cas_unlock_tx()
1893 for (ring = 0; ring < N_TX_RINGS; ring++) { in cas_tx()
3066 spin_lock(&cp->stat_lock[N_TX_RINGS]); in cas_init_mac()
3068 spin_unlock(&cp->stat_lock[N_TX_RINGS]); in cas_init_mac()
3768 spin_lock(&cp->stat_lock[N_TX_RINGS]); in cas_reset()
3770 spin_unlock(&cp->stat_lock[N_TX_RINGS]); in cas_reset()
3906 memset(cp->tx_old, 0, sizeof(*cp->tx_old)*N_TX_RINGS); in cas_clean_rings()
3907 memset(cp->tx_new, 0, sizeof(*cp->tx_new)*N_TX_RINGS); in cas_clean_rings()
3908 for (i = 0; i < N_TX_RINGS; i++) in cas_clean_rings()
[all …]