NUM_TX_DESC 792 drivers/net/ethernet/dec/tulip/de4x5.c struct sk_buff *tx_skb[NUM_TX_DESC]; /* TX skb for freeing when sent */ NUM_TX_DESC 1168 drivers/net/ethernet/dec/tulip/de4x5.c lp->dma_size = (NUM_RX_DESC + NUM_TX_DESC) * sizeof(struct de4x5_desc); NUM_TX_DESC 1197 drivers/net/ethernet/dec/tulip/de4x5.c dma_rx_bufs = lp->dma_rings + (NUM_RX_DESC + NUM_TX_DESC) NUM_TX_DESC 1201 drivers/net/ethernet/dec/tulip/de4x5.c + NUM_TX_DESC) + DE4X5_ALIGN) & ~DE4X5_ALIGN); NUM_TX_DESC 1217 drivers/net/ethernet/dec/tulip/de4x5.c lp->txRingSize = NUM_TX_DESC; NUM_TX_DESC 194 drivers/net/ethernet/realtek/8139too.c #define TX_BUF_TOT_LEN (TX_BUF_SIZE * NUM_TX_DESC) NUM_TX_DESC 596 drivers/net/ethernet/realtek/8139too.c unsigned char *tx_buf[NUM_TX_DESC]; /* Tx bounce buffers */ NUM_TX_DESC 1426 drivers/net/ethernet/realtek/8139too.c for (i = 0; i < NUM_TX_DESC; i++) NUM_TX_DESC 1456 drivers/net/ethernet/realtek/8139too.c for (i = 0; i < NUM_TX_DESC; i++) NUM_TX_DESC 1673 drivers/net/ethernet/realtek/8139too.c for (i = 0; i < NUM_TX_DESC; i++) NUM_TX_DESC 1676 drivers/net/ethernet/realtek/8139too.c i == tp->dirty_tx % NUM_TX_DESC ? NUM_TX_DESC 1724 drivers/net/ethernet/realtek/8139too.c entry = tp->cur_tx % NUM_TX_DESC; NUM_TX_DESC 1750 drivers/net/ethernet/realtek/8139too.c if ((tp->cur_tx - NUM_TX_DESC) == tp->dirty_tx) NUM_TX_DESC 1773 drivers/net/ethernet/realtek/8139too.c int entry = dirty_tx % NUM_TX_DESC; NUM_TX_DESC 1816 drivers/net/ethernet/realtek/8139too.c if (tp->cur_tx - dirty_tx > NUM_TX_DESC) { NUM_TX_DESC 1819 drivers/net/ethernet/realtek/8139too.c dirty_tx += NUM_TX_DESC; NUM_TX_DESC 73 drivers/net/ethernet/realtek/r8169_main.c #define R8169_TX_RING_BYTES (NUM_TX_DESC * sizeof(struct TxDesc)) NUM_TX_DESC 665 drivers/net/ethernet/realtek/r8169_main.c struct ring_info tx_skb[NUM_TX_DESC]; /* Tx data buffers */ NUM_TX_DESC 5633 drivers/net/ethernet/realtek/r8169_main.c unsigned int entry = (start + i) % NUM_TX_DESC; NUM_TX_DESC 5652 drivers/net/ethernet/realtek/r8169_main.c rtl8169_tx_clear_range(tp, tp->dirty_tx, NUM_TX_DESC); NUM_TX_DESC 5690 drivers/net/ethernet/realtek/r8169_main.c if (entry == NUM_TX_DESC - 1) NUM_TX_DESC 5711 drivers/net/ethernet/realtek/r8169_main.c entry = (entry + 1) % NUM_TX_DESC; NUM_TX_DESC 5854 drivers/net/ethernet/realtek/r8169_main.c unsigned int slots_avail = tp->dirty_tx + NUM_TX_DESC - tp->cur_tx; NUM_TX_DESC 5884 drivers/net/ethernet/realtek/r8169_main.c unsigned int entry = tp->cur_tx % NUM_TX_DESC; NUM_TX_DESC 6067 drivers/net/ethernet/realtek/r8169_main.c unsigned int entry = dirty_tx % NUM_TX_DESC; NUM_TX_DESC 69 drivers/net/ethernet/silan/sc92031.c #define TX_BUF_TOT_LEN (TX_BUF_SIZE * NUM_TX_DESC) NUM_TX_DESC 657 drivers/net/ethernet/silan/sc92031.c entry = priv->tx_tail % NUM_TX_DESC; NUM_TX_DESC 952 drivers/net/ethernet/silan/sc92031.c BUG_ON(priv->tx_head - priv->tx_tail >= NUM_TX_DESC); NUM_TX_DESC 954 drivers/net/ethernet/silan/sc92031.c entry = priv->tx_head++ % NUM_TX_DESC; NUM_TX_DESC 978 drivers/net/ethernet/silan/sc92031.c if (priv->tx_head - priv->tx_tail >= NUM_TX_DESC) NUM_TX_DESC 52 drivers/net/ethernet/sis/sis190.c #define TX_RING_BYTES (NUM_TX_DESC * sizeof(struct TxDesc)) NUM_TX_DESC 280 drivers/net/ethernet/sis/sis190.c struct sk_buff *Tx_skbuff[NUM_TX_DESC]; NUM_TX_DESC 696 drivers/net/ethernet/sis/sis190.c queue_stopped = (pending == NUM_TX_DESC); NUM_TX_DESC 699 drivers/net/ethernet/sis/sis190.c unsigned int entry = dirty_tx % NUM_TX_DESC; NUM_TX_DESC 817 drivers/net/ethernet/sis/sis190.c memset(tp->Tx_skbuff, 0x0, NUM_TX_DESC * sizeof(struct sk_buff *)); NUM_TX_DESC 1108 drivers/net/ethernet/sis/sis190.c for (i = 0; i < NUM_TX_DESC; i++) { NUM_TX_DESC 1190 drivers/net/ethernet/sis/sis190.c entry = tp->cur_tx % NUM_TX_DESC; NUM_TX_DESC 1213 drivers/net/ethernet/sis/sis190.c if (entry == (NUM_TX_DESC - 1)) NUM_TX_DESC 1233 drivers/net/ethernet/sis/sis190.c if ((tp->cur_tx - NUM_TX_DESC) == dirty_tx) { NUM_TX_DESC 183 drivers/net/ethernet/sis/sis900.c struct sk_buff *tx_skbuff[NUM_TX_DESC]; NUM_TX_DESC 1134 drivers/net/ethernet/sis/sis900.c for (i = 0; i < NUM_TX_DESC; i++) { NUM_TX_DESC 1138 drivers/net/ethernet/sis/sis900.c ((i+1)%NUM_TX_DESC)*sizeof(BufferDesc); NUM_TX_DESC 1560 drivers/net/ethernet/sis/sis900.c for (i = 0; i < NUM_TX_DESC; i++) { NUM_TX_DESC 1611 drivers/net/ethernet/sis/sis900.c entry = sis_priv->cur_tx % NUM_TX_DESC; NUM_TX_DESC 1639 drivers/net/ethernet/sis/sis900.c } else if (count_dirty_tx < NUM_TX_DESC) { NUM_TX_DESC 1898 drivers/net/ethernet/sis/sis900.c entry = sis_priv->dirty_tx % NUM_TX_DESC; NUM_TX_DESC 1941 drivers/net/ethernet/sis/sis900.c sis_priv->cur_tx - sis_priv->dirty_tx < NUM_TX_DESC - 4) { NUM_TX_DESC 1988 drivers/net/ethernet/sis/sis900.c for (i = 0; i < NUM_TX_DESC; i++) { NUM_TX_DESC 325 drivers/net/ethernet/sis/sis900.h #define TX_TOTAL_SIZE NUM_TX_DESC*sizeof(BufferDesc)