Lines Matching refs:put_tx
825 union ring_type get_tx, put_tx, last_tx; member
1956 np->put_tx = np->tx_ring; in nv_init_tx()
2222 struct ring_desc *put_tx; in nv_start_xmit() local
2247 start_tx = put_tx = np->put_tx.orig; in nv_start_xmit()
2266 put_tx->buf = cpu_to_le32(np->put_tx_ctx->dma); in nv_start_xmit()
2267 put_tx->flaglen = cpu_to_le32((bcnt-1) | tx_flags); in nv_start_xmit()
2272 if (unlikely(put_tx++ == np->last_tx.orig)) in nv_start_xmit()
2273 put_tx = np->tx_ring.orig; in nv_start_xmit()
2313 put_tx->buf = cpu_to_le32(np->put_tx_ctx->dma); in nv_start_xmit()
2314 put_tx->flaglen = cpu_to_le32((bcnt-1) | tx_flags); in nv_start_xmit()
2318 if (unlikely(put_tx++ == np->last_tx.orig)) in nv_start_xmit()
2319 put_tx = np->tx_ring.orig; in nv_start_xmit()
2325 if (unlikely(put_tx == np->tx_ring.orig)) in nv_start_xmit()
2328 prev_tx = put_tx - 1; in nv_start_xmit()
2356 np->put_tx.orig = put_tx; in nv_start_xmit()
2377 struct ring_desc_ex *put_tx; in nv_start_xmit_optimized() local
2403 start_tx = put_tx = np->put_tx.ex; in nv_start_xmit_optimized()
2423 put_tx->bufhigh = cpu_to_le32(dma_high(np->put_tx_ctx->dma)); in nv_start_xmit_optimized()
2424 put_tx->buflow = cpu_to_le32(dma_low(np->put_tx_ctx->dma)); in nv_start_xmit_optimized()
2425 put_tx->flaglen = cpu_to_le32((bcnt-1) | tx_flags); in nv_start_xmit_optimized()
2430 if (unlikely(put_tx++ == np->last_tx.ex)) in nv_start_xmit_optimized()
2431 put_tx = np->tx_ring.ex; in nv_start_xmit_optimized()
2470 put_tx->bufhigh = cpu_to_le32(dma_high(np->put_tx_ctx->dma)); in nv_start_xmit_optimized()
2471 put_tx->buflow = cpu_to_le32(dma_low(np->put_tx_ctx->dma)); in nv_start_xmit_optimized()
2472 put_tx->flaglen = cpu_to_le32((bcnt-1) | tx_flags); in nv_start_xmit_optimized()
2476 if (unlikely(put_tx++ == np->last_tx.ex)) in nv_start_xmit_optimized()
2477 put_tx = np->tx_ring.ex; in nv_start_xmit_optimized()
2483 if (unlikely(put_tx == np->tx_ring.ex)) in nv_start_xmit_optimized()
2486 prev_tx = put_tx - 1; in nv_start_xmit_optimized()
2541 np->put_tx.ex = put_tx; in nv_start_xmit_optimized()
2580 while ((np->get_tx.orig != np->put_tx.orig) && in nv_tx_done()
2650 while ((np->get_tx.ex != np->put_tx.ex) && in nv_tx_done_optimized()
2708 union ring_type put_tx; in nv_tx_timeout() local
2787 put_tx.ex = np->tx_change_owner->first_tx_desc; in nv_tx_timeout()
2789 put_tx = np->put_tx; in nv_tx_timeout()
2796 np->get_tx = np->put_tx = put_tx; in nv_tx_timeout()