Searched refs:N_TX_RINGS (Results 1 – 2 of 2) sorted by relevance
2539 #define N_TX_RINGS MAX_TX_RINGS /* for QoS */ macro2723 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];
236 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()1894 for (ring = 0; ring < N_TX_RINGS; ring++) { in cas_tx()3067 spin_lock(&cp->stat_lock[N_TX_RINGS]); in cas_init_mac()3069 spin_unlock(&cp->stat_lock[N_TX_RINGS]); in cas_init_mac()3769 spin_lock(&cp->stat_lock[N_TX_RINGS]); in cas_reset()3771 spin_unlock(&cp->stat_lock[N_TX_RINGS]); in cas_reset()3907 memset(cp->tx_old, 0, sizeof(*cp->tx_old)*N_TX_RINGS); in cas_clean_rings()3908 memset(cp->tx_new, 0, sizeof(*cp->tx_new)*N_TX_RINGS); in cas_clean_rings()3909 for (i = 0; i < N_TX_RINGS; i++) in cas_clean_rings()[all …]