Lines Matching refs:NUM_TX_DESC
184 #define NUM_TX_DESC 4 macro
194 #define TX_BUF_TOT_LEN (TX_BUF_SIZE * NUM_TX_DESC)
596 unsigned char *tx_buf[NUM_TX_DESC]; /* Tx bounce buffers */
1427 for (i = 0; i < NUM_TX_DESC; i++) in rtl8139_hw_start()
1457 for (i = 0; i < NUM_TX_DESC; i++) in rtl8139_init_ring()
1674 for (i = 0; i < NUM_TX_DESC; i++) in rtl8139_tx_timeout_task()
1677 i == tp->dirty_tx % NUM_TX_DESC ? in rtl8139_tx_timeout_task()
1725 entry = tp->cur_tx % NUM_TX_DESC; in rtl8139_start_xmit()
1751 if ((tp->cur_tx - NUM_TX_DESC) == tp->dirty_tx) in rtl8139_start_xmit()
1774 int entry = dirty_tx % NUM_TX_DESC; in rtl8139_tx_interrupt()
1817 if (tp->cur_tx - dirty_tx > NUM_TX_DESC) { in rtl8139_tx_interrupt()
1820 dirty_tx += NUM_TX_DESC; in rtl8139_tx_interrupt()