Lines Matching refs:txc
741 struct vmxnet3_comp_ring *txc; in vmxnet3_init_txq() local
746 txc = &txq->vxtxq_comp_ring; in vmxnet3_init_txq()
755 txc->vxcr_ndesc = scctx->isc_ntxd[0]; in vmxnet3_init_txq()
802 struct vmxnet3_comp_ring *txc; in vmxnet3_tx_queues_alloc() local
805 txc = &txq->vxtxq_comp_ring; in vmxnet3_tx_queues_alloc()
809 txc->vxcr_u.txcd = in vmxnet3_tx_queues_alloc()
811 txc->vxcr_paddr = paddrs[q * ntxqs + 0]; in vmxnet3_tx_queues_alloc()
1371 struct vmxnet3_comp_ring *txc; in vmxnet3_isc_txd_credits_update() local
1378 txc = &txq->vxtxq_comp_ring; in vmxnet3_isc_txd_credits_update()
1389 txcd = &txc->vxcr_u.txcd[txc->vxcr_next]; in vmxnet3_isc_txd_credits_update()
1390 if (txcd->gen != txc->vxcr_gen) in vmxnet3_isc_txd_credits_update()
1396 if (++txc->vxcr_next == txc->vxcr_ndesc) { in vmxnet3_isc_txd_credits_update()
1397 txc->vxcr_next = 0; in vmxnet3_isc_txd_credits_update()
1398 txc->vxcr_gen ^= 1; in vmxnet3_isc_txd_credits_update()
1745 struct vmxnet3_comp_ring *txc; in vmxnet3_txinit() local
1757 txc = &txq->vxtxq_comp_ring; in vmxnet3_txinit()
1758 txc->vxcr_next = 0; in vmxnet3_txinit()
1759 txc->vxcr_gen = VMXNET3_INIT_GEN; in vmxnet3_txinit()