Lines Matching defs:txc
1208 struct vmxnet3_comp_ring *txc;
1217 txc = &txq->vxtxq_comp_ring;
1248 error = vmxnet3_dma_malloc(sc, compsz, 512, &txc->vxcr_dma);
1254 txc->vxcr_u.txcd =
1255 (struct vmxnet3_txcompdesc *) txc->vxcr_dma.dma_vaddr;
1277 struct vmxnet3_comp_ring *txc;
1286 txc = &txq->vxtxq_comp_ring;
1297 if (txc->vxcr_u.txcd != NULL) {
1298 vmxnet3_dma_free(sc, &txc->vxcr_dma);
1299 txc->vxcr_u.txcd = NULL;
1853 struct vmxnet3_comp_ring *txc;
1862 txc = &txq->vxtxq_comp_ring;
1872 txcd = &txc->vxcr_u.txcd[txc->vxcr_next];
1873 if (txcd->gen != txc->vxcr_gen)
1877 if (++txc->vxcr_next == txc->vxcr_ndesc) {
1878 txc->vxcr_next = 0;
1879 txc->vxcr_gen ^= 1;
2481 struct vmxnet3_comp_ring *txc;
2494 txc = &txq->vxtxq_comp_ring;
2495 txc->vxcr_next = 0;
2496 txc->vxcr_gen = VMXNET3_INIT_GEN;
2497 bzero(txc->vxcr_u.txcd,
2498 txc->vxcr_ndesc * sizeof(struct vmxnet3_txcompdesc));