Lines Matching defs:txdr
664 struct ixgb_desc_ring *txdr = &adapter->tx_ring;
668 size = sizeof(struct ixgb_buffer) * txdr->count;
669 txdr->buffer_info = vmalloc(size);
670 if (!txdr->buffer_info) {
675 memset(txdr->buffer_info, 0, size);
679 txdr->size = txdr->count * sizeof(struct ixgb_tx_desc);
680 txdr->size = ALIGN(txdr->size, 4096);
682 txdr->desc = dma_alloc_coherent(&pdev->dev, txdr->size, &txdr->dma,
684 if (!txdr->desc) {
685 vfree(txdr->buffer_info);
690 memset(txdr->desc, 0, txdr->size);
692 txdr->next_to_use = 0;
693 txdr->next_to_clean = 0;
1117 struct ixgb_desc_ring *txdr = &adapter->tx_ring;
1152 if (IXGB_DESC_UNUSED(txdr) + 1 < txdr->count) {