Lines Matching refs:TX_RING_SIZE
73 #define TX_RING_SIZE 16 macro
76 #define STATUS_TOTAL_SIZE TX_RING_SIZE*sizeof(struct tx_status_words)
77 #define TX_TOTAL_SIZE 2*TX_RING_SIZE*sizeof(struct yellowfin_desc)
312 struct sk_buff* tx_skbuff[TX_RING_SIZE];
705 for (i = 0; i < TX_RING_SIZE; i++) in yellowfin_tx_timeout()
766 for (i = 0; i < TX_RING_SIZE; i++) { in yellowfin_init_ring()
770 ((i+1)%TX_RING_SIZE)*sizeof(struct yellowfin_desc)); in yellowfin_init_ring()
777 for (i = 0; i < TX_RING_SIZE; i++) { in yellowfin_init_ring()
803 ((j+1)%(2*TX_RING_SIZE))*sizeof(struct yellowfin_desc)); in yellowfin_init_ring()
826 entry = yp->cur_tx % TX_RING_SIZE; in yellowfin_start_xmit()
847 if (entry >= TX_RING_SIZE-1) { in yellowfin_start_xmit()
850 yp->tx_ring[TX_RING_SIZE-1].dbdma_cmd = in yellowfin_start_xmit()
868 unsigned next_entry = yp->cur_tx % TX_RING_SIZE; in yellowfin_start_xmit()
928 int entry = yp->dirty_tx % TX_RING_SIZE; in yellowfin_interrupt()
956 int entry = dirty_tx % TX_RING_SIZE; in yellowfin_interrupt()
1005 if (yp->cur_tx - dirty_tx > TX_RING_SIZE) { in yellowfin_interrupt()
1008 dirty_tx += TX_RING_SIZE; in yellowfin_interrupt()
1020 yp->tx_tail_desc = &yp->tx_status[dirty_tx % TX_RING_SIZE]; in yellowfin_interrupt()
1231 for (i = 0; i < TX_RING_SIZE*2; i++) in yellowfin_close()
1237 for (i = 0; i < TX_RING_SIZE; i++) in yellowfin_close()
1275 for (i = 0; i < TX_RING_SIZE; i++) { in yellowfin_close()