Lines Matching refs:put_tx
825 union ring_type get_tx, put_tx, last_tx; member
1951 np->put_tx = np->tx_ring; in nv_init_tx()
2217 struct ring_desc *put_tx; in nv_start_xmit() local
2248 start_tx = put_tx = np->put_tx.orig; in nv_start_xmit()
2270 put_tx->buf = cpu_to_le32(np->put_tx_ctx->dma); in nv_start_xmit()
2271 put_tx->flaglen = cpu_to_le32((bcnt-1) | tx_flags); in nv_start_xmit()
2276 if (unlikely(put_tx++ == np->last_tx.orig)) in nv_start_xmit()
2277 put_tx = np->tx_ring.orig; in nv_start_xmit()
2320 put_tx->buf = cpu_to_le32(np->put_tx_ctx->dma); in nv_start_xmit()
2321 put_tx->flaglen = cpu_to_le32((bcnt-1) | tx_flags); in nv_start_xmit()
2325 if (unlikely(put_tx++ == np->last_tx.orig)) in nv_start_xmit()
2326 put_tx = np->tx_ring.orig; in nv_start_xmit()
2332 if (unlikely(put_tx == np->tx_ring.orig)) in nv_start_xmit()
2335 prev_tx = put_tx - 1; in nv_start_xmit()
2363 np->put_tx.orig = put_tx; in nv_start_xmit()
2391 struct ring_desc_ex *put_tx; in nv_start_xmit_optimized() local
2424 start_tx = put_tx = np->put_tx.ex; in nv_start_xmit_optimized()
2447 put_tx->bufhigh = cpu_to_le32(dma_high(np->put_tx_ctx->dma)); in nv_start_xmit_optimized()
2448 put_tx->buflow = cpu_to_le32(dma_low(np->put_tx_ctx->dma)); in nv_start_xmit_optimized()
2449 put_tx->flaglen = cpu_to_le32((bcnt-1) | tx_flags); in nv_start_xmit_optimized()
2454 if (unlikely(put_tx++ == np->last_tx.ex)) in nv_start_xmit_optimized()
2455 put_tx = np->tx_ring.ex; in nv_start_xmit_optimized()
2497 put_tx->bufhigh = cpu_to_le32(dma_high(np->put_tx_ctx->dma)); in nv_start_xmit_optimized()
2498 put_tx->buflow = cpu_to_le32(dma_low(np->put_tx_ctx->dma)); in nv_start_xmit_optimized()
2499 put_tx->flaglen = cpu_to_le32((bcnt-1) | tx_flags); in nv_start_xmit_optimized()
2503 if (unlikely(put_tx++ == np->last_tx.ex)) in nv_start_xmit_optimized()
2504 put_tx = np->tx_ring.ex; in nv_start_xmit_optimized()
2510 if (unlikely(put_tx == np->tx_ring.ex)) in nv_start_xmit_optimized()
2513 prev_tx = put_tx - 1; in nv_start_xmit_optimized()
2568 np->put_tx.ex = put_tx; in nv_start_xmit_optimized()
2614 while ((np->get_tx.orig != np->put_tx.orig) && in nv_tx_done()
2684 while ((np->get_tx.ex != np->put_tx.ex) && in nv_tx_done_optimized()
2742 union ring_type put_tx; in nv_tx_timeout() local
2821 put_tx.ex = np->tx_change_owner->first_tx_desc; in nv_tx_timeout()
2823 put_tx = np->put_tx; in nv_tx_timeout()
2830 np->get_tx = np->put_tx = put_tx; in nv_tx_timeout()