Lines Matching defs:cur_tx_copy
397 struct fealnx_desc *cur_tx_copy;
1270 np->cur_tx_copy = &np->tx_ring[0];
1296 np->cur_tx_copy->skbuff = skb;
1301 np->cur_tx_copy->buffer = dma_map_single(&np->pci_dev->dev, skb->data,
1303 np->cur_tx_copy->control = TXIC | TXLD | TXFD | CRCEnable | PADEnable;
1304 np->cur_tx_copy->control |= (skb->len << PKTSShift); /* pkt size */
1305 np->cur_tx_copy->control |= (skb->len << TBSShift); /* buffer size */
1308 np->cur_tx_copy->control |= ETIControl | RetryTxLC;
1309 np->cur_tx_copy->status = TXOWN;
1310 np->cur_tx_copy = np->cur_tx_copy->next_desc_logical;
1317 np->cur_tx_copy->buffer = dma_map_single(&np->pci_dev->dev,
1320 np->cur_tx_copy->control = TXIC | TXFD | CRCEnable | PADEnable;
1321 np->cur_tx_copy->control |= (skb->len << PKTSShift); /* pkt size */
1322 np->cur_tx_copy->control |= (BPT << TBSShift); /* buffer size */
1325 next = np->cur_tx_copy->next_desc_logical;
1332 np->cur_tx_copy->control |= ETIControl | RetryTxLC;
1338 np->cur_tx_copy->status = TXOWN;
1340 np->cur_tx_copy = next->next_desc_logical;
1343 np->cur_tx_copy->buffer = dma_map_single(&np->pci_dev->dev,
1346 np->cur_tx_copy->control = TXIC | TXLD | TXFD | CRCEnable | PADEnable;
1347 np->cur_tx_copy->control |= (skb->len << PKTSShift); /* pkt size */
1348 np->cur_tx_copy->control |= (skb->len << TBSShift); /* buffer size */
1351 np->cur_tx_copy->control |= ETIControl | RetryTxLC;
1352 np->cur_tx_copy->status = TXOWN;
1353 np->cur_tx_copy = np->cur_tx_copy->next_desc_logical;
1378 np->cur_tx_copy = &np->tx_ring[0];