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
2253 start_tx = put_tx = np->put_tx.orig; in nv_start_xmit()
2275 put_tx->buf = cpu_to_le32(np->put_tx_ctx->dma); in nv_start_xmit()
2276 put_tx->flaglen = cpu_to_le32((bcnt-1) | tx_flags); in nv_start_xmit()
2281 if (unlikely(put_tx++ == np->last_tx.orig)) in nv_start_xmit()
2282 put_tx = np->tx_ring.orig; in nv_start_xmit()
2325 put_tx->buf = cpu_to_le32(np->put_tx_ctx->dma); in nv_start_xmit()
2326 put_tx->flaglen = cpu_to_le32((bcnt-1) | tx_flags); in nv_start_xmit()
2330 if (unlikely(put_tx++ == np->last_tx.orig)) in nv_start_xmit()
2331 put_tx = np->tx_ring.orig; in nv_start_xmit()
2337 if (unlikely(put_tx == np->tx_ring.orig)) in nv_start_xmit()
2340 prev_tx = put_tx - 1; in nv_start_xmit()
2368 np->put_tx.orig = put_tx; in nv_start_xmit()
2396 struct ring_desc_ex *put_tx; in nv_start_xmit_optimized() local
2429 start_tx = put_tx = np->put_tx.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()
2459 if (unlikely(put_tx++ == np->last_tx.ex)) in nv_start_xmit_optimized()
2460 put_tx = np->tx_ring.ex; in nv_start_xmit_optimized()
2502 put_tx->bufhigh = cpu_to_le32(dma_high(np->put_tx_ctx->dma)); in nv_start_xmit_optimized()
2503 put_tx->buflow = cpu_to_le32(dma_low(np->put_tx_ctx->dma)); in nv_start_xmit_optimized()
2504 put_tx->flaglen = cpu_to_le32((bcnt-1) | tx_flags); in nv_start_xmit_optimized()
2508 if (unlikely(put_tx++ == np->last_tx.ex)) in nv_start_xmit_optimized()
2509 put_tx = np->tx_ring.ex; in nv_start_xmit_optimized()
2515 if (unlikely(put_tx == np->tx_ring.ex)) in nv_start_xmit_optimized()
2518 prev_tx = put_tx - 1; in nv_start_xmit_optimized()
2573 np->put_tx.ex = put_tx; in nv_start_xmit_optimized()
2619 while ((np->get_tx.orig != np->put_tx.orig) && in nv_tx_done()
2689 while ((np->get_tx.ex != np->put_tx.ex) && in nv_tx_done_optimized()
2747 union ring_type put_tx; in nv_tx_timeout() local
2826 put_tx.ex = np->tx_change_owner->first_tx_desc; in nv_tx_timeout()
2828 put_tx = np->put_tx; in nv_tx_timeout()
2835 np->get_tx = np->put_tx = put_tx; in nv_tx_timeout()