Lines Matching refs:txr
760 struct vmxnet3_txring *txr; in vmxnet3_init_txq() local
765 txr = &txq->vxtxq_cmd_ring; in vmxnet3_init_txq()
774 txr->vxtxr_ndesc = scctx->isc_ntxd[1]; in vmxnet3_init_txq()
819 struct vmxnet3_txring *txr; in vmxnet3_tx_queues_alloc() local
824 txr = &txq->vxtxq_cmd_ring; in vmxnet3_tx_queues_alloc()
832 txr->vxtxr_txd = in vmxnet3_tx_queues_alloc()
834 txr->vxtxr_paddr = paddrs[q * ntxqs + 1]; in vmxnet3_tx_queues_alloc()
1298 struct vmxnet3_txring *txr; in vmxnet3_isc_txd_encap() local
1309 txr = &txq->vxtxq_cmd_ring; in vmxnet3_isc_txd_encap()
1317 sop = &txr->vxtxr_txd[pidx]; in vmxnet3_isc_txd_encap()
1318 gen = txr->vxtxr_gen ^ 1; /* Owned by cpu (yet) */ in vmxnet3_isc_txd_encap()
1321 txd = &txr->vxtxr_txd[pidx]; in vmxnet3_isc_txd_encap()
1335 if (++pidx == txr->vxtxr_ndesc) { in vmxnet3_isc_txd_encap()
1337 txr->vxtxr_gen ^= 1; in vmxnet3_isc_txd_encap()
1339 gen = txr->vxtxr_gen; in vmxnet3_isc_txd_encap()
1409 struct vmxnet3_txring *txr; in vmxnet3_isc_txd_credits_update() local
1415 txr = &txq->vxtxq_cmd_ring; in vmxnet3_isc_txd_credits_update()
1437 if (txcd->eop_idx < txr->vxtxr_next) in vmxnet3_isc_txd_credits_update()
1438 processed += txr->vxtxr_ndesc - in vmxnet3_isc_txd_credits_update()
1439 (txr->vxtxr_next - txcd->eop_idx) + 1; in vmxnet3_isc_txd_credits_update()
1441 processed += txcd->eop_idx - txr->vxtxr_next + 1; in vmxnet3_isc_txd_credits_update()
1442 txr->vxtxr_next = (txcd->eop_idx + 1) % txr->vxtxr_ndesc; in vmxnet3_isc_txd_credits_update()
1822 struct vmxnet3_txring *txr; in vmxnet3_txinit() local
1827 txr = &txq->vxtxq_cmd_ring; in vmxnet3_txinit()
1828 txr->vxtxr_next = 0; in vmxnet3_txinit()
1829 txr->vxtxr_gen = VMXNET3_INIT_GEN; in vmxnet3_txinit()