Lines Matching refs:put_tx

825 	union ring_type get_tx, put_tx, last_tx;  member
1937 np->put_tx = np->tx_ring; in nv_init_tx()
2203 struct ring_desc *put_tx; in nv_start_xmit() local
2234 start_tx = put_tx = np->put_tx.orig; in nv_start_xmit()
2256 put_tx->buf = cpu_to_le32(np->put_tx_ctx->dma); in nv_start_xmit()
2257 put_tx->flaglen = cpu_to_le32((bcnt-1) | tx_flags); in nv_start_xmit()
2262 if (unlikely(put_tx++ == np->last_tx.orig)) in nv_start_xmit()
2263 put_tx = np->tx_ring.orig; in nv_start_xmit()
2306 put_tx->buf = cpu_to_le32(np->put_tx_ctx->dma); in nv_start_xmit()
2307 put_tx->flaglen = cpu_to_le32((bcnt-1) | tx_flags); in nv_start_xmit()
2311 if (unlikely(put_tx++ == np->last_tx.orig)) in nv_start_xmit()
2312 put_tx = np->tx_ring.orig; in nv_start_xmit()
2318 if (unlikely(put_tx == np->tx_ring.orig)) in nv_start_xmit()
2321 prev_tx = put_tx - 1; in nv_start_xmit()
2349 np->put_tx.orig = put_tx; in nv_start_xmit()
2377 struct ring_desc_ex *put_tx; in nv_start_xmit_optimized() local
2410 start_tx = put_tx = np->put_tx.ex; in nv_start_xmit_optimized()
2433 put_tx->bufhigh = cpu_to_le32(dma_high(np->put_tx_ctx->dma)); in nv_start_xmit_optimized()
2434 put_tx->buflow = cpu_to_le32(dma_low(np->put_tx_ctx->dma)); in nv_start_xmit_optimized()
2435 put_tx->flaglen = cpu_to_le32((bcnt-1) | tx_flags); in nv_start_xmit_optimized()
2440 if (unlikely(put_tx++ == np->last_tx.ex)) in nv_start_xmit_optimized()
2441 put_tx = np->tx_ring.ex; in nv_start_xmit_optimized()
2483 put_tx->bufhigh = cpu_to_le32(dma_high(np->put_tx_ctx->dma)); in nv_start_xmit_optimized()
2484 put_tx->buflow = cpu_to_le32(dma_low(np->put_tx_ctx->dma)); in nv_start_xmit_optimized()
2485 put_tx->flaglen = cpu_to_le32((bcnt-1) | tx_flags); in nv_start_xmit_optimized()
2489 if (unlikely(put_tx++ == np->last_tx.ex)) in nv_start_xmit_optimized()
2490 put_tx = np->tx_ring.ex; in nv_start_xmit_optimized()
2496 if (unlikely(put_tx == np->tx_ring.ex)) in nv_start_xmit_optimized()
2499 prev_tx = put_tx - 1; in nv_start_xmit_optimized()
2554 np->put_tx.ex = put_tx; in nv_start_xmit_optimized()
2600 while ((np->get_tx.orig != np->put_tx.orig) && in nv_tx_done()
2670 while ((np->get_tx.ex != np->put_tx.ex) && in nv_tx_done_optimized()
2728 union ring_type put_tx; in nv_tx_timeout() local
2807 put_tx.ex = np->tx_change_owner->first_tx_desc; in nv_tx_timeout()
2809 put_tx = np->put_tx; in nv_tx_timeout()
2816 np->get_tx = np->put_tx = put_tx; in nv_tx_timeout()