Home
last modified time | relevance | path

Searched refs:N_TX_RINGS (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/sun/
H A Dcassini.c236 for (i = 0; i < N_TX_RINGS; i++) in cas_lock_tx()
259 for (i = N_TX_RINGS; i > 0; i--) in cas_unlock_tx()
1906 for (ring = 0; ring < N_TX_RINGS; ring++) { in cas_tx()
2976 /* must be invoked under cp->stat_lock[N_TX_RINGS] */
3099 spin_lock(&cp->stat_lock[N_TX_RINGS]); in cas_init_mac()
3101 spin_unlock(&cp->stat_lock[N_TX_RINGS]); in cas_init_mac()
3803 spin_lock(&cp->stat_lock[N_TX_RINGS]); in cas_reset()
3805 spin_unlock(&cp->stat_lock[N_TX_RINGS]); in cas_reset()
3941 memset(cp->tx_old, 0, sizeof(*cp->tx_old)*N_TX_RINGS); in cas_clean_rings()
3942 memset(cp->tx_new, 0, sizeof(*cp->tx_new)*N_TX_RINGS); in cas_clean_rings()
[all...]
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];
2780 /* N_TX_RINGS mus
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/sun/
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()
1893 for (ring = 0; ring < N_TX_RINGS; ring++) { in cas_tx()
2943 /* must be invoked under cp->stat_lock[N_TX_RINGS] */
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()
[all...]
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];
2780 /* N_TX_RINGS mus
[all...]

Completed in 22 milliseconds