Lines Matching refs:put_tx

825 	union ring_type get_tx, put_tx, last_tx;  member
1938 np->put_tx = np->tx_ring; in nv_init_tx()
2204 struct ring_desc *put_tx; in nv_start_xmit() local
2229 start_tx = put_tx = np->put_tx.orig; in nv_start_xmit()
2248 put_tx->buf = cpu_to_le32(np->put_tx_ctx->dma); in nv_start_xmit()
2249 put_tx->flaglen = cpu_to_le32((bcnt-1) | tx_flags); in nv_start_xmit()
2254 if (unlikely(put_tx++ == np->last_tx.orig)) in nv_start_xmit()
2255 put_tx = np->tx_ring.orig; in nv_start_xmit()
2295 put_tx->buf = cpu_to_le32(np->put_tx_ctx->dma); in nv_start_xmit()
2296 put_tx->flaglen = cpu_to_le32((bcnt-1) | tx_flags); in nv_start_xmit()
2300 if (unlikely(put_tx++ == np->last_tx.orig)) in nv_start_xmit()
2301 put_tx = np->tx_ring.orig; in nv_start_xmit()
2307 if (unlikely(put_tx == np->tx_ring.orig)) in nv_start_xmit()
2310 prev_tx = put_tx - 1; in nv_start_xmit()
2338 np->put_tx.orig = put_tx; in nv_start_xmit()
2359 struct ring_desc_ex *put_tx; in nv_start_xmit_optimized() local
2385 start_tx = put_tx = np->put_tx.ex; in nv_start_xmit_optimized()
2405 put_tx->bufhigh = cpu_to_le32(dma_high(np->put_tx_ctx->dma)); in nv_start_xmit_optimized()
2406 put_tx->buflow = cpu_to_le32(dma_low(np->put_tx_ctx->dma)); in nv_start_xmit_optimized()
2407 put_tx->flaglen = cpu_to_le32((bcnt-1) | tx_flags); in nv_start_xmit_optimized()
2412 if (unlikely(put_tx++ == np->last_tx.ex)) in nv_start_xmit_optimized()
2413 put_tx = np->tx_ring.ex; in nv_start_xmit_optimized()
2452 put_tx->bufhigh = cpu_to_le32(dma_high(np->put_tx_ctx->dma)); in nv_start_xmit_optimized()
2453 put_tx->buflow = cpu_to_le32(dma_low(np->put_tx_ctx->dma)); in nv_start_xmit_optimized()
2454 put_tx->flaglen = cpu_to_le32((bcnt-1) | tx_flags); in nv_start_xmit_optimized()
2458 if (unlikely(put_tx++ == np->last_tx.ex)) in nv_start_xmit_optimized()
2459 put_tx = np->tx_ring.ex; in nv_start_xmit_optimized()
2465 if (unlikely(put_tx == np->tx_ring.ex)) in nv_start_xmit_optimized()
2468 prev_tx = put_tx - 1; in nv_start_xmit_optimized()
2523 np->put_tx.ex = put_tx; in nv_start_xmit_optimized()
2562 while ((np->get_tx.orig != np->put_tx.orig) && in nv_tx_done()
2626 while ((np->get_tx.ex != np->put_tx.ex) && in nv_tx_done_optimized()
2681 union ring_type put_tx; in nv_tx_timeout() local
2760 put_tx.ex = np->tx_change_owner->first_tx_desc; in nv_tx_timeout()
2762 put_tx = np->put_tx; in nv_tx_timeout()
2769 np->get_tx = np->put_tx = put_tx; in nv_tx_timeout()