Lines Matching defs:cur_tx_copy
397 struct fealnx_desc *cur_tx_copy;
1272 np->cur_tx_copy = &np->tx_ring[0];
1298 np->cur_tx_copy->skbuff = skb;
1303 np->cur_tx_copy->buffer = dma_map_single(&np->pci_dev->dev, skb->data,
1305 np->cur_tx_copy->control = TXIC | TXLD | TXFD | CRCEnable | PADEnable;
1306 np->cur_tx_copy->control |= (skb->len << PKTSShift); /* pkt size */
1307 np->cur_tx_copy->control |= (skb->len << TBSShift); /* buffer size */
1310 np->cur_tx_copy->control |= ETIControl | RetryTxLC;
1311 np->cur_tx_copy->status = TXOWN;
1312 np->cur_tx_copy = np->cur_tx_copy->next_desc_logical;
1319 np->cur_tx_copy->buffer = dma_map_single(&np->pci_dev->dev,
1322 np->cur_tx_copy->control = TXIC | TXFD | CRCEnable | PADEnable;
1323 np->cur_tx_copy->control |= (skb->len << PKTSShift); /* pkt size */
1324 np->cur_tx_copy->control |= (BPT << TBSShift); /* buffer size */
1327 next = np->cur_tx_copy->next_desc_logical;
1334 np->cur_tx_copy->control |= ETIControl | RetryTxLC;
1340 np->cur_tx_copy->status = TXOWN;
1342 np->cur_tx_copy = next->next_desc_logical;
1345 np->cur_tx_copy->buffer = dma_map_single(&np->pci_dev->dev,
1348 np->cur_tx_copy->control = TXIC | TXLD | TXFD | CRCEnable | PADEnable;
1349 np->cur_tx_copy->control |= (skb->len << PKTSShift); /* pkt size */
1350 np->cur_tx_copy->control |= (skb->len << TBSShift); /* buffer size */
1353 np->cur_tx_copy->control |= ETIControl | RetryTxLC;
1354 np->cur_tx_copy->status = TXOWN;
1355 np->cur_tx_copy = np->cur_tx_copy->next_desc_logical;
1380 np->cur_tx_copy = &np->tx_ring[0];