Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/sun/
H A 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];
H A 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()
3908 for (i = 0; i < N_TX_RINGS; i++) in cas_clean_rings()
4151 for (i = 0; i < N_TX_RINGS; i++) { in cas_tx_tiny_free()
4166 for (i = 0; i < N_TX_RINGS; i++) { in cas_tx_tiny_alloc()
4362 return stats + N_TX_RINGS; in cas_get_stats()
4373 stats[N_TX_RINGS].rx_crc_errors += in cas_get_stats()
4383 stats[N_TX_RINGS].collisions += in cas_get_stats()
4403 for (i = 0; i < N_TX_RINGS; i++) { in cas_get_stats()
4420 return stats + N_TX_RINGS; in cas_get_stats()
[all …]