Lines Matching defs:txc
1387 struct vmxnet3_comp_ring *txc;
1397 txc = &txq->vxtxq_comp_ring;
1411 error = vmxnet3_dma_malloc(sc, compsz, 512, &txc->vxcr_dma);
1417 txc->vxcr_u.txcd =
1418 (struct vmxnet3_txcompdesc *) txc->vxcr_dma.dma_vaddr;
1440 struct vmxnet3_comp_ring *txc;
1448 txc = &txq->vxtxq_comp_ring;
1459 if (txc->vxcr_u.txcd != NULL) {
1460 vmxnet3_dma_free(sc, &txc->vxcr_dma);
1461 txc->vxcr_u.txcd = NULL;
2122 struct vmxnet3_comp_ring *txc;
2132 txc = &txq->vxtxq_comp_ring;
2144 txcd = &txc->vxcr_u.txcd[txc->vxcr_next];
2145 if (txcd->gen != txc->vxcr_gen)
2149 if (++txc->vxcr_next == txc->vxcr_ndesc) {
2150 txc->vxcr_next = 0;
2151 txc->vxcr_gen ^= 1;
2802 struct vmxnet3_comp_ring *txc;
2811 txc = &txq->vxtxq_comp_ring;
2812 txc->vxcr_next = 0;
2813 txc->vxcr_gen = VMXNET3_INIT_GEN;
2814 memset(txc->vxcr_u.txcd, 0,
2815 txc->vxcr_ndesc * sizeof(struct vmxnet3_txcompdesc));