Lines Matching refs:NUM_TX_DESC
69 #define NUM_TX_DESC 256 /* Number of Tx descriptor registers */ macro
71 #define R8169_TX_RING_BYTES (NUM_TX_DESC * sizeof(struct TxDesc))
615 struct ring_info tx_skb[NUM_TX_DESC]; /* Tx data buffers */
1886 data->tx_max_pending = NUM_TX_DESC; in rtl8169_get_ringparam()
1887 data->tx_pending = NUM_TX_DESC; in rtl8169_get_ringparam()
3964 unsigned int entry = (start + i) % NUM_TX_DESC; in rtl8169_tx_clear_range()
3980 rtl8169_tx_clear_range(tp, tp->dirty_tx, NUM_TX_DESC); in rtl8169_tx_clear()
4067 if (entry == NUM_TX_DESC - 1) in rtl8169_tx_map()
4089 entry = (entry + 1) % NUM_TX_DESC; in rtl8169_xmit_frags()
4250 unsigned int slots_avail = READ_ONCE(tp->dirty_tx) + NUM_TX_DESC in rtl_tx_slots_avail()
4282 unsigned int entry = tp->cur_tx % NUM_TX_DESC; in rtl8169_start_xmit()
4310 entry = (entry + frags) % NUM_TX_DESC; in rtl8169_start_xmit()
4456 unsigned int entry = dirty_tx % NUM_TX_DESC; in rtl_tx()